We’re rewarding the question askers & reputations are being recalculated! Read more.

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

Serial.write without a receiver

I'd like to send a monitoring information (temperature) to a serial receiver periodically. The problem is I don't know if there is any monitoring service (serial receiver) and how fast it is reading. ...
0
votes
1answer
33 views

Is there a way for keypad to stop the buzzer while it is running?

I am new to arduino, currently I am looking for a way to make the keypad able to stop the buzzer making a siren alarm when password are keyed in wrong and able to move into password screen by pressing ...
0
votes
2answers
110 views

12V but what Ampere?

So if my arduino will draw around 800mA @5V and the dc-dc buck converter around 266mA @5V plus solenoid 1.2A @12V, is it a good idea to get 12V 4A (48W) power supply? Since Filip Franik told me that ...
-1
votes
2answers
53 views

Arduino connectiond problems

I have problem with connecting an Arduino UNO to my computer, an HP EliteBook 830 G5. I bought the Arduino from here: Arduino UNO. It arrived with original Atmel ATMega328P micro controller and ...
-3
votes
1answer
74 views

IDE / Plugin / Compiler / Language: Which combination is closest to best-practice embedded development in C or C++? [closed]

Currently I'm pretty far out to sea with a combination of Visual Studio Code, the Platform.io extension, while writing new code in C++ using avr-gcc. I'm hoping for a combination that would offer the ...
0
votes
0answers
25 views

Arduino Uno R3 and ESP8266(ESP-01) serial connection

I have done everything i found but just nothing works, or maybe i just dont understand why it wont work. Im only trying to pass data(String) from Arduino to Esp through serial comms. Please I need ...
0
votes
0answers
39 views

Nothing prints in the serial monitor in Arduino - Ide

Sir, I used Arduino-Uno as programmer and Arduino-Mega 2560 as target and uploaded the below code, I was not able to view the Serial. println lines in the serial monitor, Can you please help. Thanks. ...
0
votes
0answers
43 views

Autonomous Firetruck

I have a problem. I am making an autonomous (obstacle avoiding) firefighting firetruck. I already have a code however it only stops when it detects fire and when the ultrasonic reaches less than 15cm, ...
0
votes
1answer
33 views

Is if statement correct?

if(temperature < baselineTemp)else{ digitalWrite(2, LOW); digitalWrite(3, LOW); digitalWrite(4, LOW); }else if(temperature >= baselineTemp+2 && temperature < baselineTemp+4){ ...
0
votes
0answers
39 views

Arduino input to Visual Studio

I am completely new to programming, and I need some pointers where to look for a possible solution. Currently I have been trying to get input from my Arduino buttons to Visual Studio to then do ...
0
votes
0answers
11 views

How to solve MPU9250 overflow problems? [migrated]

I'm now working with mpu9250 for my master thesis, but I'm quite new to hardware device. My goal is to collect the data at the sample rate and postprocess these data via allan deviation. So I just ...
0
votes
1answer
24 views

How many sensors can be used in arduino for my project?

I'm doing a project on water purity finder. I dont know which arduino board can be used for the project. It uses upto 15 sensor modules excluded display, WiFi module. Can you tell me which board is ...
0
votes
0answers
14 views

I2C Usage difference in Arduino and WiringPi [migrated]

I'm using a device through I2C interface and I'm having some issues when the I2C bus fails, I don't know if it fails because an interferance in the cable or just timing issues in the Raspberry over ...
2
votes
2answers
63 views

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 + ...
0
votes
1answer
42 views

Improvised Keyboard? [closed]

I want to make a keyboard type panel, which will only have 7 buttons and two knobs, and connect it arduino to program it with functions, he heard that he needed the Keyboard library. but it is not ...
0
votes
0answers
33 views

uint8_t to Text

I am trying to use a Protocentral_MAX30102 Pulse Ox sensor to get SpO2 and serial write it to an SD logger. However, my serial write is a mess and I need is in a text form not what it is in now. I ...
0
votes
1answer
41 views

Sending the data for temperature and soil using esp8266-01 through software serial

The code I used was from online and I tried using it to send data to firebase through web server. But the ouput I get from serial monitor was just "ATE0" which means there's something wrong. Hence, I ...
0
votes
0answers
25 views

Is there a Sensor capable of meausring circumference of an object that is compatible with Arduino? [duplicate]

I have been working on a project that requires the use of a sensor that can measure an object's circumference and then return that data. However, I do not know which sensor would be able to do what ...
2
votes
1answer
55 views

Does AWG size affect signal from sensors?

Would using a thicker cable like 16 AWG affect the signal being received from an RFID or Ultrasonic sensor? I understand AWG can make a significant impact on voltage when a thick cable is used over ...
0
votes
0answers
30 views

GPS Speedometer value didnt come out

I'm building a GPS speedometer. I use Neo-6M module for GPS, Arduino uno and 128x64 OLED screen for monitoring the value. I've checked the GPS module. It gives me data about latitude and longitude. ...
1
vote
1answer
19 views

Ramping up and down arduino motor due to ultrasonic sensor input

Im working on an arduino robot that needs to follower a leader robot infront of it. The leader robot can accelerate, decelerate , and stop and my robot needs to be able to follow the leader without ...
0
votes
0answers
14 views

Can the PN532 pull MAC address from Felica tags?

I'm trying to do an automatic pairing with Felica NFC tags but I need the MAC address because there is a certain order I would like sync up my device in order when I scan it to the NFC. To get it to ...
0
votes
0answers
28 views

Guidance on controlling gimbal brushless motors?

i want to make a gimbal using an arduino and im having trouble finding how to control brushless gimbal motors with arduino as they all go into a BGC ive found a BGMC https://rovertec.com/products/...
0
votes
1answer
27 views

Creating an array, assigning a value to each indices, and assessing the array

I am trying to create an unassigned array of size 512 and then assigning a reading to each indices. I want to get the start time before and after the loop and only run it once. Then I want to know how ...
1
vote
1answer
89 views

Can I get some help with a metronome code on my arduino uno?

ok so I dont actually know anything about coding or electronics outside of being an electrician. This is something i've been working on for about a month. I may be asking something dumb but here it is....
1
vote
2answers
75 views

Converting human readable date to a unix timestamp [duplicate]

Can anyone provide a sample code that would convert a human readable date like 2019-10-27 22:10:35 to a unix timestamp like 1572214235? I found many topics about it, but they eider refer to out of ...
0
votes
1answer
28 views

Serial.println Issue with Flame Sensor

I'm really new to coding and Arduino so I would be eternally grateful for the help. I'm trying to make a really basic flame sensor that beeps, lights up an LED and displays the distance from the ...
0
votes
1answer
32 views

How to merge two GPS coordinates without losing decimals

I want to take the GPS coordinates like 42.1234 per 22.1234 and merge them as a string, with a separator character: 42.1234 x 22.1234 But using this code: gps_string = (String)gps.location.lat()+' ...
0
votes
2answers
36 views

5v relay module and bulb holder

Hello sir , so can i cut the switch from the picture and connect the wires to my relay module ? Im sorry because im still learning . Thank you !
0
votes
1answer
26 views

Esp8266 + Atmega328p as flash

Being clear I'm not talking about How to flash ESP8266 using arduino. I want to ask how can I use atmega328p as flash with esp8266 (instead of that 8 pin small chip on ESP-01) so that I can burn ...
0
votes
1answer
116 views

Laser Controller using Arduino Uno

---> I am trying to create a controller using Arduino Uno that simply detects pulses from a waveform generator mimicking a Laser Machine and then switches between 4 state machines states at the output ...
0
votes
2answers
52 views

5v relay module and suitable bulb adapter

I have 5v relay module . I want to use it to connect e27 bulb adapter but i cant choose any suitable adapter . Pls help me sir. I to find exactly the same as the picture
-1
votes
1answer
44 views

Program for counting days

I need a program to count days, from day 1 to day 21 for my project. I'm making an artificial incubator and I need to show the days on an LCD.
0
votes
0answers
32 views

RS232 to ttl communication of arduino

I have an rs232 to TTL converter and I want to read something in the Arduino serial monitor by using the converter instead of using Arduino serial cable. I have connected the correct wiring in my ...
-1
votes
2answers
40 views

Photosensors showing up as 0 on serial monitor [closed]

I have had trouble with this for the past week and nothing I have been doing works. I've tried replacing the photosensors and change the wiring, but I've never had any success.
1
vote
1answer
73 views

Spikes in CO2 and TVOC measurements with CJMCU-811 sensor

Firstly, I'm not sure if this is the right SE to ask this question. Please feel free to direct me somewhere else if needed. I am observing large spikes in CO2 and TVOC measurements using the CJMCU-...
0
votes
1answer
25 views

Error reading file

What should be done to solve it? I have edited the board.txt file and none of my codes are getting verified it shows this error: "Error reading file (C:\Program Files (x86)\Arduino\hardware\...
0
votes
1answer
44 views

How could i synchronize 2 signals

unsigned long Htime; unsigned long Ltime; unsigned long Ttime; unsigned long f; int N; void setup() { // put your setup code here, to run once: cli(); TCNT2 = 0; TCCR2A = 0; TCCR2B = 0; ...
0
votes
0answers
44 views

Stepper motor controlled with joystick wont spin anti-clockwise [duplicate]

Im trying to get my Stepper-motor to spin clockwise when joystick is pulled to one side and anti-clockwise when pulled to the other side. Problem is the motor only spins clockwise in both cases. Here ...
0
votes
0answers
19 views

Protothread keeps 'stalling'

So I'm working with protothreading for an arduino, and I'm running into an issue with the PT_WAIT_UNTIL() method Here's my function, generally, static void playNote(struct pt *pt,int n, int L){ ...
-1
votes
0answers
38 views

Robot code is not running properly [duplicate]

I have an obstacle avoidance program that came on my robot (Elegoo uno R3 smart car) and all I've added to it is the remote program but for some reason that code only works for one time. what i mean ...
0
votes
1answer
40 views

Can you use an Arduino UNO as an EEPROM programmer

Hi I have an Arduino UNO and a AT28c64B and a single shift register, is it possible to make an EEPROM programmer with it? I’m not too good with the Arduino to do a lot of trial and error... I would ...
0
votes
2answers
39 views

ESP-01 + UNO won't detect gateway

Apparently, this combination of hardware won't accept anything other than WiFiEsp.h together with SoftwareSerial.h (if anyone knows something better/newer than these two, please let me know). Thing is:...
0
votes
1answer
30 views

Cannot understand why this code work but this not

I've done a simple aurduino sketch, I have this code, and this don't work: #define voltageInput A0 int qntR; float mr; float qr; float Distanza; void setup() { // put your setup code here, to run ...
0
votes
1answer
26 views

Mosfet controlled motor runs while LOW

I am using a mosfet (IRFZ44N) to control a dc motor, and a separate one to control a led strip. Both are using the same circuit running to different pwm pins on the arduino. The light strip is ...
1
vote
1answer
117 views

Waterproofing Arduino

the project i'm working on is a weather station out door and for that i need to to give arduino at least some sort of protection from moisture. https://www.instructables.com/id/Arduino-Weather-...
2
votes
1answer
97 views

OLED display hectic behavior - interference with other parts of the code?

Disclaimer: I'm a total novice to Arduino so please forgive me if the question may seem trivial, I'm trying my best to learn :) I'm working on a small project where I have a fingerprint sensor, a ...
0
votes
1answer
54 views

How to modify this code to simulate a binary encoder?

I have come across the following SPI slave code at this site: #include <SPI.h> char buf [100]; volatile byte pos; volatile bool process_it; void setup (void) { Serial.begin (115200); // ...
0
votes
0answers
12 views

SIM900 can't attach GPRS

I have a SIMCom SIM900 GPRS Shield that works with an Arduino UNO R3. I am finding problems when I try to perform an HTTP POST request. I started guessing it was a problem with the GPRS because the ...
1
vote
2answers
155 views

Why are my thermistor readings backward?

I'm trying to build a thermistor that will flash an LED when the temperature is above 30 C. My set-up appeared to be reporting the room temperature correctly to the Serial Monitor, but then I noticed ...