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
32 views

Long range wireless RC airplane control

I pretty new to Arduino and I need help to clarify some things. First, I want to make an Arduino controlled RC airplane but I don't know what communication module to use. I did some research and ...
0
votes
1answer
104 views

How to prevent the garbage data when the serial port is initialised?

I use Arduino Uno. I get garbage in Serial Monitor or HyperTerminal right after I connect to the port. Here is an example code: void setup() { // initialize serial: Serial.begin(57600); } void ...
0
votes
0answers
26 views

Error to work in reverse VNH2SP30

ım building a rover and ı using Johson 12v Dc motor and VNH2SP30. My code and motor works perfectly but my motor driver works only one way. It cant go to reverse and motor starts buzzing when it tries ...
2
votes
2answers
317 views

Multiple Time-Sensitive Tasks

I'm using an Arduino Leonardo and need to perform two time-sensitive tasks like this: // Task 1 - Gets executed once a second (1Hz) // Execution of task needs approx 70ms task1(); //Sending a ...
0
votes
2answers
48 views

Bootloader difference between Atmel328p(through hole) and Atmel328p au(smd)

It’s been bugging me lot that Can’t we burn the same bootloader for both 328p and 328p au? I got confused when I see this linksmd 328p au bootloader burn. Will there be any impact on performance or ...
0
votes
2answers
48 views

Cancelling state of code before going to interrupt

Currently, I have two loops in my Arduino code. Certain cases take me from loop 1 to loop 2 I also have an ISR When my ISR condition is met the code is executed and part of the ISR code is supposed ...
0
votes
1answer
12 views

Arduino randomly freezes during runtime?

I'm currently trying to create a traffic simulation project on Arduino, where it can change lights, open a gate, and turn on street lamps based on light. If anybody could help me diagnose why my ...
0
votes
1answer
44 views

Generate number

I wanna make some sketch to generate number to represent sensor value, with range from high (900) to low (670), that number decrease with range between 1-10 and with some delay of switching number ...
0
votes
1answer
149 views

Connect Arduino to LiDAR via RS-232

Edit: We're so close! Update at bottom! I'm not sure if this is the right place to ask, but since you helped my so much in the past, I thought it's worth a try. So as I stated in my last question, I'...
0
votes
1answer
43 views

Arduino GPS Simulator: SoftwareSerial Issues

For my project, i need my Arduino Uno to simulate a GPS. To do this, I need to: Generate a 5V Pulse once a second (no problem) Send a $GPRMC NMEA sentence with the current time over RS-232 (i've got ...
0
votes
1answer
148 views

How can I interrupt a delay() when a button is pressed?

I have created a device that allows my son to track time spent on activities and exchanges that time into a time he can use with his electronics (eTime). Full code in GITHUB I am having trouble ...
0
votes
1answer
52 views

Function to control servos

I'm trying to control 6 servos while writing a lean code. I think the function call isn't correctly yet and I think that the variables (pos_n, open_n, servo_1) in the for loop do not get inserted, but ...
0
votes
0answers
7 views

Need help deciding Arduino board and ZigBee module for a wireless sensor network [duplicate]

I need to create a ZigBee network in a star topology with Arduino boards collecting the sensor's data at the router nodes of Zigbee. The sensors which I use are a temperature+humidity sensor and IMU. ...
0
votes
0answers
13 views

Connecting HC-06 to Arduino, this happens [duplicate]

Been trying to figure out why my HC-06 Bluetooth module doesn't work with Arduino UNO.1st I tried the method where I didn't use resistors. The HC's light starts blinking for few seconds and then the ...
0
votes
1answer
56 views

How many UNO pins have internal pull up resistors?

As the title implies. thank you in advance.
2
votes
1answer
64 views

Arduino Uno Rev3 Internal Quartz

I'm using an Arduino Uno Rev3 Board and need to send a trigger signal at a certain frequency (20-50Hz). This trigger signal should be as accurate as possible (+/- 0.01 ms). The Arduino site states ...
0
votes
0answers
46 views

HC-06 Arduino UNO not working

Trying to get my HC-06 to work. The idea is to control a addressable RBG LED strip in the future. Currently I'm using a Arduino UNO, some wires and a HC-06. I connect the VCC pin to 5V, GND to GND, ...
0
votes
1answer
32 views

How to make a dynamic menu with a sub-menu ( Arduino mega or Arduino Uno)

I have an arduino mega with a LCD shield (from keyestudio KS2056). I am trying to create a menu with a submenu that would have addable and removable strings based on inputs from a RFID scanner(addable)...
0
votes
1answer
40 views

Hook Arduino up with thermal printer and power both externally

Disclaimer: I have no connection to adafruit. A friend and me want to build a little project. We want to connect an arduino to a thermal printer and then print out little fortune-cookie like messages,...
0
votes
1answer
40 views

Sparkfun CCS811 sensor not interfacing with arduino

I have sparkfun indoor air quality sensor CCS811 which needs to be interfaced with arduino. I have soldered wires on the sensors and connected with arduino. Have checked the connection with multimeter ...
0
votes
1answer
31 views

How can measure the 3-axis accelerations?

i'm a student who is studying the Arduino. I want to measure acceleration using arduino and any sensor. i looked at some acceleration sensors (ex, MPU6050, AXDL335), but they were just measuring ...
0
votes
1answer
75 views

How to reset millis( )?

I am currently doing a school project. There you have to program a stopwatch with the Arduino. I wrote a program where millis starts. But when I press my start button, millis don‘t start from 0. ...
0
votes
0answers
14 views

SIM800l is not Avalible

I am using : -arduino uno r3 -SIM800L connection: Arduino SIM800L 5v --> vcc gnd --> gnd pin10 --> TX pin11 --> RX the led on the module blinks once each 3~5 seconds but when i use ...
0
votes
0answers
37 views

Powering LED strip with Power bank (Arduino UNO)

First time ever working with Arduino UNO. I'm trying to power my RGB LED strip (addressable 5050+WS2812 RGB 5V IP20) via a Power bank (2x USB-A. One port's max 12 V DC - 1.2A, 9 V DC - 1.6A, 5.1 V DC ...
0
votes
2answers
45 views

LCD Backlight doesn’t work even at 5V. Using 330 Ohm resistor

I’ve been trying to make this project: https://create.arduino.cc/projecthub/chummer1010/electronic-safe-with-arduino-25d039 I’m confident that I’ve assembled everything correctly, but my LCD doesn’t ...
0
votes
1answer
29 views

Basketball board arduino endlessly transmitting shot scored

I've been working on trying to get this arduino project I found to work but I've been encountering some problems. The project was designed for an Arduino mega 2560 but I've been using my UNO and ...
0
votes
0answers
27 views

Trouble with SIM808 shield

I've been trying to work with Waveshare SIM 808 shield on arduino, quite similar to this one: https://www.waveshare.com/wiki/GSM/GPRS/GPS_Shield_(B)#How_to_use_with_Arduino_UNO_R3 I tried using ...
0
votes
1answer
30 views

UPDATE: Fault in processing code - doesn't receive correct data from Arduino

I am receiving data from an LDR which I am inputting into processing. The data seems to be received to Arduino correctly and I have looked at the data being sent via the serial monitor and it all ...
0
votes
1answer
10 views

Using MouseX in processing to control LEDs. Error in code - LEDs remain off

I am fairly new to processing and Arduino - I have a coursework deadline for both on Monday (6th January). I am trying to write a script that uses the mouseX values to turn LEDs on and off. I haven'...
0
votes
0answers
22 views

Is it possible to print to a Google Sheets document from an Arduino and ESP8266?

So I'm looking to use an ESP8266 with an Arduino Uno to print something to a Google Sheets document. I would be printing the time and date from a real-time clock module, the id of a fingerprint ...
0
votes
0answers
32 views

How to make VOLTE/LTE or LTE calls using Arduino?

I want to make VOLTE/LTE calls using Arduino. I searched everywhere in Google. At last I found a website LTE Cellular Shield for Arduino with Voice!. But I cannot find SIM7500 Shield in online shops. ...
0
votes
0answers
52 views

Implementing pluseIn using interrupt

I am trying to implement pluseIn using an interrupt. I tried attaching an interrupt in CHANGE mode. The time when the signal goes HIGH is recorded as raising time and the time when it goes signal LOW ...
0
votes
0answers
109 views

Serial Buffer receives ghost character

I am using an HC-05 bluetooth module which is connected to an app made in Unity on my phone. For the example case, the app is sending "f!" over bluetooth. The arduino then reads the string until it ...
0
votes
1answer
23 views

The problem of not saving the previous value when sending it from bluetooth

Controlling Led's from Buttons and Bluetooth by same method The problem now : the LED light up when you send an A over Bluetooth and it will turn off after 2 sec automatically without you doing ...
0
votes
2answers
51 views

A problem with measuring time in a for loop

I am familiar with timing using millis() function, but it seems that I have run into a problem with a for loop. The thing is, I am comparing encoder readings with a value entered via 4x4 keypad. Since ...
0
votes
0answers
40 views

Arduino Mega Speaker can't play music but noise

I'm struggling that my Arduino doesn't play music. Here is my circuit. It proforms normally when I only connect this circuit to Arduino UNO. But when I change the whole circuit to Arduino Mega the ...
-1
votes
1answer
33 views

6v between vin and pin even though pin is off

I have a arduino uno and i am trying to make a lightstrip work. i have made a program for this but when i turn off the pins to make the light strip turn off it still glows. red the reason is that ...
0
votes
1answer
80 views

i can't work toggle for my small project

i build my small project from a few component as this photo after finish code and project . i work run for Proteus and then the project not run perfectly because my code need toggle for data entered . ...
0
votes
1answer
28 views

Piezo buzzer with PWM on arduino uno with atmega328p in C on registers + analogRead on registers

I have a little project at the university where I have to use the timers to generate a pwm signal and get it into a piezo buzzer when something else turns over a certain value by using the registers, ...
0
votes
1answer
28 views

using multiple hc-05 with one arduino mega [closed]

please anyone help me build my project, i want to connect multiple smart phones to arduino mega using blutooth module hc-05 , I am working on real life home automation project and i don't have idea ...
2
votes
1answer
53 views

Unable to find arduino on device manager

I have just got a new Arduino robot for Christmas and I have plugged my robot into my computer and I have read the instructions from the manual that the robot was provided with and told me to go to ...
0
votes
1answer
16 views

L298N Motor Driver - Code issuing “expected primary-expression before '=' token”

Programming Questions / L298N Driver - Code Issuing - " expected primary-expression before '=' token" Today at 07:20 pm Hello Arduino Community, Code is shown at bottom - please read below I've been ...
0
votes
0answers
8 views

ISD1820 extending memory

ISD1820 -: hello every one hope all doing good my question is can we extend or attached memory card to ISD1820 , i know we have other option but i want to make dynamic so recording and playing can be ...
0
votes
0answers
21 views

How can I upload an arduino sketch by using a bootable flash drive plugged in [duplicate]

The only reason as to why I am thinking about this is that I want to improve on the level of customization that an embedded product can have? so Here I am asking whether it would be possible to ...
0
votes
2answers
39 views

Arduino stops sending/receiving data over Serialport after random time

I got a C# WPF application wich communcates with my arduino uno over serial port. Everything works fine for 3 to 20 seconds then i can not send or receive anything from/to the arduino. What im trying ...
0
votes
0answers
21 views

Dragino Lora shield for Arduino sensor use

I am new to arduino and lora technology and i have dragino lorashield for arduino Uno and dragino gateway. I have also MQ-3 gas sensor and I want to detect the alcohol value and to send it to the ...
0
votes
0answers
39 views

Problem with printing keypad input to the LCD in a while loop

this is my first post here, though I have been following this forum for a while (pun intended). I am trying to write a program for a machine that will drill holes in a metal rail, and cut the rail to ...
0
votes
1answer
81 views

stray \342 in program

When I try to compile my code it says "stray '\342' in program My code: #include <IRremote2.h> #include <IRremoteInt.h> #define pinIN 11 uint32_t val; uint32_t prev; int fre = 0; ...
0
votes
1answer
67 views

How to detect button presses with a 74HC595 shift register?

Is there a way I can have my arduino uno differentiate between pushbuttons that are wired through a shift register and detect when each are pressed or not? I found this tutorial for the 74HC165 but I'...
0
votes
2answers
42 views

Arduino problem

I'am making a temperature monitor using an IC2 Interface and a dht11 sensor connected to an arduino uno, it works great when it´s plugged to the computer but whenever i plug it to a 9v battery the ...