Most Popular

1500 questions
6
votes
3 answers

Arduino and fingerprint scanner - can I get the fingerprint scanner data?

I am currently planning a thesis that involve scanning fingerprints and storing the data in a database. The problem is that I do not know if it is possible for me/us to get the fingerprint data or variables scanned by the fingerprint scanner. I…
FaizTact
  • 81
  • 1
  • 7
6
votes
2 answers

Random(min,max) Function only giving ~50 range no matter what the values?

I can't get the min,max range to function properly. Monitoring the serial, only gives out ~50 difference from the min. I then added truerandom.ino to try to fix, but no help. const int ledPin = 13; // the number of the LED pin // Variables will…
Eagle1
  • 61
  • 1
  • 6
6
votes
1 answer

H-Bridge vs Motor shield for the arduino

Assuming we wish to control a small toy car with an arduino - meaning spinning the right and left wheels forward and backward and being able to break and control the speed, where each wheel has it's own engine (but of course two engines on the same…
Avenger
  • 237
  • 2
  • 5
6
votes
1 answer

Serial.write and Serial.println return different values? Cannot use correct ones

I have a text file on an SD card, and I am trying to print the lines to the serial monitor. This Code Works: #include #include File myFile; void setup() { Serial.begin(9600); Serial.print("Initializing SD card..."); …
user3151828
  • 65
  • 1
  • 7
6
votes
5 answers

Is there any better choice other than using delay() for a 6-hours delay?

I am designing an incubator system and I need to drive a motor forward and reverse every 6 hours. Is there any better choice other than using delay()? A 6-hours delay seems a little unprofessional.
henzup
  • 63
  • 1
  • 3
6
votes
5 answers

How do I convert Arduino to an ATmega328P-based project?

I have an Arduino board where I am using some of the peripherals like LCD with I2C. Now I want to convert this Arduino-based circuit to an atmega328p based circuit, i.e. atmega328p with LCD and I2C. Here is my actual question: Can I use the same…
6
votes
1 answer

What's wrong? FastLED and WS2812B simulation works, physical build doesn't

I'm new to Arduino coding and FastLED. When it comes to coding, I'm a complete novice, however, I've been watching YouTube tutorials to help my knowledge. I have successfully run my code on Wokwi, however, when I upload my code to my Arduino, it…
Joey W
  • 61
  • 1
6
votes
3 answers

When is SPI.beginTransaction required?

I have been gradually converting many devices from i2c to spi for various reasons. I noticed in tutorials like this from arduino.cc that SPI.beginTransaction is explicitly called out. Then they link to examples such as this and this where they…
Matt
  • 205
  • 3
  • 9
6
votes
2 answers

What’s the most common (and low cost) microprocessor with at least two threads?

I want to make a next version of my current project. I’m hoping to use an Arduino compatible processor that also supports at least 2 processes simultaneously without using pro threading or any other software workaround. The more commonly used the…
6
votes
4 answers

RF remote control using VirtualWire on ATtiny85 running at 8MHz on internal oscillator

I'm trying to make an RF remote control using ATtiny85 running at 8MHz on internal oscillator, this cheap RF 434MHz transmitter module (like the one below), and VirtualWire lib, but had no success so far. So, before I go any further, is it…
Ricardo
  • 3,370
  • 2
  • 24
  • 53
6
votes
3 answers

Access serial monitor on linux cli? Using arduino-cli?

I have an arduino uno connected via USB to a raspberry pi, the raspi is accessible via ssh only. Just started a bit with arduino-cli ; I upload a sketch which reads my analog pins. How can I access the serial monitor to get the data??
groovehunter
  • 169
  • 1
  • 1
  • 4
6
votes
1 answer

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 perfectly: I can read the input of the microphone on…
6
votes
3 answers

ESP8266 WiFi Not Connecting to Internet Without Static IP

I am seeing some very strange behavior with my ESP8266. When I connect it to the WiFi for the first couple of times I am not seeing any issues and the ESP8266 connects just fine. But after an arbitrary amount of times (like when I restart the unit)…
Armand Maree
  • 171
  • 1
  • 6
6
votes
2 answers

No programmers available for this board - Programming ESP32 Cam with Ardunio IDE

This is my first time working with ESP32 Cam boards. I have followed the instructions as given in this site https://technoreview85.com/how-to-program-esp-32-cam-using-arduino-uno-board/ However my IDE doesn't display any programmers for this…
AfiJaabb
  • 219
  • 1
  • 3
  • 7
6
votes
1 answer

Arduino Mega not flashable with XBee PRO S2B

I have an Arduino Mega 2560 with a libelium XBee Shield. If I have an XBee S2 mounted on it and set the two jumpers to the USB setting or remove them, I am able to flash a program onto my Arduino. However, when I'm mounting one of my XBee PRO S2B (I…
soerface
  • 161
  • 4