Most Popular
1500 questions
4
votes
2 answers
Noise on piezo analog read due to Arduino power supply
I am making a device that measures temperature and vibrations and records the values onto an SD card. It will be a standalone device.
The hardware used:
- Arduino Uno
- PCF8523 RTC clock
- MAX3186 + PT100 RTD temperature sensor
- Adafruit data…
YouKnowNothingJohn
- 63
- 4
4
votes
1 answer
It is possible to revive my Arduino Leonardo (mini beetle) board?
I have this board:
It has the atmega32u4 chip.
I have updated its code several times, and used it without issues for several months. Today, while updating (using Arduino IDE) it started to throw some errors. At the end it said that the checksum…
lepe
- 141
- 4
4
votes
1 answer
difference between the nano and the nano every
So I wondered what the difference between the nano and the nano every is and why the nano every is so much cheaper than the nano.
I'm new to the microcontroller business and I would like to know what would be better for what situation.
Moritz
- 143
- 1
- 3
4
votes
2 answers
Use std::list in Arduino programming
When trying to compile
#include
-
std::list
-
How to use the standard C++ std::list…
Basj
- 449
- 2
- 9
- 23
4
votes
2 answers
Is there a way to add external RAM (let's say 100 MB or 200 MB) in this audio buffer mixing context?
I'm coding a music sampler device: for fast playback / minimal latency (only a few milliseconds), it's better to have all audio .wav samples we want to use in RAM, so that when some of them are played, the data arrays are immediately accessible.…
Basj
- 449
- 2
- 9
- 23
4
votes
2 answers
How to use external libraries in CLion
I would like to use the external libraries that are downloaded by Arduino IDE into the default sketchbook location (~/Arduino/libraries/).
If you open Library Manager in Arduino IDE and if you install an external library (e.g DHT sensor library…
Akos
- 49
- 1
- 2
4
votes
1 answer
exit status 1 error compiling for board arduino/Genuino Uno when tone code is used
I am just trying to use an ultrasonic sensor with a buzzer but the buzzer doesn't respond to my code. I mean it doesn't make any sound. I tested it to check if by sending 5 volts to it, it will make a sound.. and it did... but using this code…
Glenn Macion
- 41
- 2
4
votes
4 answers
How to convert this prototype to finished product?
My prototype contains below components:
Arduino Uno R3
Bluetooth LE nRF8001 Break-out (https://www.adafruit.com/products/1697)
MicroSD Break-out (https://www.adafruit.com/products/254)
ADXL335 triple-axis Accelerometer
I think It's OK on paper…
frbry
- 143
- 5
4
votes
1 answer
Arduino motor shield will only work in one direction
I have this Arduino motor shield which is hooked up with two DC motors. The board is the same as this one from Sparkfun.
A PWM output controls the speed of the motor, and a digital out controls the direction. The problem is that it only works in one…
marlar
- 487
- 1
- 6
- 10
4
votes
3 answers
How does the Space Replay record audio?
The Space Replay
A hovering object that explores and manipulates transitional public
spaces with particular acoustic properties. By constantly recording
and replaying these ambient sounds, the levitating sphere produces a
delayed echo of human…
asheeshr
- 3,847
- 3
- 26
- 61
4
votes
2 answers
Writing to sd card with a sampling rate 50ms or less? I have a sketch that writes to sd every 1s but jams at faster sampling rates. Please help?
My code below reads data from an ADC and 3 digital pins via a Mega and prints to an SD Shield (Deek Robot). I want to be able to read the data every 50ms (20ms ideally). I can't get below 250ms.
I've read countless forum posts regarding the same…
Microk
- 115
- 9
4
votes
7 answers
Arduino Pro Micro clone not recognized, flickering RX LED
I have an Arduino Pro Micro clone that seems to be in some sort of reset loop. The RX LED is flickering very fast and very dim. The power LED also seems to flicker at the same frequency but has normal brightness.
The Arduino is not recognized by the…
timonsku
- 141
- 1
- 1
- 4
4
votes
2 answers
Photoresistor is not working, is there something wrong in the code?
I am trying to make the photoresistor work in a simple project.
The project is as follows:
The LED light should light up brighter and brighter as the photoresistor reads less light in the room.
The problem:
The reading is fixed on 1023. Therefore…
mickkk
- 281
- 3
- 4
- 9
4
votes
2 answers
Which kind of diodes I should use in buttons/keys matrix input? (Making gaming keyboard)
When making matrix input of NxM columns/rows with push buttons, there should be a diode next to each button to prevent "ghosting" and able read many keys pressed together correctly. There is a lot of pictures everywhere.
My problem is, which diodes…
gilhad
- 1,466
- 2
- 11
- 20
4
votes
2 answers
Multiple libraries were found for "WiFiClient.h" using nodemcu
I am trying to send HTTP requests from nodemcu so I started by uploading the esp8266 library but when I run the following code
#include
#include
void setup() {
Serial.begin(115200); …
Ela Hidri
- 111
- 1
- 2
- 7