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.

Filter by
Sorted by
Tagged with
8
votes
1answer
32k 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
6
votes
3answers
2k 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 ...
6
votes
1answer
14k 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 ...
5
votes
2answers
2k views

How to measure resistance of TFT Touchscreen

I'm using a TFT Touchscreen shield with my Arduino UNO, and I'm running "tftpaint" example by Adafruit. I've noticed that when initializing the Touchscreen object, a resistance value must be provided....
5
votes
3answers
863 views

Ooops, no LSM303 detected ... Check your wiring!

History I have an Adafruit 10DOF IMU Breakout which has been working on my Mega for some time. This morning my program did not run so I starting troubleshooting. Scenario I eventually plugged the IMU ...
5
votes
1answer
2k views

Adafruit Music Maker Shield - Retrieve song names from SD Card

I am currently working on a project that plays music for you. My question for this thread is, is it possible to retrieve the names of the songs within the micro SD card that is inserted into the ...
4
votes
3answers
11k 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 ...
4
votes
2answers
157 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, ...
4
votes
1answer
747 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
9k views

How many LED Strips can we connect to an Arduino Uno? Is there a way to connect 1-3 meters worth without needing extra parts (relays)?

I am looking at Adafruit to purchase some LED strips for a mod for my computer case, and want to power it with an Arduino. I am looking at the Uno, but the Mega looks good too. I hear the Uno is ...
3
votes
3answers
2k 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 ...
3
votes
2answers
660 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 ...
3
votes
1answer
2k views

Fingerprint sensor code won't work correctly with LCD 16x2

I am doing a fingerprint sensor that works with a 16x2 LCD. The code works correctly for the fingerprint sensor, but when I enter LCD code, the LCD works but the fingerprint stops working. I am using ...
3
votes
2answers
845 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....
3
votes
3answers
10k 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 ...
3
votes
1answer
89 views

Pass Color to a function without using a specific Adafruit_NeoPixel

I'm initializing my strips as an array: // Declare NeoPixel strip array: Adafruit_NeoPixel strip[] = { Adafruit_NeoPixel(LED_COUNT[0], LED_PIN[0], NEO_RGBW + NEO_KHZ800), Adafruit_NeoPixel(...
3
votes
2answers
103 views

Stacking 3 of the same shields on top of each other and instructing them in sync

Context: I have an audio track separated into individual channels grouped by frequency and speaker location. I need to play all three of these channels simultaneously and perform instructions like ...
3
votes
1answer
5k views

Arduino with WS2812 using Adafruit NeoPixel library fade in/out different patterns

Hey all I have been trying to figure out a way to random set patterns for my fade in/ out code below: int PIN = 3; int totalLEDs = 11; int ledFadeTime = 5; Adafruit_NeoPixel strip = ...
3
votes
1answer
136 views

When I verify the sketch I get several errors

I am extremely new to Arduino coding and have downloaded a sketch for the PCA9685 to use with model railroading and turnout control. When I verify the sketch I get several errors ... I don't even ...
3
votes
1answer
2k views

Using 18650 batteries with a 3.7v to 5v boost converter [closed]

I'm looking to set up a 1-meter strip of WS2812B LEDs (60 LEDs) with an off-the-shelf RF LED controller with a remote. The LEDs want a 5V supply - I've tried running them off 3.7v but the colour ...
3
votes
1answer
549 views

Working with Seed BLE Shield and Adafruit Feather BLE

Long story short: I need to pair these devices: Arduino UNO with Seeed BLE Shield Adafruit Feather 32u4 Bluefruit LE. The Seeed shield is configured and able to connect and communicate via the UART ...
3
votes
1answer
1k views

Need help converting a processing sketch for a robot arm with servo shield

I'm currently building a robotic arm. I'm using an Adafruit servo shield, 7 servos, Arduino uno, and a 5V 10A power supply. I found a program that controls the arm with mouse movement using a ...
3
votes
0answers
80 views

Adafruit_LEDBackpack library interfering with analog input reading

I'm trying to do something I think would be simple. I'd like to read the input of a electret microphone board and update the Adafruit 24-segment LED Bar Graph. I got each individual item working ...
3
votes
1answer
203 views

Red LED not turning off on Adafruit Circuit Playground Classic

When using the traditional Blink example program, the light blinks as expected. Even when writing from scratch digitalWriteing pin 13 to high and low repeatedly works fine. The problem is when I try ...
3
votes
1answer
2k 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 ...
3
votes
0answers
1k views

Using Johnny-five API with RFID Controller Shield

Is it possible to use the Adafruit PN532 NFC/RFID Controller Shield with the Johnny Five API? I've searched the depths of google and I'm unable to find anything so far. If it is possible, how can I go ...
3
votes
0answers
783 views

Why won't Wifi Shield detect any networks? Even really close

I just purchased an Adafruit Wifi Shield CC3300 and strapped it onto my Arduino Uno board. I'm running this basic sketch that I found to test the functionality of the Wifi Shield: http://arduino.cc/...
2
votes
3answers
618 views

DC motors only run in one direction

I'm quite new to Arduino and am making my first proper project, an obstacle avoiding robot. I'm using an Arduino Uno and a motor shield compatible with the Adafruit motor driver library. I'm trying ...
2
votes
2answers
2k views

Adafruit RTC begin() not returning false

I am programming my arduino with the capability to keep time with the DS3231 from Adafruit. I do not have the module yet, but am trying to figure out the rest of the build without it. However, it ...
2
votes
2answers
1k views

Press on pressure sensor, then wait 5 seconds, turn on LED

I'm having some trouble wrapping my head around timers in Arduino. I've got a FSR Pressure Sensor and I want it to turn on my NeoPixel LED after pressing on it for 5 seconds. Any help is much ...
2
votes
2answers
1k views

Creating a library of C++ classes for Arduino; How to #include "Arduino.h", "WProgram.h"?

I've written 6 C++ classes on the CLion IDE to be used on Arduino. One of these classes uses a C++ library called "Adafruit_PWMServoDriver.cpp" provided by Adafruit to use the PWM driver they sell. I'...
2
votes
1answer
234 views

Adafruit Feather 32u4 BLE compatible with Software SPI?

Let me preface by saying that I am not super experienced with electronics. I have an Adafruit Feather 32u4 that is using Hardware SPI to communicate over Bluetooth. Unfortunately, I'm also hoping to ...
2
votes
1answer
1k views

Updating firmware on Adafruit Huzzah ESP8266

tldr: I'm trying to re-flash a previously working Adafruit Huzzah ESP8266 breakout module to use the latest AT firmware. The re-flash doesn't seem to be working and I'm getting rather confused. This ...
2
votes
2answers
136 views

How to analogRead() 2 separate pins simultanously?

I am trying to create a simple piano playback using a flex sensor, a proximity sensor and a piezo buzzer. I want to have it so that when the flex sensor is triggered, a sound is played on the piezo ...
2
votes
1answer
285 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 ...
2
votes
1answer
83 views

How to fade LED in a defined time using FastLED

I'm using FastLED library, Arduino Nano and 5 addressable LEDs (WS2812B). I'd like to create the sequence in the image attached. (all in white color for example) I know how to turn ON each LED every 0....
2
votes
1answer
60 views

MQTT connection not being recognised in void loop()

I am trying to publish MPU 9250 readings in the Adafruit IO sending the data from ESP32. The WiFi connection is being established, but the code is not going inside the if(mqtt.connected()) inside the ...
2
votes
1answer
62 views

i am having Strange issues when trying to read form gps serial connection

I have an Adafruit Ultimate GPS connected to a MEGA2560. I am trying to get the data from the buffer and do other data processing at the same time, however. when i allow other processing to be done ...
2
votes
1answer
798 views

LCDs interfere with Adafruit datalogger SD card function

I am using the Adafruit datalogger shield (Rev B) and a pair of cheap 20x4 LCD I2C displays. The displays have a small I2C I/O expansion module board on the back. The LCDs I am using are these; ...
2
votes
1answer
1k views

Using RFID and fingerprint sensor together

I am using both an RFID and a fingerprint sensor in my project. When running the program, the RFID is detected but the fingerprint sensor is not detected and hence my code is not going forward. Here ...
2
votes
1answer
396 views

HMC5883L - Tilt compensation without Accelerometer

Trying to get an HMC5883L to compensate for being installed in 90 degrees. Doesn't seem to me that it'll need too complex math or accelerometer. But I have no idea how to do the compensation for it. ...
2
votes
2answers
853 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 ...
2
votes
1answer
712 views

Adafruit_NeoPixel define pin for different setups

I am looking for a way of defining multiple pins for my RGB strips. Currently the defined variable is set with the pin within it. This works just fine if I only had one RGB strip connected to the ...
2
votes
1answer
339 views

Adafruit CC3000 Wifi Shield on IRQ 2?

I'm using an AdaFruit CC3000 Wifi shield as an HTTP server with an Arduino Uno. I have a script which works fine -- logs into my Wifi and listens for connections as it should. However, I want to ...
2
votes
0answers
28 views

Driver configuration not showing the right numbers on the Graphics Test example's serial monitor for Adafruit IlI9341 library

I have a 2.8" Color TFT Touchscreen from Adafruit, and I'm currently trying to set it up. I've been following this guide to set up the screen. The screen powers on when connected to power, but it'...
2
votes
0answers
66 views

Why doesn't LCD 16x2 work with fingerprint sensor code?

When I separate fingerprint code and LCD code it works fine. sensor read 6 templates which I already stored 6 fingers ID. When I combine the code it read 0 templates. #include <Adafruit_Fingerprint....
2
votes
0answers
207 views

Code stuck on mag.getEvent(&event); in HMC5833L Compass

Last week I created some code in which I can run a Ublox GPS NEO-6 and a magnetometer HMC5883L together. Which at the time worked brilliantly. Yesterday I have attempted to run the code again, with ...
2
votes
0answers
314 views

Adafruit Huzzah Feather not resetting and serial monitor garbage

Hi there, I have an Adafruit Huzzah Feather project laid out as you can see in the diagram above. Currently I am having trouble getting it to reliably reset and start the sketch. More often than ...
2
votes
0answers
323 views

Wiring Feather Huzzah ESP8266 to Monochrome 1.3" 128x64 LCD

I'm new to Arduino and the pinouts for the Adafruit 938 LCD doesn't seem to match the pinouts that I looked up for the Huzzah ESP8266. Does anyone know the proper pinout for this display and the ...
2
votes
0answers
3k views

Turn on one by one the LEDs of a Neopixel rgb LEDs strip for each detection at the same distance from an Ultrasonic Distance Sensor (HC-SR04)

For this project I seek to create a counter of water glasses we drank throughout the day. I use for this an Arduino UNO card, a Piezo buzzer and a Neopixel rgb LEDs strip (5 LEDs for this test). ...

1
2 3 4 5
7