Skip to main content

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
9 votes
1 answer
42k 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
Niles's user avatar
  • 123
6 votes
3 answers
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 ...
Shpigford's user avatar
  • 484
6 votes
1 answer
15k 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 ...
Joris's user avatar
  • 163
6 votes
1 answer
170 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 ...
OneCleverMonkey's user avatar
5 votes
3 answers
12k 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 ...
Pikamander2's user avatar
5 votes
2 answers
3k 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....
jotadepicas's user avatar
5 votes
3 answers
1k 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 ...
Jacksonkr's user avatar
  • 327
5 votes
1 answer
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 ...
Imayan's user avatar
  • 93
4 votes
2 answers
1k 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....
Jeremy Wadhams's user avatar
4 votes
2 answers
168 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, ...
T1M0THY's user avatar
  • 41
4 votes
1 answer
838 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 ...
Quartermain's user avatar
4 votes
1 answer
254 views

MacBook + BLE Microcontroller Incompatibility?

I've programmed an Adafruit Feather nRF52840 board to send MIDI signals to my computer via BLE. I can confirm that the board pairs successfully with an Android phone and a Windows PC, but my laptop (...
carsoap's user avatar
  • 41
3 votes
3 answers
5k views

ESP32 Pins won't fit in solderless breadboard

I bought an Adafrut Huzzah32 ESP32 for an IoT project. When the ESP32 arrived, I attempted to fit it into my existing breadboard, but I immediately noticed that no matter how hard I pushed, the pins ...
Brandon Avant's user avatar
3 votes
3 answers
10k 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 ...
XaolingBao's user avatar
3 votes
2 answers
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 ...
jmswng's user avatar
  • 33
3 votes
3 answers
3k 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 ...
NoobPointerException's user avatar
3 votes
2 answers
713 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 ...
moestly's user avatar
  • 347
3 votes
1 answer
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 ...
Souls Reaper's user avatar
3 votes
1 answer
333 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(...
Johnny Rollerfeet's user avatar
3 votes
2 answers
123 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 ...
Edward's user avatar
  • 37
3 votes
3 answers
12k 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 ...
kxtronic's user avatar
  • 394
3 votes
1 answer
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 = ...
StealthRT's user avatar
  • 259
3 votes
1 answer
303 views

How to install Adafruit motorshield library in arduino-cli

I need to install this library using the arduino-cli software. I don't know what name to use for the library. Using arduino-cli lib install <library_name> I have tried Adafruit_MotorShield, ...
user171780's user avatar
3 votes
1 answer
314 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 ...
Wayne Hensley's user avatar
3 votes
1 answer
449 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 ...
Daffy's user avatar
  • 141
3 votes
1 answer
3k 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 ...
poolski's user avatar
  • 33
3 votes
1 answer
571 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 ...
GIPlayer's user avatar
3 votes
1 answer
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 ...
Symphy's user avatar
  • 31
3 votes
1 answer
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 ...
Alex Wulff's user avatar
3 votes
0 answers
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 ...
Chris Till's user avatar
3 votes
0 answers
794 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/...
Saqib Ali's user avatar
2 votes
1 answer
569 views

Why is the Adafruit splashscreen logo not displayed properly?

I'm working with a 128x64 Oled display. I have just installed the Adafruit library and I'm running some sample codes. I have not modified the sample code in anyway yet just testing if the oled display ...
Emma's user avatar
  • 23
2 votes
1 answer
87 views

Can this display's address be changed?

I need two displays hooked up to an Arduino MKR Wifi 1010, and I saw this video which shows how to do it: this video. I also would like to have a full color oled display about 1 inch big so I would ...
user avatar
2 votes
3 answers
1k 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 ...
alwaysSpaegie's user avatar
2 votes
2 answers
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 ...
Snappawapa's user avatar
2 votes
2 answers
2k 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'...
Skipher's user avatar
  • 169
2 votes
1 answer
2k views

Adafruit_SSD1306.cpp fatal error: pgmspace.h: No such file or directory using SSD1306 on Arduino Nano RP2040

I am currently trying to get a SBC-OLED01 display to run under my Arduino Nano RP2040. I use the official example from Adafruit, attached is the code. /*************************************************...
JohnDizzle's user avatar
2 votes
2 answers
4k views

Finding Relatively Accurate Velocity Using an IMU

I am currently working on a project where I am trying to accurately find velocity in a handheld device using an IMU for about 30 seconds. I have been having major issues doing this because of large ...
Jonathan Seffinga's user avatar
2 votes
1 answer
335 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 ...
Kenzie's user avatar
  • 21
2 votes
1 answer
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 ...
Andy Johnson's user avatar
2 votes
1 answer
2k 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 ...
Ravi's user avatar
  • 41
2 votes
2 answers
168 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 ...
Eddie's user avatar
  • 21
2 votes
1 answer
330 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 ...
kungfushark's user avatar
2 votes
1 answer
420 views

Multiple TFT's not displaying

I am trying to connect about 5 TFT's to my Arduino Uno and I got to the point of hooking two of them up without any issues. However, after a code upload, they stopped working. I then took all the code ...
griegs's user avatar
  • 131
2 votes
1 answer
115 views

How to combine servo shield with peristaltic pump?

I am creating a project where I need 16+ (possibly up to 20) servos to open/close liquid flow through tubing, which in turn will be controlled by a peristaltic liquid pump (https://www.adafruit.com/...
nn123's user avatar
  • 21
2 votes
1 answer
174 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 ...
Ajay Raj's user avatar
2 votes
1 answer
291 views

Arduino fingerprint Scanner stop loop after enroll or delete

How can I stop the loop when I enroll a fingerprint to the module? The loop is stuck in enrolling fingerprint even it was already done. The result I want was after the enrollment of fingerprint, it ...
Time Gold's user avatar
  • 103
2 votes
1 answer
172 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 ...
Oliver Taylor's user avatar
2 votes
1 answer
2k views

How to scale a bitmap (uint8_t array) in Arduino?

So I have a project where I send text to an Arduino, which is then printed out as a QR code on a thermal printer that can take a bitmap image with a given width and height. Is there a way I can "...
Tony Sesek's user avatar
2 votes
1 answer
643 views

Reading Multiple RFID tags / Reading and ignoring/holding the tag

I'm currently doing a project where ideally I will have multiple objects with RFID tags on them that are placed on top of a Adafruit PN532 RFID Shield connected to a Arduino Uno Wifi Rev 2. The idea ...
Luke Jones's user avatar

1
2 3 4 5
8