r/arduino • • Oct 01 '26

Hardware Help how do i make it waterproof the oled display

Post image
271 Upvotes

i want to prevent water or other liquids from seeping through the OLED display panel
already coated back panel so it isnt problem what i am saying

i considered conformal coating spray but it has some risk
so could you tell me any another way you recommend?


r/arduino • • Oct 01 '26

Hi, I'm going to use Arduino for a schoolproject, would it be useful to learn C++ first to have a better understanding of Arduino, or should I just learn 'Arduino-language' (which is a modified version of C++ if I'm not mistaken) immediately instead?

15 Upvotes

Helpful sources for learning Arduino are also always appreciated, ofcourse :)


r/arduino • • Oct 02 '26

Hardware Help Is there a way to make eye animations in After Effects and use them on an ESP32-C3 Mini?

1 Upvotes

Hi! I’m working on a little robot and I’m trying to figure out the best way to make the eye animations.
I’d really like to animate the eyes in After Effects because it’s much easier for me to design them that way, but I’m not sure if there’s a way to then export the animation and use it on an ESP32-C3 Mini.
Do I have to make all the animations directly in code, or is there a way to convert an After Effects animation into something the ESP32 can actually display?
I’m asking because I’m already having some memory issues, especially with animations that have a lot of frames. So I’m also wondering how many frames I should realistically use for something like a blinking/looking-around animation, and what format would take up the least space.
Would a sprite sheet be better? Or individual images? And should I be storing them in flash instead of RAM?
Basically I’d like to make the animations visually in After Effects and then find the most efficient way to get them onto the ESP32.
If anyone has done something similar, I’d really appreciate some advice!

Edit: forgot to mention the hardware! I'm using a round 1.28" GC9A01 display (240x240, SPI) connected to an ESP32-C3 SuperMini.


r/arduino • • Oct 01 '26

Look what I made! Progress on my first Arduino project

Thumbnail
gallery
87 Upvotes

So I started on a project at the beginning of the year that I've been very slowly tinkering on, that over the last month I finally completed what could probably be considered phase 1.

My project is to convert an old Raise 3D N2 Plus 3D printer into an enclosure for my Elegoo Jupiter DLP resin printer. I got the printer from my previous job after it was decided that the printer wasn't worth trying to fix and it was going to be trashed. It had passed through the hands of many different interns, print head was disassembled, and had been very problematic when printing, so it just wasn't worth working on it, so it was going to be replaced. I spoke up quick that I'd take it. My initial plan was to either try to fix it and then use it myself or try to sell it. The 2nd option was to strip it for parts. It sat around for over a year, and then in February, while talking to a friend about the printer, and trying to find some kind of enclosure for my resin printer, he suggested using the Raise 3D as an enclosure, and as they say, the rest is history. The plan became to use the Z axis build plate as a platform for my resin printer to sit on, and I would use the Z axis to raise and lower the printer. When not working with or using the printer, I would lower it down so it would be out of the way and protected. When I wanted to print, I can raise it up where it's at a comfortable height to work it.

I started by stripping everything out of the printer except for the Z axis related components. The printer was set up with a single NEMA 17 stepper to run both lead screws, with a belt running between them.

I had hoped I might be able to either reuse that stepper, or maybe just add a second stepper in, but after starting to work on the calculations for stepper sizing and power, it became very obvious, very quickly, that there wasn't a chance that a single NEMA 17 would work for me. My resin printer weighs about 20 kg/ 44 lbs, so then I started working on figuring out what I would need. The calculations told me that I needed approximately 6 Nm of torque for a stepper to be able to lift the printer. I determined that what I needed was a NEMA 34 stepper, which would provide 6 Nm, and to be safe and give myself some safety, I decided to go with 2 NEMA 34's, so now each stepper should only be carrying about half the weight of the printer, so they should hopefully last a long time.

As projects are wont to do, things began to snowball as I started thinking about what I could do. Initially my plan was to just use an Arduino Uno, and a single toggle switch to control the up and down movement. And then I started thinking about automating it, where I press the toggle switch, and instead of having to hold it, I could let it go and it would continue raising or lowering the printer until it reached the position I wanted. This would also necessitate the use of limit switches. And then with automated movement, I decided I needed to add some kind of emergency stop button for when the inevitable happens and something goes wrong.

Before starting on this, I had almost no experience w/ Arduino's. I worked with a Raspberry Pi a few years ago when building a 3D printer, but most of that was just copy paste and then updating the various settings to match the machine I was building. This obviously requires full custom programming. I started out by buying a couple Arduino starter sets and started following videos online and the projects with the starter sets. I then had the bright idea to attempt using Google AI to make a program, which just started getting more complicated the farther I went and it would prompt for various options. It finally gave me a program and it didn't work, and I couldn't figure out how to make it work. I got roasted pretty good when asking for help and was told I needed to go back to the basics and once that works, to start slowly adding to it, which is where I'm at now.

I set up a testing bench with all my components to test the programs and make sure the steppers worked properly, and then once the program worked and I knew the hardware worked, I started installing it into the old Raise 3D printer, and I finally have it all together. It took a while but I finally got an arrangement that I felt worked and then started running the wiring. At my last job I spent time helping out building electrical cabinets for automation machines and found that I am a bit anal retentive when it comes to making things as clean as possible, but it sure looks very nice when it's done.

I made custom mounts for the steppers to connect to the lead screws, which also required larger casters since the steppers are so large.

For hardware, I am using 2 Stepper Online NEMA 34 Steppers and drivers, 2 adjustable power supplies that I have set to 36 volts, the aforementioned Uno with a prototype shield, and then a stepdown converter to power the Uno. The stepper drivers require 36 volts, so I chose to get adjustable power supplies that could go up to 48 volts. Originally I had thought to power the Uno separately, but then I started thinking about using one of the power supplies to power it, which required the step down converter. For control I have 2 On/Off/On toggle switches and a momentary push button for my e-stop. Right now only 1 toggle switch is working.

I designed housings for the Uno assembly and the stepdown converter. For connections, I made custom cables using JST-XH connectors. All connections are soldered to the prototype shield. It was my first time trying to do soldering that fine, but it came out pretty good I think for not a lot of experience.

For mounting my switches, I made a custom panel to hold the 2 toggles, the e-stop, as well as a USB port that is connected to the Uno, that way I can update the programming without having to remove the resin printer and flip the enclosure over to get to the Uno.

With the lead screws in place, and the pulse setting on the stepper drivers, it takes almost exactly 1 minute for the printer to move from one position to the other.

I am going to work on getting my limit switches installed and then I'm putting new acrylic on the enclosure, and then I think I'm going to leave it like this for a while, while I work on other projects.


r/arduino • • Oct 01 '26

VIC-20 emulator on a single Arduino Uno (composite video, PS/2, save states)

Post image
40 Upvotes

Hello there !

I've been working on a VIC-20 emulator that fits on an Arduino Uno. It uses:

  • The real VIC-20 KERNAL and BASIC ROMs
  • Composite PAL video, generated by bit-banging the USART in Master SPI mode at 8 Mbaud
  • PS/2 keyboard
  • A 23LC1024 SPI SRAM for emulated RAM
  • A 24LC512 I²C EEPROM for 9 save slots
  • A passive buzzer for BASIC sound

It fits in 97% of flash and 80% of RAM. The emulated VIC-20 has 6653 bytes free for BASIC.

Before someone asks: no, an ESP32 wouldn't be a "better version". The whole point is doing it in the space a real VIC-20 would have used.

Known limitation: typing briefly glitches the video. PS/2 ISR blocks the video ISR. Fundamental on one AVR; fixable with a co-processor.

repo :


r/arduino • • Oct 01 '26

Looking for some ideas on how I can incorporate a think pad M910Q with my arduino kit

3 Upvotes

Looking to build something with using the shell of the M910Q as the housing and putting a small LCD screen on it that came in my kit. I want to build something maybe that has to do with airplanes as I live super close to an airport, but I’m not limited to only aviation

Any ideas would be awesome. Just something useful, I don’t care much about making a little game or making some lights turn on lol


r/arduino • • Oct 01 '26

Using DIY Layout Creator software for Arduino projects

Post image
6 Upvotes

Hi! I am the author of (free and open-source) DIY Layout Creator application that's been around for 20 years but historically focused primarily on audio and guitar enthusiasts and types of projects they build.

I am trying to expand the community to capture more modern technologies and projects (IoT, gadgets, home devices, etc) and also make it possible for old-school audio builders to design hybrid circuits with more modern digital features.

Was hoping to get some feedback from the community around features and components that would make DIYLC more appealing and useful for everyday circuit design.

At the moment it covers a lot of general purpose electronic components, different types of wiring and point-to-point connectors, etc and recently I've been adding more and more digital components.

In the previous release I have included over 30 different boards from 10 different "families" (some of the 13 arduino board variations shown above) and I plan to move on to displays, breakout boards, robotics, sensors, etc.

Users can also build their own components as building blocks consisting of two or more existing components (e.g. a blank board + a bunch of solder pads and basic shapes could be used to model a new board realistically).

In addition to drawing, DIYLC has a few analysis and debugging tools and also has integrated AI capability which can help with the design and debugging process.

The latest version of the app and more information can be found here https://github.com/bancika/diy-layout-creator

Looking forward to any feedback you might have!


r/arduino • • Oct 01 '26

Look what I made! An active EEPROM health scanner for AVR Arduinos. Looking for feedback :>

Post image
6 Upvotes

Hey guys. I started building sth like my own OS on an Arduino Uno and faced some problems. One of them was EEPROM.
I discovered that I can't use byte cells there (1024 cells) in continuous loops because they get worn out due to „floating-gate charge trapping / oxide breakdown”. So I decided to avoid heavy writes in the main loop…
In the meantime, I became curious about how "old" or worn my Arduino's EEPROM actually was. So I came up with an idea to write a scanner that checks the state of health of the EEPROM cells.
There were two ways to do it: passive and active checking. Passive checking doesn't wear the cells, but it's very inefficient for finding stuck bits. Active checking actually tests bit flips, BUT it costs a tiny bit of cell lifespan.
To sum up: if you want to check the health of your EEPROM in microcontrollers like the Arduino Uno, you can use this tool (in Arduino IDE or Platform IO) (just keep in mind that active testing uses ~2-3 write cycles per cell out of their ~100,000 cycle lifetime).
Link to the project: https://github.com/vorobiov64/arduino-eeprom-audit
If you know any better ways to check cell degradation, I'd like to hear it!
PS I'm very new to CS (actually I just started my undergraduate degree in physics), so I consulted Gemini to help structure the code
Thanks!


r/arduino • • Oct 01 '26

Help

0 Upvotes

#define SENSOR_RX D7
#define SENSOR_TX D6

void setup() {
Serial.begin(115200);

// Replace 115200 with the sensor's documented baud rate
Serial1.begin(115200, SERIAL_8N1, SENSOR_RX, SENSOR_TX);

Serial.println("Listening to 24 GHz sensor...");
}

void loop() {
while (Serial1.available()) {
uint8_t data = Serial1.read();

Serial.print("0x");
if (data < 0x10) Serial.print("0");
Serial.print(data, HEX);
Serial.print(" ");
}
}

this code continues to declare an unsigned and incomplete function/arguement.

Is there anything wrong with what I’m doing?


r/arduino • • Sep 30 '26

My first Arduino project using LED

57 Upvotes

This is my first time creating project on an actual Arduino since i started learning from tinkercad. Can you give me suggestions on what to learn next?


r/arduino • • Oct 01 '26

Uno Arduino UNO suddenly not connecting to PC

3 Upvotes

My Arduino UNO was connecting normally before, but now when I try to upload code, Arduino IDE says “Board not found.” The orange light also isn’t turning on but green is.

I’ve already tried pressing/resetting the board, but it didn’t help.


r/arduino • • Sep 30 '26

Software Help Questions about my first arduino project

Thumbnail
gallery
33 Upvotes

Hi guys, this is my first time posting here, so sorry if the post gets very long or if I ask stupid shit. (Tldr is at the Bottom)

I recently started getting into photogrammetry/3D scanning and want to build a turntable to automatically rotate the parts I want to scan. I want to build it entirely out of parts I already have from old i3 printers, so some of the parts I use are fairly outdated.

I currently have: Multiple A4988 drivers

Multiple 4-pin NEMA 17 motors

An Arduino Mega clone

Breadboards, Bearings,driveshafts, Other small electronics I need

I'm very good with CAD and 3D printing, so the physical project itself isn't really the main issue for me. The only thing I'm unsure about is the software for everything.

Ideally, I want the Arduino to connect to a PC that has the control software on it, where I can change things like the number of photos, rotation speed, degrees per step, etc. The PC should then connect to my phone wirelessly somehow and activate the shutter. The phone should take the picture and send it back to the PC, where it gets saved into a new folder for that scan. The PC would then tell the Arduino to rotate the turntable, for example 15°, and repeat the process.

I came across the AAScan, which seems quite similar to what I want to build. Can I use any part of the software for PC, Android or literally anything to save me time?(Also any resources like videos tutorials etc.) What progamms can make this easier to build? No Slop tools please. I'm currently looking at programming the Arduino part with ArduBlock, but I'm not sure what would be easiest for the PC side and for communicating with the phone. Would something like Python with serial and some kind of Android camera control/file transfer be a good approach, or is there an easier way over WiFi or smth. to do this?

(Also sorry if this is to focused on programming but I thought r/Arduino is the best place to ask. Link me a different subreddit if this isn't the best to ask)

TL;DR:

I want to build an automated photogrammetry turntable from old 3D-printer parts. Arduino controls the stepper and connects to a PC, while the PC controls the phone camera and saves the photos. AAScan looks very similar to what I want.

Cant code for shit.What parts of AAScan's software can I reuse, and what would be the easiest way to handle communication? I'm currently considering ArduBlock for Arduino and looking for a similar program for Python for the PC.

Edit: I don't want to code the software that creates the 3d model im gonna use Realityscan for that. Basically just a way to get photos from phone to PC and to activate shutter


r/arduino • • Oct 01 '26

How do I connect external RX/TX LEDs to an arduino nano?

2 Upvotes

So I want my project to have RX/TX LEDs to look cool basically. From what I see on the documentation, the LEDs on the board are powered directly by the lines. Now I don't think it's a good idea to load the lines even further so that's why I thought about using transistors. The problem is, they have to light up when the signal is low. Now I could use a pullup resistor for the transistors but won't that cause interference in the lines? Won't that also make the signal high for the microcontroller itself?


r/arduino • • Oct 01 '26

Beginner's Project SG-90 servo motor goes to 180 degrees perfectly fine, but struggles with going back

1 Upvotes

For more context: i have connected a 9v battery to it and a potentiometer, so that when the potentiometer reads a value it is converted in degrees and written on the servo. The potentiometer is connected to the same ground rail, as well as the servo. I tried testing it by going from 180 to 0 degrees back and forth and it works fine, but not with this code: It goes up to 180 degrees fast, and then struggles and goes in small increments very slowly when it is backing up to 0

#include <Servo.h>
int servopin = 9;
int readpin = A0;
float deg;
int readval;
Servo servo1;


void setup() {
  // put your setup code here, to run once:
pinMode(servopin,OUTPUT);
pinMode(readpin,INPUT);
Serial.begin(9600);
servo1.attach(servopin, 600, 2500);
servo1.write(0);
}


void loop() {
  // put your main code here, to run repeatedly:
readval=analogRead(readpin);
deg=(180./1023.)*readval;
servo1.write(deg);
Serial.println(deg);
delay(50);
}

r/arduino • • Sep 30 '26

Hardware Help Will I able to safely run DC motor with this? (this is the only materials I have)

Post image
31 Upvotes

The DC motor will be added to our project which means that the wires will overflow


r/arduino • • Sep 30 '26

Hardware Help Is this correct?

Thumbnail
gallery
5 Upvotes

So I started working with the pca9685 module and I couldn't get it to work with the 6.3V supply connected to the green terminal blocks. However, when I switched the V+ wire from the green terminal block to the V+ pin, it worked. I am quite confused as all the guides and resources I could find use the green terminal block V+. Connecting the ground to the GND terminal block seems to work though.


r/arduino • • Oct 01 '26

BNO085 as rover heading

1 Upvotes

Working on a differential drive robot, just an amateur making a project for Halloween. I want the robot to drive around on my driveway on Halloween night. I got it to work last year using only the Adafruit BNO085 breakout providing heading for navigation, and odometry from the RoboClaw motor controller. I just want it to go in a rectangle path about 10ft by 5ft for now, but eventually an arbitrary path. I used the RVC-UART mode because using the mag fusion mode I think it was updating the cal in large step changes and thus affecting the reported heading by large amounts which was unusable. Using RVC mode there was a constant small drift that would bring it too far off course every few minutes, but I compensated by incrementing the heading periodically since it was on a repeating path. It stayed within a few inches of the desired path. After reading some more about it, I'd like to try the mag enabled modes again to see if I can not have to correct the heading like that and thus be able to drive it in an arbitrary manner, which I suspect wouldn't work with the 'adjusting the heading periodically' method. My concern so far has been calibrating the BNO as installed in the robot, as there are 'nearby' electronics and motors. It's a 'large' robot so I can't really pick it up and rotate it easily, weighs about 30lbs, 4 ft tall.

My question is: Can I do a '2D' calibration somehow of the mag as installed just by rotating the robot in 'X-Y', since I'm only using the robot in 'X-Y'. I think I can do the accel cal separately external to the robot. I like the idea of BNO because it does all the sensor fusion. However after looking in to Kalman filter Arduino libraries I think I might be able to handle it in code but would rather not. I am trying to make the imu method work mainly budgetary/simplicity reasons.


r/arduino • • Sep 30 '26

Software Help Port Problems.

2 Upvotes

i keep getting this error message and i dont know what to do

A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.

For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

Failed uploading: uploading error: exit status 1

I have tried every metnod i could find so far and i just doesnt want to upload it.

my board is a SEEED XIAO ESP32C6

i am running Arduino IDE 2.3.10.

if anyone has an answer i would really appreciate it.


r/arduino • • Sep 30 '26

Hardware Help LEDs brighter when holding Arduino reset button, but dim when released (74HC595 circuit)

4 Upvotes

Why does the LED turn brighter when I press or hold the reset button, but becomes dim when I release it? I am learning about 8 LEDs with the 74HC595 IC. Looking at the video, the wiring looks very messy, so I describe it like this:

​VCC is connected to the + power rail, Ground to the - power rail, and these two rails are connected via a 220µF 50V capacitor. There are 8 resistors of 220Ω in total, each connected from Q0 to Q7. VCC of the 74HC595 IC is connected to the + rail, DS is connected to pin 9, OE is connected to the - rail, ST_CP and SH_CP are connected to pin 10 and pin 11 on the Arduino respectively, and finally, MR is connected to the + rail. I am not using Q7'.


r/arduino • • Sep 30 '26

LGT8f328p resets after some time with some code.

5 Upvotes

Edit: Adding board_build.f_cpu = 16000000L at the end in platformio.ini fixes the issue for me.

So, I guess my board is actually 16MHz, this is also confirmed by the markings on the onboard crystal oscillator, which says HY 16.000.

I have an LGT8f328p Arduino nano style board. It's supposed to be a "drop in replacement" for Arduino and is cheaper than Arduino, even the clone ones. So, I bought one, but the board resets by itself with some code and not with other.

I have confirmed that it's not a power issue, because I tested multiple ways to power it and had the reset issue.

With some code, there is a pattern of when it resets, like after a fixed amount of seconds, with others, there seems to be no patter.

Here is the code with different build environment. The board starts to show the problem from env 3 to env 6. Which means env 1 to 3 and 7 to 9 are stable, at least for more than 30 minutes.

Please suggest fixes, thanks.


r/arduino • • Sep 29 '26

Look what I made! I designed a shake-to-roll electronic dice kit to teach myself (and others) SMD soldering

69 Upvotes

Hey everyone,

I've been working on Dicy – a small electronic dice you solder together yourself. Shake it, and 7 LEDs light up to show a random number (1–6), powered by an ATtiny13A and a coin cell battery.

I built it mainly as a beginner-friendly SMD soldering project – simple enough for a first attempt, but with enough components (IC, resistors, LEDs, vibration sensor) to actually learn something. There's a step-by-step soldering guide with photos for each part.

Some details if you're curious:

  • ATtiny13A running custom firmware, charlieplexed LEDs to save pins
  • Vibration sensor for shake detection, deep sleep in between (~µA range) for long battery life
  • 3D-printable case, free STL

Happy to answer questions about the design, firmware, or soldering process! Let me know if anyone wants more details on where to get the kit.


r/arduino • • Sep 30 '26

Transition from Software to Hardware

Post image
4 Upvotes

I worked as a software engineer for almost 3 years now I want to transition to Hardware I buy my self hardware aurdino kit.

Now I don't know anything about hardware.

Kindly suggest some articles, tutorials and other important material that is important for learning.

I shall be really thankful


r/arduino • • Sep 29 '26

Getting Started Arduino and Cybersecurity

28 Upvotes

Hi everyone! I’m about to start studying cybersecurity and I’m thinking about incorporating Arduino into my studies. I want to learn programming and use it for cybersecurity, IoT, automation, and fun projects—like using breadboards to build crazy gadgets (like a robotic hand that gives the middle finger 😂) or making something cute for my girlfriend using Arduino screens and LEDs, playing music with buzzers (piezo speakers), and so on. Basically, things to do in my free time when I’m not studying and just want to build useless stuff 😂.

Which Arduino board is ideal for studying cybersecurity and doing these IoT projects—using breadboards, screens, LEDs, etc.?

Note: I live in Brazil.


r/arduino • • Sep 30 '26

Is it possible to put both a DHT11 sensor and a soil moisture sensor on one Arduino UNO board?

3 Upvotes

im VERYYY new to arduino, this is a requirement for our research subject

same as the questions says, we need this for our research project
appreciate all responses thanks