Posts with «kit» label
Audio Input to Arduino
The easiest way to connect audio signal to your arduino, is build a simple 3 components (2 resistors plus cap) circuitry shown on the first drawings on right side. Disadvantage: as there is no amplifier, sensitivity would be low, hardly enough to work with headphones jack output. For low level signals, like electret microphone, amplifier is necessary. Here is the kit, which included board, electronic components and NE5532 Operational Amplifier IC:
Other option, from SparkFun Electronics:
Breakout Board for Electret Microphone
Note: I don’t recommend to replace NE5532 OPA with popular LM358 or LM324 due their pure frequency response above > 10 kHz.
Configuring AtMega328 ADC to take input samples faster:
void setup() {
ADCSRA = 0×87; // freq = 1/128, 125 kHz. 13 cycles x 8 usec = 104 usec.
// ADCSRA = 0×86; // freq = 1/64, 250 kHz. 13 cycles x 4 usec = 52 usec.
// ADCSRA = 0×85; // freq = 1/32, 500 kHz. 13 cycles x 2 usec = 26 usec.
// ADCSRA = 0×84; // freq = 1/16 , 1 MHz. 13 cycles x 1 usec = 13 usec.
// ADCSRA = 0×83; // freq = 1/8, 2 MHz. 13 cycles x 0.5 usec = 6.5 usec.
// ADCSRA = 0×82; // freq = 1/4, 4 MHz. 13 cycles x 0.25 usec = 3.25 usec.ADMUX = 0×40; // Select Analog Input 0
ADCSRA |= (1<<ADSC); // Start Conversion
Timer1.initialize(T_PERIOD); // Sampling with TimerOne library
Timer1.attachInterrupt(iProcess);}
Reading and storing samples to array via ISR ( Timer Interrupt Subroutine ), Timer1 in this example:
void iProcess()
{
static uint8_t n_sampl;
if (ADCSRA & 0×10)
{
int16_t temp = ADCL;
temp += (ADCH << 8);
temp -= sdvigDC;
ADCSRA |= (1<<ADSC);
xin[n_sampl] = temp;
}if (++n_sampl >= FFT_SIZE )
{
n_sampl = 0;
process = 1;
}}
Don’t like to solder all this components from the drawings above? Here is easy way around, if you, by chance, have a spare USB speakers around. Something like this:
Note: Speakers should use USB port as a power source, not AC power outlet!
1. Open box up, and look what kind of chip (IC) Power Amplifier inside, on the PCB board:
2. TEA2025 in this example, but could be different in yours. Not big deal, just write down the name, than go on-line and try to find a data sheet for your particular chip. My favorite links: 1 and 2. From the data sheet you will find pin numbers of two outputs, for left and right channels. Just solder couple of wires to ground and to one of the output and that’s it!
3. If printing on the IC body is unreadable, or couldn’t find a data sheet, it is possible to trace two wires from the speaker to IC. Most likely, there would be an electrolytic cap installed in series, between chip output and speaker. Solder a signal wire on the chip’s side of the cap, or near IC. There is a slim chance, of course, that IC configured in bridge configuration, and wouldn’t be any caps. It’s even better, just use ether of two speaker’s wires as a signal line, and ground as ??? a ground.
Be careful, use different color of wires for ground line and signal line. There would be no protection, and wrong polarity could damage an analog input of the arduino board, and in some occasions Power Amplifier IC. To prevent this, I’d strongly advise to install 10 kOHm resistor in series with signal wire.

Hexy: hands-on with the adorable, affordable hexapod (video)
The Artisan's Asylum has a few guiding principles, one of which is anyone can "make." We assume one of the others is "you can never have too many hexapods." If Stompy, the giant rideable bot, is a bit much for you to handle (or store), then maybe Hexy is more your speed. He's got six legs and 20 servos, but at only $200, he's much cheaper than similar hexapod kits and, most importantly, more adorable. The bot is the brain child of Joseph Schlesinger, a resident at the Somerville hacker space who saw a need for a low-cost but serious robotics kit. Since hitting Kickstarter in May, his creation has raked in roughly $86,000 in pledges, far surpassing his original goal of thirteen grand. We swung by Joe's booth to get a taste of what exactly his hundreds of backers have bought into and to find out what's next for the budding bot entrepreneur.
Continue reading Hexy: hands-on with the adorable, affordable hexapod (video)
Hexy: hands-on with the adorable, affordable hexapod (video) originally appeared on Engadget on Thu, 14 Jun 2012 18:41:00 EST. Please see our terms for use of feeds.
Permalink | Email this | CommentsHelping with a special friend with his first robot,
I am helping my friends first robot! He primaily wanted tractor treads and an Arduino "because he heard they were good" ( I didn't disagree with him. :-)
We decided on an inexpensive kit was a good starting point and then it can be expanded later.
Our choice was the BrutusBot and electronics package (looks like I get to solder 2 boards, lucky me...). It was fairly cheap.
He seems good in the programming and mechanical areas, he isn't so good with the electronics part (he does fine with some guidance).
Step aside Arduino, TinkerForge is the new sheriff in mod-town (video)
Continue reading Step aside Arduino, TinkerForge is the new sheriff in mod-town (video)
Step aside Arduino, TinkerForge is the new sheriff in mod-town (video) originally appeared on Engadget on Fri, 09 Dec 2011 19:35:00 EST. Please see our terms for use of feeds.
Permalink | Email this | Comments