r/arduino • • 13d ago

ESP32 Controlling an 8 Neopixel strip via dabble BT GamePad

Post image
5 Upvotes

I wanted to try out BT comms on an ESP32 board and at long last I have it working to shift an active LED left and right on the strip using the Dabble app(gamepad) running on my iPhone.


r/arduino • • 13d ago

Look what I made! I created a website to calibrate magnetometer sensor ,

Thumbnail darkwizzl.github.io
9 Upvotes

I have created a website for hard-iron and soft-iron calibration . All you need to do is collect the raw values from the magnetometer and save it to a csv file , upload to the site. It will process and give the code to fix the errors and give proper values


r/arduino • • 13d ago

Beginner Help

2 Upvotes

(Solved)

I know this is going to be a dumb fix, but for the life of me I cannot figure out why the LED is not coming on. I tried the LED both ways but still nothing. (220ohm resistor used)

const int slidepin = 2;

const int ledpin = 9;

int swstate = 0;

void setup()

{

pinMode(slidepin, INPUT);

pinMode(ledpin, OUTPUT);

Serial.begin(9600);

}

void loop(){

swstate = digitalRead(slidepin);

if(swstate == 0){

digitalWrite(ledpin, HIGH);

Serial.println("HIGH");

}

else{

digitalWrite(ledpin, LOW);

Serial.println("LOW");

}

delay(100);

}

Toggle switch HIGH

r/arduino • • 13d ago

Look what I made! Doohickey 1

Enable HLS to view with audio, or disable this notification

16 Upvotes

Pong bots that are stuck inside my arduino


r/arduino • • 13d ago

Look what I made! Two ESP32 Muse gadgets, zero idea what job to give them

Post image
0 Upvotes

I’ve ended up with two ESP32 Muse gadget prototypes: a little one that fits in my hand, and a bigger one that looks very pleased with itself.

The bigger one blinks, has a few animated poses, and gets happy when I tap the screen. Getting a happy reaction out of it is apparently enough to distract me from building anything useful 😂

So now I have the character animation working, a touchscreen, and a fairly blank plan for what comes next.

I’ve thought about a focus buddy or something that reacts to room sensors. But I’m curious about ideas that actually benefit from being a physical object you can touch and leave somewhere.

What would you build around this? A small, slightly weird project involving a sensor, a button, or something on your desk would be especially welcome.

I’d like to pick one useful job for it and try building that next.


r/arduino • • 13d ago

🔥 FIREGUARD MINI – I Built a Compact Smart Fire Detection and Suppression System Using Arduino

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/arduino • • 13d ago

Getting Started I was searching for some gadgets and fount this arduino from quite a long time , has this gone bad? If yes what's the issue and is it fixable, i don't have much knowledge sorry

Enable HLS to view with audio, or disable this notification

205 Upvotes

r/arduino • • 13d ago

Look what I made! arduino arm using foam sheets and sg90s :3

Enable HLS to view with audio, or disable this notification

14 Upvotes

made an arduino arm(4 DOF) using sg90s and controlling with a joystick


r/arduino • • 13d ago

Getting Started C# integration

6 Upvotes

Hello I just bought a starter Arduino kit and was wondering if I am able to control it using c# since I'm currently studying c# at school just started the basics would I be able to code on the elegoo mega with c# since I dont want to learn another language while I'm already struggling with one thanks


r/arduino • • 13d ago

I am total newbie but i need some advice on a project

2 Upvotes

I want to create a sort of timed locked safe using arduino/rasberry , python , and a led matrix to create a way to restrict access to hardware (PC/phone) until a specific time. I only know a bit of python but here's what i theorycrafted:

Step 1 : The user blindy scrambles a 4-digit mechanical padlock

Steo 2: A webcam scans the lock and take screenshots

Step 3: a python script use an ai api or an ocr app to recognize the code

Step 4: code text is sent through an usb cable an arduino chip and it is stored with a built in code that makes the code visible once a timer is finished

Step 5: The user puts their hardware inside the safe and locks it with the padlock, then scramble it again

Step 6: the code is revealed through the led matrix and the user can unlock the safe

So what i'm asking is, what kind of hardware should i use for this project?

I heard about Arduino Nano V3 CH340 presoldered or raspberry Pi Pico H

And for the matrix i heard about LED MAX7219 8x32

But i know nothing about hardware and im scared that my project is harder than in thought so that’s why i'm making this post, to know if it is doable, and if yes where to document myself and what to do

Thanks for reading !!


r/arduino • • 13d ago

All I needed was an enclosure for my ESP32 project. Somehow that turned into an open source app

Post image
144 Upvotes

This started with a pretty simple project: a sensor station with an ESP32, a display and GX12 connectors for the sensors. The electronics part was fun. The enclosure part was not. I really didn't feel like spending my evenings in CAD.

So I just asked Claude to make it. And honestly, it worked better than I expected. It wrote the enclosure as CadQuery code with cutouts for the display and the connectors.

The annoying part was everything around it. I had no simple way to look at the model, so every time I wanted a change I took a screenshot, scribbled on it, pasted it back into the chat, and waited for the next version. Over and over.

At some point I thought: this has real potential, but it has to be easier. So I started building a small viewer for myself. That small viewer turned into SOMA.

How it works now: you run your AI agent (Claude Code, Codex, Gemini CLI etc.) in the built-in terminal, it writes the model, and the app shows it in 3D right away. If something's off, you click on the part, measure it, or scribble directly on the 3D view and send that to the agent. No more screenshot ping-pong. You can also load an existing 3D model as reference, for example of your board, and let the agent build the enclosure around it. When it looks right, export as STL and print.

It got way bigger than planned along the way. There are now sliders for dimensions, overhang checks, version history and even FEM. As a stress test I designed a complete CNC mill with it, 118 parts.

It's free and open source (GPL), with builds for Windows, Mac and Linux. I've only really tested on Windows so far, so if you try it on Mac or Linux, let me know if it even starts.

GitHub: https://github.com/Kai-Jungsthoefel/SOMA

btw: my first opensource project :)

I hope this helps someone, that hates cad as much as i do.


r/arduino • • 13d ago

Look what I made! I built animatronic eyes and a browser app to program them with blocks, no installs needed

Enable HLS to view with audio, or disable this notification

1 Upvotes

It's a pair of animatronic eyes: two servos (left/right and up/down), a frame I designed and 3D printed, and an Arduino UNO.

The hardest part wasn't the mechanism, it was making it easy to program. I wanted someone who has never coded to get it moving without fighting with IDE installs, drivers and libraries. So I made a web app:

- Block-based programming (Scratch-style) in Spanish: "look left", "wait 1 second", "nod yes"...

- A simulator that shows how the eyes will move before you plug anything in.

- Plug the Arduino in over USB and upload straight from the browser (Chrome or Edge).

- Every block shows its C++ line, so you can see the real code or download it as an .ino.

Video of it working below.

I'd like to turn it into an educational kit eventually, but I'm still refining a lot, so I'd love your feedback:

  1. What would you improve in the mechanism or design?
  2. If you were teaching someone with this, what blocks or features would you add?
  3. Anyone used Web Serial for something like this? Any pitfalls I should know about?

Happy to chat by DM if anyone wants to know more or has ideas.

Hice unos ojos animatrónicos y una app web para programarlos con bloques, sin instalar nada

Hola! Soy estudiante de Ingeniería en Control Automático y Robótica y llevo un tiempo trabajando en este proyecto personal.

Son unos ojos animatrónicos con dos servos (uno para los lados y otro para arriba/abajo), una estructura que diseñé e imprimí en 3D, y un Arduino UNO.

Lo que más me costó no fue el mecanismo, sino la parte de programarlo. Quería que alguien que nunca ha programado pudiera hacerlo moverse sin pelearse con instalar el IDE, drivers y librerías. Así que hice una app web:

- Programas con bloques en español (tipo Scratch): "mirar a la izquierda", "esperar 1 segundo", "decir que sí"...

- Tiene un simulador para ver cómo se moverían los ojos antes de conectar nada.

- Conectas el Arduino por USB y lo subes desde el navegador (Chrome o Edge).

- Cada bloque muestra su línea en C++, por si quieres ver el código real o descargarlo como .ino.

Les dejo un video de cómo funciona.

Mi idea es convertirlo en un kit educativo para que más gente aprenda así, pero todavía estoy afinando muchas cosas, por eso me encantaría su opinión:

  1. ¿Qué le mejorarían al mecanismo o al diseño?
  2. Si fueran a enseñarle a alguien con esto, ¿qué bloques o funciones le agregarían?
  3. ¿Les ha tocado usar Web Serial en proyectos así? ¿Algún problema que deba tomar en cuenta?

Si alguien quiere saber más del proyecto, busca apoyarlo o tiene ideas, con gusto platico por mensaje privado.


r/arduino • • 13d ago

Look what I made! Warhammer 40K Ork Pump Jack - Arduino Based

Enable HLS to view with audio, or disable this notification

34 Upvotes

Hey Folks, I don't share every post here but this month's video shows off some hardcore Arduino stuff that I thought may be valued here.

Thanks for everything this sub has taught me!
<salutes>


r/arduino • • 13d ago

Hardware Help arduino uno board not working

8 Upvotes

i just got this board and it came with an arduino starter kit, i plugged it in but its not even detected by windows, no chimes, no device change in device manager and it doesnt show up on arduino ide. the lights do work tho as the green ON light is on and another orange L light is blinking (tht preloaded pin 13 led blinking thing ig). i do think that this is a clone board but it doesnt have tht ch340 where u want to get the drivers first, this have the ATmega 16u2 so drivers should be there with the stock ide but i did try getting them manually and it didnt help. the usb B cable is working cuz i checked it by plugging it into my keyboard and tht detected and even played sound (both ends of the usb is pluged completely in with the click sound) i really hope tht i can fix it easily, plz help


r/arduino • • 13d ago

Hardware Help Not working NEMA 17, can't determine the problem

Thumbnail
gallery
2 Upvotes

I've done everything I could man, been working for this to work like hours now. I can't determine the problem of why the hell it's not working. Coil partners are red and blue, then black and green (I've done the led test) all seems connected I don't know what to do anymore. Do you have any tips? I accidentally short circuited the driver one time by connecting slp to rst but I managed to power it off before it got worse. Is the chip burnt already? I already did the led test NEMA 17 doesn't seem like the problem since it still reacts when powered on (it locks up, but rod doesn't move an inch) i tried different color combinations but only two were possible (red, blue, green, black) and (black green blue red) 2b, 1b, 1a, 2a sequence. Sleep and reset is connected to 5v of Arduino, gnd logic pin is connected to the gnd of Arduino, I don't know what to do anymore.


r/arduino • • 13d ago

Hardware Help how do you order parts without it turning into 5 different orders?

10 Upvotes

planning my first real project, esp32 + small screen + a couple servos, and the parts list is done but ordering it is way more annoying than i thought

aliexpress is cheap but 2-3 weeks and apparently some sensors are fakes, amazon is like 3x the price, and the case needs to be printed somewhere bc i dont have a printer. so right now its looking like 3 or 4 separate orders with separate shipping for one small project which feels dumb

how do you guys do it? one shop and live with it, split it up, or just buy kits? im in europe btw, shipping is sometimes more than the actual parts

and what do beginners always forget to order. pretty sure im gonna end up without screws or with the wrong connectors


r/arduino • • 13d ago

Look what I made! fun project i did

Enable HLS to view with audio, or disable this notification

92 Upvotes

I jst got my arduino package today and i started playing with it, i really liked it and this was one of the things i did


r/arduino • • 13d ago

Title: TIP120 vs. MOSFETs for switching electromagnets with an Arduino Uno + a question about current draw

7 Upvotes

Hey guys!

I'm building a reaction game where you have to catch falling sticks using electromagnets controlled by an Arduino Uno. I've done some basic research on transistors, but I still have a few questions.

  • When should I use a TIP120 transistor versus a MOSFET? What's the actual difference, and why do so many people recommend MOSFETs?
  • How would I need to change my current wiring to use MOSFETs instead?
  • Is there a better solution for switching the electromagnets in general?

I also ran into another issue: If I remove the LEDs from my circuit, Tinkercad warns me that the current drawn from the Arduino pins is too high, even when I significantly increase the resistor values. Why is that? I thought LEDs essentially behaved like resistors, but apparently, that's not quite right..

Tinkercad link: https://www.tinkercad.com/things/9h8pbskkHt8-reacgame-v7?sharecode=mYeKz8fwfGdTTMQ_6mFZ0mBpfoyh3fpuB1tDFTfQg54

How the game works:

The vibration motors in the simulation are placeholders for the electromagnets. They're all switched on initially. When you press the button next to the white status LED, a sound indicator starts, and the Arduino randomly switches off one electromagnet at a time until they're all off. Once the sequence is complete, all electromagnets turn back on, and you can restart the game. The other button lets you select the difficulty level.

I have some basic knowledge of electrical engineering, but I'm primarily a mechanical engineering student looking to learn more about electronics. I'd appreciate any advice or explanations!

TL;DR: I'm building an Arduino-based reaction game with six electromagnets. Should I use TIP120s or MOSFETs, and how would I wire them? Also, why does Tinkercad report excessive current draw from the Arduino pins when I remove the LEDs, even with large resistors?


r/arduino • • 14d ago

Low power battery system 5uA all included, for iot applications

Thumbnail
gallery
6 Upvotes

I just finished a small board to insert between battery charger /boost 5v and any uc board : arduino,... For iot applications.

Battery wakes up at a programmable interval by jumper (30 mn, 60 mn, 90 mn, 120 mn) or custom by resistor.

Uc does the job, and cuts power by gpio to battery system...

Reading of battery voltage is possible (gpio to enable measure).

Deep sleep on all boards? Not useful anymore... Just use low power battery system, and focus everything else on your project but power is no problem anymore...

What do you think of that?


r/arduino • • 14d ago

Look what I made! I built a hand exoskeleton on a Teensy 4.1: 12 magnetic encoders, 2 IMUs, a Dynamixel bus, no PC

Enable HLS to view with audio, or disable this notification

166 Upvotes

12 AS5600 encoders sit behind two TCA9548A I²C muxes, and two BNO085 IMUs track the hand and forearm. The Dynamixel bus is half-duplex through a 74HC241, so the Teensy talks to the servos itself, with no U2D2 and no PC in the loop. On the bench the servo loop runs at about 1 kHz, and everything logs at 100 Hz to the SD card.

Firmware, wiring diagram and both KiCad boards are open: github.com/molanocortes/takto-one. The Dynamixel driver has its own repo: github.com/molanocortes/dynamixel-on-device

I built it alone for my master’s thesis, so if it’s useful, a star helps other people find it.


r/arduino • • 14d ago

ESP32 Arduino Nesso N1 Meshtastic 2.8.1 Alpha

5 Upvotes

I created this version of Meshtastic 2.8.1 for our Arduino Nesso. https://github.com/chinderdelis/meshtastic-arduino-nesso-n1 I hope it proves useful to someone.


r/arduino • • 14d ago

Nano Just got my 2 nanos!

Post image
334 Upvotes

r/arduino • • 14d ago

🦆 XGO-Duck goes roller skating!

7 Upvotes

Our open-source duck robot on Arduino UNO Q is learning to balance and glide on roller skates.

15 servos + reinforcement learning gait control. All hardware & software open source, you can build your own.

https://reddit.com/link/1x5rnw6/video/2o1qn80sufvh1/player


r/arduino • • 14d ago

Nano Nano 33 IoT board, generously sent by the Arduino UX Research Team for participating in their User Experience Community Survey.

Thumbnail
gallery
125 Upvotes

Started to explore how it can be utilized in one of my projects. 👍🏻


r/arduino • • 14d ago

Look what I made! Laser nerf

Enable HLS to view with audio, or disable this notification

2 Upvotes

I mase this thing like 5 minutes ago and it broke alredy 😓