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
votes
0answers
6 views

Need a Arduino code “BlinkWithoutDelay” [closed]

I want to use the "BlinkWithoutDelay" if I press button 1 LED ON for 5 seconds, then off and if I press button Led on for 10 secs then off. For Arduino code
0
votes
3answers
31 views

Best way to measure liquid level of a 10 meter high tank? [closed]

I would like to measure the height at which the liquid inside a 10 meter high tank, what is the best way to achieve it? What sensor should i use? I have seen ultrasound sensors but I have not found ...
0
votes
0answers
27 views

I2C and SPI using sensor and Oled display

Im currently working on a project which displays vital signs such as pulse and oxygen on my display. Now, my sensor is connected through I2C while my OLED runs through SPI. Im trying to display the ...
0
votes
1answer
24 views

Controlling VFD with ModBus RTU via RS485 and Arduino

I am attempting to control a Folinn VFD (Manual: Manual) with an Arduino Uno via a MAX485 module such as this. Pins for MAX485: DI > D8 DE & RE > D10 RO > D11 VFD settings: F00.01 set to 2 ...
0
votes
1answer
23 views

Adafruit thermal printer prints weak

I am currently hooking up my arduino to an adafruit mini thermal printer. When a button is pressed, some code is executed which then sends some information to the thermal printer. Everything works ...
0
votes
1answer
56 views

LowPower.idle isn't waiting

I am trying to have my Arduino wait in a low power idle state given by the LowPower library made by rocketscream on an Uno. However, when I try to have it wait for 8 seconds, it seems to not pause at ...
-1
votes
0answers
49 views

Repair my code.and solution this problem [closed]

const int button1Pin = 2; unsigned long led1OnTime; bool led1On; int ENA = 9; //ENA connected to digital pin 9 int ENB = 3; //ENB connected to digital pin 3 int MOTOR_A1 = 7; // MOTOR_A1 connected ...
0
votes
0answers
22 views

Using Arduino Sensors with STM32 based NUCLEO boards

Right now I'm programming an Arduino Uno Rev3, I'm using a Sensor Shield v5 (image at the bottom) to be able to have several Ultrasonic sensors and Servos. Right now I'm thinking about getting a ...
0
votes
0answers
27 views

Creating rather than following tutorials/instructions? [closed]

I'm looking to get into electronics, with a lot of interest in Arduino and Raspberry Pi, but also maker culture as a whole. I'd like to really be able to create and engineer a bit. Taking a glance at ...
0
votes
1answer
38 views

Reading sensor with current ouput with Arduino

I am having diffuclt times with this sensor, so I kndliy ask for your help! The sensor is named "SPUVA-CS-C3535-A", datasheet here. The sensor I use (cs3535) has just two pins (+ and -). From my ...
0
votes
1answer
21 views

How to connect MPU6050 with Arduino Uno without using A0-A5 pins?

Connecting MPU6050 with Arduino without using A0-A5 pins.
1
vote
1answer
3k views

Is there any way to check with Arduino UNO if a sensor is connected and ready to be read?

I would like to check the status of the sensors with Arduino UNO. For example, when I turn on the robot, I would like to check if all the sensors are connected and ready to be read or not. Maybe one ...
0
votes
1answer
581 views

NEO GPS 6M connecting to Lilypad Arduino

I'm working on a project that has something to do with receiving gps data from the satellites. With this, I've used GPS NEO 6M with an arduino Lilypad for wearable purposes. I've already tried using ...
0
votes
0answers
14 views

MCore(Arduino) - Python bluetooth communication

Pc and Mcore with bluetooth module are paired. The port is COM9 outgoing in PC. However, when I send message Arduino does not get anything. I just disconnect arduino from pc and write simple code in ...
-1
votes
0answers
29 views

how to combine these two sketches [duplicate]

LCD #include <Adafruit_Fingerprint.h> #include <SoftwareSerial.h> #include <Wire.h> // Comes with Arduino IDE #include <...
0
votes
0answers
25 views

merge two loops in arduino uno?? compiled but not working [duplicate]

#include <Adafruit_Fingerprint.h> #include <LiquidCrystal_I2C.h> #include <Wire.h> SoftwareSerial sms(2, 3); SoftwareSerial mySerial(4, 5); LiquidCrystal_I2C lcd(...
0
votes
0answers
42 views

Can I control 1,500 LEDs from 1 Uno? [closed]

I have 1,500 LEDs that I would like to be able to control with one Arduino Uno board. Would I be able to do this?
0
votes
0answers
16 views

Aruino UNO not getting programmed on MAC OSX

I am using MAC OSX Mojave and trying to program an Arduino UNO board. However, whenever I start the Arduino IDE, I only find one port in the ports section called: /dev/cu.Bluetooth-Incoming-Port. ...
-1
votes
2answers
38 views

Arduino Analog to Digital Conversion from 56V DC Batteries

I have a problem, I am using 56V DC combined batteries system. I get ADC values comes to Arduino like 211, 217 etc... I have to find out when the DC volt drop to 42V. How do i know the digital value ...
0
votes
0answers
32 views

10 DOF gyro and accelerometer to x,y,z displacement

I have a 10 DOF sensor with wire outputs labeled "VIN", "GND", "SCL", and "SDA". I would like to wire these into my arduino and ultimately obtain x, y, and z displacement. This might sound like a ...
2
votes
2answers
438 views

How to use external libraries in CLion

I would like to use the external libraries that are downloaded by Arduino IDE into the default sketchbook location (~/Arduino/libraries/). If you open Library Manager in Arduino IDE and if you ...
0
votes
1answer
24 views

MB-102 BreadBoard Power Supply Limitation

Does the MB-102 can handle Arduino Uno, SIM900 and 3 other modules that requires 5v? If yes, does 9v battery is enough? If no, please suggest me what should I use that uses only 1 barrel jack(if ...
0
votes
1answer
100 views

Trouble with reading Bitmaps from SD-Card

I'm having problems with reading a bitmap file with the SD library. I wrote a small header that reads uncompressed 24-bit bitmap files. It works fine when I try it on Windows 10 MingW with fread() ...
0
votes
1answer
27 views

NEO-6M is working but it doesnt show data

So I'm having a little bit of difficulty here in my NEO-6M. The problem is it doesn't show any data in my serial monitor. My NEO-6M Led is already blinking so its already ok. RX -> Pin3 , TX -> ...
-1
votes
1answer
33 views

upload sketch via bluetooth for android

How can i convert file .ino to hex file so that i can compile new sketch via bluetooth. Can you help me to figure out the way to do this? thanks for helping
0
votes
0answers
54 views

LCD not displaying text (16x2)

(https://circuitdigest.com/microcontroller-projects/arduino-based-accident-alert-system-using-gps-gsm-accelerometer) the code is Serial.println(zValue); ..... ..... ........ ... Here we have also ...
1
vote
1answer
37 views

Arduino accepting only alternate characters

I am writing an Arduino code to receive SMS from a SIM800 module and then send the same message back to the sender. My code is as follows: #include<SoftwareSerial.h> SoftwareSerial mySerial(9, ...
-1
votes
0answers
18 views

How to interface 5 flex sensor and MPU6050 with Arduino Uno at the same time? [closed]

Circuit for connecting 5 flex sensor and MPU6050 at the same time and to address them in program.
-2
votes
1answer
52 views

Voltage at AREF pin

I find difficulties to measure correctly the voltage at the AREF pin. I would measure voltages ‭with a resolution not exceeding 1 mV . nda voltage divider In one of my trials, I was using a 9V ...
-3
votes
2answers
128 views

Does a Sparkfun Redboard Arduino Uno have built-in RTC?

I have a Sparkfun Redboard (an Arduino Uno like board based on the Atmega328P and programmed with the Arduino bootloader). I have been trying to make an accurate clock without an RTC with an LCD ...
-1
votes
0answers
16 views

how to program NEO-6M with arduino [closed]

anyone have blind person navigation project with ultrasonic and GPS code for Arduino thanks
-1
votes
0answers
17 views

how can I draw a path (track ) using NEO-6M GPS and arduino [closed]

I want to give a path to a blind persons to help them to move from one place to another
0
votes
0answers
34 views

DS18B20 temperature sensor not working

I am new to arduino.I try to read temperature using DS18B20 temperature sensor.I connected the pins as bellow.But,When I connected 1-pin to ground and 3-pin to +5V the sensor heated and all the little ...
-1
votes
0answers
23 views

How would i code to log data for a Temperature, pressure and weight (scale/balance) sensors? [closed]

i am a complete novice when it comes to coding and the use of an arduino/raspberry pi or a labjack. The task involves a small pressurised vessel containing some liquid and i have been asked to log ...
0
votes
1answer
35 views

Why does per-led current consumption diminishes when more leds are on?

I'm rather new to Arduino. I've been performing some current consumption measurements lately, with a INA219 current sensor, on the blue LEDs from a starter kit. I plugged three LEDs, on pins 2, 3, ...
-1
votes
0answers
24 views

Tensione al pin AREF [closed]

Ho dei problemi nella misura della tensione al pin AREF. Il mio scopo è di impostare sulla scheda Arduino 1 una tensione di riferimento abbastanza bassa da portare la risoluzione della scheda (4,8 mV/...
0
votes
0answers
18 views

Connecting Arduino Uno to Arduino Leonardo

I have an RFID shield connected to my Arduino Uno, but I want it to be able to send keystrokes to the computer when I scan the correct card. I have the Uno set up correctly so that when the card is ...
-1
votes
1answer
65 views

I'm having problem with my pushbutton's input and ifs conditions statement. huhu :(( [closed]

I am working with a program for a microwave. It has 3 settings: Drying, Roasting and, Drying&Roasting. After you pressed a button out of the 3 choices you still have to press another button(...
-1
votes
0answers
30 views

How to create a Pll using arduino uno? [closed]

I have a project which needs A PLL controled by arduino uno to manipulate the phase si please help me !!!!
0
votes
1answer
160 views

Ultrasonic Sensor - JSN-SR04T 2.0

I would like to use the JSN-SR04T 2.0 in order to find the depth of a body of water. Once I test the sensor in a body of water, the distance measurements are then constant at about 20 cm. I then ...
-1
votes
1answer
20 views

Wire multiple SW-420 Vibration sensors to a single pin

I am working on installing an alarm system using Konnected IO on a NodeMCU esp8266. I have multiple bay widows which will use 4 SW-420 vibration sensors. I would like to wire all 4 of the SW-420 ...
0
votes
1answer
22 views

How to use tinygps.h library to measure distance? using NEO6mv2

any reference site for the format code for tinygps.h to measure distance? or any codes for tinygps.h for measuring distance i'm just a beginner in learning arduino thank you
1
vote
1answer
38 views

Reading 4-20ma signal on arduino

I want to read a 4-20 mA analog signal from a 24V flowmeter. I've read the simplest way is to convert it into 1-5V signal using a 250 ohm resistor. The thing is I want my reading to be precise so my ...
-2
votes
0answers
32 views

I want a code to run multiple time once i uploar it [closed]

I have an A6 gsm/gprs but the code doesn't run multiple time it runs once uploaded and then goes silent. Here is the code #include <SoftwareSerial.h> SoftwareSerial mySerial(3, 2); void setup(...
0
votes
0answers
22 views

Setting up Software serial connection between Esp8266 and Arduino

I have a Lolin Wemos D1 R2 and mini version of ESP8266 and an Arduino UNO. I have connected the pin described as Rx in Arduino to the pin described as Tx in ESP8266 and the same for pin described as ...
1
vote
1answer
1k views

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00 [duplicate]

So I try to compile and upload a simple code such as the Basic Blink. I have not connected it to pin 0 or pin 1. There is an LED with the "L" label on the card that works. So I guess not the chip is ...
0
votes
1answer
69 views

How to use the pushbutton without using if, else

I want to let the led blink for 3 seconds then 2 seconds then one second using the button one time and without using if/else void setup() { // put your setup code here, to run once: pinMode(...
0
votes
0answers
29 views

How to send sms message on specific area using Longitude and Latitude

Good day everyone! what code should i used for sending sms message depends on the area. the things that i used in my protoype i have MPU6050 accelometer, SIM800C GSM MODULE, NEO6MV2 GPS MODULE. So the ...
0
votes
0answers
34 views

requires 18 bits to represent, but 'int' only has 16 bits [-Wshift-overflow=] #define htons(x) ( (((x)<<8)&0xFF00) | (((x)>>8)&0xFF) )

I am doing smart room automation system. I am getting this error when I tried to compile the code and also just for the test I tried to ping one LED when I switch ON it LED is becoming on but when I ...
0
votes
1answer
20 views

How to find the peak value of analog signal?

I have a question .. Please help me I don't know how Arduino can read the peak value of the sensor signal. The value I want is in the ADC value .. What I want is ... for 5 seconds there will be 1 ...

1 2 3 4 5 140