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

HC-12 showing ERROR in serial monitor

I've soldered an HC-12 down and connected it to an Arduino UNO. When I run this code and enter a character in the serial monitor it produces an ERROR code, either in ASCII or as a string depending on ...
2
votes
1answer
24 views

UNO's Internal EEPROM "read" returns incorrect values when it precedes "write"

I am an Arduino instructor and I was preparing some material on the utilization of the Arduino UNO's internal EEPROM when I encountered a problem. The problem is, I am trying to show the original ...
0
votes
0answers
17 views

The problem of connecting the OV7670 camera to the arduino Uno [closed]

I recently bought ov7670, but I couldn't find a normal example code. If anyone knows, write the code for the operation of this camera.
0
votes
0answers
43 views

How to connect to a circuit without completing it [closed]

I'm trying to upgrade the door buzzer/intercom system in my apartment so I can control it with my phone. It's a very simple system, attached is the wiring diagram(it's the 4-wire intercom station, ...
0
votes
0answers
44 views

How to run the class object only once inside void loop? [closed]

I am trying to flash 3 leds at the same time with different flash rates.I created a class and wrote a function to achieve this,but the task is to flash led2 & led3 only once when a push button is ...
0
votes
0answers
24 views

heart rate sensor has no peaks

I got one of those $1 heartrate sensors with the LED, and while I see there are lots of people who make it work, there are also quite a bunch that seem to fail. My situation: I hook it up to 5v and ...
0
votes
1answer
31 views

Adding L293D motor shield to Breadboard

Anyone knows how to attach the l293D motor driver shield on a breadboard? I need to put the shield on top of a breadboard and then use an Atmega328P as the main way of controlling it. Than you :)
-1
votes
0answers
29 views

2D10 temperature sensor [closed]

I just bought two 2D10 temp. sensors, one go them is analog and the other one is digital, I/m trying to connect them with the Arduino to get their readings, I looked for several resources about how to ...
-2
votes
0answers
22 views

Bluetooth HC-05 command delay [closed]

I have an HC-05 Bluetooth module setup with Arduino that controls an LED light through Bluetooth commands. When the HC-05 is connected to a device, the red light on the HC-05 has a cycle of turning on ...
0
votes
0answers
37 views

Arduino uno and arduino Leonardo [closed]

My question is that, if there is a project like for example a fire alarm. But it is using a arduino Leonardo and I am only able to use a arduino uno for my class that I have. Can I use a arduino uno ...
-1
votes
1answer
27 views

How to rectify the MQ135 response using an Arduino Uno

I started a simple project on air-quality monitoring, starting with the simple carbon dioxide (CO2) concentration measurement using the MQ135 sensor powered by an Arduino Uno. I have run a simple code ...
0
votes
0answers
75 views

I can't figure out how to add a countdown to my code

The Countdown on the code does not work. I added those parts where all the ////// are. The countdown only subtracts 9 from the number I set as the countdown. I don't know what I did wrong. I want the ...
0
votes
0answers
22 views

TimerOne library stopped working

A while back I downloaded TimerOne and manually installed it in the wrong library along with the other standard libraries. This morning I downloaded an adafruit library the proper way from inside the ...
-2
votes
0answers
28 views

How to make a chain data transfer from one microcontroller to another!

I am trying to create a chain data transfer where data is collected from one microcontroller to the next and then it transmits the data of the previous microcontroller which it collected and the its ...
1
vote
1answer
38 views

can differential drive work together with ultrasonic sensor?

I've written a sketch to drive a differential drive system, specifically - to be able to drive strait. This does work. So I am trying to add the ability to stop when the path is blocked using US ...
1
vote
1answer
33 views

Is it possible to use a slide switch without a resistor?

I understand how pullup and pulldown resistors work with push buttons and I also understand that an analogous idea can be applied to slide switches. Furthermore, I know that some versions of Arduino ...
1
vote
0answers
34 views

Arduino uno wifi r3 is not broadcasting its ssid [closed]

I've got an Arduino UNO + WiFi R3 board. I've left the dip switches in off position. When I connect power through usb, and try to scan available wifi networks, I expect to see ARDUINO-UNO-WIFI-*. But ...
-1
votes
1answer
30 views

Cannot change pointer for port in main loop

I am testing on an Arduino UNO. I want to use timer1 and interrupts to create various LED patterns. The LEDs may span multiple ports i.e PORTB and PORTD. I want to use a "volatile uint8_t*" ...
2
votes
0answers
39 views

Simulink resets arduino

I am working on servo motors control through serial communication protocol, I am sending data from Simulink to arduino and vice versa, The problem I am getting is that once I open Simulink Servo ...
1
vote
0answers
52 views

What external battery do I need?

For a school project I need to connect an Arduino with an accelerometer gyroscope sensor and 2 mini servo motors. Of course I need a battery for this. However, I don’t know what battery I need for ...
0
votes
1answer
47 views

Capacitive touch on Adafruit Trinket M0 goes unstable when USB cable from laptop is disconnected

Note that to get to this point, I used much of the helpful information from the Post How to use capactive touch on Adafruit board in Arduino mode? I am using a Trinket M0 with the Arduino IDE with the ...
1
vote
1answer
57 views

Why does the send pin influence the receive pin with Arduino Capacitive Sensing Library

I'm trying to figure out how the Arduino Capacitive Sensing Library https://playground.arduino.cc/Main/CapacitiveSensor/ works. It says: When the send pin changes state, it will eventually change the ...
4
votes
1answer
106 views

Arduino Uno freezes for unknown reason during code execution

I am struggeling with a behaviour of my Arduino I do not fully understand. Long story short: When starting the communication over I2C the Arduino freezes. In my opinion during the "Wire.write()&...
1
vote
0answers
23 views

Using L298n motor driver without jumper (Voltage Regulator)

When I am using 9V supply with motor driver and Jumper connected so the red LED was blinking but when I did the same using 9V and 15V supply removing the jumper LED didn't blink. Neither the voltage ...
-2
votes
0answers
32 views

How to only serial print "fast" or "slow" once. I want to show whether the LED is blinking fast or slow

int ledPin = 3; int buttonPin = 2; int toggleState; int buttonState =1; void setup() { pinMode(ledPin, OUTPUT); pinMode(buttonPin, INPUT_PULLUP); Serial.begin(9600);...
1
vote
0answers
36 views

1.) How do I delay a servo motor from turning in a loop? 2.) How do I make a servo motor's change in position dependent on temperature?

I'm super new to the c++ programming world (currently taking the class now) and I'm in need of some assistance with some coding that's way beyond my knowledge at the moment. I have to write a code for ...
1
vote
2answers
37 views

I need help producing 2 pwm signals

My project is to use an Arduino to control two solenoid valves with PWM and receive an input signal from a sensor as feedback. The valves direct the flow of water which cause a hydraulic actuator to ...
1
vote
1answer
43 views

Why the unsigned long is overflowing?

I want to convert hour to seconds but unsigned long is overflowing, here's the code: #include <Wire.h> #include <DS3231.h> RTClib myRTC; unsigned long seconds; char timestr[9]; void ...
0
votes
0answers
40 views

Arduino control dimmable TL lights

Hi I'm last minute taking over a project, and I'm struggle to find the correct circuit to dim a dimmable ballast and TL fluorescent lamp (Philips HF-R 258 TL-D EII 220-240V) The ballast has a 0-10v ...
0
votes
0answers
68 views

Sending Arduino data to PHP and upload it to MYSQL DATABASE

I'm trying to send my data to PHP and upload it to mysql database. I tried using it on a XAMPP and it is working, now i'm trying to upload it on a website but I have no idea if im doing it right. I ...
-1
votes
1answer
70 views

What is the simplest way to emulate the original gameboy's cpu using Arduino?

My initial question assumes it is possible to emulate the original GameBoy system using an Arduino board. Additional information in non-technical terms: I am looking to create an Arduino based device ...
0
votes
0answers
12 views

reading data from server arduino and gsm900a

I am facing a problem in reading data from thingspeak server after each AT command, I get the right response from the gsm However, after AT+HTTPPARA = "URL","thingspeak.com/channels/...
1
vote
1answer
61 views

how to detect when a transmitter is turned off?

Using the nrf24l01 wireless module I want to control a led with the sketch below. The transmitter automatically sends data at intervals of one second continuously and when the receiver counter reaches ...
0
votes
1answer
31 views

Arduino, generating smaller frequency than 31Hz

I'm controlling a car instrument panel with Arduino using the tone() function, however with Arduino Uno's minimum 31Hz frequency I can only set the speedometer at ~12mph or more. I'd like to be able ...
0
votes
0answers
51 views

Rename Arduino Uno

I want to rename my Arduino Uno for a project so that instead of "Arduino Uno" it shows for example "Number1". Also I want the situation when I connect a Rasperry Pi to the Arduino ...
3
votes
2answers
60 views

Adafruit MPU-6050 and adafruit I2C Multiplexer

I have 3 adafruit MPUs hooked up to adafruit I2c Multiplexer. All of which is hooked up to a Arduino uno. Attached is also my code. /* Assign a unique ID to this sensor at the same time */ /*...
0
votes
0answers
70 views

How to detect if a light bulb is burned out or blown or failed in Arduino

I am new to Arduino. I want to detect if an Light bulb is broken or burned out. For which I don't want to use LDR or Photo Resistor since they can be triggered by Environmental Light Source. I am ...
0
votes
0answers
20 views

RC car using Arduino uno and bluetooth module

I'm trying to control a car remotely using Bluetooth HC-05 and Arduino Uno, and my question is, can I use motor driver L293D instead of a motor shield?
0
votes
0answers
31 views

Motor Control with Arduino and Nextion Display

I have a 12V DC motor with encoder powered by an L298N motor driver module communicating with an Arduino Nano with interfacing with a Nextion Display. The wiring setup can be seen from the attached ...
1
vote
0answers
47 views

Where to save time and other values so I can read them after arduino powered down?

I need to save some values (and be able to update them frequently) that will stay there even after powering down the Arduino. (I didn't specifically choose any board yet, but UNO or Mega will be ...
1
vote
1answer
58 views

Changing single bit in byte array

So I have a byte-array representing the display attached to my Arduino: byte theDisplay[8] = { B00000000, B00000000, B00000000, B00000000, B00000000, B00000000, B00000000, ...
1
vote
0answers
26 views

Connect ESP8266 with Android Studio App

Hey guys I have ESP8266 and want to remote control a sailboat with it. Till now it works fine but how is it possible to send continuous data between the Arduino/ESP8266 and my smartphone? If you need ...
1
vote
0answers
80 views

My PN532 doesn't detect RFID card when connected with ESP32 in I2C mode while it works perectly with Arduino Uno

I have a Elechouse PN532 module (bought here - https://robu.in/product/pn532-nfc-rfid-read-write-module-v3-kit/). When I try to use to it with I2C and connect it to my ESP32 (DOIT ESP32 DEV KIT V1, 30 ...
0
votes
0answers
57 views

ESP8266 flasher: Failed to connect

Hey guys I wanted to flash my ESP8266 but every time I use the flasher it say: Failed to connect. I'm using an ESP-01 module. I connected it with some wires so VCC -> 3.3V, GND -> GND, TX -> ...
1
vote
0answers
42 views

Expected signature for ATmega328P is 1E 95 0F; I can not burn bootloader on my arduino Uno

well... the problem starts from the time that I accidentally touched the crystal on my arduino and all of a sudden everything messed up; the leds on arduino turned on and off while being touched, and ...
2
votes
0answers
38 views

ESP8266 01 doesn't react after baud rate change

Hello guys I have my ESP8266 connected to my Arduino. Then I typed in AT in the serial monitor. It confirmed this command with OK. After that I typed in AT+UART=9600, 8, 1, 0, 0 which gave me the ...
1
vote
0answers
37 views

Flash HEX onto an Arduino board

The scenario: I have built a device off an Adafruit nRF52840 and I need a way to deploy firmware updates. I have delivered the device to my end user and will need to periodically send him updates. I ...
-1
votes
1answer
55 views

How to light up middle points in a display with 4 digits? [closed]

How to light up the two points that is in the middle? It only lights up when the digB is set to LOW, and it lights up all 3 points that is in the middle. Example code: const int displayPins[] = {2,3,...
1
vote
1answer
82 views

Arduino How can I add 30s delay and turn off the led to the following code

const int buttonPin = 2; boolean currentState = LOW; boolean lastState = LOW; boolean stateChange = false; int currentButton = 0; int lastButton = 4; int ledArray[] = {9, 10, 11, 12}; long ...
0
votes
1answer
120 views

Need help in writing a function

I am reading an accelerometer using arduino. Basically i receive positive values and I need to get only first row of negative values. E.g. I receive values > -0.5 , then I start to have values < ...

1
2 3 4 5
156