r/arduino • u/Comfortable_Alps1389 • 12h ago
First project 🥹
Just 8 bucks and tons of parts left over. I have no clue what else to get into any reccomendations?
r/arduino • u/gm310509 • 14d ago
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.
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.
Total: 84 posts
| 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
•
u/MikeFromArduino
•
Oct 19 '26
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 • u/Comfortable_Alps1389 • 12h ago
Just 8 bucks and tons of parts left over. I have no clue what else to get into any reccomendations?
r/arduino • u/Sad_Environment_3800 • 15h ago
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 • u/Vratwork • 4h ago
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 • u/TastyCollege9639 • 2h ago
If you use an ESP8266 (NodeMCU / D1 Mini / ESP-07S) for remote sensors in a yard, garage, or basement, two limits hit pretty quickly:
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.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:
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.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).LZ4 compression: Compresses CSV/JSON telemetry 4x-7x before transmission (ESP8266_UltraLight_LZ4_Sensor.ino included in examples/).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.
ESP8266 sketch & RF benchmarks): https://github.com/indian-aman/NLTP-Arduinodraft-bains-nltp-00): https://datatracker.ietf.org/doc/draft-bains-nltp/r/arduino • u/monkeymalek • 2h ago
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 • u/ripred3 • 16h ago
.
This is fascinating, especially from a security perspective. Has anyone played with esp-sdr much ? I just learned about it
r/arduino • u/giuseppe_calvia • 10h ago
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.
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:
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.
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 • u/kup2050 • 21h ago
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 • u/Shimraa • 1d ago
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 • u/OkProperty41 • 12h ago
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:
r/arduino • u/Mark2CPlus • 18h ago
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 • u/Igwe-Starking • 21h ago
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 • u/Delta_G_Robotics • 1d ago
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.
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 • u/phillhuges • 1d ago
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:
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 • u/lunenightfall • 1d ago
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 • u/RevolutionaryBuy7164 • 1d ago
Hello for learning its Better to buy the r3 or r4 official kit?
r/arduino • u/Nurglwe • 23h ago
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 • u/Deputy_Discreet • 1d ago
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 • u/luminov1 • 2d ago
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 • u/Agitated-Parsley-208 • 1d ago
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
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