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
1
vote
2answers
73 views

Differential voltage measurement using Arduino

I have a electrolysis cell in which the anode is hanging using a Structure in a electrolyte. The cathode is at the bottom of the cell with electrolyte above it and anode being dipped into this ...
1
vote
2answers
40 views

How esp8266 gets response from server..?

#include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin = 3; SoftwareSerial ESP8266 (rxPin, txPin); void setup() { Serial.begin(115200); ESP8266.begin(115200); delay(2000);...
1
vote
0answers
28 views

1 Button + Potentiometer [duplicate]

Sketch arduino-uno programming 1 Button and 1 Potentiometer Sketch: Each time the button is pressed, acquire the value of the potentiometer in a array of 10 positions of these values do the average ...
0
votes
1answer
58 views

Schematic: 1 Button and 1 Potentiometer Sketch [closed]

Schematic: 1 Button and 1 Potentiometer Sketch: Each time the button is pressed, acquire the value of the potentiometer in a vector of 10 positions and print it on the serial monitor or LCD display. ...
1
vote
0answers
48 views

Once I have a working project that I want to commercialize - how do I proceed? [closed]

I am working on a small Arduino project that once successful I think about commercializing (in my case, its a smart tag, but asking in general). The question is - what is the next step? how do I get a ...
1
vote
0answers
40 views

How to physically connect the vcc and gnd of multiple sensors to a PCF8574 IO extender board? [closed]

Just starting with Arduino and got my first project working. I need to expand the number of sensors used and would like to know how to physically connect the vcc and gnd of the sensors to the PCF8574? ...
1
vote
0answers
51 views

Sending response to a GET request from an ESP8266

I'm exploring the ESP8266 for a home automation project. I setup a server in WiFi mode 1 using these commands: (AT+CIPMUX=1,AT+CIPSERVER=1,80.) I assigned a static IP for the MAC address in my router ...
0
votes
1answer
46 views

Using OR with a while loop

I am trying to get two limits to or on the same while statement. Can this be done? while (digitalRead (home_limit)) { This works for one(1) limit, But when I try using two(2) limits is does not work....
1
vote
0answers
21 views

DC Motor Shuddering

I am testing my BTS7960 Module with my UNO for bi-directional rotation of DC Motor. I am using a small DC motor as a test (like the one here) and I am powering the UNO via USB cable. The problem is ...
1
vote
0answers
42 views

How to set maximal execution time of operation

I'm JSON deserializing output from ESP8266 in my Arduino UNO, but when it fails (for some reason every time after it deserializes successfully) the program lags for few seconds and I don't want that ...
1
vote
0answers
28 views

exit status 1 'Mix' cannot be used as a function [closed]

//#include <SoftwareSerial.h> //SoftwareSerial EEBlue(0, 1); // RX | TX //מגדיר את הpins של כל שתייה. int Vodka = 2; int CranberryJuice = 3; int LemonJuice = 4; int Gin = 5; int motorPin = 6; ...
1
vote
0answers
46 views

Can anyone suggest me a way to efficiently power my relay module using batteries? [closed]

I hve a very simple project where I have a ttp233 touch sensor which I'm using to control my relay module which inturn switches my fans on and off. The problem here is whenever there is a power loss ...
2
votes
0answers
48 views

Arduino Uno R3 stops executing code, when trying to instantiate multiple HX711 objects

This is my first time asking something on this platform, so if form or anything else is off, please feel free to point out things about how I could refine it and ask more concisely in the future. I'm ...
2
votes
1answer
46 views

Serial.println won't format DEC

This is weirding me out. So I wrote to the EEPROM and I would like to read from the address and format it in Base 10, err... Decimal. The normal number thingy that's not ASCII. But it keeps returning ...
3
votes
1answer
239 views

Getting all data of my JSON object from Serial.read() at once

I'm new to Arduino and I'm building a project that fetches data from a website (using ESP8266) and then transfers them to my Arduino UNO via serial port. Data coming from ESP8266 every 20s - [{"x&...
1
vote
1answer
51 views

Coin Slot Sensor Using AttachedInterrupt

Hi Im having a problem on my code How can I properly use the attached Interrupt on my coin Sensor so that it will not have any problem on detecting coins #include <Adafruit_Fingerprint.h> //...
2
votes
1answer
33 views

Connecting LEDs and push buttons 12 feet away from Arduino UNO

I have a PCB (let's call it remote PCB) on which I have 4 LEDs and 4 buttons mounted. The remote PCB is far away from my desk (about 12 feet away). The LEDs are used to indicate the status and the ...
1
vote
0answers
29 views

How to name the temperature sensors instead of printing address using ds2482-100 and ds18b20 sensor- Help

I am using 10 ds18b20 Temperature sensors using with "DS2482-100" I2C board and Arduino so when I am getting the output like this:- "ROM = 28 46 04 1F 0D 00 00 74 96014B467FFF0A100A 25....
1
vote
0answers
55 views

Get data as csv file from arduino through an HC05 bluetooth module [closed]

I'm working on a mobile robotic platform and i need data from the sensors and etc. I have an arduino and a HC-05 bluetooth module. Is there a easy way, like using Putty for example - to get that data ...
1
vote
1answer
45 views

How can I use attached interrupt on my project?

Hi I have a coinslot project and connected with a fingerprint sensor it was stated in the ardiuno forum that it will work on pin 2 and 3 , but it is already used pins of the finger print sensor . ...
0
votes
0answers
31 views

Detect low-frequency 'kicks' from analog jack music

I want to detect kicks / high-amplitude, low-frequency peaks in music coming from an RCA jack directly to an Arduino Uno analog pin. I've seen some tutorials online, but only managed to find stuff ...
0
votes
1answer
35 views

LED Blink in assembly with timer1 output compare interrupt not working

I was trying to have some fun with avr-assembly on my arduino and I tried the following codes to blink my LED first I tried the ISR approach and when It didn't work I tried the CTC mode one, both ...
1
vote
1answer
29 views

HG-C 1100 measurement sensor

I am using two HG-C 1100 measurement sensor for measuring the width of the metal. In the top of the sensor I will be having the measurement value. The sensor is capable of measuring the dimensions ...
1
vote
1answer
47 views

How to test custom cables?

I'm trying to make a cable checker to help me make custom cables for my computer. I'm thinking I plug the cable ends into sockets on the device, then the Arduino checks between different pins to make ...
2
votes
0answers
20 views

Reading and writing to GD25B32CPIG flash memory

I recently removed a GD25B32CPIG flash memory chip from a commercial coin-operated arcade game. Apparently it has all the game's sounds stored directly on the chip. I decided to see if I can learn to ...
1
vote
0answers
41 views

Calibrating Adafruit TCS34725 for RGB colors

I am new to Arduino. I am currently working on a project which requires color detection using the TCS34725 Adafruit sensor module. For the project, I need to calibrate the sensor with RGB colors. ...
1
vote
0answers
39 views

Can anyone help me with my project? [closed]

I'm trying to use Node MCU and NTP time turning on a relay 2 times a day and for only 10 minutes like at 6am 10 minutes and at 6pm 10 minutes. The problem is my electricity is unreliable and node MCU ...
0
votes
1answer
33 views

How to program and arduino UNO via NodeMCU ESP8266?

I don't have my USB type A cable to program my UNO, I would like to program it via a NodeMCU ESP8266. Maybe with the TX and Rx pins, I've seen people program certain versions of ESP with a UNO board. ...
0
votes
2answers
62 views

2 way switch with Arduino?

Hey I'm working on a home automation system where I can replace one of my 2 way switches to an Arduino Or node MCU controlled one but I want to avoid normal relays because as of what I know they can ...
1
vote
0answers
33 views

Arduino motor shield not compatible with nodemcu

Hi to all first of All my english is not good I brought Arduino motor shield and n..d. E.p 8266 but the connect pin are not compatible how i will connect to node i want to make robo car
1
vote
1answer
46 views

Error in I2C Communication Between Arduino and Raspberry Pi

The code below sends data to Raspberry Pi every 20 millisecond. The code works fine but sometimes python throws an error. Why this is happening? Should I give more time between writeData? Error: > ...
1
vote
0answers
38 views

How to combine Read/Write Data Code for RFID tag?

I have the two example codes from MFRC522 Library and I want to combine them together so I can at first read the data from the tag and then write something new on it by using the serial input. I´ve ...
1
vote
0answers
44 views

Can NOT run NEW Arduino 2.0.0 , [closed]

Using Windows 10 computer: Downloaded/Installed Ard_IDE 2.0.0 in Local Disk(C:)/Program Files(x86)/Arduino Previous Ard_IDE 1.8.10 saved as Local Disk(C:)/Program Files(x86)/OLD Arduino ...
1
vote
0answers
32 views

Using arduino mega is making my cnc claw buggy. Help

I have three nema 23 steppers with one 8 channel relay(all the pins used) powering two dc motors and 4 IR sensors for feedback on the machine. The problem is my machine is working fine for only 2 to 3 ...
0
votes
2answers
39 views

Serial communication between Arduinos

I'm trying to send data from Arduino Mega to UNO. The master code sends characters 'x' and 'a' every half second to the slave Arduino UNO. Slave receives the characters and switches the state of the ...
0
votes
0answers
31 views

Project organization and Arduino board for bee-hives monitoring

I'm new about Arduino and also about the electronic world... I'm a software developer. I need to put in place a project to monitor my bee hives. I have multiple hives in two different places (one with ...
1
vote
1answer
53 views

Message is sent multiple times from one arduino to another, using nRF24L01

I am trying to build a bidirectional communication channel, using nRF24L01 and two arduinos. The message is introduced using a button (but) in Morse code, decoded and then sent when another button (...
1
vote
0answers
19 views

FingerPrint Scanner wont detect any input (fingerprint image)

Hi good day to all I have a project that , it will lock the solenoid using the fingerprint then I have hook up a coinslot that will count the coins inside the vault its like a secured piggybank. ...
1
vote
0answers
44 views

Problem with floating of AnalogRead

For a university Lab course i have to realize a UPS unit with a internal LiPo battery . The unit uses as battery charger a buck converter I have only a problem with the battery charger (buck converter)...
1
vote
0answers
48 views

what does this error mean? [closed]

Arduino: 1.8.14 (Windows Store 1.8.45.0) (Windows 10), Board: "Arduino Uno" In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.45.0_x86__mdqgnx93n4wtt\libraries\...
0
votes
0answers
23 views

Choose the control threshold using the up and down buttons in 0.1 increments / decrements

I need to add 2 buttons, One that increases the threshold and One that decreases the threshold once u changed It the led gonna turn up at another value. My Code: #include <LiquidCrystal.h> #...
1
vote
0answers
43 views

CD rom stepper getting warm

I'm trying to run a SPS-15RF stepper motor from an old cd rom drive. I'm using a CNC shield and a4988 driver with a 6v power supply. The motion is smooth and fine. I know it has 18 pulse/revolution ...
1
vote
1answer
51 views

How can I run Hello World using Serial Monitor in Tinkercad Arduino simulator?

I want to achieve printing Hello World in the serial monitor using Tinkercad to simulate Arduino. Here is a very simple example code for real Arduino. void setup() { // put your setup code here, to ...
1
vote
1answer
20 views

Arduino Uno R3 HID with HC-06 BT module

Im trying to make a macro pad using Arduino Uno r3 and 4x4 matrix (cherry blue clone) . I know using a pro micro is better than uno cause there isn't HID compatibility in uno but since i already have ...
1
vote
0answers
25 views

Unable to upload to arduino [duplicate]

I am coding my arduino for an upcoming robot competition. I have managed to upload my code and run it on my arduino once or twice, however now I am unable to upload code. I now receive the following ...
1
vote
0answers
22 views

SIM900A Module doesn't send SMS to user anymore, after previously working

I'm trying to make a hydroponics project that collects data from sensors and sends it to the user through SMS every 15 minutes. However, when I try to run tests now, the pump part of the code works ...
1
vote
1answer
46 views

AccelStepper Library Help - Simultaneous Motor Driving

I’m working on a 4 wheeled robot driven with stepper motors. I have a Raspberry Pi that sends a random (based on input image) pulse count to the Arduino board serially and then steps that amount. I’m ...
4
votes
5answers
92 views

Mass testing of Arduinos

I am using Arduino for an IoT class (40 students). I have set up a test program to check all sensors and actuators used in the class (we need to recycle for next semester). However, I would also like ...
0
votes
0answers
43 views

Arduino Door lock

Hi I'm new to this world of arduino and programming, I have this code for a project that wants to be an electric door lock with access code and rif ID, what I want to add is that before it tells me &...
1
vote
0answers
24 views

Need to operate 2 different sensors (MPU 6050 and Admp 401) simultaneously

I need to operate 2 different sensors (MPU 6050 and Admp 401) simultaneously. I have managed to run each one of them separately and I don't know how to manipulate the code so they could work together. ...