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

How to know what target code is begin compiled for?

I'm thinking sometthing like.. ```c++ #ifdef PROCESSOR_A #define PROCESSOR_A_THING #elseif PROCESSOR_B...

RDA5807 - i need help.

Hi im doing a Radio with RDA5807 module and everything is working well but RDS not.

How to prevent the MCU from crashing or brown out?

I currently have a modded arduino Nano with a built-in motor driver. I am using it for a fast line-follower robot. It seems to just randomly crash or haywire. Can anynone help?
No description

Need help with HC-SR501

I'm trying to code my motion sensor with my Arduino Uno and I've read multiple code forums and nothing is working correctly. I also have a Arduino Nano on hand if needed.

tft oled display 8 pins

so i got this display but i dont really know how to use it can someone help

Arduino Uno, RF24 Antenna, won't work

Hi everyone, I've started working on an Arduino project, but I can't get it to work. I have two working Arduino Uno boards, and I've connected an RF24 antenna to each one. The goal is to send a short message from one board to another over a distance of a few dozen metres, without Bluetooth, Wi-Fi or wires. Unfortunately, I can't get it to work. Chat GPT even gave me some test communication code, but it didn't work. I don't think it's a hardware issue, as I've checked everything. I'd appreciate any thoughts that could help me solve this problem. Thank you in advance for your replies. Here are the transmitter and receiver codes and the corresponding logs: ...

Missing avr/io.h library

I’m trying to upload the GRBL firmware (a firmware for sending G code) and it’s saying that I’m missing AVR/Io.h I also included a photo of the board I’m using if you need that for some reason
No description

ESP32 steamaker

Hi im trying to move two DC motors in steamakerblocks with a ir receiver ks0026 what the code should look like?

Why is my servo code not working?

I followed a tutorial to the T. Guy got his working but mine wont. Any clue?
No description

Arduino Mutlitasking with millis(). The Stepper motor doesnt work, maybe affected by lcd display.

My Code is compiling and every feature is working besides the stepper motor. Does it get blocked by the lcd display, or is the stepper function itself wrong. (Comands and nessecary headers included in the headerfile)

Code explanation for TMP36

helloo i have a presentation for my code later, can you explain each line?

How to configure a ESP32 Cam that is connected to a R3 microcontroller????

The ESP32 cam is connected to the L298N expansion board, and the board is connected to a battery compartment that has two 3.7V batteries and it's on. I connected the ESP32 cam to my laptop, but the light is not lighting up; however, it is heating. I can't upload a sketch.
No description

Timer help for LED!

Hello, I just have a question about making timers for Arduinos, and being able to do so without delay. So I have implemented the millis() function and used that to make sure 1000 milliseconds has passed, however, an issue that I kept coming across was that with the serial. I found an old Arduino forum that helps relieve that issue, but I am curious as to why that is? Also, I am looking for criticism for my code(this for a robot club)...

Anyone Knows About PID Controller?

I need help if anyone can In PID Controller....

The code to make ESP32C3 to recive a data from MPX5700AP and then send it out using the built-in BLE

It's error is "exist status 1" i tried to fix it but it just won't work #include <Arduino.h> #include <SPI.h> #include <RadioLib.h> ...

My stepper motor is rotating only in one direction. Need Coding Help

I made all connections with Arduino, driver & motor. The code I had is working fine but it's unable to rotate counter clockwise direction. It's getting jettering, vibrations & again rotating only in clockwise. Here is my code #include <AccelStepper.h> // Pin definitions matched to your wiring...

Why do I get this "function not declared in this scope" error?

Hello everyone, I'm still kinda new to Arduino, but I thought that I at least knew the basics to work with it for a school project of mine, however, when trying t compile my project, I just got this Error and I really don't know why:

3 engine plan help in 4

Hello everyone, I would like to modify this plan of 3 motors into 4 on Arduino Uno or another. I am not a programmer, I give you the connection plan and the motor code, thank you for your help thank you
No description

PS4 controller ESP32 help

Hey, I'm working on building an RC car with a esp32 board and PS4 controller but I think I bricked my controller and don't know how to fix it. If anyone has had an experience like this please lmk

Arduine screen text

I received a screen text monitor with my kit, can someone help me create a script when I press upload it says Kosti
Next