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
1answer
13 views

millis and micros always returns 0 (or other constant)

On an Arduino Uno, I have a sketch akin to this: void setup() { // Generate some PWM signal on Pin 5, using Timer 0. pinMode(5, OUTPUT); TCCR0A = 0b00110011; TCCR0B = 0b00001000; ...
-1
votes
2answers
48 views

12Bit + 12Bit DAC (mcp4725 - with Arduino)

1. Can a 24-bit converter be built with two 12-bit "mcp4725" modules? 2. How to send "MSB" and "LSB" to two DAc's? 3. Please provide a solution and if so, share it below. 4. Should a circuit in the ...
0
votes
1answer
23 views

sending specific date's data from data logger shield to serial port

I was wondering if it is possible to save lots of data( exp: one year data) in data logger shield and then read them from serial port without ejecting the SD card... this part of my question is fine......
0
votes
1answer
31 views

Trying to measure distance using an ultrasound sensor

I am relatively New to Arduino and need your help. Actually i made a code and the problem is that the ultrasound sensor doesn't work at all. It isn't displaying the distance between the object and and ...
0
votes
1answer
17 views

Compilation Error - Yellow LED blinking as I have installed & connected Arduino UNO board to Windows XP PC

This is the first time when I have installed Arduino IDE (arduino-1.8.10-windows.exe) in my Win. XP SP-3 OS and it seems that the Arduino IDE software installation is successful without any hitch. ...
0
votes
1answer
29 views

I need to change this code to start the section of code when the switch is on and not when the switch is released

I have this section of code. It works fine and how I want it only, it executes when the button is released not when it is pressed. My application needs to execute this code when a switch is on. The ...
-1
votes
2answers
33 views

Multiple Loops to control on and off LEDs

I'm new here. I have tried to write a simple code to turn LED's and light them up in specific pattern and being able to switch it off while in loop. So far I've managed to either get them constantly ...
-1
votes
0answers
17 views

Arduino Wifi Shield101 w/ Webserver Lag Fixes [closed]

I am trying to use the arduino uno with a wifi shield to make a web server to remotely control the circuit.It is attached to a motor, and when the buttons are clicked on the web server the circuit “...
0
votes
1answer
32 views

Dotstar strip goes nuts when connected to MIDI piano

I've got a Dotstar strip, a piano, and an UNO(w a usb host shield). I can get and properly translate data from the piano to the UNO, so I'm definitely getting the right information to the board. When ...
0
votes
0answers
24 views

Can't log mpu6050 and gps data to sd card at the same time

I am working on a school project, where I have to log GPS and acceleration data to an sd card at the same time, but I cannot get it to work. Logging GPS and acceleration data separately work fine. The ...
-1
votes
0answers
37 views

Recieving data from Electricity meter

I have a 3phase electricity meter; i want to get the output from the meter. It has serial(Rx, Tx, GND, VCC) pins inside. i want to know can i connect these pins directly to Arduino( RX to tx, tx to ...
0
votes
1answer
20 views

how to read arduino board info serial no programmatically

well I am try to make an project with original arduino. but I want to make this project unique. if my codes are copied and loaded another arduino board, my app should not work. how can make unique app,...
0
votes
1answer
32 views

How to get keyboard input to arduino from the computer its plugged in to?

I have an arduino uno connected to my laptop. and i need to get keypress info from the laptop's keyboard with only the arduino sketch and without any program running on the laptop. Is there a specific ...
0
votes
0answers
26 views

SIM900 module not reading Sim Card

I am using GPRS Shield for Arduino Uno with SIM900 module on it. I am able to communicate with the module just fine (using AT commands), but whenever I try to use a command which involves sim card (...
0
votes
1answer
29 views

Arduino UNO R3 + SIM800L / NodeMCU via Hadware Serial. Possible?

I'm using Arduino UNO R3 with NodeMCU and SIM800L module. I have to connect these two devices to UNO and make a serial communication between them: UNO<>SIM800L and UNO<>NodeMCU. Can I use GPIO0 ...
1
vote
3answers
64 views

reading micro SD card directly from PC

Is it possible to read a microSD card (on a breakout) through the USB port on the arduino? or perhaps another USB port I could attach to the breakout? Basically, I would like to read data off the ...
0
votes
0answers
28 views

error 33 = got packets out of order

my code was working and the connection with database was fine , until I don't know what happen every time I run my code it show this error , can please someone tell me what error 33 = got packets out ...
0
votes
0answers
19 views

error 33 = got packets out of order arduino [duplicate]

my code was working and the connection with database was fine , until I don't know what happen every time I run my code it show this error , can please someone tell me what error 33 = got packets out ...
0
votes
1answer
38 views

ESP32-Cam No Response and Unable to Program - Timed out waiting for packet header

I recently purchased an ESP32-CAM but have had no luck in programming the board or getting any response whatsoever. I first tried to program it using the an FTDI programmer and the Arduino IDE (...
0
votes
0answers
22 views

How to merge temperature sensor DHT22, RTC DS3231 and button [duplicate]

I am currently working on the fan function, which would be able to switch every minute for 10 seconds with RTC DS3231, at the same time I would like to incorporate a temperature sensor DHT22 and ...
0
votes
0answers
16 views

NEO 6M data is not working properly with uno

I am using a arduino uno and neo 6m gps module. The problem I am facing is quite weird. When I connected the setup the data from neo6M was seen in serial monitor, I even printed it on a Oled display. ...
0
votes
0answers
26 views

SPI communication with Arduino and PGA411-Q1 resolver sensor

I have been trying to implement SPI communication between an Arduino board and a PGA411-Q1 resolver sensor board. I have set up the Arduino SPI settings as indicated on the resolver sensor's datasheet ...
-1
votes
1answer
27 views

converting character to strings in transmitter and receiver Arduino

I am using transmitter and receiver but I want to change the data type from character to int receiver code #include <RH_ASK.h>//include radioHead ASK library #include <SPI.h> // ...
0
votes
0answers
15 views

Continous Servo Motor Randomly Rotates Forever

I bought an MG995 continuous servo motor. Im having a problem controlling the servo. The common 0, 90, 180 speeds doesnt work. I tried to use a pentiometer, and it works sometimes. I had instances ...
0
votes
0answers
14 views

Arduino and SIM800L is not working and blinking

I've followed the this tutorial to connect the SIM800L Module to Arduino. It works fine for some weeks but then it is not working as before. I think that it cannot connect to the network since the LED ...
0
votes
2answers
32 views

I want to send the last 10 minute data via bluetooth

This was for photocell data logging for 30 sec intervals, now I want to write a code which commands from the cellphone and sends back the last 10 minute data. at first I thought if I make an array of ...
1
vote
0answers
32 views

Problem burning bootloader to ATmega chip using nano/uno

I designed a custom PCB that has the chip, an oscillatorm, decoupling capacitors, and all other connections for the ATmega along with the rest of my circuit. I followed all steps in the tutorial for ...
0
votes
1answer
27 views

Some Blocks of Code gets stuck in a loop, I do not know why

The code below Gets stuck at function "Led Off?" & "Check button". I'm using Blockyduino editor. The check button code was intended as a toggle switch for the lights. When I deleted "Led Off?" and ...
-1
votes
1answer
19 views

Using two seven segment displays or matrix with TOF sensor

I have a project where I use VL53L1X TOF sensor to measure distance and that is output to a 16x2 lcd screen. The problem is that I need to see the output distance from several feet away and the tiny ...
0
votes
2answers
53 views

Uno to NodeMCU Serial Connection Problem

This is my first project with any sort of development board and it has been a blast so far. I am running into some issues, however, while trying to send serial data from my Uno to a NodeMCU board. ...
0
votes
0answers
26 views

NRF24L01 outputting backwards question marks

Overview I'm trying to transmit information between two NRF24L01 connected to separate Arduino Unos. I'm using the tutorial from this Mechatronics Tutorial with the NRF24 library from https://github....
0
votes
1answer
28 views

Compass heading not varying linearly

I am using an HMC-5983 magnetometer compass on my arduino uno to find the heading of a car I'm building.But my compass readings aren't varying linearly.For example when I physically turn my compass by ...
0
votes
1answer
29 views

How to connect MPU6050 to arduino using only digital pins

I am relatively new to Arduino and microchips, but I am good at electronics. I want to connect MPU6050 accelerometer+gyroscope module to Arduino. I searched on the internet and everywhere it is said ...
0
votes
2answers
45 views

Will an Arduino Uno be able to read 3x incremental encoders?

Encoders are quadrature 600ppr encoders with X2 counting. Therefore 1200 counts per revolution for each encoder. Is there an edge rate limit? I currently have one encoder hooked up using code with ...
0
votes
1answer
13 views

Using Arduino Wifi Shield to Receive Signal

I am trying to use an Arduino Uno with Arduino Wifi Shield 101 to receive a signal from phone or webpage over wifi so it will "initiate" my circuit. I was able to connect the board to wifi but am ...
0
votes
1answer
24 views

automated parking system (sir sensor+ stepper motor) [duplicate]

my project about automated system I am using stepper motor to open and close the gate I want my code be like when the gate opened it stays 5 seconds then check the sensor, if there is a motion the ...
0
votes
0answers
39 views

Arduino Uno - Can' get LCD Display work crrectly

I make an automatic light that's triggered from a Visitor Counter. I use an LCD to show the actual counter state. The LCD does not anly show the actual count but also the numbers before. For Example: ...
0
votes
1answer
24 views

Determine what size power supply I need to run stepper motors

I have recently purchased two 7.4V, 1A, Planetary Gear Unipolar Stepper Motors as well as two Cytron 3A 4-16V Dual Channel DC Motor Drivers. I was told that I would need these to run the motors off an ...
0
votes
1answer
41 views

Arduino uno toggle switch help

I am building a box that will start a genset. It has two buttons, run and stop. I would like button run to be able to start (and remain constant) until pressed a second time, I have sussed this bit so ...
0
votes
0answers
26 views

I am using Arduino stepper motor and pir sensor

my project about automated system I am using stepper motor to open and close the gate but my point is I want my code be like when the gate opened it stays 5 seconds then check the sensor if there is a ...
0
votes
1answer
24 views

TimerOne Hanging

For the following program. Compiles and runs. I start the Serial Monitor (shown following code) and it asks me to input the Blink Rate. This runs in setup. Then it enters the loop and prints to the ...
0
votes
1answer
24 views

Arduino transmitter and receiver

hi I am using Arduino transmitter and receiver it works properly with sending and receiving username and password but I would include to check the username if its true open the led , I added this in ...
0
votes
0answers
23 views

How to implement a QoS 1 using the Arduino MQTT Library for SIM800 GSM Modem?

The library I'm using along with a description can be found here -> https://elementztechblog.wordpress.com/2016/07/18/arduino-mqtt-library-for-sim800-gsm-modem/ Basically, I'm trying to talk to an ...
0
votes
0answers
16 views

Upload sketch in multiple arduinos

How do I upload sketches in multiple arduinos from one supervisor Arduino using UART , cd4051 for Rx and TX separately and reset pin low
0
votes
1answer
25 views

How do I repeat else if (cmd == '3') until I press another cmd?

This code is for automatically opening and closing a window using a motor with senors such as dust, humidity, temperature, and rain sensor with bluetooth module through phone. With this code if I ...
0
votes
1answer
24 views

Items needed to build an automatic watering system

I would like to build an automatic watering system. So my research brought me to the following items: Breadboard Solderless Prototype PCB Board – ALLDE BB-007 (3pcs) 400 Pin with 4 power Rails and ...
0
votes
0answers
24 views

Send an image on MMS using Arduino Uno?

I am working on a project to capture an image and send it to a device on MMS using arduino Uno. I am done with the camera system but lost truck when trying to send the captured image using the Uno. I ...
1
vote
1answer
50 views

Using Serial.begin() twice

I'm training kids programming Arduino. We're gonna use Serial for debugging purposes, so we started with a simple HelloWorld program. I let them try various stuff, including changing the speed. Now, ...
0
votes
0answers
14 views

ARduino dfplayer and LCD interfacing simultaneously [duplicate]

I have separate codes. 1) for displaying data on 16*2 LCD which is shifting at 0.5 seconds 2) another code for playing songs on DFplayer (2 minutes song whic plays when I press a button) I want to ...
0
votes
0answers
17 views

How to Use Arduino Wifi Shield To Receive/Send Info

I am doing an engineering project where I am using an Arduino Uno to try to open a window with a motor when the device is activated. I want to activate it by using a phone to somehow send it a command ...