Arduino

A

Arduino

Official Arduino Discord - Discuss all things Arduino!

Join

hardware-help

coding-help

official-product-help

project-showcase

general-help

pcb-help

adafruit-help

official-product-help

robotics-help

sensors-help

coding-help

hardware-help

esp-help

pi-help

i2c-serial-help

LiquidCrystal library is not found

i was trying to code for lcd16*8 for the very first time , but even after installing the LiquidCrystal.h library in the ide , i am getting this fatal error , liquidcrystal ,no such file or directory found .can anyone help me in this problem

arduino uno, RTC, and oled display CODE

im sorry there is erbil time but you can directly change the time
No description

Stoplight help

So i was makeing a stoplight and I need it so when I push my analog buttio it swices bwteen modes green, red, normal (red then yellow then green)

Digital Joystick

So I need help making this digital joystick for a project. The idea is that when unused, it resets to the center of the screen, and will use a potientiometer joystick to get the data to process. Since I am a complete noob at coding, I got ai to do it, and it always drifts to the bottom right, and dosen't reset to the center of the screen. Here is the said ai code: ```#include <Mouse.h> // Define the analog pins for the joystick...

Can’t get lcd to display

I am trying to use a micro nrf52840 board to power a small lcd display but I cant seem to get it to display anything on the screen. Could I get some help with this and figuring out how? I am using a 1.1ā€ transparent lcd from crystal fontz running with ST7565P

What is the better software in creating a application to build a controller for a robot??

I'm trying to build a controller for my microcontroller robot, but I'm not sure which software I should use to build it. I was thinking of using Android Studio or B4A to connect it through Wi-Fi using ESP32 Cam since I'm going to use an Arduino Uno R3 board. Is it possible to connect all the radar data from the ultrasonic sensor and sound sensor data to the application I'm going to make?

Need help with a button to turn every led off

How can I implement a button in this code to turn off all the LEDS?

Flux Capacitor by RadBench Arduino code

Good evening, friends, I'm coming to you because I'm having trouble getting my Arduino code to work. Everything works, but I'm having trouble getting my IR remote to work properly. :/ When I press a button, it gives me a different hex code each time, so my Arduino can't send the information. I'll send you the code, maybe you can help me....

Calculator Memory Issues

Hello, i tried making a small math expression parsing library, but it seems that i can only do one Parse, and then my Uno freezes, i'm fairly certain there are no leaks which makes me ask why its freezing, and i would appreciate if anyone is able to look into it. I am not yet very familiar with the C allocation functions, so please tell me if i used any of them wrong. Thank you!...

Arduino Uno project: millis() not incrementing properly in my saved data

Hello everyone, I’m working on a project where two sensors (a radar-based level sensor and a laser distance sensor) are read via serial communication, and the measurements are logged to a micro SD card. The original sketch works fine: both sensors provide values, the data is logged correctly to the card, and the Serial Monitor shows the expected output. The issue is with the millis() values in my log. They don’t increment the way I need them to. They often appear almost constant, so I cannot use them reliably for time-based logging intervals (e.g. one entry every 3 seconds)....

ELEGOO CONQUEROR ARDUINO UNO R3 Source code

Hi, I recently bought a Conqueror with arduino uno R3 and I erased not on purpose the source code. I tried with the official deposit but when I compile it says that I don't have enoug space on the board. Thank fo your help...

Automatic Pet Food and Water Dispenser with Display

so basically i just had this random idea of making a food dispenser for my dog since i had extra wires and components leftover from previous projects. The circuit consists of: Two containers, one for food and one for water. Two servo motors each connected to open/close the food and water containers....

TM1637 Display ':'

Can anyone tell me how to display the 'dots' for : on the 4 digit 7 segment display using the TM1637Display.h Library, I spend some time online but couldn't find a solution Thanks, if anyone could help...

RRCI Roof Controller

Hey all, I need help. I am using this, https://projecthub.arduino.cc/cfar/rolling-roof-computer-interface-rrci-a7f9ac, controller to open and close the roll off roof of my observatory. My coding is almost identical. I would like to add a rain sensor to it to close the roof when it rains. How hard will this be, and can someone help me with this? This, https://a.co/d/0am5DvJ, is the sensor I am going to be installing.

motor with magnetic encoder

motor with magnetic encoder
No description

36SG-555 DC motor with magnetic encoder ; code issue pls Help

Hi, I did some new Modifications on the motor with the encoder , So I add the pid calculation and the attachInterruptĀ function what i didn't understood it very will is the PID calculater , what I know is that the PID calculation (Proportional-Integral-Derivative ) is a mathematical formula used to control an output to do something , so Proportional calculate the error , and Integral-Derivative of the error WHAT IS A PID CALCULATION ?...
No description

Arduino Sim800l v2 module and SX1278 LoRa Code

I have a flood level detection system project that uses arduino uno as it microcontroller board. I have two microcontrollers; one for the receiver and one for the transmitter. Can someone fix the errors and the missing lines in my code? Here's my flow chart, circuit diagram and code.
No description

Giga r1 cores question

I am trying to make a robot, have all of the motor and wireless controls on the m7 core and then my RGB controls on the m4 so they don't conflict, my problem is that the light turn on with the m7 but not with the m4, and I'm trying to have one script for both. im still trying to program it but im kinda stuck on this so i will continue with the rest later but i would like to know, because it is all uploading correctly with no errors so im kinda lost.

Arduino Cache

I keep getting results from my Arduino code for Xplane that indicates commands are being held in cache then delivered after XP being paused. There are very few other causes than cache that we can figure. Anybody ever have that issue?

How to upload the code

Hey everyone šŸ‘‹ I’m trying to upload code from my phone using the ArduinoDroid app, but I keep getting this error: Error: Can't open connection to MCU. Consider switching to Avrdude uploader (ā‹® / Settings / App settings / Uploader) or follow troubleshooting (ā‹® / Help / Troubleshooting) ...