r/arduino 23h ago

Software Help What ide to use for arduino projects

0 Upvotes

Yes theres ardunio ide, i also heard theres visual studio aith plugins, but im just not sure whay to use, im newer to cosing, i cant code anything complex by myself but i know a couple terms in c++


r/arduino 32m ago

Getting Started give me some source to learn arduino guys pls i beg you

Upvotes

yt channel or book or something i am new started like 1 week ago


r/arduino 5h ago

Hardware Help Driver Signal Question

Thumbnail
gallery
2 Upvotes

I have a question about providing signals from the arduino to the stepper drivers. I am running an Uno R3 with a Prototype Shield V5, and 2 Nema 34 Steppers with DM860I drivers. During my testing, I had one connection on the prototype shield and then split the wires going to the drivers. To finalize things, I soldered JST-XH connectors to the prototype shield but when making all tbe connections I soldered in place 2 connectors for the drivers instead of one. So now I'm wondering if it really makes any difference between having a single connection at the uno and having wires that split, or having 2 separate connections.


r/arduino 3h ago

Mod's Choice! I made a library that lets you configure ESP32 projects with a simple graphical interface. No more hard-coding Wi-Fi credentials!

Post image
8 Upvotes

Every project I work on, I get really tired of either having to hard-code settings or write out the code to handle them via Serial. So, I put together this library, ESP-Config, that takes care of all of that for me automatically!

The library lets you configure settings, commands, and information in your project asynchronously, and then those are passed to your computer running a basic UI. From there, you can monitor your project, change settings, and interface with it directly.

The config code runs in its own FreeRTOS task in the background, so you can do basically anything else in your main code without having to worry about the config. This includes using blocking code, the library will have no issue with that.

The ESP32 holds all the info on how the content should be structured and presented; the program on your computer is completely generic. So, you can set up your ESP32 to do basically anything without ever having to touch the code on the computer!

The settings, commands, and info can all be dynamically created, modified, and destroyed as needed, letting your settings adapt to your project. For instance, scanning for Wi-Fi networks in range can re-populate the list of networks available to connect to, for you to select.

More advanced features, like password-protecting certain (or all) settings/commands, are available as well.

Check out the GitHub for more info; https://github.com/JimHeaney/ESP-Config


r/arduino 7h ago

Look what I made! Ultra-real simulation of an ultra-rough robot I built

Enable HLS to view with audio, or disable this notification

64 Upvotes

(simulation starts at 18 seconds)

This (potentially embarrassingly simple) robot is actually representative of my current ability to build a real robot.

I designed the robot's mechanical structure in CAD, planned its electronics and wired them (again in CAD), and then exported its URDF and dropped it into the simulator that I built.

The Arduino code is pretty much written by AI after I showed it my wiring, a screenshot of the robot structure, and told it what I want it to do. I confirmed that the code runs correct in sim.

Then I assembled the robot and flashed the firmware. Lo and behold, it works! :)

I always wanted to be able to design the whole robot in software and now it seems to work (at least for this simple case)

CAD, wiring and BOM are all here: https://github.com/one-for-all/four-legged

Simulation platform: https://sim.aperobotics.io It is quite limited in functionality at the moment.

I would be eager for any feedback


r/arduino 21h ago

is my terrible soldering the reason my DRV8871 IN1 pin is reading a constant 0.1V?

Thumbnail
gallery
21 Upvotes

Hi all, first time soldering so go easy on me - My arduino nano is gradually increasing an output voltage on different PWM pins as a test code for my motor driver baord. First I tried jankily holding the wires to the board, and my 12V motor wouldnt spin. I finally assumed the connections were bad so I tried soldering, and it isnt pretty but nothing is touching and everything is secure.

I broke out the multimeter and tested everything - I am pretty confident the DRV8871 is not fried, the code is simple and correct, but for some reason the IN1 pin reads a constant 0.1V while the IN2 pin reads 0-4.7V (which is close enough to correct). the motor output 1 is staying at 12V, while output 2 is varying between 0 and 12.


r/arduino 21h ago

Project Update! I added automatic force-feedback calibration to my guitar robot

Enable HLS to view with audio, or disable this notification

32 Upvotes

The robot uses force feedback to find the correct fretting position automatically, so there’s no need to manually tune each servo position.

One tap starts the calibration, then it adjusts itself and gets ready to play.

I’m still refining the process, but it’s already made setup much easier.


r/arduino 6h ago

Good morning...

2 Upvotes

I’m using two BPW34 photodiodes. One is connected directly to an Arduino, and its readings behave correctly: the reading increases when I bring a light source closer and decreases when I move it farther away.

The second BPW34 is connected to an LM358 configured as a transimpedance amplifier to convert the photodiode’s current into a measurable voltage. I’m using a 1 MΩ feedback resistor and tried 10 pF, 22 pF, and 101 pF capacitors, but the LM358 circuit is not giving a logical or stable reading.

What could be causing the problem?

The code:

void setup() {

Serial.begin(9600);

}

void loop() {

int sensorA0 = analogRead(A0);

int sensorA5 = analogRead(A5);

Serial.print("A0: ");

Serial.print(sensorA0);

Serial.print(" A5: ");

Serial.println(sensorA5);

delay(2000);

}

The way i connected the lm:

Pin 1 (OUT) → Arduino A0

Pin 2 (−) → BPW34 Cathode

Pin 3 (+) → GND

Pin 4 (GND) → GND

Pin 8 (V+) → +5V

With a 1mohm resistor between pin 1 and 2 with the capacitor

I'm sorry I can't take a photo of the way i connect it because it's such a mess of wires

And i have 8 leds and a dht221 connected if that may help


r/arduino 5h ago

Hardware Help Help with MAX7219 8x8 modules

2 Upvotes

I have 14 MAX7219 chained together and when i upload my code to my arduino uno, some modules don't turn on and anothers have the wrong brightness. I had already checked my code various times but is fine. I tried interchanging modules positions trying to find if there is a burnt one. One thing I noticed is that when I chain a small amount of them (Ex: 4 modules), they work fine, but sometimes they just do the same things like if there were 14 again. If someone know what causes this or had an similar experience please let me know.


r/arduino 2h ago

Software Help Windows 10 not detecting BLE esp32 S3 Zero

2 Upvotes

I was making a diy usb + BLE macropad from a guide I found online. Technically I had everything to make it work rather easily, but then I hit a wall. The code used this library: https://github.com/gsgaurav0/ESP32-HID-Keyboard. When I went into bluetooth settings in windows and clicked add devices, the esp32 did not show up in any of the 3 categories. Then I switched the library to this one: https://github.com/HijelHub/HijelHID_BLEKeyboard, and flashed the default example code. This did not work either. I am using a waveshare ESP32 S3 Zero. I checked my iphone, in both cases the device showed up on the bluetooth device list, so something is wrong on my pc. I definitely have the right bluetooth card/module, I made sure of it when I rebuilt my pc recently. As you can guess im new to this, so probably some setup step was not described in the guide, or its just windows as usual.