Most Popular
1500 questions
4
votes
3 answers
Spiffs vs Eeprom on esp8266
In my project, i have some data to save permanently. After some research i got many examples and informations to do that with eeprom. I used it effectively.
After all i decide to deep dive to esp8266 and i got some information about spiffs.
Now i…
Dogan Cignakli
- 95
- 2
- 11
4
votes
1 answer
Measure lipo voltage while powering arduino
I have a arduino pro micro 5V that I want to power with a 3.7V lipo. I also have a charging module to charge the lipo.…
Robbe
- 109
- 1
- 1
- 8
4
votes
3 answers
Powering the Arduino with a battery and reading the battery voltage
I am trying to display the battery voltage as it is being used to power the Arduino.
I have tried powering the Arduino through the USB and the battery voltage is read accurately when compared to the multimeter reading.
But when the battery is…
acho
- 43
- 3
4
votes
1 answer
Using usb port to communicate with standalone atmega328p circuit
noob here
So I managed to get my circuit to be a standalone circuit (as pictured below). I want to use this circuit as an input to a game on my computer. What I want to know is could this micro-usb breakout board…
user19964
- 61
- 1
- 6
4
votes
1 answer
Measuring 12 V via voltage divider: choosing the right resistors
I want to measure a 9 V battery via one of the analog input ports of my Arduino Nano. From all the schemes of this great answer, I choose the simplest one, the voltage divider. Assuming the maximum input voltage to be 12 V (just to be safe) and…
madhead
- 143
- 4
4
votes
3 answers
Is the LGT8F328P legal?
Since some months, everyone can buy a board with this IC.
It is compatible with the ATMega328 and has some features like 12bit ADC (instead of 10 bit), DAC, unique ID and also 32MHz.
But I can't find it in the "normal" shops. Also on the LCSC it is…
Adriano
- 336
- 3
- 11
4
votes
2 answers
How to document a custom library in Arduino
I have created my own library and it is working flawlessly. Now I want to add some documentation to it that the Arduino IDE can understand.
For the functions from the Arduino IDE itself like delay(ms) you can right click them and then select Find in…
LukasFun
- 295
- 1
- 4
- 16
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
- 3
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
- 398
- 1
- 7
- 22
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
- 467
- 1
- 6
- 10