- #WIRE LIBRARY BETWEEN ARDUINO UNO AND ADAFRUIT FEATHER HOW TO#
- #WIRE LIBRARY BETWEEN ARDUINO UNO AND ADAFRUIT FEATHER CODE#
- #WIRE LIBRARY BETWEEN ARDUINO UNO AND ADAFRUIT FEATHER TRIAL#
If the shield doesn’t light up, I’d check the jumper. You should now be able to sandwich the shield onto the Arduino Uno, power up the Arduino, and see a power indicator LED light up on the shield as well. I missed this initially and was scratching my head wondering why the shield wouldn’t power on. For my fish, the wire coloring on the terminal blocks goes black, orange (yellow in my case) for the mouth motor (M1) and white, red from for the optional tail motor (M2).įinally, check that the motor shield has the jumper sleeve attached to the pins labelled VIN Jumper.
#WIRE LIBRARY BETWEEN ARDUINO UNO AND ADAFRUIT FEATHER CODE#
Optionally, you can run the tail/head motor wires (white and red) to the terminals for motor 2, though the code does not yet do anything with this motor (more on this in the next section). Next, to connect up the fish motor(s) to the shield, run the pair of wires leading to the fish mouth motor (black and orange) into the terminal blocks for motor 1 and screw them down. Then run the Ground wire to a lead on the jack that makes contact with the base (or sleeve) of the audio connector. All that matters is that you create a mono input by running the wire from Analog 0 to the lead on the jack that makes contact with the tip of the audio connector. The jack I had was one of those fancy mono switch jacks with three possible connections. Now let’s run these wires to the panel-mount mini jack for our audio input. Clip away any excess wire running through the board. To create an audio input for your fish, take two equal lengths of different color wire, strip the ends, and solder one to ground, and one to Analog 0. Let's start with the soldering to get it over with. You can also hook up an additional two wires if you want to experiment with the tail/head motor. There are only 4 connections you’ll need to make to the motor shield, and only two of them are soldered.
#WIRE LIBRARY BETWEEN ARDUINO UNO AND ADAFRUIT FEATHER TRIAL#
With a little trial and error, I found a workable solution.
#WIRE LIBRARY BETWEEN ARDUINO UNO AND ADAFRUIT FEATHER HOW TO#
Understanding that the Billy Bass (much like a Furby) is essentially driven by two cheap 5v DC toy motors - the problem then becomes simply how to make these motors twitch in response to sound. Two tutorials provided me with hope: this 2012 guide from sfool on using an Arduino to make a servo move to sound and this 2013 guide from Dotten on understanding the animatronics of a Billy Bass toy. With those ordered, I moved on to research. I’m sure you can pick up a used one at a yard sale or Thrift store for less money, but I wanted one quickly. Next, I ordered the Billy Bass used on Amazon for around $15. I already had an Arduino and a motor shield handy (though this was my first time using the shield). / #include //include Wire.But after giving it some more thought, I figured the easiest hack would be a way to simply use the audio from a $49 Amazon Echo, and process it through an Arduino to drive existing motors. / // Arduino I2C Scanner // Re-writed by Arbi Abdul Jabbaar // Using Arduino IDE 1.8.7 // Using GY-87 module for the target // Tested on 10 September 2019 // This sketch tests the standard 7-bit addresses // Devices with higher bit address might not be seen properly.