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.

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 ...
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 ...
4
votes
2answers
820 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....
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 ...
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 ...
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, ...
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 ...
4
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
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 ...
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 ...
3
votes
3answers
7k 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
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....
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
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 ...
3
votes
2answers
568 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'...
3
votes
1answer
4k 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
2answers
82 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
477 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
888 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
1answer
371 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 ...
2
votes
1answer
436 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
1answer
107 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 ...
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 ...
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 ...
2
votes
1answer
544 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
861 views

Adafruit_GFX setRotation not working when called from within a class

Using an ILI9341. I'm trying to set the rotation from within a class, but it's not working. The code is very straight forward. If I rotate in the class, the setRotation code does not work but the ...
2
votes
1answer
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....
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 ...
2
votes
1answer
358 views

Adafruit TLC5947 breakout board is not working with my Arduino Uno

I am trying to use this board (setup tutorial on left hand nav) with my Arduino Uno. I have tried using their example code, as well as my own simplified code, to turn on a single blue LED. The ...
2
votes
1answer
456 views

Execute Code sent over Serial

I was wondering if its possible to send code to the Arduino, and then have it execute this code. What I'm trying to do is use an Arduino Mega with a bunch of stuff connected to it send code to an ...
2
votes
0answers
741 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/...
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 ...
1
vote
1answer
588 views

Schematic for the adafruit motor shield v2.3

I am trying to locate a schematic for the Adafruit motor shield v2.3. It has many ports and currently I have found little to no explanation of what is on the board. I located this picture which ...
1
vote
3answers
118 views

Arduino Shield on Breadboard

I would like to ask if I can stack directly Adafruit PN532 RFID Shield onto my breadboard. Or do I need something for that? Thank you.
1
vote
1answer
169 views

add ID number to the feather m0 bootloader (flash)

I'm trying to add a serial number to the bootloader's flash area of Adafruit Feather m0 board. Seems like feather m0 0-0x2000 area on the flash is non writable by the arduino sketch. i wanted to add a ...
1
vote
2answers
79 views

Partially clean a LCDScreen

I have connected an 16x2 LCD to my Arduino. It shows my Room Temperature and Behind that variable is the string "Celcius". Everytime the temp is diffrent than shown on the screen it updates the screen ...
1
vote
2answers
632 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 ...
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 ...
1
vote
2answers
760 views

error: 'CLASS' does not name a type only when creating object inside another object

I'm trying to use Adafruit's LED Backpack library within a custom class. When I use the Adafruit library directly within a sketch, it compiles fine. When I use an example sketch provided with the ...
1
vote
2answers
133 views

Arduino NANO hardware SPI not working

I have an Arduino NANO clone and a 2.4" ILI9341 TFT display. The VCC and LCD pins of the display are connected to the 5V pin of the board. The GND to the GND. All the logic pins are connected to ...
1
vote
1answer
56 views

Adafruit Feather 32u4 FONA KEY Pin

I received a Adafruit Feather 32u4 FONA as a gift and have read the great, comprehensive document Adafruit put have put together surrounding pinouts, examples etc for the board. I am having issue ...
1
vote
2answers
54 views

Too many amps for Step motor

I have an adafruit motor shield and attached the Nema 17 stepmotor. Now the big problem is trying to power it without it overheating. I was originally using a 12v 6a power supply but quickly switched ...
1
vote
1answer
457 views

Increase sample rate in ESP32 board

For my final project on the university as a Systems Engineer, I'm working on a "electronic stethoscope", which is giving me a lot of headaches. I bought a Adafruit Feather ESP32 Huzzah (https://learn....
1
vote
1answer
184 views

Configuring Accelerometer on BNO055 sensor

I'm using the BNO055 9DOF Adafruit sensor to measure the acceleration/orientation. How can I change the configuration of the accelerometer from 4G (default) to 16G? What I already know: The ...
1
vote
1answer
240 views

What is the point of a adafruit data logger

In order to play an audio file, I was suggested to get an Adafruit data logger, yet right now I am stuck with the project and I realized that I'm not using the data logger to its full potential. Yet ...
1
vote
2answers
109 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 ...
1
vote
2answers
11k views

Sample code for using adafruit servo shield?

I would like to control 16 motors with a servo shield, however, I have found scant to nothing sample code online. The one I was able to find is...strange to say the least https://github.com/kachok/...
1
vote
1answer
187 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
1answer
59 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
1answer
567 views

How to send string over bluetooth LE from Arduino [closed]

How do you send a string over BLE from Arduino? (and is it any different for an Adafruit Feather 32u4?) Background: I have force sensitive resistor (fsr) sending an Int value. I would like to convert ...