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
17 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
33 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
29 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. ...
0
votes
0answers
29 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
9 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/...
0
votes
1answer
56 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
0answers
19 views

Controlling led backlight jumper of IIC I2C display module from uno board

I am staring my very first Arduino project. My setup is uno board with lcd display connected over IIC I2C driver (PFC8574T). On driver there is jumper for led turning on and of. I want to close and ...
0
votes
0answers
34 views

Error compiling for board Attiny13. #error Internal code configuration error, no timer functions implemented for this AVR CPU / board [closed]

I keep getting the error shown below while uploading the code shown to the Attiny13a microcontroller. I am using the arduino UNO. Error messages Arduino: 1.8.15 Hourly Build 2021/05/31 10:33 (Windows ...
0
votes
1answer
29 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
19 views

What would be the best way to listen to audio and make network requests to a server? [closed]

Using Arduino Uno I would like to send streaming audio data to a server. Is this possible? What additional hardware would I need?
0
votes
0answers
43 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
46 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
59 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
17 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
26 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 ...
0
votes
1answer
35 views

Can I use a 12v 7A Power Supply for a 1A Solenoid Valve, or will I fry it immediately? [closed]

I was just wondering if I can plug a device like a 12v solenoid needing 1A into a 12v 7A Power supply? I have heard conflicting things on whether the power supply will only supply what is required, ...
-2
votes
0answers
36 views

I have this error code and I haven't found any solution [closed]

Firmware Version: 0xB2 = (unknown) Scan PICC to see UID, SAK, type, and data blocks... I have a MFRC522 hooked up to my arduino uno...
1
vote
0answers
41 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
43 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
25 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
30 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 ...
1
vote
0answers
43 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
36 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
36 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
34 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,...
0
votes
1answer
72 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 < ...
0
votes
1answer
45 views

What is the command to upload the hex file to Arduino UNO without using any IDE or external GUI tool?

The OS I am using is Windows 10, and I already installed avr-gcc and avr-dude, with a bit of search on the internet I found the commands to convert my C program (written for ATMEGA328-P), to the ...
3
votes
2answers
175 views

MPU6050 Arduino Jeff Rowberg library interrupt Issue

I was trying to get the data from MPU6050 using the Arduino library mentioned here. The following code is an edited version of the sample code given in the library folder which seems to be working ...
2
votes
0answers
35 views

Infrared Reciver doesn't work properly after the first signal

i'm trying to play a passive buzzer with an IR reciver My Code #include <IRremote.h> IRrecv irrecv(10); decode_results results; void setup() { // put your setup code here, to run once: ...
-2
votes
1answer
52 views

How to hide Serial.write commands at Arduino's Serial monitor?

well I am trying to make a query and respond for arduino. There are lots of query with serial.write command. because of this serial commands my serial monitor showing tons of unmeaningful symbols. ...
2
votes
0answers
38 views

I need help making an arduino control system [closed]

My project is to use an Arduino to control two solenoid valves with pwm and receive an input signal from a sensor as feedback. As can be seen from the picture, the valves direct the flow of water ...
0
votes
1answer
30 views

Mini Arducam module camera shield - 2MP ov2640 interface with Arduino Uno

MINI ARDUCAM MODULE CAMERA SHIELD - 2MP OV2640 Arducam Multi-camera adapter board for Arduino SPI Mini Camera I have the above two components with me along with ARDUINO UNO R3. I want to stream video ...
2
votes
1answer
42 views

How to control multiple servo motors at the same time with protothreading using an I2C PCA9685 PWM board?

I'm trying to use protothreading to control two (and eventually four) servo motors over I2C using a PCA9685 PWM board. To start, I am simply trying to sweep the two motors back and fourth at the same ...
1
vote
0answers
44 views

How to control multiple servo motors simultaneously using protothreading?

So I'm trying to control 4 servo motors simultaneously using the Protothreads library by Ben Artin, but I am starting with 2 just to see if it works. I have succeeded in getting two LEDs to blink at ...
1
vote
1answer
44 views

Can I use an arduino as an interface to pass files between a device and a PC?

Or maybe you guys can point me towards another direction... You may ask, why not connect the device directly to the PC? Well, the device is designed to recognize only USB sticks, and dump the data ...
1
vote
2answers
109 views

How Much mA dropped in ESP8266-01 Work in LiPo Battery if the WIFI function is continuously on

I working on the system where ESP8266-01 should continuously on because I want to get the Wi-Fi function on. In that case ,I can't use the Sleep mode which is given in the Esp8266-01 . So, My Question ...
1
vote
1answer
61 views

How to use this specific arduino shield

I am trying to understand how to wire this Arduino Uno shield properly. My goal/main questions: I have 6 servo motors and I am trying to wire them properly to this shield. Do I need an external ...
0
votes
0answers
35 views

I'm looking for the StreamSend.h library for use in Arduino/ESP8266 serial communications using struct [duplicate]

I've come across an interesting yet old article within StackExchange which has great examples of sending structured variables over serial communications. The library StreamSend.h and it's source code ...
1
vote
0answers
38 views

Arduino UPS without reset

I’m trying to figure out how to make arduino UPS (when the power goes down it should not reset the arduino). Or preferably buy something that will do that for me. I found this, but Im not sure of it ...
1
vote
1answer
47 views

Can I just use one Arduino in a receiver/transmitter circuit?

I am trying to build a system to control lights remotely, but I am a student and am operating on a tight budget. Is there any way I can have just one Arduino along with a receiver and transmitter (I ...
2
votes
1answer
55 views

Timer2 and INT1 in Arduino UNO

In my project Pin 3 of Arduino UNO is as External interrupt (INT1) and at the same time, I have to run Timer2. INT1 dosen't work When Timer2 is run. Timer2 is run just as timer. Is it my mistake or it ...
2
votes
0answers
62 views

External Interrupt and Input Capture pin | Arduino MEGA

I have a code for finding the rpm of one system calling here as engine , the engine have a hall sensor output and I have tried the following Code #define SERVO_MIN 2000 #define SERVO_MAX 4000 struct ...
1
vote
2answers
113 views

which is the best way to declare Serial while creating Arduino library?

Well, I am trying make a library for HMI display. display and Arduino comminicate with Serial. So I will so many times Serial port. Generally I will use Serial.write commend. if I examine other ...
0
votes
1answer
34 views

Unable to upload to board [closed]

Each time i try uploading to my arduino uno it keeps giving out this error: avrdude: ser_open(): can't open device "\.\COM8": The semaphore timeout period has expired I've already checked my ...
0
votes
1answer
53 views

Parallel I/O - maybe use Machine code function call

I'm a newbie to arduino but been programming lots. I have a project where I would like to output 4 bits to adjacent pins and read 4 bits from another (4) adjacent pins. (Imagine a matrix keyboard ...
1
vote
0answers
73 views

Serial monitor constantly reads input with unknown characters

I am trying to read input from the serial monitor on my Arduino UNO using the new Arduino IDE 2.0 and send a specific infrared signal depending on the command. I do this using the following code: #...
-1
votes
2answers
69 views

İs that possible to a function return String OR Int depends on address

Well, I'm trying to use a HMI display and this HMI storing datas in separeta addreses. Such as integers addr. is between 0x80000 to 0x9ffff and also for string's addr is between 0 to 0x1ffff. At this ...
2
votes
1answer
55 views

Arduino Hanging Not sure if software or hardware issue [closed]

I am trying to run a very simple program to glow LEDs in a certain fashion, I connected 9 LEDs to the GPIOs or digital pins, 2 To 10, via 220 Ohm resistors; when I am running the program it is hanging ...

1
2 3 4 5
157