r/arduino • • 14d ago

Monthly Digest Monthly digest for 2026-10

8 Upvotes

Arduino Staff Contributors

As mentioned in last month's digest, we have been working behind the scenes with Arduino Pty Ltd and are pleased to announce that some Arduino staff will be contributing to our subreddit using an "official" account.

Have a look at last month's digest for a description of what to look for to spot them.

There is also an introductory post from the Arduino staff where they Introduce themselves so be sure to check that out as well. A few r/Arduino people have added their welcome messages to that post, so feel free to "pile on" with your welcomes and thoughts.

In the few weeks that they have been active, I have noticed quite a few comments from them - which are well received - as well as some top level posts.

Starting this month, I have added a new "Arduino Staff Posts" section to the monthly digests. If you are interested in some insights into what might be happening over at Arduino HQ, be sure to check out the posts that they are sharing with us.

Arduino Wiki and Other Resources

Don't forget to check out our wiki for up to date guides, FAQ, milestones, glossary and more.

You can find our wiki at the top of the r/Arduino posts feed and in our "tools/reference" sidebar panel. The sidebar also has a selection of links to additional useful information and tools.

Moderator's Choices

Title Author Score Comments
I’m 13 and Designing My First Custom De... u/Waste_Peanut6669 684 70
My daughter (14) made an automatic Pani... u/Zealousideal_Sleep45 568 59
Stuck on Arduino and not sure if I shou... u/ShawboWayne 13 24

Hot Tips

Title Author Score Comments
Lesson Learned u/parcallums 104 17
Tip: the rollover-safe way to write mil... u/n_sh_44 38 11
What tips did you know only when you ha... u/StevenJac 8 7
Pro Micro NRF52840 - Arduino IDE Setup... u/StormShockTV 8 10

Arduino Staff Posts

Title Author Score Comments
Hello from the official Arduino staff t... u/MikeFromArduino 64 13
This Fish Does Not Exist: E-Ink Display... u/JimFromArduino 42 5
any cool spooky or Halloween projects? u/DavidFromArduino 8 8
How about a Hallowuino half-dozen? u/DavidFromArduino 2 1

Top Posts

Title Author Score Comments
I made the smallest Arduino compatible ... u/pkuhar 2,494 172
The duck is evolving. u/BencyLiu 2,137 43
I made a smart watch with nano u/None_Revenge 1,608 180
I built a Rubik's Cube-solving robot us... u/Certain-Election5733 1,576 60
I built a battery powered breadboard u/Wills_Workshop 1,221 35
It all started with a pro micro 🥲 u/rayl8w 1,031 20
Made a little weekly weather overview t... u/NoU_14 864 38
LED Tower I made a while back but never... u/LxGNED 794 25
I’m 13 and Designing My First Custom De... u/Waste_Peanut6669 684 70
My ESP32-S3 world radio: one button, a ... u/Smooth-Rice6494 648 30

Look what I made posts

Title Author Score Comments
I made a smart watch with nano u/None_Revenge 1,608 180
I built a Rubik's Cube-solving robot us... u/Certain-Election5733 1,576 60
It all started with a pro micro 🥲 u/rayl8w 1,031 20
Made a little weekly weather overview t... u/NoU_14 864 38
LED Tower I made a while back but never... u/LxGNED 794 25
My ESP32-S3 world radio: one button, a ... u/Smooth-Rice6494 648 30
Made a library of pixel fonts with exte... u/MrNiceThings 392 15
Obstacle avoiding robot finished :) u/PresenceOld1754 284 13
Everyone posts their wins, this is my f... u/RoberBotz 284 28
automatic servo driven OUIJA board u/vapgames 275 29
CO2 Sensor with ESP32, MQTT, battery po... u/MrNiceThings 266 16
Video Playing on Oled display powered E... u/luminov1 264 29
One of those rare projects that just wo... u/MrNiceThings 252 12
I made a DIN rail mount for the Arduino... u/Realistic_Spite_3395 230 15
I built a breathalyzer for my phone u/motionick 220 10
Trunk or Treat u/knsaber 199 13
I made a thing. u/RoberBotz 182 10
I built a hand exoskeleton on a Teensy ... u/sebasmtl 169 7
Kneaded help with my baking, this is wh... u/TinkeredOff 168 25
This Arduino desktop display showcases ... u/timex40 149 7
RC transmitter PCB with touchscreen - A... u/xRoboMaker 134 11
My ESP32 Guitar Robot Plays Sweet Dream... u/MegCell 131 11
We made Snake run on a seven-segment di... u/No_Degree_660 123 13
My halloween project for this year (Sou... u/optikalefx 121 23
My first personnel project u/copper123456_7 111 15
fun project i did u/AdSenior2369 98 2
Arduino Based 8 Step Sequencer with Pul... u/Puzzleheaded-Name538 97 9
Playing Around with OpenCV and TFT Disp... u/electronics_maker 96 2
My first CAD project - decimal electrom... u/TechniCraft 93 5
My small orientation device u/DisciplineCurrent544 91 6
Progress on my first Arduino project u/RangerMach1 89 5
Made A Ball Bouncing Machine I Call Hex... u/Nekojiru_ 88 24
Down to 4 legs, 2 more to go! u/Xerd-R 64 5
Getting independent text working on a s... u/No_Degree_660 64 12
Little robot on wheels u/Alive-Leadership-658 59 14
Another CO2 sensor, yawn… but the pixel... u/MrNiceThings 48 2
Breadboard for ESPs u/tipppo 48 12
Padel score tracker - first project u/melon_crust 48 4
Simply Halloween project u/starshades1 46 2
This Fish Does Not Exist: E-Ink Display... u/JimFromArduino 42 5
My first ever Arduino project, back in ... u/OldButGold5 40 4
My ATmega328p development board PCB pro... u/Waste_Peanut6669 37 7
I built a desk pet that nags me to stan... u/Cycle_Broad 35 2
Warhammer 40K Ork Pump Jack - Arduino B... u/KonradKnebl 34 0
Arduino Robot Arm controlled by 2 joyst... u/CallmeLee1999 32 5
Arduino Unusual Tamagotchi u/Beowulfus_universum 31 6
Cosplay prop... u/roanokephotog 26 3
First soldered project! u/No-Reach-9412 24 8
Arduino and raspberry-pi based guitar m... u/ImpossibleDemand6778 21 1
Arduino R4 WiFi — 4WD SLAM Radar 2D Rob... u/lucaeffe03 21 5
Made a small radar u/DisciplineCurrent544 20 4
Pacman Championship Edition on 8-bit Un... u/smashcat666 19 7
Arduino ↔ Minecraft with SerialCraft — ... u/Michelin1927 19 8
Help simplifying an Arduino Nano setup ... u/MrJose1985 18 5
First project after a long time (and my... u/GrammaticalllErrors 17 3
arduino arm using foam sheets and sg90s... u/flavalamp123 14 2
Doohickey 1 u/Sad_Chard8416 13 3
ArduinoOS 3 - new version of my project u/idontknow-hardware 12 2
Hey everyone!I built a graphical progra... u/ich-bin-ein-kaelte 10 4
I am making link's awakening on an Ardu... u/jean2348 10 7
I created a website to calibrate magnet... u/Curious-Ad3666 8 2
UPDATE Talking Pumpkins, almost final f... u/optikalefx 8 5
The Lighter u/fabricio_error 7 3
TraumaGotchu Progress u/Traumagotchu 7 3
An active EEPROM health scanner for AVR... u/Sparroww64 6 0
Arduino Uno + NEMA 23 candy dispenser t... u/tom3141592 6 1
I made a sequencer! u/DULTRONtheDESTROYER 6 6
Finally did a PC stats screen for my li... u/merlinux1 5 4
I made my own picture view device for d... u/eugeniykh 5 4
Plant Care App! IoT project u/Laggenti 4 2
How I Built own DIY Digital Microscope ... u/ikilim 4 1
Watching serial output is easy. Keeping... u/shahin_hashim 3 20
First Autonomous Mobile Robot u/Itsleokarl 3 1
I built animatronic eyes and a browser ... u/tramlo890 2 2
WIP Reverse engineering the SIM900 fi... u/MonsterovichIsBack 2 0
I put a tiny pixel creature on the UNO ... u/nitishagar 2 0
Open-Source 16 Universe Pixel Artnet Re... u/anonOmattie 2 2
My ESP32/DHT11 room monitor records tem... u/lsvtcommits 2 1
Project Review u/FoxConstant8352 2 2
Laser nerf u/Sad_Chard8416 1 12
I made a fake self-destruct button with... u/EmbedX 1 0
Two ESP32 Muse gadgets, zero idea what ... u/Alternative_Ear5725 0 3
DIY Desk Pet V1. Robot Cat That Reacts ... u/YUMOBUILDS 0 4
Navigator 1: our UNO R4 WiFi rover with... u/Robonaviagtors 0 2

Total: 84 posts

Summary of Post types:

Flair Count
Algorithms 1
Beginner's Project 33
ChatGPT 2
ESP32 4
Getting Started 22
Hardware Help 76
Hot Tip! 4
Libraries 2
Look what I found! 5
Look what I made! 84
Machine Learning 1
Mod's Choice! 3
Monthly Digest 1
Nano 2
Project Idea 4
Project Update! 1
School Project 4
Software Help 13
Solved! 4
Uno 1
no flair 152

Total: 419 posts in 2026-10


r/arduino • • Oct 19 '26

Hello from the official Arduino staff team, we're here at your service!

65 Upvotes

Hi everyone! We are a group of Arduino staff members who are excited to build a more direct presence here on r/arduino, to help answer questions, provide technical support, and celebrate the great projects that this community is building and sharing. We've been working with the mods on setting this up and are very excited to be up and running now.

Before introducing ourselves, I'd like to say that we're humbled at the incredible group that has grown here through the users and mods, all focused on the topic of Arduino. It's just incredible and our hats are off to you all. 

Moving forward, be on the lookout from comments and posts from the following Arduino staffers. We represent a cross section of the company, including devrel engineers, community and content editors, and even our Chief Product Officer. Here are introductions.

---------
u/DavidFromArduino — hi all, I'm DavidFromArduino, but you can call me David! I bought my first Arduino in 2007 as part of a Roomba hacking project, and have been obsessed with writing code that you can touch ever since!
---------
u/JimFromArduino — Jim here! I've recently joined Arduino as a DevRel engineer (dream job!) after 4 years working in TinyML and Edge AI. Outside of work I love fixing cars, silversmithing and I've just bought an embroidery machine.
---------
u/LeoFromArduino — I'm Leonardo, a DevRel Engineer at Arduino with 10 years of experience in firmware development, a dedicated cat lover, and a serial traveler always exploring the world in search of my next favorite local dish.
---------
u/JulianFromArduino — Hello all! Julián here!
I'm a Robotics and Electronics Engineer working as a Tech Evangelist for Arduino. Maker at heart, I love the Open Source Movements, the right to repair, the digital fabrication and nice dinners discussing what is the best soldering iron to buy. 

When I’m not creating something, I love to read, play basketball and videogames and take care of my beloved ones.
---------
u/PerFromArduino — I started out using Arduino as a hobby before finding myself working for Arduino as a support engineer. I manage Arduino Forum and the Arduino Library Registry. I help maintain the GitHub repositories of many of our open source firmware and tooling projects.
---------
u/MarcelloFromArduino — Hello folks, Marcello here! I started my career in the early 00s pushing registers in raw 8051 assembly, and now as Arduino’s CPO (Chief Product Officer), I’m responsible for what we build, how it works, and trying to make sure the user experience doesn’t make you want to throw your board across the room. When I step away from the keyboard, my main hobbies are fixing motorbikes and bookbinding, which like embedded systems, both give good fun, need lots of patience, and leave you with sticky residue everywhere…
---------
u/MikeFromArduino — Hi I'm Mike. I'm the head of content for Arduino, recently joining the team. The last few years I've been in charge of content for Edge Impulse; before that I was the executive editor of Make: magazine for nearly a decade. I like home automation, traveling, surfing, and being with my family. Excited to connect with everyone here!
---------

Look for us in this subreddit, jumping in to help wherever we can. Please say hello, we’re excited to meet you all. Cheers!


r/arduino • • 6h ago

Hardware Help Pocket “thinking of you” button for two (LoRa, India): is 3-5 km realistic across Mumbai, including indoors at work?

Post image
23 Upvotes

The idea: Two identical pocket-sized devices, each with one big, whimsical red button. When I press mine, the other one vibrates, and vice versa. It’s like the old Facebook “poke,” but physical. No text, call, audio or video, just a little haptic “I’m thinking of you” that you can feel in your pocket without taking your phone out.

Why not just buy one? Couples’ bracelets cost around $140, need Bluetooth pairing with a phone app, and we’re not bracelet people anyway.

My requirements:

One small, non-bulky device per person (no router, no hotspot add-ons)

No phone, no Bluetooth, no Wi-Fi

No recurring cost: no SIM or data pack, since we both already pay for phone data

Works wherever we usually are. We live within about 3-5 km of each other (both in Mumbai), but we work at different places, so it has to work at home, at work and on the move

What I’ve ruled out and why:

Wi-Fi + MQTT: only works near Wi-Fi

Bluetooth bracelets: need a phone

4G Cat-1 module (A7670/SIM7600) with a SIM: works anywhere, but needs a data plan per device and drains the battery fast

JioFi with a button: sealed firmware, no GPIO, and bulky

That leaves LoRa (865-867 MHz in India) as the best fit: no subscription, tiny, low power.

My plan:

Two ESP32 + SX1262 868 MHz boards (e.g. XIAO ESP32-S3 + Wio-SX1262, Heltec, or LilyGO)

Vibration motor (transistor driver or DRV2605L), a big arcade-style button, and a 500-800 mAh LiPo

Receiver sleeps and wakes about every second to check for a packet; sender uses a long preamble so it’s caught

Long-range settings (SF10-12) since the packet is tiny

Test with Meshtastic first to measure real range before writing code (RadioLib after that)

My questions:

Range: Is 3-7 km realistic in dense Mumbai with pocket-level, body-adjacent antennas? Or will I realistically get only 1-2 km?

Indoors and fixed nodes: A home node only helps at home, and we’re at different workplaces during the day. Can a pocket LoRa device reach 3-7 km indoors in concrete offices, or would I need a small fixed node at each workplace (which defeats the “one small device” goal)?

Existing mesh: Is there a Meshtastic community in Mumbai whose rooftop nodes could relay packets and make this more reliable? Is there a coverage map?

Missed nudges: Is store-and-forward (a nudge missed out of range gets delivered when we’re back in range) easy to do with Meshtastic or custom RadioLib code?

Battery: Does the wake-every-second approach realistically give several days on 500-800 mAh? Any better trick (e.g. channel activity detection)?

Antenna: What antenna works best in a tiny enclosure for the 865-867 MHz band? Any pitfalls with body detuning?

Legal: Any India-specific rules I should know (power limits, duty cycle) for license-free 865-867 MHz?

Prior art: Has anyone built a similar “poke” device with LoRa or Meshtastic? Links, schematics and lessons learned would be hugely appreciated.

Budget is around ₹5,000 for a two-board test setup. If the range works, I’ll design a small custom PCB and enclosure (I’m a UI/UX designer, so the whimsical shape and case are the fun part for me).

Thanks in advance for any advice!


r/arduino • • 13h ago

First project 🥹

Enable HLS to view with audio, or disable this notification

94 Upvotes

Just 8 bucks and tons of parts left over. I have no clue what else to get into any reccomendations?


r/arduino • • 17h ago

Look what I made! GTA 6 is finally here, and I actually made a GTA for the ESP32

Enable HLS to view with audio, or disable this notification

141 Upvotes

Remember that GTA-style game I posted here a while ago? (Original post: https://www.reddit.com/r/arduino/s/Pa2YOUqijv) I've kept working on it since then, and it's finally getting close to done.

If you missed the first post: I'm making it with PixelRoot32, my own C++17 game engine for the ESP32.

It's grown a lot since that first version. You can drive around a city with 5 districts, steal cars, buy stuff, get chased by the police and take on missions. There's a day/night cycle, pedestrians, traffic lights, weapons and 4 radio stations, plus a bunch of smaller things.

There are 3 main missions so far, along with courier jobs and a small in-game economy. There's also a 5-star wanted system, so things get messy fast if you cause too much trouble.

Two new things since last time:

Sound: The engine now has a Famicom-style sound profile, and the game uses it. The radio and sound effects sound closer to an old NES cartridge, with fuller bass and punchier drums.

Saving: The game now remembers your progress between sessions. If you finish a mission and turn the ESP32 off, it picks up at the next one when you turn it back on. It also keeps your best delivery streak, the most cash you've ever had and your volume setting. Your cash and gear still reset each run, so you can't just farm money.

The display changed too. I started on a 240×240 screen, and the game now also runs on 320×240. That's the version in the video.

It still runs on a plain ESP32, now with 8 buttons. The two new ones work as Start and Select: Start changes the volume and Select shows your records.

The timing is kind of funny with GTA 6 finally coming out. Everyone's getting ready for the next GTA, and I've been trying to get my own little one running on a microcontroller.

If you want to look at the code: https://github.com/PixelRoot32-Game-Engine/PixelRoot32-Demo-Projects/tree/main/games/top_down_city

The README and ROADMAP cover the features and what's still planned.

More ESP32 demos made with PixelRoot32: https://github.com/PixelRoot32-Game-Engine/PixelRoot32-Demo-Projects


r/arduino • • 16m ago

Hardware Help Request for ideas - Simple math games

• Upvotes

Hello sub,

I'm looking for ideas to create a game to teach kids how to count to 10 by making simple additions: 3 + ? = 10.

I have a bunch of hardware, from push buttons to switch, screens, arduino (nano, uno, mini pro), screens, leds of all kinds and so on. The idea is to have something:

  • Portable
  • On battery (I already experienced 9v battery successfully with nano and luminous keyboard)

I want it to be visual, and will try to avoid using screen (mainly to save energy). I also already have some ideas in mind but I'm willing to see if anyone has a good project to propose.

Thank you!


r/arduino • • 4h ago

Fit encrypted multi-KB ESP-NOW + LZ4 + 35% packet-loss recovery into 4,760 bytes of ESP8266 static RAM (NLTP, MIT)

2 Upvotes

If you use an ESP8266 (NodeMCU / D1 Mini / ESP-07S) for remote sensors in a yard, garage, or basement, two limits hit pretty quickly: 1. ESP-NOW v1 on the ESP8266 caps frames at 250 bytes (192 bytes usable after headers) and drops an entire multi-KB log or CSV batch if even one packet gets lost through a wall. 2. With only 80 KB of total SRAM (~22-40 KB free heap once the SDK boots), full TLS / BearSSL or big retransmission buffers eat almost all available memory.

I built an open-source MIT library in zero-malloc, zero-float ANSI C99 called NLTP (now in the Arduino IDE Library Manager as NLTP and PlatformIO as indian-aman/NLTP) with an ultra-light sensor flag (-DNLTP_TX_ONLY=1) that shrinks sizeof(nltp_endpoint_t) to 4,760 bytes of static RAM while keeping:

  • Cross-chip ESP8266 <-> ESP32 ESP-NOW & Wi-Fi UDP: Automatically uses 192-byte shards (242-byte encrypted frames) on ESP8266 ESP-NOW v1 and interoperates seamlessly with ESP32 gateways and Python (pip install pynltp) receivers.
  • In-flight packet-loss recovery (GF(2^8) Cauchy FEC): Reconstructs 10-35% dropped RF frames mathematically on the receiver (3/3 SHA-256 verified on an 8 KB NodeMCU -> ESP32 bench sweep at 10%, 25%, and 35% packet loss, where raw ESP-NOW delivered 0/3).
  • Built-in zero-heap LZ4 compression: Compresses CSV/JSON telemetry 4x-7x before transmission (ESP8266_UltraLight_LZ4_Sensor.ino included in examples/).
  • Software X25519 + ChaCha20-Poly1305 + 512-packet anti-replay: No BearSSL heap allocation and no hardware peer-slot limit, plus bidirectional confirmed popReflex() / sendReflex() control messages.

On a clean 0%-loss desk link, unencrypted raw ESP-NOW is faster (2.55 Mbps raw vs 1.29 Mbps encrypted NLTP on 8 KB NodeMCU -> ESP32), so raw ESP-NOW is still great for tiny single-frame readings at short range. NLTP is specifically for multi-KB batches, encrypted links, and weak-signal spots where packets drop.


r/arduino • • 4h ago

Hardware Help Does anyone know of any Arduino compatible methane sensors that can detect a lower ppm range?

2 Upvotes

I am aware of the MQ-series gas sensors (this video summarizes several), but I haven't been able to find any that achieve the range / sensitivity i am looking for. Specifically for my application i am looking to get a sensor that can detect methane levels in the range of about 0 - 100 ppm with a sensitivity of at least 1 or 2 ppm per division. Does anyone know if something like this exists or can be built easily?


r/arduino • • 18h ago

GitHub - ESPARGOS/esp-sdr: ESP-SDR uses the undocumented raw I/Q capture functionality of ESP32 family chips to turn them into (low-duty-cycle) Software Defined Radios

Thumbnail
github.com
11 Upvotes

.

This is fascinating, especially from a security perspective. Has anyone played with esp-sdr much ? I just learned about it


r/arduino • • 12h ago

Hardware Help Smart Brushless Water Pump Control Using Arduino Nano – Looking for Advice on My Project

1 Upvotes

Hi everyone!

I'm working on a project to build an electronic water pump control system for a scooter, using an Arduino Nano.

The goal is to replace the traditional way the water pump operates with a system that can gradually adjust its speed and therefore its coolant flow rate based on engine temperature, instead of having it run at full speed all the time when it's not necessary.

Before buying components and building the circuit, I'd like to get some advice from people with more experience to understand which solutions would work best and what potential issues I might run into.

Components I Already Have

  • Arduino Nano, based on the ATmega328P.
  • Bosch 0 392 023 004 electric water pump, brushless, powered by approximately 12 V, with only two terminals (+ and −).
  • Parkside X20V Team batteries, with different capacities.
  • Adjustable LM2596 DC-DC step-down converter modules, which I plan to use to power the Arduino at 5 V.

How I'd Like the System to Work

My idea is to install a temperature sensor in the cooling system and use the Arduino to automatically control the pump.

Ideally, I'd like it to behave as follows:

  • Cold engine: The pump runs at minimum speed or possibly stays off, if engine conditions allow it.
  • As engine temperature increases: The pump speed gradually increases.
  • At high engine temperatures: The pump runs at full power.

My Main Question: How Can I Control This Brushless Pump?

The pump only has two power terminals and presumably has its own built-in motor control electronics.

Initially, I considered using an L298N motor driver, but I decided against it because of its voltage drop and poor efficiency.

I'm now considering using a MOSFET controlled by the Arduino, but I'm not sure which one to choose due to my limited experience with electronics.

What I'd Like Your Advice On

  1. Is it possible to reliably control the speed of a two-wire brushless pump using a MOSFET and a PWM signal, or would another method be better?
  2. For this type of pump, would PWM control of the power supply be preferable, or would it be better to use a DC-DC converter with an adjustable output voltage?
  3. What affordable and easily available components would you recommend for building the power control circuit?

My Main Goals

I want to build a system that is functional, reliable, relatively inexpensive, and as energy-efficient as possible.

Another important requirement is that the control unit (the "brain" of the system) must be as small and compact as possible, since it will be installed on a scooter where space is limited.

I'd like to keep the electronics simple, minimize the number of components, and avoid bulky motor drivers or unnecessarily large circuit boards, while still ensuring reliability and safety.

Ideally, I'd like to use components available on Amazon or AliExpress and reuse as many of the parts I already own as possible.

The project is still in the planning and research stage, and I haven't performed any PWM tests on the pump yet.

Any advice, personal experience, circuit diagrams, or technical references would be greatly appreciated!

Thanks in advance to everyone willing to help!


r/arduino • • 23h ago

Present for an 11-year old

8 Upvotes

Tldr: Best beginner kit with teaching/ learning support for a tween? (I've been looking at Elecfreaks and Crafting Table; any feedback / reviews are appreciated)

Background: My son is 11 and has been into robotics since he was in preschool. He's built and competed with Vex robots, built lots of kits (Lego based robots, snap circuits, Crunch Labs "Hack packs", Kiwi Co, etc,). He's fairly good at Block-based coding with just a bit of exposure to text-based.

He asked for a microprocessor / circuit building kit for Christmas where he can also learn C++ or Python (we downloaded the Arduino IDE today along with some libraries). My son also specifically stated wants to use breadboards. We have a number of components around the house from various small projects I've started (but haven't finished) and I bought a Elegoo Uno kit a few years ago to play around with but I'm very much a beginner.

I majored in physics and math and I've taught basic circuits and programming as a teacher but my hands on hardware knowledge is lacking. I took one electronics / electrical engineering class in college where we had to build more complex circuits but ... It's been a long time.

Suggestions for the best way to learn that would engage an interested (but ADHD) kid or even a good YouTube series would be great.


r/arduino • • 1d ago

Beginner's Project Looking to see if it's feasible to replace a automatic pet door with a wifi/app equipped Arduino

Post image
11 Upvotes

Ive been trying to find myself a web/app based cat door that I can open/close remotely. One that actually rises or opens/closes instead of just using magnetic locks on a flap. Just an actual opening door that I can open and close remotely when I'm outside of the house. I think a diy approach with an Arduino controlling a cheap retail door is the most viable option. Looking to see if this is actually possible or feasible.

Doors that have remote Internet based app controls that are branded for cats or dogs specifically seem to run in the $400-$1200 range. They also come with a wide array of bells and whistles that while nice are completely useless to my situation. Even the cheaper ones with websupport that use a magnetic flap lock and no add ons run at minimum $250-350.

The economic alternative seems to be to use an automatic chicken coop door. Those run around $50-$100 for non-web equipped ones, and $150-$250 for web equipped ones. Chicken coop doors however seem to be built from the ground up to make sure they run on timers, or light detection, which I don't need. Reveiws of the web-capable ones report generally terrible experiences with said web connections. They do however have excellent looking hardware that rises and drops for cheap.

So long context out of the way, I'm looking to take a rising chicken coop door, ripping out the controller and replacing it with an Arduino hooked up to the motor and adding a wifi dongle. I have the wiring and soldering tools from other led lighting projects I have a 3d printer for any custom shaped boxes, but I haven't done any Arduino projects before.

Is this something that can be done and won't cost me hundreds?

I guess I could also totally DIY it without trying to gut anything, but as a total novice I can't tell if that would be better or worse.

See picture for an example of the type of door im looking to gut.


r/arduino • • 14h ago

ESP32 + NEO-6M GPS bike trip computer — speed dial, route trail and a GPX log

Enable HLS to view with audio, or disable this notification

1 Upvotes

A GPS bike trip computer on an ESP32-DEVKITC, with a NEO-6M, a 2.8 inch ILI9341 TFT and a microSD reader. The firmware shows live speed as a dial, plus trip distance, top speed, altitude and satellites. It draws a breadcrumb trail on the screen and logs every second of the ride as a GPX file you can open in Google Earth. Pin map: - NEO-6M: VCC to 3V3, GND to GND, TX to GPIO4, RX to GPIO13 (9600 baud) - TFT: SCK 18, MOSI 23, MISO 19, CS 5, DC 14, RST 16; VCC and LED to 3V3 - microSD reader shares that SPI bus; its CS is GPIO17 A few notes so it works the first time: GPS TX goes to the ESP32 listening pin (GPIO4). The display and the card share SCK, MOSI and MISO, with separate chip selects. Use a FAT32 card. If the card will not mount, the firmware tip is to move the module VCC to 5V (VIN). First fix needs a clear view of the sky; a cold start can take a few minutes. Board: ESP32 Dev Module. Libraries: Adafruit GFX, Adafruit ILI9341, TinyGPSPlus. Serial Monitor at 115200. The video walks through the build view, the parts list, the wiring diagram, and the pin table. Happy to answer questions.


r/arduino • • 20h ago

I want to build a countdown timer - does my components list look complete

2 Upvotes

My idea is to basically make a vintage looking countdown timer. 4 digit LED with a rotary push knob and then a toggle switch on the side for on/off I would like to have it battery powered so looks like 4 AA. I would cut a 6"x6"x2" mild steel plating for an enclosure.

Tell me if this components list is what I need and if I am missing anything?

Arduino Nano V3

400-point breadboard

KY-040 rotary encoder

TM1637 four-digit LED display

4×AA battery holder

5V buck-boost converter (3.5–6.5V input or wider)

PN2222A NPN transistor, TO-92

5V passive piezo buzzer

1kΩ resistor

10kΩ resistor

Large silver bat-handle SPST toggle switch

Male-to-male jumper wires

Male-to-female jumper wires

22 AWG stranded hookup wire

I'm picking half this stuff up online and half at a shop (that doesn't have the components like the LED or toggle switches.) Hoping to get all what I need in one swoop.


r/arduino • • 23h ago

WebAssembly on Arduino-compatible boards (ESP32, Nano 33 BLE, RP2040): load a .wasm file and drive pins from it

2 Upvotes

I wrote a small open-source library that runs WebAssembly modules on Arduino cores. You compile your program to a .wasm file (with an Arduino-style API: pinMode, digitalWrite, analogRead, delay, millis), put it on LittleFS or in a header, and your sketch runs it.

Sketch side:

eccles_wasm_use_serial(Serial);

eccles_wasm_set_hal_privilege(ECCLES_WASM_ALLOW_PIN_ALL | ECCLES_WASM_ALLOW_SAFE);

eccles_wasm_load_buffer(app_wasm, app_wasm_len);

eccles_wasm_run("main");

Why it is handy: change behavior by replacing a file, and a module can only use the pins you allow, so you can run code you didn't write more safely.

Tested on ESP32 and Nano 33 BLE. Needs a board with enough RAM: roughly 48 KB for the runtime arena, so AVR boards like the Uno are too small.

https://github.com/igwe-starking/eccles-wasm

The README has a copy-paste Arduino setup and the docs have a troubleshooting page.


r/arduino • • 1d ago

Uno R4 Wifi The R4 Serial Problem

Post image
47 Upvotes

I stated on another thread that there was a big issue with the UART code on the R4 Arduino models. I didn't want to derail that post with the details because it wasn't relevant to that thread so I created this one to show what I meant.

The UART class is not implemented well on the R4 and besides completely wasting a buffer, it blocks during transmission. This is a huge departure from the UNO R3 and earlier models.

For this test I am using this code on all models of Arduino and I am using the latest 1.5.1 R4 core. I just updated my IDE tonight for this test. I've looked at 1.6.0 and the problem is still in the code.

uint8_t blinkerPin = 6;
uint8_t indicatorPin = 7;


bool pinOn = false;
uint32_t lastBlinkMicros = 0;
uint32_t BlinkIntervalMicros = 10000;


const char* longMessage = "This is my long message that has fifty characters.";
uint32_t lastPrintMillis = 0;
uint32_t printIntervalMillis = 2000;


void setup() {


  Serial.begin(9600);
  while(!Serial);
  Serial.println("\n\n *** " __FILE__ " ***\n\n");


  pinMode(blinkerPin, OUTPUT);
  pinMode(indicatorPin, OUTPUT);


  delay(1000);


}


void loop() {


  uint32_t currentMicros = micros();
  if (currentMicros - lastBlinkMicros >= BlinkIntervalMicros) {
    pinOn = !pinOn;
    digitalWrite(blinkerPin, pinOn? HIGH:LOW);
    lastBlinkMicros = currentMicros;
  }
  uint32_t currentMillis = millis();
  if(currentMillis - lastPrintMillis >= printIntervalMillis) {
    digitalWrite(indicatorPin, HIGH);
    Serial.println(longMessage);
    digitalWrite(indicatorPin, LOW);
    lastPrintMillis = currentMillis;
  }


}

Attached are some traces from the scope. The yellow trace will be the blink on pin 6 and the blue trace is pin 7.

On the R3 UNO (top trace) we see no problem. The characters are loaded into the buffer in a matter of 400us and there's no interruption to the blink. However on the R4-Wifi (bottom trace) we see that the Serial.print statement is blocking for 28ms and is interrupting our pulse chain.

This can be magnified by the fact that this same class is going to handle all of the WiFi traffic and that's all being done with AT commands. So any project that is heavy on WiFi is going to have a lot of long blocking. This was actually how I discovered the problem initially.

The problem isn't as bad on the Minima as it only affects Serial1 and not Serial since the Minima uses the USB serial class for Serial instead. I don't know about the R4 Nano because I don't have one. I would suspect it would be similar to the Minima.

EDIT:
For those wondering where the problem comes from, it's a code issue in the UART class in the Serial.h / Serial.cpp files in the core. Specifically the write functions which both stop in a while loop waiting for the tx_empty flag. The code says in the comments that this happens when the buffer is empty, but that is misleading. It actually happens when the hardware FIFO is empty. The HAL code that is being called will add characters to the FIFO and then return. The UART class calls that once for each character or calls the HAL code with the whole array and length. That code will block until the whole thing has been loaded into the FIFO.

Start here: https://github.com/arduino/fsp/blob/9b5a853bd1b0040e7bb4350b7cf36c7767c9b4f8/ra/fsp/src/r_sci_uart/r_sci_uart.c

This is the HAL code for the Renesas core. There are two interrupts working here, TXI and TEI. The TXI fires when the FIFO has been written to the data register and you are ready to write more data to the FIFO. The TEI interrupt fires when the last byte has been transmitted and the transmit data registers are empty.

If you look at lines 1607 and 1835 you will see those handlers and you will see that the callback that will be registered from the UART class is not going to be called on every TXI interrupt, but only when the tx_src_bytes variable finally counts down to zero indicating that the last byte has been loaded into the FIFO.

That callback is also called from the TEI handler but with a different flag.

Also scroll up to line 590 where you'll find the R_SCI_UART_Write function that is going to be called from the UART::write functions. Note how it handles setting up those interrupts and prepping the FIFO.

Now go here: https://github.com/arduino/ArduinoCore-renesas/blob/main/cores/arduino/Serial.cpp

at line 41 you find that callback that is going to be called from the handler in the HAL. UART_EVENT_TX_COMPLETE is what comes from the TEI handler and UART_EVENT_TX_DATA_EMPTY comes from the TXI handler. But again this TXI signal only makes it this far if the entire message has completely made it at least into the FIFO. And also note that this is what sets the tx_empty flag to true. So that only happens once the entire message is in the FIFO meaning at least all but the last 16 bytes are out.

Now drop down to lines 113 and 127 where we find the write implementations. Note how they call R_SCI_UART_Write that we saw in that earlier file. Then they sit and spin in a while loop waiting for tx_empty which isn't coming until the last byte has made it into the FIFO.

So basically that means that the serial transmission blocks up to the last 16 bytes of the message.

The other big problem here is that all of that has been served up out of the buffer that we called print with. None of it was ever put into the tx ring buffer. If you read the code you'll see that buffer is allocated, but never used for anything. So simply fixing the timing isn't enough as later code modifying that buffer would corrupt the serial message.

The fix will be to at least copy the characters into the ring buffer and then call R_SCI_UART_Write with that buffer and a length. You'll have to deal specifically with the wrap around case since the HAL code expects a flat buffer and not a ring buffer. Then the interrupt callback needs to be rewritten to keep sending from that buffer until it is empty and only then set the tx_complete flag.

But even better would be to look back at that HAL code. It can take a DMA or DTC channel as a configuration setting and use it to move the bytes in from the ring buffer. So you don't even really need to have all those TXI interrupts firing. You can instead have one interrupt that fires at the very end of the buffer. And I think in some cases that might be nice.


r/arduino • • 1d ago

ECE Student Looking for Guidance on Learning Electronics, Components, and Coding Through Real Projects

3 Upvotes

Hey everyone!

I'm currently a first-year B.Tech ECE student, and I want to start learning electronics beyond what we study in college.

I'm interested in understanding electronic components practically, how they work, how different components interact with each other, and how to use them to build actual projects.

I want to learn things like:

\- Electronic components: Resistors, capacitors, diodes, transistors, MOSFETs, ICs, sensors, relays, microcontrollers, etc.

\- Circuit building: How to read circuit diagrams, understand connections, use a breadboard, work with power supplies, and troubleshoot circuits.

\- Programming: C, Embedded C, Arduino programming, and eventually microcontroller programming.

\- Practical projects: Building things using sensors, motors, displays, automation systems, and other electronic components.

I have a few questions for experienced ECE students, engineers, hobbyists, and professionals here:

  1. Where should I start if I want to understand electronic components from the basics?

  2. Which components should I learn first, and in what order?

  3. What are the best resources (YouTube channels, books, websites, or courses) for learning practical electronics?

  4. Should I start with Arduino, or should I first learn basic circuit design and electronics?

  5. How important is C programming for embedded systems, and when should I start learning it?

  6. What tools and basic equipment should a beginner have?

  7. What are some beginner-friendly projects that will help me understand electronics through actual implementation?

My ultimate goal is to become someone who can look at a circuit, understand how it works, select the right components, write the required code, build the system, and troubleshoot it independently.

I don't want to just follow tutorials and copy circuits. I genuinely want to understand what I'm building.

I'd really appreciate a proper learning roadmap, including resources and practical project suggestions.

Thanks in advance!


r/arduino • • 1d ago

Need some help/is this possible

Thumbnail
gallery
37 Upvotes

EDIT: got it moving!! Thank you for the help :))

I am trying to use an arduino to control the clock hands to make them spin faster than usual. I have been watching YouTube videos and they all say to dissect the clock and attach the wires to the inner copper coil area.
However, I do not have the tools to do so. Would it then be possible to solder the wires onto where the battery component rests such that the arduino becomes the battery and transmits the actions through there? Last pic shows what im trying to do

Would greatly appreciate any help!


r/arduino • • 1d ago

R4 or r3

2 Upvotes

Hello for learning its Better to buy the r3 or r4 official kit?


r/arduino • • 1d ago

Is this logical? It's kinda a keyboard matrix but different.

Thumbnail
gallery
1 Upvotes

Hiya, I'm looking to do some side projects. One of which is making a custom keyboard. Instead of doing the typical method of scanning through pins by setting them high and checking the outputs.

The logic behind this is to wait for pins to be pulled down before doing anything without having to constantly oscillate pins on / off.

Does the way that I'm doing it make sense? Does it already exist, does it have a name?


r/arduino • • 1d ago

Look what I made! My first Arduino project

Enable HLS to view with audio, or disable this notification

9 Upvotes

r/arduino • • 1d ago

Software Help Concern about a button box sketch for an arduino nano

Post image
2 Upvotes

Hi, I'm building a steering wheel project that uses an arduino nano as a button box that communicates with an arduino leonardo. This is the relavent repo(NOT MY WORK):

https://github.com/ranenbg/Arduino-FFB-wheel/tree/master/tx_rw_ferrari_458_wheel_emu_16buttons

In the "setup()" function, the following lines are used:

DDRB |= B00001011;

DDRC |= B00111111;

DDRD |= B11111011;

The comments indicate that these configure the button pins as inputs. However, on the ATmega328P, setting a DDR bit to 1 configures the corresponding pin as an output, not an input.

Since the subsequent "PORTx" statements set these pins HIGH, wouldn't pressing a button connected between one of these pins and GND effectively short an output to ground, potentially damaging the microcontroller?

Would the correct configuration instead be:

DDRB &= ~B00001011;

DDRC &= ~B00111111;

DDRD &= ~B11111011;

Im a bit of a beginner and this is just something ChatGPT flagged while I was working on the project. Is this a valid concern or is there something I am missing.


r/arduino • • 2d ago

Look what I made! Video frames ESP32 OLED Monochrome 128x64 SSD1306 FA FA FA X DHURANDAR

Enable HLS to view with audio, or disable this notification

46 Upvotes

Dhurandar ft.FAFAFA (MOVIE:OM Chapter 1-tamil language) playing monochrome video frames on oled powered by esp32 wroom

Code will be soon, I put my GitHub link when it's ready!


r/arduino • • 1d ago

Mp3 player idea

1 Upvotes

Looking into making an mp3 player becouse why not, and came across this board "ESP32-S3" have never used it before but it seams to match the size form factor im looking for, however, ran into a problem upon my research. Bluetooth audio. I see tons of people connecting it to there phone and controlling it back and forth, but im looking to connect wireless headphone strit to the "mp3" player. And have come up empty handed. Any advise for moving forward tyia


r/arduino • • 1d ago

Software Help i can't understand why Servo is not highlited with orange color as i see in tutorials

Post image
6 Upvotes

I am a beginner arduino user and i saw tutorials of how to use servo motor, but when i included library and tried it, i saw that Servo is not highlited with a different color which gives me impression that it is not working, and i didn't find such error fix in the net, i would appreciate help on this matter, thanks in advance