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 do I write code by using datasheets and schematic?

As the question implies, I've come across that it's important to read datasheets and schematics, but from there, what do I do? I understand that it is supposed to help me in some way, but how do I apply that written information into code? I am a beginner:p specifically, I'm looking at this schematic: https://content.arduino.cc/assets/SchematicNanoMotorCarriers.PDF...

is it alright, if i connect my mega2560 and R3 to tx and rx?

so basically, i was doing an test with my arduinos since im kinda new to this arduino stuff, and when i plugged my 2560 in first, it lit up and so did my arduino R3 which wasnt connected to a USB port. is this normal? does it damage anything? it really scares me since i dont want to damage my hardware

GY-BN008X with Arduino Mega 2560 Wiring Issues - Unable to detect device with I2C

I have tried to wire this as per help with some forums and ChatGPT and it doesn’t seem to be working… I am trying to use the I2C scanner to find the device and am unable to. Looking for feedback and direction here, this is my first project.
No description

HC-12 problems

I bought some hc-12 radio breakout boards a while ago and I can't for the life of me get one of the boards to do anything related to AT mode for programming, I was able to get the other board to be programmed but I am struggling to get anything out of the other one)

Motor and esc have power, cant control them

motor beeps when plugged in but nothing after, no movement at all. any and all help appreciated. Motor doesnt turn. motor beeps when powered. Im just trying to get it to spin at all and nothings happening. it will be apart of a drone and will have others connected similarly but not even this one works. Both esc and motor were purchased on amazon and do not provide datasheets. The ESC's brand is aneegfpv, it is a 40a max ESC with 2-6s input which is in range of our lipo. The motor is CENPEK A2212 1000KV Brushless Motor 13T. multiple variations of code has been tried. Codes: #include <Servo.h>...
No description

Sim module + Arduino cloud

I want to remote an esp32 remotely and i think ill buy some sim module for that. can i use that to access Arduino cloud so i can use the nice ui?

L293D driver Shield and ESC with Arduino uno r3

I am building a project where i have to use both esc 30A(for bldc motor) and an L293D driver shield(for 4 n20 6v 60 rpm motors). Since the driver shield is stacked upon the Arduino uno, and all the pwm pins are used, how do i connect esc?

Upgradable connections?

I have a circuit board of an rc plane, which i had to open (of course). I want to not only put it back, but also be able to remove the connections and test them on a breadboard or something similar. The circuit board is unlabelled, but i know what everything does. There are two motors, a battery connector and two LED's connected to the same + & -. Images are attached. If there nothing such, what are those battery connectors called?...
No description

DHT11 Humidity sensor not reading.

I am using a keyestudio DHT11 humidity sensor. I have checked the wiring multiple times, so I think it is correct. The error that it gives me switches randomly between 16,12 and 16,16. I have attached a photo of the arduino and where the wires are connected.
No description

Power supply for ESP32 and hardware

Hello dear community, I am currently working on a project that I would like to present later in the showcase. However, I am currently failing due to my lack of experience in the area of power supply. Short version: I have an ESP32, a WS2812b ring with 16 LEDs, an HC-SR04 and possibly a vibration module. The whole thing comes in a housing with a USB-C socket as a connection - basically a lamp for an art project. According to my calculations, the power requirement at full load would be at least 1.4 A....

Joystick buggy with ESP32

Hello. I uploaded a simple code to read joystick values to my ESP32 but the values aren’t reading the usual 0-1023 and instead are lying between 0-4095 with the values constantly fluctuating even when centered. I assume it has something to do with the hardware and connections messing with the signal but just in case I’ll show the code too
No description

Trying to get nrf905 to work

Hi everyone, i am trying to make my nrf905 work with an esp32s3, but i am starting to give up… I tried a lot of different ways, trying all the available libs with exemples, notions worked. for exemple the Radiohead library shows that the modules are correctly initialized, but no communication happens, even on my sdr i cant see any communication....
No description

HC05 Connectivity Problems

Hello, i have a HC05 bluetooth module and whenever i'm trying to connect (on an Android) instead of a password field nothing shows up and then it doesn't connects and shows up at earlier connections. On an iOS device the HC05 doesn't even show up.

Question about esp32 battery connection

So I’m planning to use a 3.7V LiPo battery to power an esp32 project. I’m confused on whether or not connecting it to the 3.3v pin is a good idea or if I should connect it to a step down converter first. Is it better to use the onboard regulator and will it even work properly or will I fry my board if I don’t use the step-down

Questions about LiPo batteries

I’m making an RC car right now and I’m using 3.7V 1s LiPo batteries. I’ve become aware of the importance of a protection circuit when working with LiPos due to the dangerous discharge levels but every protection circuit I find online is a bit too big for my project which is a tiny RC car. Does anyone know of a tiny enough protection circuit I can use just so the battery discharges safely enough

L298N vs L9110

Hi, has anyone used L298N and L9110? What is the obvious difference between them? I was going to buy L298N, but since it is out of stock, I am thinking of buying L9110, but I have not completely decided despite looking at the descriptions. While the L298N has an enable pin, the L9110 does not have this pin, I wondered if the speed of the vehicle is not changed. What is the most obvious feature difference between the two?
No description

esp8266 sketch stops working

wasn't really sure where to ask but my esp8266 has a sketch that creates a HomeKit device that controls a light strip which works fine, but then sometimes when i power it on the sketch just seems to not work and i have to reupload the sketch for it to start working again. any ideas? ...

problem with potenciometers and diy simrig

what should i do about this? a0 should be gas, a1 should be brake and a2 should be clutch, but only the a0 is working i guess and it somehow changes the value of all 3 analog ports

Servo Motor Not Working Correctly

Hi, after connecting the servo motor to VCC (5V), GND and a digital pin, I tried running an example on Arduino but it does not provide a continuous rotation. In the video you will see that it rotates a bit and then stops. I then reset it and it spins a bit and stops again. Since the power is cut off during the reset, it makes a small turn again and does not continue. I would like to clarify a bit: I know it is 180 degrees, there is no problem in the code, the default example provided by Arduino and the pins are connected correctly....

I need help with bootloading a atmega328p-au chip

im using a QFP32 to DIP 28 adapter since its an SMD. im using a arduino nano to bootload it.
No description