Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

Filter by
Sorted by
Tagged with
0
votes
0answers
42 views

Script works on Mega but not Uno

I'm struggling to get a script to work on an Uno that I've had working on a Mega.The script was made for an Uno and I've used all the same pin numbers as the orignal (Original project). I just bought ...
0
votes
1answer
32 views

ADXL345 gives wiring error in SPI mode

I get the following output from serial monitor when trying to use the ADXL345 with Arduino Uno in SPI mode (I2C mode works fine): CA Ooops, no ADXL345 detected ... Check your wiring! See photos for ...
0
votes
1answer
66 views

Burn bootloader finishes with “avrdude done. Thank you.” but bootloader didn't actually get flashed

I've built a a stripped down version of the Arduino Nano that has some peripherals removed and three connectors for analog sensors I want to use. I'm trying to burn the Arduino Nano bootloader onto ...
1
vote
1answer
40 views

Serial comunication with HC-05 - Arduino UNO

I am new to the site and this is my first question. I'm going to try to describe my issue the best I can. I got the following code for my project which consists basically of getting a car to have 2 ...
0
votes
1answer
59 views

DHT11 Humidity/Temp Sensor showing incorrect values [duplicate]

So I am trying to use a humidity sensor with an LCD, but have run into this problem I have yet to fix. My problem is that when it is turned on, it returns the values Humidity: 255% and Temp: 255C. I ...
0
votes
0answers
33 views

How to interface DS Lite Touch Screen with Arduino

I recently tore down my old DS Lite which wasn't working. The screens and speakers were still functional, so I decided to mess around with it. I have a working DS touch screen and an Arduino Uno. How ...
0
votes
2answers
89 views

Read Simultaneously RFID TAG with multiple RFID Reader [MFRC522]

i have a project that use two RFID Reader, the project for counting tag from conveyor belt, in this case the reader will placed in the middle of the conveyor belt and the reader faces each other. So ...
0
votes
1answer
23 views

nodemcu doesnt response in at command mode

I want to sent AT command into node mcu esp8266 module with arduino IDE through serial monitor. I connect the node mcu to arduino uno board in following sequence: RX to pin 2 of arduino TX to pin 3 ...
0
votes
0answers
61 views

Arduino GPIO automatically turns high

I've been trying to turn on 21W bulb with Protected MOSFETS. But somehow the bulbs are getting high automatically from arduino. I've tried all the hardware related things like pull down with different ...
0
votes
3answers
42 views

problem using one function to blink different leds

I wrote a function to blink an led using millis and want to blink multiple leds with the same function but with different delay intervals. When I call this function thrice to blink 3 different leds, ...
0
votes
1answer
40 views

How does code typed in Arduino IDE runs on a nodemcu?

I actually have a series of questions regarding Nodemcu and esp8266. How does code typed in Arduino IDE run on Nodemcu? What firmware is present on the nodemcu? How do I upload the above firmware on ...
0
votes
2answers
60 views

Ethernet Shield Not Working With TFT Screen

I'm trying to stack up Arduino UNO, Ethernet Shield and Waveshare 2.8" TFT Shield. Since I'm new to this I'm mostly doing basic stuff. I successfully manage to get ethernet shield and TFT shield to ...
1
vote
0answers
48 views

NRF24I01 with antenna Communication Delay

I am doing my senior design project which is due in a week, I am currently using the NRF24I01 with antennas for both the transmitter and the receiver. I am building a robot that is suppose to climb a ...
0
votes
1answer
46 views

What is the difference between delay() and delaymicroseconds() [closed]

Does delaymicroseconds() provide something more than the time accuracy
-2
votes
1answer
35 views

How can I control Servo motor properly by using TimerOne and ServoTimer2 Library?

In this project I want smooth rotation of the Servo(Pin (D10) periodically where period time select by a potentiometer(actually I will use pressure sensor in this pin now it is unavailable to me so I ...
0
votes
1answer
119 views

Send/receive data from/to Raspberry Pi to/from Arduino with HM-10 (Bluetooth LE module)

My goal is to send a string from an Arduino via an HM-10 bluetooth module to a Rasperry Pi. I do this today by connecting the HM-10 on the Arduino to another HM-10 module (master/slave) and then from ...
0
votes
1answer
69 views

Arduino atmega328p

This program should prompt the user for an encryption key to be input through the serial monitor. The encryption key contains 16 characters. However, the message that will be encrypted can be up to ...
0
votes
1answer
43 views

Error compiling for board Arduino Uno

I am relatively new to Arduino and I am trying to code some neo pixels and every time I try to verify my code this error comes up: Arduino: 1.8.12 (Mac OS X), Board: "Arduino Uno" loading ...
0
votes
0answers
31 views

how to run 2 void loop in same time..please tell [duplicate]

void setup() { Serial.begin(9600); pinMode(5, OUTPUT); pinMode(6, OUTPUT); pinMode(7, OUTPUT); pinMode(13,OUTPUT); } void loop() { //ocilator int x = analogRead(A0); Serial....
0
votes
0answers
32 views

Adafruit 2.8 TFT LCD Touchscreen 4 wire pins - unclear instructions

Warning - Noob question I am trying to follow the instructions provided by the vendor https://learn.adafruit.com/2-8-tft-touch-shield/touchscreen-paint-example to no avail. Specifically: We ...
0
votes
1answer
42 views

Developing Standalone Arduino GUI Controller

I am rather new to using an Arduino. As a part of my Graduate-Level Chemistry research, I am trying to further the development of a cheap DIY, open-source, Flow Chemistry Syringe pump system. The ...
0
votes
1answer
49 views

Arduino Asynchronous Function Crash

I'm trying to make two functions one will be running in a loop the second one will be running with a time interval of 1 seconde I made a piece of code to do so it runs fine in the beginning but after ...
0
votes
2answers
50 views

Arduino sends bad data ONLY when not connected at the launch my application

I'm trying to write a little sensor reading application with a light sensor attached to an Arduino, which writes the information from the sensor over serial. I have written a python program to read ...
-1
votes
1answer
30 views

Car PA system enhancement

Hello i have one of these My goal for this project is to have a higher quality mic and be able to play music through it My question is how would i link a 3.5mm aux cable to the arduino as input and ...
0
votes
2answers
55 views

Arduino “Phantom Powering”

I am using an Arduino Uno in my project. I recently found that if I disconnect the power from my Arduino (I am powering it by USB port, from a 5V regulator - 7805), then it remains under power from ...
0
votes
0answers
26 views

Stepper Motor is not working with A4988 board

So, I have been following this tutorial on how to run a stepper motor with Arduino using an A4988 Stepper Driver. This is the tutorial: How To Control a Stepper Motor with A4988 Driver and Arduino. I ...
0
votes
0answers
23 views

Simulate MPU6050

I’m not able to occur myself an MPU6050 on these circumstances, so is it possible to simulate the MPU6050 on Proteus or a similar software ?!
0
votes
0answers
15 views

US-100 ultrasonic sensor cannot work with Beitian BN-880 GPS module

I'm working on Arduino Uno. I combine GPS module with ultrasonic sensor. I use Beitian BN-880 as the GPS, and US-100 Ultrasonic sensor. Below is the code. #include <TinyGPS++.h> #include <...
0
votes
1answer
32 views

Making a Bluetooth Mouse with Arduino

I'm trying to make a bluetooth mouse using Arduino. I will be using an analog 2 axis thumbstick as the sensor. I understand that it's possible to do this with the Arduino connected directly to the ...
0
votes
2answers
49 views

store multiple of float type on EEPROM

I have 7 float variables. float temperature, differential, calibration,hta,lta,hha,lha; I want to store them all on the EEPROM memory, how do I calculate the addresses given that there type is ...
0
votes
0answers
27 views

Motor driver shield l239D should be giving enough power but it doesn't

I am doing a line follower robot using motor driver shield l239D stacked with an Arduino uno to run 2 DC motors and two infrared sensors. I am supplying 12V to the motor driver shield trough three ...
0
votes
0answers
42 views

Arduino Uno and 7 segment display - wrong value displayed

I am working at this project and I found that if I have set the temperature by rotating the pot to 312 C, the iron started heating up, but when it was at about 60 C then on the display (7 segment, 3 ...
0
votes
1answer
38 views

read state from button to check if clicked

I"m kinda new here and new to the arduino framework. I want to build a "menu" using LCD 20*4, so I want to detect "button clicked" event. I've connected button to pin 8 and to ground, like this(...
0
votes
2answers
43 views

Possibly fried a new atmega328p?

I have a new atmega328p IC that I wanted to program. To do so I placed it into the socket of an arduino uno. I accidentally placed it the wrong way around (180° rotated), and powered it via USB and ...
0
votes
1answer
33 views

Uno - error during uploading with library

I'm writing the code in VS Code on IO Platform. Yesterday i finished my code and uploaded it to the Arduino Uno. It works fine. Next day i launched the VS Code and i changed the code a bit, then i ...
0
votes
1answer
32 views

Controllino Mega and Fatek HMI

I have a setup that controls the rotation of two stepper motor using Arduino UNO, HBS860H stepper drivers, 4X4 keypad and LCD screen. I have replaced the Arduino Uno by a Controllino Mega and it works ...
0
votes
2answers
33 views

Can I run 3 devices on Arduino Uno with different power sources?

I'm pretty new to these types of projects I'd like to work on a greenhouse project with an Arduino Uno. The goal is to be able to sense temperature and control a heating lamp, detect humidity and ...
1
vote
4answers
56 views

Toggling a blinking led ON & OFF

I am trying to implement a toggle switch to turn blinking ON & OFF. However, the code only turns the led ON or OFF and that too unreliably. Can you help me understand why it isn't working? ...
0
votes
1answer
94 views

Button debounce using millis() in this example

I have been trying to find a way to use millis() instead of delay(), in order to press 2 buttons to turn on and off a blue led. EDITED: const int right_button = 8, left_button = 9, yellow_led = 7, ...
0
votes
2answers
24 views

Finding address of OLED using I2C communication and Arduino

It is known that address of OLED SSD1306 is 3C. The frame format is as follows: The figure implies that the binary pattern should be 01111000 for the first frame (considering write mode and the ...
1
vote
2answers
92 views

Debugging different serial receive / send behavior between Uno & Mega

I have a simple text parser (as a component of a larger project) coded up and seemingly working correctly. It parses a key-value delimited command like the following: <key1=value1;key2=value2;key3=...
0
votes
0answers
32 views

Issues controlling a 10,1 capacitive panel with Arduino

Some days ago I had the inestimable help of hcheung in this forum to help me find some libraries on github to control a capacitive panel with a HT5xx6 controller. The libraries and code are here. I ...
0
votes
1answer
54 views

how do i know what battery(how much ampere and voltage) my circuit needs to work perfectly?

i really love to make a lot of things but i always have this problem that i don't know how can i determine what battery(with how much voltage and amp)my circuit must have to work perfectly! please ...
0
votes
1answer
40 views

What are the units of output of soil moisture sensor?

I want to use a soil moisture sensor using arduino uno R3. I am using the analog output. The values are in the range of 100 to 1300 as in the readings mention in this question. May I know what ...
0
votes
0answers
13 views

SIM900A network connection

I can't connect to the network. Hardware used: Arduino UNO and SIM900A GSM module Tutorial used: https://www.instructables.com/id/GSM-SIM900A-With-Arduino/ Sim card used: Orange (I set it on 2G ...
0
votes
2answers
20 views

Connecting two sensors to one analog pin

I am completely new to programming with Arduino so please bear with me if this seems stupid. I am using an Arduino Uno R3. I have two sensors, a Soil Moisture sensor and an LDR Light Sensor. Both ...
0
votes
0answers
16 views

How can I start freshly? Libraries mess Wemos D1 Mini

I am using a wemosd1 MINI which has a ESP8266 module. I am using it for an IoT project, however a lot has been going wrong. With libraries and version types. I want to start over but noticed that ...
0
votes
4answers
68 views

How to round up millis() when divided into minutes?

unsigned long milliseconds=millis(); // if at time of reading the above milliseconds = 599999 ie 1 millisecond short of 600000 ie 10 minutes unsigned long minutes = (milliseconds/1000)/60; // this ...
0
votes
1answer
74 views

Is there a better way to combine if statement with an ISR?

In my sketch when an interrupt gets triggered, a state variable is toggled from high to low and vice versa. Depending upon the variable state I have an if statement in the main loop that will call ...
-1
votes
1answer
28 views

Serial monitor reading input strings, but cannot stop a while statement

I have just learned something called 'communication protocols' in Arduino, while I was testing this code, it appears to me that every time I input a string "YELLOW_ON" while statement works perfectly ...

1
3 4
5
6 7
145