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

I am using an accelerometer as an input and a stepper motor as an output and it will have these weird delays after about 30 sec

I have a stepper motor (kysan 1124090) turning CW and CCW based on the y direction of my accelerometer(MU6090). I am using an Arduino uno. It works great but after about 30 seconds there will be these ...
0
votes
1answer
27 views

Run a part of a code only 4 second

I have two different programs written for my Arduino. One control the rockets thrust vector. The other one is for parachute. I need to first run rotationmatrices() for a 4 second and then parachute. ...
0
votes
2answers
55 views

How to make Serial.read() return an integer instead of an ascii value?

I want Serial.read() to return an integer instead of an ASCII value. For example, in the below code if I input 2, I want the output as 2 instead of 50 void setup(){ Serial.begin(); } void loop(){ ...
0
votes
0answers
13 views

Display “ Test kit not detected ” on LCD [closed]

I'm currently making a colour sensor for calcium and iron for a school project. I have to make this an actual working device. When I insert a test kit containing the calcium and iron under the colour ...
1
vote
1answer
22 views

Using Arduino to control a high voltage DC device

I am an amateur hobby electronics enthusiast , and given the situation , I too am trying to make a contactless hand Sanitizing system like everyone else. My project requires a 36V DC solenoid valve to ...
1
vote
1answer
2k views

Are there any alternatives to Tinkercad Circuits that is PC application based instead of web app based?

I have been using Tinkercad's Circuits web application to create my Arduino circuits and apply my Arduino code (c++) for testing. Despite the amazing product they have and the fact it's free, I find ...
0
votes
1answer
378 views

BASCOM-AVR stk500_2_ReceiveMessage(): timeout: -1

Arduino Uno R3 Windows 10 Bascom AVR The ON is alright. The LED flickers now and then. The RX and TX flickers when I press the program button on Bascom but then disappears almost immediately. ...
0
votes
0answers
12 views

Using sim900a GSM module, sending data to xampp Database

I am using a soil moisture sensor, dht11, and a relay module. To send data to xampp (database) sever I used the sim900a GPRS module and wrote a PHP code as well. But it doesn't connect and pass data ...
0
votes
0answers
20 views

I am trying to find out if the mma8451 digital accelerometer from Adafruit can be used as a step counter?

This is a simple code that gives the XYZ coordinates, Acceleration, and portrait or landscape mode. I understand that I could use other accelerometers but because my propject is due next week, I am ...
0
votes
0answers
28 views

Calculating the Distance between a Special Object and Center

I just want to detect a small object specified in the system and show the distance between it and the object. If I need to explain briefly; I want to detect a small object that I put on the foot of a ...
0
votes
1answer
27 views

Writing and Reading data from RTC module EEPROM_Arduino

i have took below code from https://lastminuteengineers.com/ds1307-rtc-arduino-tutorial/. i am not understand what these codes are doing. please help me to understand. Wire.write((int)(eeaddress >&...
0
votes
1answer
48 views

Arduino Connect Long Wires/Cables

i am completely new to hardware programming and micro controllers and i am unable to figure out what search-engine search-term to use to find the answer i am looking for. the project i am working on a ...
-2
votes
0answers
30 views

DS3231 RTC Corruption

I've been trying to fix my ds3231. The issue was that it was spitting out random numbers for the time and data. I was told on Reddit that this most likely means that the repositories are corrupt and ...
0
votes
0answers
24 views

Programming Arduino Nano through Arduino UNO

I am trying to Program arduino Nano using ICSP but the problem is uploaded program only works as longs as Nano is connected to UNO. Here is what i am trying. Upload arduinoISP program in UNO. Make ...
0
votes
1answer
20 views

I want to program multiple arduino at once

I am aware that using a USB Hub you can attach multiple arduino to one computer and either upload code one by one or use bash script to upload code on all arduinos together. But you can attach only as ...
0
votes
1answer
205 views

Reading a monochromatic bitmap with Arduino for plotting

Complete newbie here. I am following this thread: How to read bitmap image on Arduino Specifically the third reply from : frarugi87 in my attempt to plot a monochromatic bitmap image with a plotter ...
0
votes
0answers
19 views

Arduino sleep mode problem while sending data with gsm module

i am trying to send gps data via sim800l gsm module. Working fine without the power down code but when i add the power down code it stops working (not sending the gps data. code execution stops in ...
0
votes
0answers
25 views

Is there something wrong with my code or my Arduino is malfunctioning

A 12v motor is connected to a 5v relay and a HC-SRO4 is connected to an Arduino. Sometimes the relay clicks so the motor is on for less than 170 seconds which is the delay time but sometimes the motor ...
-1
votes
1answer
504 views

Circuit diagram for running bipolar stepper motor using LDR

I am new to Arduino, some how I have put this code together to run stepper motor using LDR(kind of solar tracker program) I searched on net and tried using servo motor circuit to run stepper motor, ...
0
votes
1answer
205 views

HTTP Post data from Arduino uno using WiFi

Please help me to post data from arduino uno to a webpage using wifi(ESP-01) module. I try with AT commands it didn't give the response from my webpage #include <SoftwareSerial.h> #include <...
0
votes
1answer
32 views

Recommendations For High Capacity Microcontrollers

For a new project I'm working on, I'm turning an old Casio Personal Mini into a Speak & Spell (with possibly other functions). However, the speech library I plan on using is Talkie, and it takes ...
0
votes
0answers
17 views

2 devices on arduino uno [duplicate]

Might be a stupid question (not too experienced), but when I upload two different pieces of code intended for two different devices connected to the arduino, does it overwrite the first upload and if ...
0
votes
0answers
20 views

ds3231 rtc module weekly alarm

I have a ds3231 and Arduino UNO and I need to get an interrupt from ds3231 once a week for example every Fridays. I've searched a lot in the internet and forums but did not find any library or code ...
0
votes
2answers
43 views

I'm trying to use a E18-D80NK but the output is always 1

i'm trying to use a E18-D80NK sensor with arduino but the output is always at 1, i really don't understand why This is my code : int irPin2 = 8;// define pint 2 for sensor void setup() { Serial....
-1
votes
0answers
13 views

Saving and retrieving date in Firebase? [closed]

I am trying to make read data from Arduino uno board then send them to firebase through esp8266. I want date and time in string format can anyone help me in this problem ? I want it in below format- ...
0
votes
2answers
69 views

Ethernet Shield Not Working With TFT Screen

I'm trying to stack up Arduino UNO, Ethernet Shield and Waveshare 2.8" TFT Shield. Since I'm new to this I'm mostly doing basic stuff. I successfully manage to get ethernet shield and TFT shield to ...
0
votes
1answer
43 views

74HC595 to 5v pin shuts down uno

I'm new to using the SN74HC595 shift register, and trying to follow this tutorial: https://www.arduino.cc/en/tutorial/ShiftOut based on this configuration: When my arduino Uno R3 is plugged in by USB ...
0
votes
1answer
29 views

Storing IR Sensor value not working

This is my first time working on Arduino for my project and I ran into an issue. I'm trying to make a very simple Vending Machine. Coin or any obstacle passes in front of the IR sensor and based on ...
0
votes
1answer
26 views

Joining several PIR sensors

I wish to use some PIR (HC-SR501) sensors and give some response if at least one of them detects human movements. For simplicity I wish to use only one input pin in an Arduino UNO. My idea is to ...
0
votes
1answer
69 views

Change From One State Machine To Another

I have a project where I need to state from leds turning on and off to another one that will have all the leds turned on and send data and I was wondering how should I do that, this the code I have: #...
0
votes
2answers
35 views

External Button Interrupt (Digital Pin 3) of Arduino not working

I am trying to execute external button interrupt with Arduino and 16*2 alphanumeric LCD. What I am trying to do is when I press the button then the screen should switch between different options. When ...
6
votes
4answers
29k views

What purpose does the yellow and green LEDs have on the Arduino?

I have wired up a small project with a shift register (see below), but depending on how I put the 74HC595 IC (8-bit shift register with 3-state output register), the green and yellow LEDs of the ...
0
votes
2answers
51 views

GPS date and time not displaying correctly in Arduino Uno,NEO6M GPS module

I am learning how the Arduino and GPS module work so I can apply it to another project. My components are an Arduino Uno, NEO-6M GPS module, and a Adafruit 1.8" TFT display. The code did not work ...
0
votes
0answers
29 views

Arduino glitches and makes 240 < 7 and -240 > 7

I'm experimenting with the joystick and the MAX7219 module (8x8 LED display) and i made this program: #include "LedControl.h" LedControl lc=LedControl(11,13,10,1); int Xo = 36; int Yo = 34;...
0
votes
0answers
21 views

Make WiFi Router Using Arduino board

void switch_led() { bool SwitchReading = digitalRead(SWITCH); if (SwitchReading == HIGH) { Serial.println("Now pressed...."); state = state + 1; if (state % 2 != 0) { digitalWrite(LED, ...
0
votes
1answer
38 views

Connect two SD cards to one Arduino board and copy from one to another

I'm trying to connect 2 SD cards to an Arduino Uno board. My first question is: Is it possible to connect two SD cards to one Arduino simultaneously? The second question is: If it is possible to ...
0
votes
2answers
37 views

How to convert RGB values to Intensity

I made an arduino color sensor with tcs3200 and arduino uno. I have coded the arduino to find the RGB values when I place the color paper below the sensor. How can I derive the intensity using the RGB ...
0
votes
1answer
23 views

what command should i use to read and write through spi.tranfer command

#include<spi.h> byte val; // variabe for storing temp data #define PIN_SPI_SS (9) #define PIN_SPI_MOSI (10) #define PIN_SPI_MISO (11) #define PIN_SPI_SCK (12) void setup(); pinMode(...
0
votes
0answers
43 views

Problem reading input data using SoftwareSerial library

I can't read data using SoftwareSerial library, because SoftwareSerial.available() is always 0, no matter what I do. I'm trying to communicate 2 Arduinos Uno, the 1 Serial (name of the first Arduino ...
0
votes
1answer
24 views

Arduino using delay in I2C receiveEvent

I have read before that you can't use delay() inside I2C receiveEvent because it is an ISR. What I want to do is as follows: I have a servo connected to my Arduino Uno and I want to control that using ...
0
votes
0answers
25 views

How to map floor using arduino and HC-SR04 [closed]

I am working on a bot controlled by Arduino-UNO using HC-SR04. I want my bot to go around the floor, avoiding all obstacles, covering the entire floor. I tried measuring wall distance on all sides ...
0
votes
2answers
95 views

Communication between 2 arduino boards

I am not really 100% too sure how to do this but I am trying to make my arduino UNO communicate with my arduino MEGA. The reason why I needed to do this was because I was using the RFID module along ...
0
votes
1answer
710 views

Arduino RS485 shield to RS485 temperature & humidity sensor

I’m try to get data from rs485 is not work please advise to me. 1. Try to connect PC usb485 to DY-MD02 is work. Send command “AUTO” or “READ” 2. Try to Arduino rs485 shield to DY-MD02 is not ...
0
votes
0answers
28 views

Control Servo motor via Python GUI (PyQt) component “QDial”

I want to control a servomotor via a Python Gui (PyQt) component "QDial". Hopefully the servomotor should rotate "simultaneously" with the Dial in GUI. Below is the related code: ...
0
votes
2answers
86 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
2answers
51 views

Power Arduino and LED strip

I saw this question about powering Arduino and LED strip. So, I searched for a 5v 4a power supply and foud this one. How does that adapter provide power for both Arduino and LED strip? I thought I ...
0
votes
1answer
21 views

What does display.setSegments(&segto, 1, 1); do?

I am using a TM1637 display for my Arduino Uno. The goal was to just light up one point of the colon in the middle - what seems to be kind of impossible to accomplish. During research I stumbled over ...
0
votes
0answers
30 views

Burning Digispark bootloader without an Arduino

I've been wondering if there is any method to burn a Micronucleus bootloader into a blank ATtiny85 Digispark using just Windows or a Linux distro, and not needing another Arduino board such as UNO ...
0
votes
1answer
3k views

RFID-RC522 Cannot read from MIFARE Ultralight

I tried many ways to get and print UID and other data from MIFARE Ultralight but it always ends with error. I am using RFID-RC522 reader with Arduino UNO and MFRC522 Library. I can normally get and ...
0
votes
1answer
33 views

I can't run shell commands on Linux through AVR sketch (Arduino Yun)

I'm a little confused with some Process.h methods. I'm trying to run the command "nc 192.168.1.15 9911" to the Linux processor through a sketch. The appropriate netcat listener is waiting on ...

1
2 3 4 5
146