Questions tagged [arduino-uno]

The Arduino Uno is a microcontroller board based on the ATmega328 and created by Massimo Banzi.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

How can I process data from a MPU6500 gyroscope in a swiftUI app using an Arduino uno as a "middle man" (connected through a HM-10 bluetooth module)?

I am quite new to both arduinos and swiftUI, but I have started straight out to build my idea, while learning to program while doing so. I currently find myself in a quite difficult position, as I ...
  • 1
0 votes
0 answers
6 views

Python to Arduino Dynamixel Shield Communication Issues

Good day! I'm currently working on a project which involves writing to and reading from a Dynamixel XL-430W-250T via Python. My current setup involves a Dynamixel Motor Shield which I've connected to ...
-2 votes
0 answers
21 views

4 single digit 7 segment displays stopwatch

arduino uno stopwatch I'm making stopwatch from 4 single digit 7 segment displays for a school project chipset and code should be direct copy of my profesor but mine isn't working porperly and the ...
-1 votes
2 answers
16 views

Arduino 4 Seven-Segments Not Displaying Properly (Tinkercad)

This lab of mine has been aggravating me for a good bit, and I cannot figure out what I'm doing wrong. The lab is to wire up 4 seven-segment displays to a single Arduino Uno to write a 4 character ...
  • 1
-1 votes
1 answer
95 views

How do I assign a value to a variable once?

I need to assign a one-time value to two variables. 'keypressed' when the button is pressed, 'keyrelesed' when it is released. The rest of the time they should both have the value 'nokey'.When it is ...
  • 3
-2 votes
0 answers
18 views

arduino connect to firebase

Im trying to connect arduino ultrasonic sensor to firebase I used a wifi module, but when I verify the code it gives error Documents/Arduino/libraries/FirebaseArduino/src/Firebase.h:86:11: error: ...
  • 1
-1 votes
3 answers
75 views

How do I detect a button release?

I am new to arduino and its programming. For my project I use the voltage detection of the pressed button. When a button is pressed, the variable "keypressed" is assigned the value of the ...
  • 3
-1 votes
0 answers
21 views

how can I use arduino uno to control two slaves with one master?

I am trying to use an Arduino Uno to control two slaves with one master, but I am encountering issues with the code. Although I have attempted to connect the master to one slave, it is not working ...
0 votes
0 answers
22 views

I'm getting an "error: invalid conversion from 'long int (*)(...)' to 'uint8_t {aka unsigned char}' [-fpermissive]", can anyone help me please? [closed]

I've been experimenting with Arduino for the last few days and when trying to use an array to tell a seven-segmented-display what pins to turn on/off I got an error. I've been programming in C++ for a ...
0 votes
0 answers
27 views

How to continue loop based on incoming line via pyserial?

I'm taking input from a heartbeat monitor and playing 3 pieces of audio in accordance with that. My high level code structure is: import serial from pydub.playback import play for i in range(1000): ...
0 votes
1 answer
29 views

Can I read signals from MiLight remote using nRF24L01+?

I'm planing to build my own LED controller for digital LED strips using Adrduino Uno. I would like to control lights using external signals and also remote. I have a MiLight remote that comminucates ...
  • 1,747
-1 votes
2 answers
24 views

Why does my arduino code not work propely, The led dosnt act as anticepated

When i press the button the led turns on but faded, and then fades to black.. The code is supplsed to turn the led on at 100% at the first press of the button and fade down by 25% for each press. I am ...
-2 votes
0 answers
41 views

Does using too many buttons on an Arduino cause interference with button states?

I've been creating an arduino program that will take input from a joystick and type letters depending on the joystick position and which of 4 buttons is currently active. So far, the general code for ...
  • 11
-1 votes
0 answers
28 views

serial output arduino is blank

Hey I'm using this code but I'm trying to edit to use the serial port this is the code with the edit. The problem is I got nothing on the serial output. It is a code problem or a connection problem? I ...
0 votes
0 answers
27 views

How to use MPU6050 offsets?

I am using an MPU6050 with an arduino uno for a project, and I am trying to calibrate it. I found a program by Jeff Rowberg which gave me offsets for each reading, but I don't know how to use them. ...
  • 3
-2 votes
1 answer
34 views

Problems installing I2C.dev on Arduino Uno

I need to install the i2c.dev library for a project on an arduino uno, but I am having problems when trying to install it. I searched it up online, and I downloaded a zip file of the package, unziped ...
  • 3
-1 votes
1 answer
22 views

A PC accessing 2 different IPs

I have a windows 10 pc that has a wifi usb stick to connect to my home router. This dongle uses an IP like this: 192.168.1.10. The gateway (router) has IP: 192.168.1.254. Then I have a board with an ...
0 votes
0 answers
18 views

Arduino IDE does not open, and cannot be deleted too

Error message upon opening the IDE Suddenly my Arduino IDE did not show the port to connect. Then I found a solution that says to install CH340 driver. After that my Arduino IDE shows the above error ...
0 votes
0 answers
26 views

Can't connect BLE via HC-06

Here is the problem, I tried to connect BLE via HC-06(on Arduino Uno) on my phone, it showed that "Can't communicate with BT01". Can't communicate with BT01 But when using some apps like BLE ...
-1 votes
0 answers
10 views

Sending data to a specific location in MIT apps inventor using Arduino and Bluetooth

I revised my MIT apps from one screen to two screens, and it worked as expected, but now my concern is how I can send data to a specific location in MIT apps. Here's the expected location : enter ...
0 votes
1 answer
45 views

int(string) returns 0 on processing when string comes from the serial monitor

I am trying to turn a string value from the Serial monitor into an int so I can use potentiometer reading in my processing sketch. When i use int() to parse the string into int, the output is 0, while ...
  • 3
-1 votes
1 answer
30 views

Getting the ADC resolution

A fresh Arduino/microcontroller user here! my project uses multiple Arduino Uno, Nano, and ESP32 boards and im trying to create a library to standardize a chunk of code that all boards use. I was ...
  • 25
0 votes
0 answers
24 views

arduino atmega timer isr(TIMER1_OVF_vect) as class member-function

I want to capsulate a timer ISR(TIMER1_OVF_vect) as a class member function. I did it for ESP32 and it is compiled without problems. Do the same for an Atmega ends stubbornly with the compiler error: ...
1 vote
1 answer
26 views

code for connecting 3 ultrasonic sensor, 1 buzzer, 1 LED in a Arduino uno

I need a code that connects 3 ultrasonic sensors, 1 buzzer, and 1 LED in a Arduino uno I tried using this code the original code was only supposed to work with 1 sensor I tried modifying it but ...
0 votes
0 answers
57 views

Arduino IDE 2.0.4 - error: stray '`\357' in program (and also \277 and \273) [duplicate]

I'm really new to the Arduino system, and I'm trying to do a project, which is basically a water quality controller, with multiple sensors (pH, Temperature, Conductivity, Dissolved oxygen etc...) ...
0 votes
1 answer
59 views

There is error when I upload code to the Arduino UNO

I cannot upload code to Arduino UNO Error message: avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied Failed uploading: uploading error: exit status 1 Board info: BN: ...
0 votes
0 answers
25 views

LEDs blinking between each frames on a matrix

I recently got a 7x36 led matrix and I want to drive it with Arduino. The matrix is composed of about thirty HC4094, and not having its reference I could not find documentation. My problem is the ...
0 votes
0 answers
15 views

problem with adding Data Streamer add-ins in Excel

I want to add data streamer add-ins to Excel 2016 ribbon bar, I download the file "Data Streamer_4_0_0_0" and try to install it, but it show me the next problem.Have anyone experience to ...
0 votes
0 answers
42 views

Why is this enum in Tinkercad not working?

I'm trying to replace magic values in my code with an enum, but it's not working. When I tried this code in Tinkercad, enum Command: uint32_t { Forward = 0xFE01BF00 }; void setup() { Command ...
0 votes
1 answer
26 views

Arduino SoftwareSerial wrong values

The wrong 1 byte values are being sent or received(I don't know) when using SoftwareSerial between Arduino leonardo and Arduino UNO. UNO and Leo are connected via: gnd pin 9 and 8 here is the code ...
  • 1
0 votes
0 answers
4 views

How does the function "MeDCMotor motor_9(9)(imported from <MeMCore.h> library)" work?

I am trying to learn arduino by converting mblock codes into arduino ide. I encountered the function "MeDCMotor motor_9(9)",which was imported from the library <MeMCore.h> ,and have ...
  • 1
0 votes
0 answers
14 views

when i try to write and read above 255 in EEPROM it shows some unwanted values

hai i have am two buttons. when i press the first button i want to increase value of count variable. And i want to store the count value to the EEPROM for the use of power cut .after power cut i want ...
0 votes
2 answers
27 views

How do I run a python command with arguments repeatedly?

I have downloaded a program from Github a Ubuntu/Python program to produce Talkie voice files (LPC) from Audio .wav files. https://github.com/berrak/wav-files-to-arduino-talkie-lpc#python-language-...
0 votes
0 answers
256 views

A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header

I am trying to use the example sketch "Helloserver" to make a server using a generic ESP8266 and an arduino uno. I have configured and connected every physical component according the sketch´...
0 votes
0 answers
42 views

The gateway is not working in Arduino UIPEthernet

I am trying to build SNMP using the enc28j60 module and the UIPEthernet library. However, I am facing an issue where it works fine within the local network but does not work outside its boundaries. ...
-1 votes
2 answers
87 views

Stepper Motor moving back and forth with emergency stop

I am trying to create a stepper motor that moves back and forth but will stop eminently when the safety button is pressed. I am using Arduino 1.8.13 and an Arduino UNO for this project. #include <...
0 votes
1 answer
50 views

How to make digital pin d4 high with one press and make d5 high for the second press and so on..... (Arduino uno)

I am working on a project in which one input from the pin d2 and make the relays on d4 high, for the second press d4 low d5 high, for 3rd press d5 low d6 high and same in the reverse order with a ...
1 vote
1 answer
19 views

AttachIntrerrupt stops NRF24L01+ from working - ARDUINO

If I remove attachInterrupt(digitalPinToInterrupt(encoder1),readEncoder,RISING); The code works. But once its added, the radio.available doesnt let anything under it run. #include <SPI.h> #...
0 votes
0 answers
39 views

Arduino Blinking Light not working on Breadboard

I'm just starting my Arduino 30 Days Lost in Space kit and I'm stuck on the blinking LED on the breadboard. I have some minor experience coding. I suspect that is not the issue, but I've included it ...
0 votes
0 answers
39 views

High data-rate parallelism between python and arduino uno

I'm working on a project where a data capture system sends EMG data to a python script through an Arduino Uno's serial port and the python script classifies the user's intent by processing a chunk of ...
0 votes
0 answers
24 views

How could I send a String to arduino uno from jetson nano through rosserial?

Actually this value is calculated by Jetson nano and send to arduino for further calculations of angles and for rotating the servos. Does anyone have any clue ? I tried using ROS-Melodic but can't ...
0 votes
0 answers
67 views

Serial Communication Between Pycharm and Arduino

Traceback (most recent call last): File "C:\Users\Dell\PycharmProjects\Arduino cv\Outputs\Led.py", line 11, in <module> Arduino_Serial = serial.Serial('COM3', 9600) # Create ...
1 vote
0 answers
28 views

Do i need to use different library in Arduino?

I was making an project and i need to use Arduino UNO as HID. So, i installed Keyboard library (version 1.0.4) from library manager and write just basic program in new sketch to test it: #include <...
-2 votes
1 answer
75 views

Motor Driver isn't working properly while servo.attach(A0); line present in the code

I written a code for a motor car and written basic functions like go_forward(), go_backward(), turn_left(), turn_right() and stop(). all functions are working properly in the loop() function. but when ...
0 votes
0 answers
55 views

Issues getting Arduino program to run on ESP01s (ESP8266)

I am trying to create a server with a simple webpage using the ESP01s module. My pin connections are as follows: ESP TX to Arduino Uno Tx pin ESP RX to Arduino Uno Rx pin ESP VCC to Uno 3.3V pin ESP ...
0 votes
1 answer
61 views

Controlling Timer0 in ATmega328p

I'm trying to create a blocking delay for the ATmega328p for my arduino uno R3. but I'm running into problems with my function. I am not sure if it has something to do with my clock source. I set it ...
0 votes
0 answers
8 views

Arduino Board gets disconnected once Motor driver shield is connected to the board

I have an arduino uno board. Everything works fine when I am trying to power it up and the code runs fine without the driver put on. I want to connect the l293d driver and my arduino gets disconnected ...
1 vote
1 answer
84 views

Image displaying using Arduino- Processing connection and ADXL345 sensor

I am working on an artistic project that includes an ADXL345 sensor (accelerometer), Arduino Uno R3 Board, Arduino IDE 2.0.3 and Processing 4.1.2. I want Processing to display images randomly and ...
0 votes
1 answer
38 views

mpu6050 arduino uno stoping after a few seconds

I was trying to use MPU6050 and a servo motor. but mpu6050 arduino crashing after a few seconds . i used arduino uno and sg90 servo motor. this is my code. #include "Wire.h" #include <...
  • 9
1 vote
0 answers
15 views

Connecting PIR sensor to VB.net using Arduino

I'm trying to use the motion sensor (PIR) to be able to understand when there is some movement, then, from the Arduino, it will notify my application in Visual Basic. In general, the idea is to ...

1
2 3 4 5
43