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.
357
questions
1
vote
2
answers
2k
views
uint8_t etc as color variable
I am very new to coding and I am attempting to teach myself the best I can. I have no prior knowledge of coding and am filling in the blanks via YouTube and forums alike. One place I keep getting ...
1
vote
1
answer
185
views
How can I get a Faster boot with the Adafruit Feather SAMD21?
The Adafruit Feather SAMD21 takes about two seconds from power being supplied to when setup() starts running. How can I shorten that time so that setup() will run sooner? I measure this time using a ...
1
vote
1
answer
232
views
FastLED and Adafruit Gemma M0 - Getting started
I just bought a Gemma M0 and I'm trying to use it with FastLED. There are several forums that discuss the same errors I get when I try to upload my code, but they all involve editing .h files, ...
1
vote
1
answer
2k
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....
1
vote
1
answer
477
views
How do I set up communication between the "Seeeduino Xiao" and the "Adafruit Bluefruit LE UART Friend - Bluetooth Low Energy (BLE)"?
I've seen normal Arduino boards connecting to it no problem (Uno, Nano, etc.). I'm trying to connect it to my Seeeduino Xiao. It has UART compatible pins, so I'm fairly certain wiring isn't an issue. ...
1
vote
1
answer
606
views
Configure Trinket M0 as I2C peripheral
I am trying to use I2C to communicate between my XBee3 (controller) and an adafruit trinket m0 (peripheral). I'm pretty confident I have the modules connected properly (trinket SCL/pin 2 to xbee SCL/...
1
vote
1
answer
1k
views
Adafruit_Arcada' does not name a type;
I am trying to program an adafruit pygamer (which says it's compatible with Arduino). I have added the ZIP folder for the library into the library folder om my PC where all of my folders are supposed ...
1
vote
1
answer
148
views
I want to create 10 levels with one button but this code shows only level 1?
#include <Adafruit_NeoPixel.h>
const int PIN = 4;
const int NUMPIXELS = 10;
const int BUTTONPIN = 6;
int buttonState = 0;
int PINState = 0;
int level = 1;
int dt = 100;
Adafruit_NeoPixel pixels(...
1
vote
1
answer
83
views
iterate through 8 thermocouple sensors (MAX31856)
I have 8xMAX31856 and I am trying to use the Adafruit library. Instead of writing all 8 thermocouple channels each time in code (and wasting memory), I want to store the objects in an array and loop ...
1
vote
2
answers
950
views
Cannot successfully implement singleton
I have spent the better part of today trying to figure out why I can't get this to work...
I have this project where, because of previous design considerations, have implemented a singleton class that ...
1
vote
1
answer
5k
views
Trying to understand AccelStepper constant speed
I'm starting to learn the AccelStepper library for controlling stepper motors for a project I'm working on. I'm able to get the stepper motors running with the basic examples that use acceleration.
I ...
1
vote
2
answers
1k
views
GPS date and time not displaying correctly in Arduino Uno,NEO6M GPS module
I am learning how the Arduino and GPS module work so I can apply it to another project.
My components are an Arduino Uno, NEO-6M GPS module, and a Adafruit 1.8" TFT display.
The code did not work ...
1
vote
1
answer
1k
views
With the press of a button, I need to play an intro sound file, then one of 50 other sounds in order, each time a button is pressed
I need to play an intro file and one of 50 different files after it in order each time the switch is pressed, with a short delay between the intro and next file.
For example let's say the intro is ...
1
vote
4
answers
3k
views
How to create and edit fonts for the Adafruit GFX library?
I noticed that the TomThumb.h font included in the Adafruit GFX library has characters that have different widths, which is a problem for me because I'm doing text processing that requires characters ...
1
vote
1
answer
100
views
Reading DHT22 reboots arduino
I’ve got a quite weird behavior of DHT library.
I’ve got DHT22 sensor. If it’s signal cable is not connected, reading the sensor causes a problem: Arduino reboots or hangs in unpredictable places.
...
1
vote
1
answer
1k
views
Adafruit esp32 Feather Failing to compile
So yesterday, I was able to upload/compile given example code to the Esp32 Huzzah board. Today I couldn't even compile. Even carefully using the tutorial adafruit provides.
I was getting errors as ...
1
vote
1
answer
282
views
Adafruit RGB LCD w/ Shield kit connection to arduino uno? [duplicate]
I have a adafruit rbg 16x2 lcd with shield kit and am trying to connect it to an arduino uno. The only thing is the assembly instructions have the lcd basically using every pin on the arduino, even ...
1
vote
2
answers
2k
views
Get accelerometer values from BNO055 using adafruit's Unified Sensor Library
If I understand correctly using the Adafruit_Sensor one can extract information from the sensor specific information. These sensors are currently mentioned in the README. I am using the BNO055 for two ...
1
vote
1
answer
3k
views
After restoring the BNO055 offsets to the sensor the calibration values are all 0
Board: ESP32
Script: restore_offsets.ino from Adafruit's BNO055 library
The only difference is I am storing the information in ESP's NVS using the Preferences Library
Code
#include <Wire.h>
#...
1
vote
1
answer
246
views
Blynk app, DotStar bluetooth control code help
This is my setup:
Arduino Mega;
HM-10 bluetooth module (bought off ebay, so not sure if genuine but works);
Adafruit Dotstar addressable LED strip;
iOS Blynk app;
Hardware-wise, everything is ...
1
vote
1
answer
204
views
Arduino Uno with Adafruit CC3000
I am using Arduino Uno with Adafruit CC3000 wifi shield to connect to the internet and get data for Arduino. Everything works fine but I can't figure out how to use HttpClient library. The code is:
#...
1
vote
1
answer
206
views
Is an atmega 2560 board compatible with the Adafruit Trellis?
I want to build a custom midi controller for my computer, and yes, Adafruit has a mini Untz project. For my purposes, I need more analog inputs than the Leonardo, and the only other option I can find ...
1
vote
1
answer
466
views
Uno - PCA9685 Servos are too shaky before stabilizing - when using two channels
I'm trying to control a Tilt pan with an Arduino Uno. And the Sunrounder servo driver is used to do this, which comes with it's own capacitor out of the box.
The pan has two Servo motors, that help ...
1
vote
1
answer
2k
views
Adafruit Huzzah espcomm_open failed
I recently bought an adafruit huzzah as well as a serial to usb cable to connect it to my computer running windows 10. I was able to get the board set up in arduino following the directions found here....
1
vote
1
answer
153
views
Initially my Arduino executes a series of PWM signals simultaneously, but after some iterations it adds around a second between PWM executions
I am using 2 adafruit PWM servo shield in order to generate 25 PWM signals. In particular I am using this shield: https://www.adafruit.com/products/1411
A python script sends the commands to the ...
1
vote
1
answer
152
views
Is it possible to have an Adafruit music maker shield and a sensor connected to the same Arduino?
Are the analog I/O pins on the Arduino still available for sensors when there is an Adafruit Music Maker shield attached to it? I want to play a sound file, but only when a PIR sensor senses motion.
1
vote
1
answer
702
views
Adafruit feather M0 wifi firmware update
I just noticed that the firmware on the m0 wifi might need updating but says not to use the provided updater, how do you update the firmware so ?
Thanks
1
vote
1
answer
397
views
How to connect Flora 2 and nRF8001 BLE Breakout
I'm trying to get the nRF8001 BLE Breakout polling properly on Flora but Adafruit's tutorial and everything I've read and hunted around but I'm new to Arduino and not really sure how the ...
1
vote
1
answer
64
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? ...
1
vote
2
answers
222
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
2
answers
1k
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 ...
1
vote
2
answers
4k
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 ...
1
vote
3
answers
134
views
Drawing amperage with Arduino code
I'd like to preface this by saying I'm a complete beginner, but I have learned a ton already on this project, and I feel like I'm almost there.
I'm using an Arduino Uno and an Adafruit motor shield. ...
1
vote
1
answer
636
views
Connect 2 LSM9DS0 to Flora
So I'd like to connect two of these sensors to an Adafruit Flora (https://www.adafruit.com/products/2020). In the product page it says you can only connect one but in the forum an admin said that you ...
1
vote
2
answers
382
views
I would like to control 16 motors with a servo shield
Ok so I've used nicks code and have the code running once ok.... I the noticed however I had a fast 180 sweep and then it returned under control of code. I then noticed the comments wrt pulselen of ...
1
vote
0
answers
252
views
display.begin(); function breaks working code
I've been setting up a system using an Arduino Uno board that reads from both an Adafruit MPU6050 6-way gyroscope and accelerometer and an Adafruit NAU7802 connected to a load sensor. I have code for ...
1
vote
0
answers
119
views
Adafruit Si4713/IDE not working
My IDE shows "Adafruit Radio - Si4713 Test", but without "RDS on!", which is supposed to show up. The radio I use (Inscabin M60) shows static. Am I doing something wrong?
Adafruit ...
1
vote
0
answers
41
views
Code not displaying/working DFRobot SIM808 shield data on Adafruit 1.69" ST7789 rounded screen
I have been having trouble with the code below not display and possibly not working and or looping. Before making changes to my code I had a problem where the Serial monitor would print up to "...
1
vote
0
answers
36
views
How to prevent the application code from getting stuck in forever loop when using SerialFlash library in Arduino-Adafruit framework
I have been working on a project that runs on Adafruit's Bluefruit nRF52 board. I used the SerialFlash library for Arduino provided by Paul Stoffregen: https://github.com/PaulStoffregen/SerialFlash....
1
vote
1
answer
193
views
CircuitPython - how to connect Adafruit esp32 AirLift with Adafuit HttpServer - incompatible socket object
I am building a CircuitPython weather station based on Adafruit M4 board stacked with Adafruit ESP32 AirLift module. Both work fine together when it comes to making http calls (via Adafruit_requests ...
1
vote
0
answers
80
views
Unable to use RF M4 Receiver with servo motor
I am trying to control a servo motor with the following code:
#include <Servo.h>
Servo servo;
int const inputPin = 3;
void setup() {
Serial.begin(9600);
servo.attach(9);
pinMode(...
1
vote
0
answers
325
views
How to use an Arduino to play audio from an Adafruit Soundboard using audio file name
I'm trying to control an adafruit soundboard with my elegoo uno R3. I'm a beginner programer and I'm trying to get the soundboard to play a sound file by name when I press a button. I have confirmed ...
1
vote
0
answers
524
views
Arduino UNO and PCA9685 - Problem with external power supply
I am totally desperate and hope you can help me.
I've been building a project for a while where I have to control several servos. For this I bought some MG996R servos and a PCA9685 16-Channel Servo
...
1
vote
0
answers
211
views
RTClib.h problem
In Library Manager RTClib and DS3231 work somehow with older versions. RTC time can picked only once and then it give bullshit. Using newest versions screen is empty.
In picture first time is right, ...
1
vote
0
answers
498
views
How to correctly use SSL certs with the Adafruit SIM800H
I am trying to use a Adafruit Sim800H to connect to Azure using MQTT with an SSL certificate. My first step is trying to put a new SSL certificate onto the board. To do this I am using this example ...
1
vote
0
answers
39
views
Issue displaying on Adafruit display when enabling GSM communication
I am trying to write to the adafruit display using Arduino MKR1500 when it is connected to the internet. The issue I am facing is when I add the code to connect to the cloud, the display stops working....
1
vote
0
answers
45
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'...
1
vote
0
answers
127
views
How to use 5v and 12v addressable led strip together
Hi guys I’m new to this forum and also not much experience about led lights question already asked but didn’t get any detailed answer I want to know can I provide working data signal to 2 different 5v ...
1
vote
0
answers
103
views
SD Card Library interferes with Adafruit
Im currently working on a datalogger that uses oled i2c displays and current sensors. Both of them uses adafruit libraries. To write the data, im using arduino's sd library, but somehow, the sd ...
1
vote
0
answers
642
views
Calibrating Adafruit TCS34725 for RGB colors
I am new to Arduino. I am currently working on a project which requires color detection using the TCS34725 Adafruit sensor module.
For the project, I need to calibrate the sensor with RGB colors. ...