{"title":"Hackable Electronics","description":"\u003cp\u003eConsumer gadgets with a way in: a protocol someone has documented, a bus you can reach, or firmware that has already been taken apart.\u003c\/p\u003e\n\u003cp\u003eEach listing says how it has been hacked and links the project that did it.\u003c\/p\u003e","products":[{"product_id":"nunchuk-compatible-controller","title":"Nunchuk-compatible controller (I2C)","description":"\u003cp\u003eA handheld input for microcontroller projects: a thumb joystick, two buttons and a three-axis accelerometer. Use it to explore how physical controls become numbers your program can read, then map those numbers to movement, menus or effects.\u003c\/p\u003e\n\u003ch3\u003eConnecting it to a board\u003c\/h3\u003e\n\u003cp\u003eThe controller uses the Nunchuk-style connector and I2C interface, normally at address \u003ccode\u003e0x52\u003c\/code\u003e. Use a matching breakout adapter to reach power, ground, clock and data. Check the adapter's orientation, supply and logic requirements before wiring; this is not a USB controller.\u003c\/p\u003e\n\u003ch3\u003eRead one input at a time\u003c\/h3\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_Nunchuk\"\u003eAdafruit's CircuitPython Nunchuk library\u003c\/a\u003e provides joystick, button and accelerometer readings. First print the values, observe the joystick centre, then choose thresholds for your project. Third-party controllers can differ; library support is not a test of every clone.\u003c\/p\u003e\n\u003cp\u003eThe Shining Mask project illustrates using this style of controller to make a mask react to movement and button presses. Check its wiring and software before building.\u003c\/p\u003e\n\u003cp\u003eA third-party controller. Not affiliated with or endorsed by Nintendo.\u003c\/p\u003e","brand":"Generic","offers":[{"title":"Default Title","offer_id":67626805920045,"sku":"FG-NUNCHUK-I2C","price":9.95,"currency_code":"USD","in_stock":false}]}],"url":"https:\/\/www.fastgizmo.com\/collections\/hackable-electronics.oembed","provider":"FastGizmo","version":"1.0","type":"link"}