The forums are retiring and are now closed for new topics and comments. The existing content will remain online and accessible through 2020 to provide everyone the opportunity to save any relevant information. In the spring of 2021, these Community forums will be taken offline.

Search for adafruit in Topics

Programming Adafruit NEOPIXELS? Answered

I would like to know where I can find commands for the Neopixels sold by Adafruit.  More specifically command to just turn the pixels on solid.... no blinking, no chase, etc.... just on solid with the ability to tweak the color via the program (or analog pots, one for each color would be great too).?

Question by theawesomekid    |  last reply

Adafruit Motor Shield?

Hi,I have this motor shield and I would like to know is its possible to use its max 2 servos and 2 dc motors at the same time and how much power do I need if I have two standard ra 130 motors and 4.8-6v servos?

Question by vek11    |  last reply

Pro-Membership and Adafruit Discount

I remember once seeing that an Instructables Pro-Membership came with a discount code for purchasing on Adafruits website or am I mistaken and if I did see it once, does this discount still exist? There is something on Adafruit I need to purchase, so before I do, it would help to know if there is or is not a discount for having a Pro-membership. Thanks in advance for any information about this.

Topic by TheOriginalNerd    |  last reply

Adafruit's Open Kinect Project

Adafruit has posted a $2,000 bounty for open-source drivers and/or an application for the Kinect X-Box 360 controller. The first person or team to post their succesful open-source documentation to Github can claim the glory and loot. For full details, check out this link:

Topic by randofo    |  last reply

Coding help (python/Adafruit)

I am making a pair of boots that have a series of LEDs running in a “U” shape up and down the back of them, the plan is to make them light up with pressure sensors In the heel. I’ve taken components from several tutorials to make the circuit but now I am realizing that’s going to make it impossible to just copy and paste the code (with only a few minor changes) from any of them. I’m trying to learn python but I learn best from doing (with knowledgeable help). I will pay someone whatever hourly rate they think is fair to walk me through how to edit a prewritten code (unless it’s easier to start from scratch) to work with this project. I’ve listed below the materials I am currently planning on using in the circuit WS2812B LED chips With Black PCB Heatsink (10mm3mm) WS2811 IC Built-in 5050 SMD RGB DC5V, 0.3w/led, 3 channel, color order is grb, not rgb- link listed below Adafruit flora LiPo 3.7v 1200mAh battery Conductive thread On/off button Velostat

Question by heather.walls  

Using Adafruit Motor Shield in MATLAB

Hi All, I am quite new to robotics, facing an issue and looking for expert advice, appreciate if you can guide me. I got Aurdino Uno connected to the laptop, set up all good. connected a potentiometer to the board, and could read the voltage in MATLAB from 0 to 5 V, all ok. Connected a DC motor to Adafruit Motor Shield, connected 5 V DC power to the motor shield. connected the motor shield to the Aurduno board (put it on top of the board, but loose, no soldering involved).  MATLAB is not recognizing the shield and see error message like the hardware disconnected. This might be a silly question, I can use  stackable pins, solder to the motor shield and then connect it to the Aurduino board. In that case, every input/output pins of the Aurdino will be connected to the corresponding terminal in the Adafruit Motor Shield and also available from the top (by stackable pins) to connect potentiometer etc... Is that how i can get the Adafruit Motor Shield recognized by MATLAB? need to use a few potentiometer for my project, so need to have the analog pins available. Also, just wondering: which pins establish the communication between Aurduno and Adafruit Motor Shield? using stackabke pins will connect all of them, but i can not figure out how connecting the analog pins of Aurdino to the motor shield adds any value... Thank you

Question by Begginer2017    |  last reply

External Power for Adafruit Motorshield(Arduino)

Hey guys, I have an Adafruit Motor shield which I hope to control two DC motors(6-12v each) to make a tank. I want to power my motor shield with batteries(not an adapter), but im not sure where on the Arduino or the Motor shield board am I supposed to hook up the two wires from the batteries safely.

Topic by vek11    |  last reply

Adafruits serial programmer help needed

For anyone that owns the serial port programmer, I need help. Where the plug is (cable plug to the micro circuit) What pins are what? the row thats o o-o-o-o- (1 alone, 4 connected) is the + - - - - - right? and whats miso and mosi then? Help! D:I don't under stand on the 10 pin clip, what the heck is what. The sites diagram says theres 9 circus, 1 square. well, theres 10 squares!! It also shows near the plus side, the other 4 pins are ground. well, that means the MOSI,(NC)RESET,SCK, and MISO are all connected. Dont think so.For people who have the circuit be nice if u can label the 10 pins for me, thanks

Topic by Killa-X    |  last reply

Pro Members get 10% off at adafruit!

Adafruit Industries is offering a discount for Pro Members of 10% If you are a pro member you can grab the discount code here:

Topic by frenzy    |  last reply

Anyone Have experience with Adafruit Square FSR?

I am hoping to create a circuit that will variably control the speed of a motor through pressure. If I were to wire up one of these , simply as the switch between a small motor and a power source around 5v, would it work to simply turn the motor off at rest and vary the speed with pressure? Is there a way to use this resistor as a "switch" without using an Arduino or  other micro controller? Any help is appreciated. Thanks! 

Topic by Flashflint    |  last reply

adafruit 8x8mini LED and 3cm OLED display

Hello all, I am building a Arduino WALL_E robot for my son. I am using 2 x 8x8 mini LED arrays using TWI and I would like to add on a small OLED (0.96inch) display. Both of these require pins  a5 and a4. The 8x8 led arrays using the adafruit_ledbackpack library and the oled using oled_12c Library. I dont know how I can get the OLED onto another set of pins. can any one help? cheers Shaun

Topic by ShaunF3  

Control RFM69HCW with Adafruit's Pro Trinket 5v?

Hello, I'm having an issue controlling the RFM69HCW board ( with the Pro Trinket  5V ( The issue is when I go to compile an example code, the SPI class gives errors such as:  ...\Arduino15\packages\arduino\hardware\avr\1.6.12\libraries\SPI\src/SPI.h:250:27: error: 'SPIF' was not declared in this scope        while (!(SPSR & _BV(SPIF))) ;                            ^ I cannot find any help online after searching for awhile. If anyone could give me some insight on possibly how to get past using the SPI library or anything like that, that would be great! Thanks!

Question by bigjohn412    |  last reply

May 2015 Build Night with Raspberry Pi and Adafruit

#BUILDNIGHT 20 SPACES AVAILABLE Deadline to sign up: March 20, 2015. Accepted spaces will be notified by March 23, 2015. Read our FAQ to learn more about the Build Night program rules and how to make the most out of this event for your space. May BUILD NIGHT We are partnering with Raspberry Pi and Adafruit, DIY kits and products, for our May 2015 build night. Sign up to participate in the build night and we will ship you a package that includes the following: (5) Raspberry Pis (5) Power supplies (5) microSD cards (5) Adafruit Perma-Proto HAT for Pi Mini Kit (2) Adafruit Pi T-Cobbler Plus Kits HOW TO PARTICIPATE: Host a Build Night: pick a time in May to host a project build night using the Raspberry Pi boards + Adafruit accessories. You can host multiple build nights during May to work on your projects. Post 2 Instructables: post 2 Instructables using the boards + accessories. Not posting these Instructables will affect your chances to participate in future build nights. Brownie Points (not required): after the build night post a forum topic on Instructables about your event. Include pictures, stories, etc... Here are two examples from past build nights: Noisebridge and Makers Local 256. We may even feature your photos on the homepage. REWARDS: If your submitted Instructable for this event gets featured by one of our editors we will send you an Instructables Prize Pack which includes: Instructables t-shirt, stickers, and patches. This forum post has guidelines for posting feature worthy projects. Be sure to let people at your event know so they can win a prize pack! Limit 3 per makerspace. RESOURCES: Raspberry Pi Resources Adafruit Resources Instructables App (for documentation during the build night): iOS and Android REACH OUT TO US ON SOCIAL MEDIA #BUILDNIGHT #INSTRUCTABLES #RASPBERRYPI #ADAFRUIT Twitter: @Instructables, @Raspberry_Pi, @adafruit Instagram: @Instructables, @adafruit SIGN UP: Fill out this google form

Topic by Carleyy    |  last reply

Adafruit's biggest sale of the year - free stuff and discount!

Free stuff + 10% off, use code blackfriday free ups ground $75 or more free pcb ruler $99 or more free trinket 5v $250 or more free raspberry pi $350 ore more for bitcoin black friday ( also doing 10% off for bitcoin customers, code is bitcoinblackfriday cheers! adafruit!

Topic by adafruit  

Connecting Arduino with Adafruit GPS shield and Wave shield ?

Can any one help me find how can I connect Arduino with Wave shield and GPS shield

Question by moonwa    |  last reply

Arduino Garage Door Opener with Adafruit WiFi Shield? Answered

I was hoping to be able to start my WiFi Garage door opener, but I then realized (Well Adafruit told me (;=44626&p;=225993#p225993)) that their WiFi shield doesn't accept incoming connections :(. They did, however, say that I could use it to set up a UDP server and then send a UDP packet from my phone. Only problem is, I don't know what a UDP server is, or what UDP stands for, as I am extremely new to electronics. My question is, how would I go about doing something like this? Should I just scrap the Adafruit route or is it still relatively simple to do it this way. I am open to all ideas and I don't mind buying another WiFi chip if need be.

Question by jeffrey_stjean    |  last reply

using 2 x adafruit motor shield v2 in MATLAB

Hi, I set up an Arduino + adafruit motor shield v2 to control 4 x DC motors in a robot arm via MATLAB, which work fantastic. I mounted the robot arm on a 4WD base (each wheel has a separate DC motor), so now I have additional 4 more DC motors to control. I know the adafruit motor shield v2 is stackable, as long as you solder the I2C part on the second shield. I don't know if MATLAB supports 2 x adafruit motor shield v2 on top of Aurduino (2nd shield via I2c), to control 8 DC motors in total any advise or experience is highly appreciated

Question by Begginer2017    |  last reply

Help with arduino!

Hi , i was looking for someone to write some code for my arduino. im having issues and would like to see where im wrong. I have an adafruit motor controller and a moisture sensor. i would like the motor controller to turn motor4 on when my sensor reads a certain variable and off again when it reads another . that is all please let me know thanks 

Topic by DylanM40  

Can't the Raspberry Pi Multi-task?

I've seen a lot of tutorials showing how to do this or that cool thing with your Raspberry Pi, but I haven't seen any tutorials showing how to do several things at once with the device. For instance, is it even possible to control a stepper motor and servo motor all on one Pi?

Topic by BradysoBOT    |  last reply

: Arduino + Adafruit wave sheild + IR + Keypad sound board

Hi , was wondering if you could point me in the right direction I'm very new to Arduino I built last year a simple board with adafruit wave shield and added a simple 12 digit key pad to play 12 sounds + power up I have got the codes for the KEYES IR receiver so know the IR is correctly connected and library loaded im trying to integrate the IR code so can change the sounds by IR remote ideally with option of the buttons (if have to loose the buttons and just use remote that's fine) have copied the code below for how it works now just buttons   I found some code for Cylon Pumpkin that works great with just the remote but would also like to integrate the 12 digit keypad Thank you in advance for any help or pointers you can suggest Richard CODE FOR 12 DIGIT BUTTON PRESS /* ADAVOICE is an Arduino-based voice pitch changer plus WAV playback. Fun for Halloween costumes, comic convention getups and other shenanigans! Hardware requirements: - Arduino Uno, Duemilanove or Diecimila (not Mega or Leonardo compatible). - Adafruit Wave Shield - Speaker attached to Wave Shield output - Battery for portable use If using the voice pitch changer, you will also need: - Adafruit Microphone Breakout - 10K potentiometer for setting pitch (or hardcode in sketch) If using the WAV playback, you will also need: - SD card - Keypad, buttons or other sensor(s) for triggering sounds Software requirements: - WaveHC library for Arduino - Demo WAV files on FAT-formatted SD card This example sketch uses a 3x4 keypad for triggering sounds...but with some changes could be adapted to use several discrete buttons, Hall effect sensors, force-sensing resistors (FSRs), I2C keypads, etc. (or if you just want the voice effect, no buttons at all). Connections: - 3.3V to mic amp+, 1 leg of potentiometer and Arduino AREF pin - GND to mic amp-, opposite leg of potentiometer - Analog pin 0 to mic amp output - Analog pin 1 to center tap of potentiometer - Wave Shield output to speaker or amplifier - Matrix is wired to pins A2, A3, A4, A5 (rows) and 6, 7, 8 (columns) - Wave shield is assumed wired as in product tutorial Potentiometer sets playback pitch. Pitch adjustment does NOT work in realtime -- audio sampling requires 100% of the ADC. Pitch setting is read at startup (or reset) and after a WAV finishes playing. POINT SPEAKER AWAY FROM MIC to avoid feedback. Written by Adafruit industries, with portions adapted from the 'PiSpeakHC' sketch included with WaveHC library. */ #include #include SdReader card; // This object holds the information for the card FatVolume vol; // This holds the information for the partition on the card FatReader root; // This holds the information for the volumes root directory FatReader file; // This object represent the WAV file for a pi digit or period WaveHC wave; // This is the only wave (audio) object, -- we only play one at a time #define error(msg) error_P(PSTR(msg)) // Macro allows error messages in flash memory #define ADC_CHANNEL 0 // Microphone on Analog pin 0 // Wave shield DAC: digital pins 2, 3, 4, 5 #define DAC_CS_PORT PORTD #define DAC_CS PORTD2 #define DAC_CLK_PORT PORTD #define DAC_CLK PORTD3 #define DAC_DI_PORT PORTD #define DAC_DI PORTD4 #define DAC_LATCH_PORT PORTD #define DAC_LATCH PORTD5 uint16_t in = 0, out = 0, xf = 0, nSamples; // Audio sample counters uint8_t adc_save; // Default ADC mode // WaveHC didn't declare it's working buffers private or static, // so we can be sneaky and borrow the same RAM for audio sampling! extern uint8_t buffer1[PLAYBUFFLEN], // Audio sample LSB buffer2[PLAYBUFFLEN]; // Audio sample MSB #define XFADE 16 // Number of samples for cross-fade #define MAX_SAMPLES (PLAYBUFFLEN - XFADE) // Remaining available audio samples // Keypad information: uint8_t rows[] = { A2, A3, A4, A5 }, // Keypad rows connect to these pins cols[] = { 6, 7, 8, 9 }, // Keypad columns connect to these pins r = 0, // Current row being examined prev = 255, // Previous key reading (or 255 if none) count = 0; // Counter for button debouncing #define DEBOUNCE 10 // Number of iterations before button 'takes' // Keypad/WAV information. Number of elements here should match the // number of keypad rows times the number of columns, plus one: const char *sound[] = { "Crashing" , "Damaged", "InFlight" , "PowerUp" , // Row 1 = Darth Vader sounds "Brkdown3" , "Brkdown2" , "Brkdown" , "PowerUp" , // Row 2 = Godzilla sounds "Landing", "drain" , "Shutdown" , "PowerUp" , // Row 3 = Dug the dog sounds "Silent", "TakeOff", "Vortex" , "PowerUp" , // Row 4 = Cartoon/SFX sound "PowerUp" }; // Extra item = boot sound //////////////////////////////////// SETUP void setup() { uint8_t i; Serial.begin(9600); // The WaveHC library normally initializes the DAC pins...but only after // an SD card is detected and a valid file is passed. Need to init the // pins manually here so that voice FX works even without a card. pinMode(2, OUTPUT); // Chip select pinMode(3, OUTPUT); // Serial clock pinMode(4, OUTPUT); // Serial data pinMode(5, OUTPUT); // Latch digitalWrite(2, HIGH); // Set chip select high // Init SD library, show root directory. Note that errors are displayed // but NOT regarded as fatal -- the program will continue with voice FX! if(!card.init()) SerialPrint_P("Card init. failed!"); else if(!vol.init(card)) SerialPrint_P("No partition!"); else if(!root.openRoot(vol)) SerialPrint_P("Couldn't open dir"); else { PgmPrintln("Files found:");; // Play startup sound (last file in array). playfile(sizeof(sound) / sizeof(sound[0]) - 1); } // Optional, but may make sampling and playback a little smoother: // Disable Timer0 interrupt. This means delay(), millis() etc. won't // work. Comment this out if you really, really need those functions. TIMSK0 = 0; // Set up Analog-to-Digital converter: analogReference(EXTERNAL); // 3.3V to AREF adc_save = ADCSRA; // Save ADC setting for restore later // Set keypad rows to outputs, set to HIGH logic level: for(i=0; i pinMode(rows[i], OUTPUT); digitalWrite(rows[i], HIGH); } // Set keypad columns to inputs, enable pull-up resistors: for(i=0; i pinMode(cols[i], INPUT); digitalWrite(cols[i], HIGH); } while(wave.isplaying); // Wait for startup sound to finish... startPitchShift(); // and start the pitch-shift mode by default. } //////////////////////////////////// LOOP // As written here, the loop function scans a keypad to triggers sounds // (stopping and restarting the voice effect as needed). If all you need // is a couple of buttons, it may be easier to tear this out and start // over with some simple digitalRead() calls. void loop() { uint8_t c, button; // Set current row to LOW logic state... digitalWrite(rows[r], LOW); // ...then examine column buttons for a match... for(c=0; c if(digitalRead(cols[c]) == LOW) { // First match. button = r * sizeof(cols) + c; // Get button index. if(button == prev) { // Same button as before? if(++count >= DEBOUNCE) { // Yes. Held beyond debounce threshold? if(wave.isplaying) wave.stop(); // Stop current WAV (if any) else stopPitchShift(); // or stop voice effect playfile(button); // and play new sound. while(digitalRead(cols[c]) == LOW); // Wait for button release. prev = 255; // Reset debounce values. count = 0; } } else { // Not same button as prior pass. prev = button; // Record new button and count = 0; // restart debounce counter. } } } // Restore current row to HIGH logic state and advance row counter... digitalWrite(rows[r], HIGH); if(++r >= sizeof(rows)) { // If last row scanned... r = 0; // Reset row counter // If no new sounds have been triggered at this point, and if the // pitch-shifter is not running, re-start it... if(!wave.isplaying && !(TIMSK2 & _BV(TOIE2))) startPitchShift(); } } //////////////////////////////////// HELPERS // Open and start playing a WAV file void playfile(int idx) { char filename[13]; (void)sprintf(filename,"%s.wav", sound[idx]); Serial.print("File: "); Serial.println(filename); if(!, filename)) { PgmPrint("Couldn't open file "); Serial.print(filename); return; } if(!wave.create(file)) { PgmPrintln("Not a valid WAV"); return; }; } //////////////////////////////////// PITCH-SHIFT CODE void startPitchShift() { // Read analog pitch setting before starting audio sampling: int pitch = analogRead(1); Serial.print("Pitch: "); Serial.println(pitch); // Right now the sketch just uses a fixed sound buffer length of // 128 samples. It may be the case that the buffer length should // vary with pitch for better results...further experimentation // is required here. nSamples = 128; //nSamples = F_CPU / 3200 / OCR2A; // ??? //if(nSamples > MAX_SAMPLES) nSamples = MAX_SAMPLES; //else if(nSamples < (XFADE * 2)) nSamples = XFADE * 2; memset(buffer1, 0, nSamples + XFADE); // Clear sample buffers memset(buffer2, 2, nSamples + XFADE); // (set all samples to 512) // WaveHC library already defines a Timer1 interrupt handler. Since we // want to use the stock library and not require a special fork, Timer2 // is used for a sample-playing interrupt here. As it's only an 8-bit // timer, a sizeable prescaler is used (32:1) to generate intervals // spanning the desired range (~4.8 KHz to ~19 KHz, or +/- 1 octave // from the sampling frequency). This does limit the available number // of speed 'steps' in between (about 79 total), but seems enough. TCCR2A = _BV(WGM21) | _BV(WGM20); // Mode 7 (fast PWM), OC2 disconnected TCCR2B = _BV(WGM22) | _BV(CS21) | _BV(CS20); // 32:1 prescale OCR2A = map(pitch, 0, 1023, F_CPU / 32 / (9615 / 2), // Lowest pitch = -1 octave F_CPU / 32 / (9615 * 2)); // Highest pitch = +1 octave // Start up ADC in free-run mode for audio sampling: DIDR0 |= _BV(ADC0D); // Disable digital input buffer on ADC0 ADMUX = ADC_CHANNEL; // Channel sel, right-adj, AREF to 3.3V regulator ADCSRB = 0; // Free-run mode ADCSRA = _BV(ADEN) | // Enable ADC _BV(ADSC) | // Start conversions _BV(ADATE) | // Auto-trigger enable _BV(ADIE) | // Interrupt enable _BV(ADPS2) | // 128:1 prescale... _BV(ADPS1) | // ...yields 125 KHz ADC clock... _BV(ADPS0); // ...13 cycles/conversion = ~9615 Hz TIMSK2 |= _BV(TOIE2); // Enable Timer2 overflow interrupt sei(); // Enable interrupts } void stopPitchShift() { ADCSRA = adc_save; // Disable ADC interrupt and allow normal use TIMSK2 = 0; // Disable Timer2 Interrupt } ISR(ADC_vect, ISR_BLOCK) { // ADC conversion complete // Save old sample from 'in' position to xfade buffer: buffer1[nSamples + xf] = buffer1[in]; buffer2[nSamples + xf] = buffer2[in]; if(++xf >= XFADE) xf = 0; // Store new value in sample buffers: buffer1[in] = ADCL; // MUST read ADCL first! buffer2[in] = ADCH; if(++in >= nSamples) in = 0; } ISR(TIMER2_OVF_vect) { // Playback interrupt uint16_t s; uint8_t w, inv, hi, lo, bit; int o2, i2, pos; // Cross fade around circular buffer 'seam'. if((o2 = (int)out) == (i2 = (int)in)) { // Sample positions coincide. Use cross-fade buffer data directly. pos = nSamples + xf; hi = (buffer2[pos] << 2) | (buffer1[pos] >> 6); // Expand 10-bit data lo = (buffer1[pos] << 2) | buffer2[pos]; // to 12 bits } if((o2 < i2) && (o2 > (i2 - XFADE))) { // Output sample is close to end of input samples. Cross-fade to // avoid click. The shift operations here assume that XFADE is 16; // will need adjustment if that changes. w = in - out; // Weight of sample (1-n) inv = XFADE - w; // Weight of xfade pos = nSamples + ((inv + xf) % XFADE); s = ((buffer2[out] << 8) | buffer1[out]) * w + ((buffer2[pos] << 8) | buffer1[pos]) * inv; hi = s >> 10; // Shift 14 bit result lo = s >> 2; // down to 12 bits } else if (o2 > (i2 + nSamples - XFADE)) { // More cross-fade condition w = in + nSamples - out; inv = XFADE - w; pos = nSamples + ((inv + xf) % XFADE); s = ((buffer2[out] << 8) | buffer1[out]) * w + ((buffer2[pos] << 8) | buffer1[pos]) * inv; hi = s >> 10; // Shift 14 bit result lo = s >> 2; // down to 12 bits } else { // Input and output counters don't coincide -- just use sample directly. hi = (buffer2[out] << 2) | (buffer1[out] >> 6); // Expand 10-bit data lo = (buffer1[out] << 2) | buffer2[out]; // to 12 bits } // Might be possible to tweak 'hi' and 'lo' at this point to achieve // different voice modulations -- robot effect, etc.? DAC_CS_PORT &= ~_BV(DAC_CS); // Select DAC // Clock out 4 bits DAC config (not in loop because it's constant) DAC_DI_PORT &= ~_BV(DAC_DI); // 0 = Select DAC A, unbuffered DAC_CLK_PORT |= _BV(DAC_CLK); DAC_CLK_PORT &= ~_BV(DAC_CLK); DAC_CLK_PORT |= _BV(DAC_CLK); DAC_CLK_PORT &= ~_BV(DAC_CLK); DAC_DI_PORT |= _BV(DAC_DI); // 1X gain, enable = 1 DAC_CLK_PORT |= _BV(DAC_CLK); DAC_CLK_PORT &= ~_BV(DAC_CLK); DAC_CLK_PORT |= _BV(DAC_CLK); DAC_CLK_PORT &= ~_BV(DAC_CLK); for(bit=0x08; bit; bit>>=1) { // Clock out first 4 bits of data if(hi & bit) DAC_DI_PORT |= _BV(DAC_DI); else DAC_DI_PORT &= ~_BV(DAC_DI); DAC_CLK_PORT |= _BV(DAC_CLK); DAC_CLK_PORT &= ~_BV(DAC_CLK); } for(bit=0x80; bit; bit>>=1) { // Clock out last 8 bits of data if(lo & bit) DAC_DI_PORT |= _BV(DAC_DI); else DAC_DI_PORT &= ~_BV(DAC_DI); DAC_CLK_PORT |= _BV(DAC_CLK); DAC_CLK_PORT &= ~_BV(DAC_CLK); } DAC_CS_PORT |= _BV(DAC_CS); // Unselect DAC if(++out >= nSamples) out = 0; } CODE I FOUND FOR IR  ClyonPumpkin That I want to integrate in above   /* * Text-to-speech example to speak the first n digits of pi. * The number is stored in flash, each digit is spoken one at a time. */ #include #include #include SdReader card;    // This object holds the information for the card FatVolume vol;    // This holds the information for the partition on the card FatReader root;   // This holds the information for the volumes root directory FatReader file;   // This object represent the WAV file for a pi digit or period WaveHC wave;      // This is the only wave (audio) object, since we will only play one at a time char eyesound[13]="eye2.wav"; int mute = 0; /* * Define macro to put error messages in flash memory */ #define error(msg) error_P(PSTR(msg)) // IR Remote code int RECV_PIN = 9;  // pin 11 used by SD card interface so select pin 9 for IR IRrecv irrecv(RECV_PIN); decode_results results; long lasttime=0, lastcode=0, timediff=0; //////////////////////////////////// SETUP void setup() {   // set up Serial library at 9600 bps   Serial.begin(9600);               if (!card.init()) {     error("Card init. failed!");   }   if (!vol.init(card)) {     error("No partition!");   }   if (!root.openRoot(vol)) {     error("Couldn't open dir");   }   irrecv.enableIRIn(); // Start the IR receiver } /////////////////////////////////// LOOP void loop() {   if(mute == 0) playcomplete(eyesound);   // check for keypress happened   if (irrecv.decode(&results;)) {      Serial.println(results.value, HEX);      switch (results.value) {        case 0x83228B74:    // 1          playcomplete("command.wav");          break;        case 0x83228F70:    // 2          playcomplete("entertan.wav");          break;        case 0x8322906F:    // 3          playcomplete("extermin.wav");          break;        case 0x83228A75:    // 4          playcomplete("leader.wav");          break;        case 0x8322847B:    // 5          playcomplete("survivor.wav");          break;         case 0x83227887:    // 6          playcomplete("atention.wav");          break;        case 0x8322629D:    // vol up          mute = 0;         // mute off          break;         case 0x83226E91:    // mute          { Serial.println("mute detected");            timediff=millis()-lasttime;            Serial.println(timediff);            if(lastcode!=results.value || (lastcode==results.value && (timediff>1600)) ) {               if( mute == 0 ) { // is mute off?                  Serial.println("toggle off to on");                  mute = 1;      // turn on                  // delay(1000);    // wait a bit for debounce                  break;                 }               if( mute == 1 ) { // is mute on?                  mute = 0;      // turn off                  Serial.println("toggle on to off");                  break;                 }              } // end if             break;           } // end case        } // end switch      lastcode = results.value;      lasttime = millis();      irrecv.resume();   // Receive the next value   } } /////////////////////////////////// HELPERS /* * print error message and halt */ void error_P(const char *str) {   PgmPrint("Error: ");   SerialPrint_P(str);   sdErrorCheck();   while(1); } /* * print error message and halt if SD I/O error */ void sdErrorCheck(void) {   if (!card.errorCode()) return;   PgmPrint("\r\nSD I/O error: ");   Serial.print(card.errorCode(), HEX);   PgmPrint(", ");   Serial.println(card.errorData(), HEX);   while(1); } /* * Play a file and wait for it to complete */ void playcomplete(char *name) {   playfile(name);   while (wave.isplaying);     // see if an error occurred while playing   sdErrorCheck(); } /* * Open and start playing a WAV file */ void playfile(char *name) {   if (wave.isplaying) {// already playing something, so stop it!     wave.stop(); // stop it   }   if (!, name)) {     PgmPrintln("Couldn't open file ");     Serial.print(name);     return;   }   if (!wave.create(file)) {     PgmPrintln("Not a valid WAV");     return;   }   // ok time to play!; }

Topic by SithLordIII  

Multiple RFM69HCW with the same Node ID?

I wan wondering if it was possible to have multiple RFM69HCW ( nodes with the same node ID on the same channel. My project I am doing involves a large amount of receivers and 1 transmitter in which I need all the nodes to receive the same message at the same time. Is this possible? I know the ACK wouldn't work as intended as from what I understand, but I am okay with that if this is so.

Question by bigjohn412    |  last reply

Arduino GPS Tracker Help?

Hey guys, I'm using a arduino uno r3, an adafruit ultimate gps shield, and a 16gb SD card. I have the Adafruit GPS Library and the "friendlier" SD library which is in the details for the shield online. Whenever I try to use any programs on the arduino and shield at all, it says: Ultimate GPSlogger Shield Card init. failed! Any way to fix this so I can start receiving and logging the GPS data?

Question by RedCthulu    |  last reply

How do I use the Pro Membership to get an Adafruit Discount?

Is there a code I use for the discounts at Adafruit or how do I use the Pro Membership to get the discounts?

Question by TheOriginalNerd    |  last reply

Tweet a Watt now works with Google Powermeter

The Tweet-a-Watt is a cool hack that was made by Adafruit (Limor Fried and Phillip Torrone). It would tweet your energy usage from one outlet so you could be more aware of how much juice you're pulling through the lines. Now you can connect it with Google's Powermeter and get some nice graphs of your energy usage. Hit the link for more info and get the code to do it yourself. Tweet-a-Watt now works with Google Powermeter!

Topic by fungus amungus  

Ladyada wins EFF Pioneer Award!

The always-awesome Ladyada of Adafruit Industries is one three winners of the EFF's Pioneer Awards! It's doubly awesome to see more geek women on lists like these. Check out her recent projects here!From the official notice:A pioneer in the field of open-source hardware and software hacking, Ladyada helps the general public engineer and adapt consumer electronics to better suit their needs. Her do-it-yourself ethic is founded on the idea that consumer electronics are best modified for use by customers, not corporations. Fried runs her own company, Adafruit Industries, which sells unique and fun do-it-yourself kits to help consumers make gadgets such as backup iPod chargers, green power monitors and programmable displays for bicycle wheels. She also hosts an Internet video program called "Citizen Engineer" that provides step-by-step instructions to help consumers build and alter their own home devices. Awarded every year since 1992, the Poneer Awards recognize leaders who are extending freedom and innovation on the electronic frontier."

Topic by canida    |  last reply

how to get current track name using breakout shield

Hi! I am using the vs1053 breakout shield from adafruit that is hooked up to Arduino. I wanted to write an if statement that if the currentTrack name is not equal to the name i set it to then the code will restart the loop and they are not equal then it will play the song (this is so that every time the loop runs it won't replay the song if it is already playing ). Do you know how i would be able to get the name of the track that is playing using currentTrack? it is not very clear on how to use it in the library reference...also is there another easier way to do this? Thank you! if (abs(newVector - storedVector) <= SLOW_THRESHOLD) { Serial.println("MOVING SLOW!!"); trackName = "track001.mp3"; if (currentTrack==trackName) {      loop(); } else {      musicPlayer.startPlayingFile("track001.mp3") } }

Topic by jvan27    |  last reply

Pro member's discount and other

I was looking through the discounts that pro instructables members get (which I am). I saw a 10% off your purchase from adafruit. It said that you can only use it once but I have never used it before. I was trying to buy an arduino uno, full sized breadboard, and breadboard wires. When I entered the code that I got (which I wont say on here but private message me if you need to know it) in the "enter gift certificates or discount codes" box in your cart it says invalid coupon code. Away from that, On the iOS app running iOS 6.1.6, there are many glitches in the app. One of them is that in the contest tab, it only shows some of the current contests, none of the finished and rarely it will show one that is being judged or open for voting only. Then it doesn't show all of the contests. For example, today, 6/30/14 at 4:30 pm Pacific time, It shows 15 out of 23 contests. It shows the contests: squeeze ore out of summer, Epilog 6, summer #mikehacks, paint it, great outdoors, lego, knex, metal, home tech, hair and makeup, concrete, glue, bbq, swimwear, and battery contest. The ones it doesn't show on the app that appear on the website are green design, launch it, wheels, outdoor workshop, bees, tarun featured author, r/c, and pallet contests.  Some website problems are also there, Often times you will have to click search twice because the first time it will just go to the featured page. You also have to click twice to place a comment. I'm not sure if this is a bug but I posted a Q and A topic about how I haven't got a medal for different things like being featured and getting views and also comments. I've got one featured and about 13.5k views. I should have two bronze medals. In the Q and A topic someone answered that I might not be able to get them for a certain amount of time: e.g. a year, I've been a member for about six months, so I thought that might be true.Then I saw that Bhawya already has 6 achievements including 3 medals, and she has been a member for less time than me. Also, a suggestion, it would be nice to have forums, groups, and Q&A; on the iOS app. And a collections section.

Topic by pucksurfer    |  last reply

How to use Multiple mcp23017 chips with the adafruit mcp23017.h library?

I have been experimenting with I2C and the mcp23017 IO expander chip for my arduino ATMega2560 as I would rather use the IO on the arduino its self for other things I am just figuring out how to use the adafruit mcp23017.h library and cant figure out how to address multiple mcp23017 chips and how to use there pins individually this is the code from the button library that I editied. Here is the datesheet of mcp23017 I want to be able to address the individual chips and the pins I was not quite sure if in the setup that the pin modes for the IO go up sequentially from 0 past 15 if multiple chips are connected and addressed in code. For example if the first chip is addressed as 0x20 and the IO number count is from 0 - 15 if I added and addressed another chip as 0x21 will that count go from 0 - 15 to 0 - 31. ~ Edit if you could recommend or send a library that would be easier or could help please do. #include #include "Adafruit_MCP23017.h" //pin 1 and 0 are mcp pins not arduino IO pins Adafruit_MCP23017 mcp; void setup() {  mcp.begin();      // use default address 0 mcp.pinMode(0, INPUT); mcp.pinMode(1, OUTPUT); Serial.begin(9600); pinMode(13, OUTPUT);  // use the p13 LED as debugging } void loop() { // The LED will 'echo' the button digitalWrite(13, mcp.digitalRead(0)); //Writes pin 13 to the reading of pin    0 mcp.digitalWrite(1, mcp.digitalRead(0)); //Writes pin 1 to the reading of 0 if(mcp.digitalRead(1) == HIGH){ //if pin 1 == high serialprint led whent   high Serial.println("Led whent HIGH"); } }

Question by DELETED_MakiY2    |  last reply

why is the actuator not working!?

Hello All, I have setup the stage for the Firgelli actuator L12 -I, using an Arduino Mega + Adafruit Motor Shield (please take a look at pictures). I tested the circuit with a motor and the Adafruit "DC Motor" example code: it works. I then replaced the motor with the actuator using the same code: it does not work!! I would very much appreciate your help. Regards, Behzad.

Topic by behzadjk    |  last reply

more than two stepper motors using Adafruit Motor Shield, possible?

Hello, I have three stepper motors (Sparkfun ROB-10848) that I wanted to control. I have already had an Arduino Mega 2560 and an AdaFruit Motor Shield V2: How could I connect all these steppers so to control them using Arduino Mega? Thank you, Karim

Topic by behzadjk    |  last reply

What is != in arduino programming? Answered

I found it in the DC motor test example from Adafruit Motorshield library. The line goes like this: void loop() {   uint8_t i;     Serial.print("tick");   myMotor->run(FORWARD);   for (i=0; i<255; i++) {     myMotor->setSpeed(i);      delay(10); I have no idea what it is pls help me.

Question by fahmed20    |  last reply

10% off featured Adafruit kits for pro members only! Extended to AUGUST!

UPDATE: 10% off featured Adafruit kits for pro members only! Extended to AUGUST! We (Adafruit industries) are tying an experiment with Instructables. If you're a pro member (you are if you're reading this) we are offering 10% off our 6 kits/projects that are featured here on Instructables. Here are the kits and below, how to get 10% off (just enter INST10 on checkout at Data logger: Tweet-a-watt - How to make a twittering power meter... TV-B-Gone Kit Proto Shield XBee adapter Drawdio! All you need to do is enter the code (INST10) on checkout at Adafruit - this code can be used once per pro member. If this works out well for pro members and for Adafruit we'll do more with more kits! if you have any questions post them up here and/or email

Topic by adafruit    |  last reply

Good TINY colour lcd/screen for RPI? +What LCD is this?

(My LCD in comments) In need of a  tiny screen for my raspberry pi, the best one I have seen is 1.44" But I am actually looking for something smaller and as high quality as possible while keeping my budget under the £25 mark. Optimum size would be 15 by 25mm but obviously that is impossibly as this for the main display. To be used as a computer right next to your eye; (I am using focusing lenses) (Raspberry pi) Brilliant is around 15 by 25 Good is 20 by 35 Kinda bad is 3.5 by 3.5 Preferably detached from board (wires-  unlikely) and rectangular ratio. Must be Raspberry Pi Compatible. UK please! You guys here, are incredible that you can answer me and my persistent waffling and stupid questions for free, so thanks so much. Regards Rowan

Question by Digital Flame    |  last reply

USB adafruit trinklet mini > AC voltage regulator ~5W/230v motor?

​ hi folks.. i have this little project running..   what i have: adafruit trinklet mini with 5v ATMEL microcontroller   what i want/need: REGUALTE a small 5w MOTOR using 230v ! (i already have a mechanical potentiometer at 30k ohm attached directly AC.. BUT..)   i know so far with the atmel i can f.ex. control a digital potentimeter 50k ohm, at 5v.. -> only DC no AC (+ i wont get a 1Ampere on 5V working) ------> my little MOTOR uses ~ 22mA on 230V = 5W    and what ive learned so far is that i might need one or two TRIAC or DAC combined with a POTENTIOMETER.. to control AC voltage and/ or an OPTO-ISOLATOR --never heared of that before..   but i have no idea how i should solder that together or will i need some extra RESITORS or CAPACITORS for it?   -> FINALLY i want to flash the ATMEL with a small arduino code and use a USB connection (+own software) pushing the potenial (resistance in the curciut) from 0 to 50k ohm into AC !

Question by sblocc10    |  last reply

firgelli L12 -I with adafruit motor shield v2 + arduino mega 2560...not sure how to run it!!

Hello, I am trying to turn on and control a Firgelli L12 -I actuator using a Adafruit Motor Shield connected on top of a Ardunio Mega 2560. I connect the red/black/white set of wires from the actuator to the set of pins labeled as servo (there are two sets of three pins labeled as servo 1 and servo 2). There are no examples I could find for Servo control using Adafruit on top an Arduino!! Could someone please elaborate on this a bit, so I can find the right connections from firgelli to the Shield, How would I connect it if I do not have the Shield, and then what code should I use? Many Thanks, Karim.

Topic by behzadjk    |  last reply

Piezo buzzer won't work? Answered

I have a couple of Piezo buzzers that I bought from the Adafruit shop, but when I connect them to a power source, they don't buzz or make any noise... Am I doing something wrong? Or am I not doing something?  Heres the link to the buzzers I have:

Question by Zem    |  last reply

Arduino/Trinket USB scroll wheel?

I've seen several tutorials on making an Arduino or Adafruit Trinket based volume control wheel, but I can't seem to find anything about making a scroll wheel.  Does anyone have any suggestions or know of any tutorials on how to make a USB scroll wheel with an Arduino or Trinket? Thanks ~Josh

Question by Josh_Blackburn    |  last reply

How do I play a song from my computer using arduino?

Hello! I am a maker beginner and I need some help!  :( I am trying to make a device that detects when it is moving and then plays a song from the computer. Right now I have an accelerometer from adafruit which is attached to the adafruit flora. the information is being displayed through the serial monitor and now I am struggling with trying to play an mp3 file when it hits a certain coordinate that is being displayed in the serial monitor.  does anyone know how they would go about it? Is there any tutorials online that I can search from?  I know it may be a simple question but I am not sure what to do... Thank you! 

Question by jvan27    |  last reply

Power for 2 motors

Hello everyone, my question is regarding power supply for an Arduino UNO with an Adafruit Motor Shield. I want to use 2 motors that are 12V(link below). I know that the power supply needed should be about 1v more than that of the motor, bu if I want to use 2 motors, do I need to double the voltage of the battery? motor:

Topic by vek11    |  last reply

How to power my LED Strips?

Q: How can/should I power my LEDs? Info: I am using 3m of adafruits 144 LED strips and 4m of the 60 LED strips. 144 LEDs    60  LEDs    My Power Supply Micro Controller I would love if I could somehow use my computers power supply to help power these lights, however I doubt this is possible with the amount of wattage/amps these guys will pull since I am using so much. So should I pick up a dedicated power supply? If so from where? Whats the best way to do this as well? Thanks!

Question by afarmer10    |  last reply

need help writing Arduino sketch for Nano to Adafruit FX mini soundboard communications?

Hello everyone.  I am new here, and fairly new to arduino. Im an electrician/ communications tech by trade, but have only been working with code as a hobby for a few weeks (have wanted to learn this for a long time).  I am working on a project that would require an Motion sensor input to play an audio track at random, whilst illuminating a corresponding PWM LED. said LED should fade in sync with the audio file. ITs a robot of sorts that will detect movement and speak a random audio track.  Some nice (0-5) and some not so nice (6-12).  it will have a a diffused glow when on, blue when speaking nice, and red when speaking not so nice.  hence the audio input to act as an anologRead and output to the PWM's I know, a lot to take on for a noob.  but go big or go home.  I have put together what I thought was a good start sketch, but it doesnt even illuminate an LED, communicate with the soundboard, or serial link on the monitor. I think I am on the right track in regards to the parts and overall Idea.  And im pretty sure my sketch needs a lot of work, but i am trying. so here are the parts I had intended to use. (if im going down the wrong path, or you see another way, feel free to say so.  I expect some criticism, I can handle it) Arduino elegoo Nano V3.0, CH340/ATmega328p Adafruit Audio FX Mini soundboard w/o amp Adafruit Mono 2.5W Class D amplifier (PAM8302) Sodial mini IR motion sensor module, 3-pin LED's are undecided for finished product, but i was thinking RGB 6302's (5-7) speaker is an 8 ohm 2W power will be supplied by a small 3.7v lipo (thats the plan) My wiring idea should be easily discernible from the sketch, but i can draw my idea, and add it if need be. I did install the soundboard _library. but thats the only one (didnt think i needed others) Any and ALL help is greatly appreciated. the sketch... [code] /*   Menu driven control of a sound board over UART.   Connect UG to ground to have the sound board boot into UART mode */ #include #include #define SFX_TX 9      // Defines pin D9 as TX to FX Mini #define SFX_RX 10     // Defines pin 10 as RX to FX Mini #define PLAYING 11    // Connect to the ACT pin on the FX Mini #define SFX_RST 13   // Connect to the RST pin on the FX Mini SoftwareSerial ss = SoftwareSerial(SFX_TX, SFX_RX);  // Passes Software Serial to FX Mini SoftwareSerial mySerial(SFX_RX, SFX_TX); Adafruit_Soundboard sfx = Adafruit_Soundboard(&ss;, NULL, SFX_RST); // can also try hardware serial with // Adafruit_Soundboard sfx = Adafruit_Soundboard(&Serial1;, NULL, SFX_RST); int incomingAudio;            // Audio input assigned from FX Mini Right audio output int RedLED = 5;         // the PWM pin the Red LED is attached to int BlueLED = 3;        // the PWM pin the Blue LED is attached to int LED = 4;            // the output the normal state LED is attached to int Button = 12;        // pushbutton test play track pin int Track = random(0,13);     int inputPin = 2;       // choose the input pin (for PIR sensor) int pirState = LOW;           // we start, assuming no motion detected int val = 0;                  // variable for reading the pin status void setup() {   Serial.begin(115200);         // softwareserial at 115200 baud   Serial.println("Adafruit Sound Board!");   ss.begin(115200);      pinMode(LED, OUTPUT);           // assigning LED as an output   pinMode(RedLED, OUTPUT);        // assigning RedLED as an output   pinMode(BlueLED, OUTPUT);       // assigning BlueLED as an output   pinMode(incomingAudio, INPUT);  // assigning incomingAudion as an input   pinMode(Button, INPUT);         // assigning Button as an input   pinMode(inputPin, INPUT);       // declare sensor as input   if (!sfx.reset()) {     Serial.println("Not found");     while (1);   }   Serial.println("SFX board found"); } void loop(){   digitalWrite(LED, HIGH);        // assigning LED to start with +5V   incomingAudio = analogRead(A0);               //read voltage at A0   incomingAudio = (incomingAudio+1)/4 - 1;      //scale from 10 bit (0-1023) to 8 bit (0-255)   if (incomingAudio<0){                         //deal with negative numbers     incomingAudio = 0;   }   PORTD = incomingAudio;   Serial.println(PORTD);   val = digitalRead(inputPin);                 // read input value    if (val == HIGH) {                          // check if the input is HIGH       sfx.playTrack(Track);       Serial.println(Track);       if (pirState == LOW) {                   // we have just turned on       Serial.println("Motion detected!");      // We only want to print on the output change, not state       pirState = HIGH;       }     }    else {       if (pirState == HIGH){                   // we have just turned of       Serial.println("Motion ended!");         // We only want to print on the output change, not state       pirState = LOW;     }   }     if (Button=HIGH){                             // pin D12 to button, ground thru 10K res, and +5v       sfx.playTrack(Track);       Serial.println(Track);       }   if (incomingAudio>=128 &&Track;>=0 &&Track;<=6){      digitalWrite(RedLED, incomingAudio-128);      digitalWrite(LED, LOW);      }   else if (incomingAudio>=128 &&Track;>=7 &&Track;<=12){      digitalWrite(BlueLED, incomingAudio-128);      digitalWrite(LED, LOW);      }   else{      digitalWrite(LED, HIGH);      digitalWrite(RedLED, LOW);      digitalWrite(BlueLED, LOW);      delay(15000);   } } [/code]

Question by supramp  

Arduino Duemilanove with Adafruit motor shield causes piggybacked motor drivers to overheat- even with no load. Ideas? Answered

I have an Arduino Duemilanove and an Adafruit motorshield. Both work fine, but the motors I want to run require more current than the available 0.6 amps. I tried piggybacking two more drivers on top of the existing ones, but now when I turn it on one set of chips overheats immediately. It's not a soldering error, because I've tried it with many different chip configurations and the same problem occurs. The only thing I've noticed is that the new drivers I purchased have slightly different numbers under the customary L293D- but isn't that just when and where it was made? Any ideas?

Question by loki17    |  last reply

is it possible to store an arduino library on eeprom if it is big enough?

I was wondering if you could store an arduino library on an eeprom chip because the sound library for the waveshield kit is very large (~10KB according to she had also stated under the waveshield tutorial that it is too much to store on the ATMEGA328's eeprom. she didn't say anything about other eeprom chips. i was wondering if it is possible to do this because she had stated that there is not enough eeprom on the arduino chip.

Question by kroq-gar78    |  last reply

"avrdude: stk500_getsync(): not in sync: resp=0x00"

Dear All, I have had this error for the first time!!! I wanted to use the adafruit shield with arduino to turn on a normal DC motor...then this error: I have read so much in other forums and have tried them but it seems like nothing works!? It is quite odd and frustrating. Would you please help me? Regards Karim

Topic by behzadjk  

How can I register a physical button press on a webplatform using the Feather HUZZAH with ESP8266?

I am trying to make a cube where 4 of its sides have a physical button which can be pressed. I want to be able to receive what button was pressed and when via long distance. So wherever the cube is, I can read what it sends on a webplatform of any kind.I looked into Adafruit IO, the feather boards and IFTTT automation but can't figure out how to do this still...I have a basic arduino kit already but nothing Adafruit related yet, before I buy more parts I need to make sure I know what I need and how I will make it work.So far my best research has gotten met to the Feather HUZZAH with ESP8266, but I am not skilled in coding are working with circuit boards. All I know is that it has the option for a battery so my cube can function on it's own (which is very important)So the main question is: How can I make a small portable cube with buttons on its side to send the data of those button presses to an online platform wherever it may be used?

Question by SenneH  

How can I register a physical button press on a webplatform using the Feather HUZZAH with ESP8266?

I am trying to make a cube where 4 of its sides have a physical button which can be pressed. I want to be able to receive what button was pressed and when via long distance. So wherever the cube is, I can read what it sends on a webplatform of any kind.I looked into Adafruit IO, the feather boards and IFTTT automation but can't figure out how to do this still... I have a basic arduino kit already but nothing Adafruit related yet, before I buy more parts I need to make sure I know what I need and how I will make it work. So far my best research has gotten met to the Feather HUZZAH with ESP8266, but I am not skilled in coding are working with circuit boards. All I know is that it has the option for a battery so my cube can function on it's own (which is very important) So the main question is: How can I make a small portable cube with buttons on its side to send the data of those button presses to an online platform wherever it may be used?

Topic by SenneH    |  last reply

arduino code

Guys I want to build a quadcopter. I have an arduino uno, adafruit motor shield, 4dc motors and an rf link transmitter/receiver. Problem is I don't know programming at all. Pls help me and give me a code for controlling the motors with the sheild wirelessly withb rflink. Planning to control with 4 potentiometers. P.S I have only one arduino.

Topic by fahmed20    |  last reply

Has anyone tried/been able to get a quadcopter flying using an Arduino paired with an Adafruit motor shield?

The motor shield can be found here. Its probably a dumb question as the L293D drivers can only provide 0.6A max current per motor and most of the brushless DC motors I've seen used seem to require more current.  Perhaps I'm mistaken.  Also, I've read that one can piggyback the L293Ds to get more current.  Would this be a possible solution if a single chip can't provide enough current for the job? Perhaps using conventional ESCs that can provide higher current are the only way to go?  I'm very new to tinkering with Arduinos/motors/electronics in general so any suggestions would be appreciated!  Thanks in advance!

Question by edjsage    |  last reply

How to overdrive motors?

I have an adafruit motorshield and 3 Volt motors. The shield works only with 5-12 Volt motors. I need to overdrive the 3 volt motors to work with it? Pleade tell me hoe to overdrive it? If you have any other suggestions to use 3 volts motor with the shield pls tell me??

Question by fahmed20    |  last reply

Arduino Coder Needed - Will Pay

Hello,      I am in serious need of some help with code for a Arduino Uno project! This would not be for free of course. Just let me know what would be fair. So if your in the mood to help a dummy out, drop me a line! Here's some background on the project The project is a prop for a Halloween haunted house/escape room. The idea is for 4 RFID readers to detect 4 objects (Maybe optical sensors are better here for triggering the audio?not sure). Once all 4 objects are placed on top of each reader, the adafruit Wave Shield produces a telephone ring sound effect (I will be providing the sound .wav files to the adafruit SD card). I would also need to have a the ability to push a button to stop the ringing and skip to the next audio file on the SD card of the Adafruit wave shield. Hope that all made sense :). Below are links to all the pieces of hardware I am using: 1. Arduino Uno - I think you know what this is 2. 4 x RC522 RFID Readers  - 3. Adafruit Wave Shield - 4. Maybe Photoresistors for triggering instead -

Topic by horizonfall    |  last reply