Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [adafruit]

Adafruit Industries is an open-source hardware company founded by Limor Fried in 2005. Use this tag to mention issues with Adafruit products or tutorials.

3
votes
2answers
506 views

How can a USB keyboard emulator (TrinketKeyboard) type Unicode characters?

I've got an Adafruit Trinket microcontroller set up using this USB keyboard tutorial, and it works great. I'd like to set up my project to type a shruggie ( ¯\_(ツ)_/¯ ) when I press a hardware button....
1
vote
1answer
188 views

Power measurement on Pins

as a project I have to build a sensor hub based on Arduino. I need a couple of sensors like gyroscope, barometer, etc. This is no problem so far. The problem arises when it comes to power measurement. ...
4
votes
2answers
144 views

Absolute noob looking for troubleshooting help

My 10-year-old son went to a "Robotics Camp" and came home with a non-functional Arduino robot. I figured it shouldn't be too much trouble to get it working. He swears he had it operating at the camp, ...
-1
votes
1answer
136 views

Is Adafruit Arduino Feather M0 WiFi compatible with Adafruit Music Maker shield?

I want Arduino to receive MP3 by WiFi (from iPhone), and then send to Music Maker codec and amplifier. I want to use Arduino IDE and library software from Adafruit for the Music Maker, so I need an ...
2
votes
2answers
126 views

Problem with wrapping Adafruit Motor Controller function calls in a class

I'm working on an Arduino robot and I ran into a problem when reorganizing my code. I have an Adafruit Motor Shield v2.3 connected to an Arduino Uno. My robot can be controlled using a bluetooth ...
0
votes
3answers
658 views

Is the Arduino bootloader really the Atmel bootloader? Can I use Flip to upload?

I've been asked to do a small project using an Ada BlueFruit board. It has a ATMega32U4. The 32U4 comes from the factory with a bootloader pre-installed. I've never used an Arduino before, but I have ...
-1
votes
1answer
91 views

Steppermotor+Arduino Mega+ Adafruit

I have 2 Stepper Motors (QMot stepper motor1 Amp, 5.3Ohms, 5.3 volts and 200 steps/rev.) , which are connected to the Adafruit shield2.4, they are mounted to Arduino Mega, the motors pull generally 2 ...
0
votes
1answer
42 views

Do I need more voltage to close this circuit?

I'm hacking together a RF-controlled garage door opener. I'm tapping the "receiving" end in to the push button wires. When the two wires touch, it toggles the garage door motor. I'm trying to ...
0
votes
1answer
38 views

WiFi thermometers: save different location string as const across many devices

I've built a very simple WiFi thermometer out of an Adafruit ESP8266 HUZZAH breakout board and a TMP36 temperature sensor. I have it reporting the temperature over wifi to my computer which will be ...
1
vote
4answers
591 views

Reduce 5v Trinket Pro to 3.3v?

Apparently these nRF24L01+ modules need 3.3v, but I've only got 5v Trinket Pros that I'm using. How can I reduce the voltage to the RF transmitter? Would a voltage regulator work? Specifically ...
4
votes
3answers
1k views

How to remove SD card safely

I’m constructing an arduino based sytem that uses a SD card and I’m looking for a way to safely remove the card from the system during operation. One way would probably be to turn of the arduino ...
1
vote
1answer
53 views

Any way to not explicitly include dependent libraries?

When I am including the Adafruit_BMP280 library, Arduino IDE 1.7.10 complains that it wants all dependent libraries included: Adafruit_Sensors.h Wire.h SPI.h Isn't it possible to circumvent that? ...
0
votes
2answers
182 views

CC3000 gets wrong address when connecting to wireless AP

I tried using both the SparkFun and Adafruit CC3000 libraries first with what I actually wanted as a program, but when that didn't work, the examples for those libraries, and I always seem to get the ...
1
vote
0answers
61 views

Motion triggers email or text [closed]

I am trying to create a prototype for a nonprofit. Basically the Arduino 101 board would be able to send an email/text when it senses movement. It is equipped with an accelerometer which could ...
0
votes
2answers
505 views

Getting Firmata to control WS2801 LEDs

I am trying to control a strip of WS2801 LEDs through an arduino uno running firmata from Python on my laptop. I've written some basic code based on adafruit's library here (from line 187): from ...
-2
votes
1answer
1k views

Find remote ip address TCP

Found this "Remote IP of TCP Socket" at: https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc3000/f/851/t/380635 I am trying to log the remote ip address of a client. Using Ethernet, ...
0
votes
2answers
52 views

How to store a function in a constant?

I'm trying to do something to this affect: const string first_color = strip.Color(0, 60, 0, 0); With the intended outcome being that I could use first_color wherever I'd have used strip.Color(0, 60, ...
0
votes
1answer
129 views

How would I refactor this code, given how similar most of the lines are?

I have a set of buttons and a set of NeoPixel LEDs. There's lots of very similar constants (button1pin, button2pin, etc) so there's almost certainly a more efficient way of coding this. Any ideas? #...
0
votes
1answer
3k views

ESP8266 Arduino 2.2inch ILI9341 TFT library

I recently got one TFT LCD from aliexpress which supports SPI and uses ILI9341. This is the one.TFT LCD I have the ESP8266 EspressoLite 1 board, and I am using ESP8266 Arduino. (https://github.com/...
0
votes
1answer
34 views

What would the total current requirements be for these items?

I'm using 5 of those 8mm NeoPixels + a 5V Trinket. I'm trying to get a rough estimate of the current requirements that would have, assuming all 5 NeoPixels were running at full brightness "white" (...
0
votes
2answers
452 views

Is a 9v battery appropriate for a piezo and 1 LED?

I'm making a basic "door open" detector that, when a door is opened, it turns on an LED and then sounds an alarm via a piezo. This is controlled via a 5v Adafruit Trinket. Is a 9v battery the ...
0
votes
1answer
894 views

Second I2C address not accepted

I have set up 2 DHT22 sensors and 2 BMP280 sensors with an Arduino Uno SMD R3 board. The DHTs are working fine and are outputting correct temperature and humidity values to the Serial monitor. The ...
2
votes
1answer
197 views

Adafruit Flora V2 use onboard and external NeoPixels

I am working on wearable project using an Adafruit Flora V2, and for this project I need to use the onboard NeoPixel. I also need to use Neopixels that are attached to the D6 pin (is it a pin?). I ...
0
votes
2answers
2k views

Arduino and 2 Adafruit Fingerprint modules working together

I want to do a project with fingerprint access control. But my client wants one on both sides of the door (inside and outside). Now I am using this product Adafruit Fingerprint module but I don't want ...
5
votes
1answer
11k views

Streaming audio from PC to Arduino over WiFi

Say I wanted to, purely hypothetically, set up a pirate radio station by connecting an Arduino to a WiFi network away from home, streaming music to the Arduino, decoding it, and broadcasting it with ...
0
votes
1answer
89 views

5V Trinket only outputting 3.3V?

Unless my multimeter is on the fritz, it would seem my 5V Adafruit Trinket is only outputting 3.3V when connected w/ DC power. When connected via USB, totally fun. Full 5V. But if I disconnect that ...
0
votes
1answer
107 views

Arduino Uno Constantly Resets with WiFi and 4 Relay Module

I am using an Arduino Uno with a 4 relay module (found here: http://www.amazon.com/JBtek-Channel-Module-Arduino-Raspberry/dp/B00KTEN3TM?ie=UTF8&psc=1&redirect=true&ref_=...
1
vote
1answer
174 views

Trinket works with USB but not with wall adapter

My Adafruit 5V Trinket works fine when powered via USB connected to my computer (and the power going in to the Trinket is 5V), but if I use a 9V wall adapter with a microUSB adapter, it just powers on ...
5
votes
3answers
1k views

How can I reduce the size of my sketch?

Looks like I'm overshooting the storage of my Adafruit Trinket: Sketch uses 5,600 bytes (105%) of program storage space. Maximum is 5,310 bytes. Global variables use 109 bytes of dynamic memory. Any ...
2
votes
2answers
686 views

Library for DIY Keyboard

I'm planning on making my own Bluetooth mechanical keyboard using the Adafruit Feather 32u4 Bluetooth LE. Something that I haven't really figured out is the programming side of things. I was wondering ...
1
vote
2answers
527 views

Soldering headers screwed up Trinket?

Last week I purchased a couple of Trinkets from Adafruit (5v micro-USB). The first thing I did was solder the headers to one of them. I did the whole setup process w/ the Arduino IDE and didn't have ...
0
votes
1answer
185 views

LEDs instruction code does not loop

I am using Neopixel Library and a Trinket Pro 5V Microcontroller to chase first three LEDs on a strip and then burst the last 2 (could be modified based on the number of LEDs). The LEDs chase only ...
1
vote
0answers
134 views

Debugging arduino shield for varying voltage

I'm using this motor shield for arduino from adafruit. It says it can drive 4 DC motors with it. However, two terminals M3 & M4 (as marked in the image) seem to be supplying lesser voltage. To ...
4
votes
2answers
434 views

Why does DHT-library (and others) only allow one object instance?

I came across the problem to handle two DHT22 devices. I use the Adafruit DHT Sensor library. Since my Arduino sketch works as a "relay" for Serial commands on a host, I tried to wire up and ...
1
vote
3answers
1k views

Adafruit Neopixel Library- only the first 16 LEDs respond

I am using Adafruit Neopixel Library to work with a strand of 21 RGB LEDs. AT this point only the first 16 light up. It is not a soldering problem, battery issue or a short. This troubleshooting page ...
3
votes
1answer
10k views

Turning all LEDs on (FAST.LED)

In Fast.Led lib for arduino there is a code to turn off all leds FastLED.clear (); Is there also a shortcut to turn all LEDs ON, and with a specific color
0
votes
1answer
130 views

Motor Shield not giving full power, LED DIMS

I have an Adafruit Motor Shield, the V1. I have been using this thing with my OPSEPP Uno and a stepper motor with no issues. (Powered by 12v DC wall wart [CASIO]). My question, or issue, not sure yet,...
0
votes
2answers
6k views

Exit status 1 expected primary-expression before ']' Arduino

Here's the whole error: Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Uno" *\readMifare\readMifare.ino: In function 'void loop()': readMifare:113: error: expected primary-expression before ...
1
vote
0answers
225 views

Adafruit Trinket 3v with LED matrix backpack producing error

I have been wanting to create a Arduino watch. I built the circuit with an Adafruit Trinket 3v and an Adafruit LED matrix backpack (8*8). When I try to upload this example code: /*********************...
0
votes
0answers
653 views

Using Arduino Uno to make digital LEDs go to music

I've just started playing around with Arduinos... I found relatively simple project on youtube: https://www.youtube.com/watch?v=5U354Qp6j24. I followed the instructions, loaded up the code, and ...
3
votes
3answers
7k views

Why is my Adafruit motor shield not spinning my motors?

I'm using the Adafruit Motor Shield v2.3. I'm powering the Arduino with a USB cable and I'm powering the motor shield with a 9 volt battery. I removed the vin pin, and I'm using this tutorial/code to ...
0
votes
1answer
1k views

DCMotorTest from the Adafruit site – got fatal error exit status 1

New to Arduino, I plugged in DCMotorTest from the Adafruit site and got this error message: a fatal error exit status 1 /* This is a test sketch for the Adafruit assembled Motor Shield for Arduino ...
4
votes
1answer
1k views

BLE SPI Module with ATtiny85

Adafruit carries a number of Bluetooth LE 4.0 modules in their store, notably the SPI (https://www.adafruit.com/products/2633) and UART (https://www.adafruit.com/product/2479) version. I have used the ...
0
votes
1answer
436 views

Use Adafruit Colorsensor to distinguish between green and red

I am using the Adafruit TCS34725 to sense color. I have used the Colorview code example to set it up to sense all colors, works great. The thing I want is for it to tell me if it is seeing either ...
0
votes
2answers
88 views

Adafruit libary and CC3000 shield

I have a Arduino Uno and a CC3000 shield. When I run the example code for Webclient from Adafruits libary it works perfect. When I switch out address for reading a corresponding text file from my own ...
1
vote
0answers
102 views

Refine Colorview Code

How would I refine this to only recognize red and green? I don't need the full functionality of this code, just the ability to distinguish between red and green, and output that respectively. I also ...
0
votes
1answer
694 views

Trying to understand compilation error message

C:\Users\Field\Documents\Arduino\Adafruit_TCS34725-master\examples\tcs34725autorange\tcs34725autorange.ino:2:31: fatal error: Adafruit_TCS34725.h: No such file or directory #include "...
0
votes
1answer
80 views

Arduino Micro blue light dimms and turns off when I plug in my circuit

I have a PING Ultrasonic Sensor, Adafruit Absolute Orientation Sensor, and a Continuous rotation servo. All pins are connected to an Arduino Micro. However because the micro only has one 5V output, I ...
4
votes
1answer
521 views

Unable to use RGB matrix and the serial monitor at once

Recently I bought the following matrix: https://learn.adafruit.com/32x16-32x32-rgb-led-matrix/overview I own an Arduino Uno for those who are interested. I got the 32x32 variant and I am very happy ...
3
votes
3answers
6k views

How can I load fonts into Adafruit GFX for TFT display (ILI9341)

I get a compile error when I try to set a different font in Adafruit GFX on a TFT display on my Arduino Uno. I'm testing a new TFT shield for Arduino equipped with an ILI9341 by using the Adafuit GFX ...