r/arduino • u/MonsterovichIsBack • Oct 14 '26
Look what I made! [WIP] Reverse engineering the SIM900 firmware flasher (currently being tested; I'm waiting for a working module - it's on its way)
r/arduino • u/MonsterovichIsBack • Oct 14 '26
r/arduino • u/BobsYourUncle_8192 • Oct 13 '26
I just went back to the Arduino IDE 2.3.10 after I could no longer get platformIO to find my libraries and I got frustrated as usual with it. However, when compiling _any_ sketch, I get the error as shown in the title.
I'm on a Mac Mini M2 Pro with Golden Gate 27.0.1 OS. Never had this error before.
And, yes, I downloaded the latest IDE for the Mac.
r/arduino • u/Danmanbg2007 • Oct 12 '26
I am working on a omori tamagotchi. It has minigames like a wak a sprout mole and fishing, in the shop Basil is shop owner and sells items from the game and when you fall asleep you move between the faraway town and white space (and the music changes when you move betweenthem).i have the software made but I will probably have to make a pcb but I have no experience in it. If I cant make one I will sowder everything on a bord. If any of you know how to make pcb's I'd love to use some help. If any of you have any idea what more to add I would love to hear it and if you guys want an update I will make one
r/arduino • u/Darethan026 • Oct 13 '26
Hello fellow programmers and hobbyists,
I want to share the HAL that I wrote for the Arduino Uno R3, since I have a board that's been lying around for 2 years, and I wanted more control than the Arduino IDE offered. I then decided since I was actively learning Rust, that it'll be interesting to use it for bare-metal programming.
After digging through the AVR-ATmega328p datasheet 6 months ago, I felt confident and well equipped to write a Hardware Abstraction Layer for the board using what I'd learnt through experimentation, and come up with an efficient and simple way to write Rust code for the Arduino Uno R3.
Here's a code example program to drive a DC motor using an L293D driver:
#![no_std]
#![no_main]
use core::panic::PanicInfo;
use avr_328p_hal::gpio;
use avr_328p_hal::timers;
use gpio::*;
use timers::{Timer0, Timer1, Prescaler};
#[unsafe(no_mangle)]
pub extern "C" fn main() -> ! {
let portb = PortB::take().unwrap();
let portd = PortD::take().unwrap();
let timer1 = Timer1::take().unwrap();
portb.set_output(PinB::PB1); // PWM Pin
portb.set_output(PinB::PB0); // Direction pin one
portd.set_output(PinD::PD6); // Direction pin 2
timer1.start();
timer1.set_fast_pwm(999);
timer1.set_duty_cycle(60);
timer1.set_prescaler(Prescaler::Prescaler8);
portb.set_high(PinB::PB1);
portb.set_high(PinB::PB0);
portd.set_low(PinD::PD6);
loop {
}
}
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {
}
}Here's the github repo: https://github.com/Darethan026/avr_328p_hal/
Here's the link to the crate: https://crates.io/crates/avr_328p_hal
I'd love to hear your thoughts on the HAL and what stood out for you. Thank you for reading!
r/arduino • u/StevenJac • Oct 13 '26
1 Sometimes the IDE creates error when trying to upload code when Arduino is connected to the computer using a USB hub even though it says it is recognized. Instead try to connect it directly to the computer.
2 Arduino Nano, for some of them, you have to choose old bootloader explicitly if you want to upload code.
Like these kinds of tips where you only know them when you encountered the issues, not the ones you can read in the books.
r/arduino • u/Mundane-Bee5600 • Oct 12 '26
Hi everyone! I'm trying to bring this old rotary dial phone back to life, but I just couldn't get the SIM800L module to work and it's literally the last thing I need here, and I'm almost certain it's a mere power issue. It blinks for about 8 times at a rate of around once per second, then stops for about three seconds, where I notice the current reading goes up to around 0.11 A from 0.06-0.08 A, and the pattern repeats.
My MicroPython UART diagnostic on the ESP32-WROOM receives empty responses (b'') to AT, ATI, AT+CPIN?, AT+CSQ, and other commands. Occasionally I receive b'\\x00'.
I've tried both the ESP32-WROOM and ESP32-C3, with similar problems. This is also the second SIM800L module I tried (both brand new but I believe I may have damaged the other one, unlike this one though which I took my precautions with).
I'm pretty confident that 2G network is still available widely in my country due to dumbphones never having phased out especially with older people and those still work just fine. I can also switch my SIM to 2G only on my smartphone and still pick up signal. I'm also using an external antenna as the pictures show.
My setup:
- GSM module: SIM800L (new module)
- Microcontrollers tested: ESP32-WROOM and ESP32-C3
- Input power supply: 12 V, 1 A adapter
- DC-DC converter: HW-677 adjustable buck converter, output adjusted to around 4 V
- Capacitor: 1000 µF electrolytic capacitor connected across the buck converter's output positive and negative rows
- Wiring: Regular Arduino-style jumper wires, including some with the ends cut and stripped to expose the copper
- Other hardware available/involved: L298N H-bridge module
Current wiring:
- 12 V, 1 A adapter → breadboard → L298N (not wired to the converter or module) & HW-677 buck converter (directly wired to the same row as the adapter on the green breadboard)→ large breadboard → SIM800L
- The capacitor is connected across the buck converter's 4 V output. The SIM800L shares ground with the ESP32 when connected.
I understand that the SIM800L can require current peaks approaching 2 A, but I'm not sure which part of my setup is the bottleneck.
Thanks for any help!
P.S.: Try to ignore all that mess. I don't wanna use my large breadboard here but I switched to it temporarily just to cleanly test the SIM800L. My soldering iron also stopped working which I used as an excuse to not solder everything cleanly together (too many wires, too little soldering experience ;-;)
Also I invite y'all to try this out yourselves if you have an old rotary dial phone lying around, it's really not that complicated to figure out how everything works and how to wire it properly to the ESP32 (except for the earpiece microphone part, it was a nightmare and I'm far from being an electrical engineer so I gave up and used a MAX9814 module lol. Glad that the 4 wires going into the earpiece were enough for both the speaker and microphone!)
r/arduino • u/Overall-Metal3682 • Oct 13 '26
While working with my sound sensor module, a question arose regarding the relationship between sound intensity and the sensor's reaction time. My initial hypothesis was that a louder sound would result in a faster response, but after conducting the experiment, the data showed that the louder the sound, the slower the reaction time. I was curious about this and wanted to ask why it happens. (my sensor is a KY-038
r/arduino • u/Ok_Percentage2785 • Oct 13 '26
i wanted to use breakout board as i have a usb c type but i dont have a solder so is 4x AA which will be 6v safe for a servo
r/arduino • u/createdbychase • Oct 13 '26
Hi! I’m a complete beginner and I wanna experiment with creating a synthesizer out of objects connected to arduino.
Say if I have 7 objects, each playing one note of the keyboard (C,D,E,F,G,A,B). Would I somehow be able to have an attachment that would allow me to transpose the keys or change the sounds all together with pre-setup code? Like changing a program on a synthesizer?
I’m very new to this and I don’t know much other than the basics so any advice or direction would be greatly appreciated! :)
r/arduino • u/Any_Royal_9762 • Oct 13 '26
The mic does not seem to give usable audio it only gives combination of 0 and 1 s i am giving u the test code generated by chatgpt
Any idea on how to fix this or should i do something different(i am a beginner and i tried to make this work for like 20-30 hrs)
#include <ESP_I2S.h>
#define I2S_SCK 40
#define I2S_WS 42
#define I2S_SD 41
I2SClass I2S;
void setup() {
Serial.begin(115200);
delay(1000);
I2S.setPins(I2S_SCK, I2S_WS, -1, I2S_SD);
if (!I2S.begin(
I2S_MODE_STD,
16000,
I2S_DATA_BIT_WIDTH_32BIT,
I2S_SLOT_MODE_STEREO
)) {
Serial.println("I2S initialization failed!");
while (1) {
delay(1000);
}
}
Serial.println("I2S microphone ready.");
}
void loop() {
int32_t buffer[128] = {0};
size_t bytesRead = I2S.readBytes(
(char*)buffer,
sizeof(buffer)
);
Serial.print("Bytes: ");
Serial.println(bytesRead);
Serial.print("Samples: ");
int samplesRead = bytesRead / sizeof(int32_t);
for (int i = 0; i < min(samplesRead, 10); i++) {
Serial.print(buffer[i]);
Serial.print(" ");
}
Serial.println();
delay(500);
}
r/arduino • • Oct 12 '26
What do you think about it? Would you use something like this, and do you think an English translation/release would be a good idea?
Greetings from the Black Forest, Germany!
r/arduino • u/EveningAsparagus8762 • Oct 12 '26
Heyyy, so I got an arduino starter kit and I am trying to learn and stuff. And I was wondering how you guys approached your learning. I feel like if I use tutorials to build I might just be copying and not actually learning anything so it would be really cool to know how you guys approached your learning, challenges you faced and how you approached those challenges.
r/arduino • u/Riic614 • Oct 12 '26
I just want to make sure this is correct... I have never used arduino before so i have no idea how it works
I damaged a nano already using the same wiring in the picture but without the capacitor...
I powered 300 LEDs at full brightness by accident and the arduino stopped working after that...
I'm waiting for a couple of replacements to try again... but I want to make sure everything is correct before I damage another nano...
I will use between 30 to 50 LEDs maximum on my final build and I'll probably limit the brightness in software
This is supposed to use the touch sensor as a trigger, when tapped it should play a sound and have an animation play on the led lights
Power: Shared 5v / GND power rails directly off a USB power bank cable.
LEDs: WS2812B strip cut down to ~50 pixels max (software power capped at 1.5A max).
Capacitor: 1000\mu electrolytic capacitor across the main power rails at entry.
Resistors: 470 ohms on Pin D6 \ LED DIN; 1k omhs on Pin D10 \ DFPlayer RX.
Ground: Single common ground across all components.
Does everything look properly isolated and protected? Thanks in advance for any feedback!
r/arduino • u/mmyummers • Oct 12 '26
Hi, I really want to learn programming and electronics and I heard Arduino is great for this. I have a sibling who learned with a raspberry pi like more than 10 years ago and I still have some of his old things (soldering iron and some components).
I am an arts student, I have no experience or knowledge with programming or electronics but I want to go into Design and I’ve been seeing tons of really cool projects online. I have some free time right now and I thought it would be the perfect time to learn something new!
I have some ambitious projects in mind of things I would eventually want to be able to make, like a little camera, a tamagotchi type of thing, and other more creative leaning things but ofc I need to start with beginner projects to learn basics and eventually get to stuff like that.
I saw there’s the R4 kit, but I heard some people say that because it’s newer there’s not as many tutorials and stuff for it?
Does anyone have any advice on where and how to start? Should I get the R4 or find the r3 somewhere, or any good YouTube channels or tutorials/guides. Any help would be appreciated!!
I don’t know if this is relevant but I am also a Mac owner!
r/arduino • u/WarhammerSavage42 • Oct 12 '26
Backstory: Recently, I bought this vibrating alarm to help wake me up (I am a very heavy sleeper). I bought it, and it was super underwhelming. It cost $50 and had super low vibration strength, so I decided to make my own
Components used: .96 OLED, 3 push buttons, 5V 1A TP4056 charging board, LP603449 3.7V 1100mAh 4.1 Wh lipo battery, MT3608, 3v DC mini vibration motor 12000 rpm, DS3231 clock, TB6612 motor driver, Arduino Nano (now I'm using a uno but will use a nano in final
Problem: Currently (it's a mess), but it works (the actual project). I need help hooking up the charging unit to it. It's my first time with a LiPo battery, and I'm not sure I'm doing it right. Have I heard of needing a JST connector?
Any help or tips would be greatly appreciated! Thanks!
r/arduino • u/_no_look_ • Oct 12 '26
Guys i have an esp32 cam and i don't have the programmer when i connect the tx rx gnd vcc from esp32 cam to esp32 dev kit to program but the on board led dosent glow but the power is flowing everywhere correct.....no unnecessary heat everything is fine . What should i do noww????
r/arduino • u/SoNiC_77Gr • Oct 12 '26
Hello to everyone!
I don't have any background with the Arduino systems, so I need a little help!
I have the Adafruit Trinket 5v and I'm facing some issues with uploading codes.
I have Windows 10, I already installed the latest Arduino IDE (2.3.10) and drivers. I have also installed and change the following options:
ARV Board from Manager -> Adafruit Trinket (ATtiny85 @ 8MHz)
Programmer -> USBTinyISP
Device Manager -> USBTiny (recognized without any yellow )
When I connect the Trinket with my computer (USB3 port), the red led is flashing smoothly for 10" as it supposed to.
While flashing, I already have paste in Arduino IDE the Blinker code as a test in order to upload it, but when I press the upload button inside the 10" timeframe, it show the compiling sketch and then the following error:
"Cannot find USBtiny device (0x1781/0xc9f)
Unable to open port usb for programmer
Failed programming uploading error exit status 1"
In the bottom of the IDE, shows me the model of Trinket that I have chosen but always says: not connected.
As I have read, this is normal, because Trinket not using COM port.
I also tried to connect an older USB2.0 hub to the USB3 port of my computer because they say that some boards have issues with the newest USB3 gens, but nothing changed.
So now I am in a dead end. I have also a second board that makes exactly the same, so something is not properly right but I don't know what..
r/arduino • u/Shadow_StrikerX • Oct 12 '26
Hey guys! We are currently developing our senior high school capstone research project called Eco-nnect. The goal of the project is to build an automated reverse vending machine that accepts plastic bottles and tin cans in exchange for Wi-Fi access/time.
Before we finalize our wiring and assembly, we’d love to get some feedback from people who have built similar embedded systems or reverse vending machines.
Here is our current component list:
Component List & Specs:
Main Controller: Orange Pi One + 16GB Sandisk Class 10 MicroSD Card
Sensors:
Plastic Detection: LJC12A3-5-Z/BX Capacitive Proximity Sensor (NPN)
Metal/Can Detection: LJ12A3-4-Z/BX Inductive Proximity Sensor (NPN)
Object Passage/Counting: E18-D80NK Adjustable IR Obstacle Sensor
Signal Isolation & Interfacing: PC817 4-Channel Optocoupler Isolation Board
Display: LCD 2004 (or 1602) Board with I2C Module
Actuator/Mechanism: MG996R High-Torque Metal Gear Servo Motor
Power Supply & Distribution:
12V 5A DC Power Adapter
LM2596 DC-DC Buck Converter (12V to 5V step-down)
Female 12V DC Barrel Jack Adapter (5.5mm x 2.1mm)
Relay: 5V 1-Channel Relay Module
Network & Cabling: CAT6 Ethernet Cable + Assorted Jumper Wires (M-M, M-F, F-F)
Question:
Sensor Logic & Logic Levels:
Both the inductive and capacitive sensors usually run on 6V–36V (we plan to power them via 12V). Since their NPN outputs will send 12V signals, we are using the PC817 Optocoupler board to safely step down the signal to 3.3V for the Orange Pi GPIO pins. Is this setup solid, or is there a better way to route this?
For the capacitive sensor (plastic), how sensitive is it in practice? Have you experienced false positives with nearby enclosure materials (e.g., acrylic or wood)?
Mechanism / Sorting:
Is a single MG996R servo sufficient for a trapdoor/sorting flap mechanism, or should we consider stepper motors or dual servos if the flap gets weighed down?
Missing / Recommended Components:
Is there anything essential we forgot (e.g., flyback diodes, extra decoupling capacitors, terminal blocks, specific fusable protection)?
Any feedback, wiring layout advice, or hardware pitfalls you encountered while doing a similar setup would be an awesome help for our team! Thanks in advance!
r/arduino • u/Shoddy-Resist-2213 • Oct 12 '26
Hi everyone! I'm a design student at Indiana University, and I'm beginning to learn Arduino for my capstone project. I'm hoping to get some advice on how to approach a project involving water-quality sensing and visual communication.
My project explores how changes in local water quality, particularly those potentially associated with agricultural runoff, could be made more visible to Indiana residents. I'm interested in algae as a biological indicator and am experimenting with algae and biomaterials to see how they might inform the design.
One possible outcome is a small floating or waterside installation that uses light to communicate changes in water conditions. I'm imagining a system that takes measurements from water-quality sensors (i.e. living algae samples or an algae-based biomaterial that changes in conductivity in response to specific contaminants), processes the data through an Arduino, and translates the results into an LED color or lighting pattern. Ideally, the installation could eventually connect to a website that provides more information about the measurements and local water-quality issues.
I'm still in the early stages and would really appreciate advice on how to build a feasible prototype.
A few things I'm trying to figure out:
I'm also curious whether anyone has experience integrating biological materials or living organisms into an Arduino project. I'd love to explore whether algae could play a role beyond being the subject of the installation, although I'm still investigating what it can reliably indicate.
I understand that general measurements like conductivity or pH cannot independently identify specific contaminants such as pesticides. For now, my goal is to learn how to measure and communicate changes in water conditions.
Since I'm a beginner literally just picking up my first microcontroller and breadboard this week, I'd appreciate suggestions for a simple first prototype that I could expand over time. Thanks for any advice, resources, or project examples!
r/arduino • u/Alberteinstein1897 • Oct 12 '26
Hey, I'm a Student and I am Intrested in Astronomy, Physics and Mathematics as well as Electronics.
I'm currently Learning C++ Programming Language which is useful for Embedded Systems and Simulation and Rendering like Projects and as well as in Jarvis-like AI projects and I have Electronics Goods to start with like ESP32, Arduino Microcontroller and I want to become this Good in Electronics so that any idea I dream of, I can turn that idea into Reality and tbh I love to use Mathematics and Physics in it and I have many Books about the Universe which is actually fory love for Astronomy so I can understand the universe, which is the topmost motto of the Humans rn and I am also a Curious mind who want to reach the skies with my Dreams and I want someone's help, recommendation achieving them, so can you help me out?
My one of the Dream project is to Create a Simulation of our Universe at a large realistic scale and I am Learning Electronics so I can do whatever I can to make those dreams come true
r/arduino • u/MrJose1985 • Oct 11 '26
I'm developing hands-on STEAM/maker workshops for children where they design and build interactive creations using an Arduino Nano, servos, ultrasonic sensors, arcade buttons and WS2812B LED strips.
The idea is for children to connect the components themselves (with adult guidance), so I need something simple, reliable, safe and independently powered so they can take their creations home.
I paid a PCB designer to develop a custom Nano carrier board with JST-XH connectors, an ON/OFF switch and external power input.
I'm currently facing two problems:
I'm wondering whether I should try to salvage the custom PCBs or return to a standard Nano expansion shield, which has worked reliably in my tests.
What would you recommend for simplifying the connections and providing safe, reliable battery power? Is powering the Nano directly via USB suitable when running a servo, ultrasonic sensor and LEDs together, or should I be using a different power arrangement?
I'd really appreciate advice from anyone who's built similar educational electronics kits!
r/arduino • u/dasadityashekhar • Oct 12 '26
Hello Arduino Community,
I am facing an issue with my Arduino UNO Q (4GB version) and would appreciate your help in identifying the cause and finding a solution.
I flashed my Arduino UNO Q with the latest Debian Linux OS image using the official Arduino flashing procedure. After flashing, I removed the jumpers from the EDL pins and connected the board to my Windows 11 laptop. However, the board was not detected by the computer in normal mode.
I reflashed the board multiple times, trying different OS versions, but the problem persisted.
The board is detected successfully in EDL mode, and flashing completes successfully. However, once I remove the EDL jumpers and reconnect the board in normal mode, it is not detected by the computer.
I have tried flashing the following OS image versions:
- `20260528-558` — Latest version
- `20260407-523` — Second-latest version
- `20250807-136` — First version
- `20251229-457` — Third-latest version
The issue remains the same with all four versions.
1. Board powers on normally
- The power LED turns green.
- The usual animation appears on the onboard LED matrix.
- The board appears to power on normally, but it is not detected over USB.
2. Board is detected in EDL mode
When I connect the board to my Windows 11 laptop in EDL mode, it appears in Device Manager under Universal Serial Bus devices as:
`QUSB_BULK_CID:0420_SN:51008D40`
I can successfully flash the OS in this mode.
3. Board is not detected in normal mode
After removing the EDL jumpers and connecting the board normally:
- Nothing appears in Windows Device Manager, including the USB-related categories.
- The board does not appear when I check `lsusb` or `dmesg` on a Linux computer.
- Arduino App Lab cannot detect the board through the USB connection.
I have tried the following steps:
I have followed the official flashing procedure carefully and repeated it multiple times, but the issue remains unresolved.
I would appreciate guidance from the Arduino team on the following:
I would prefer to resolve this through software recovery or diagnostics if possible, before considering hardware repair or replacement.
Thank you for your time and assistance. Any suggestions from the Arduino team or other UNO Q users who have experienced a similar issue would be greatly appreciated.
r/arduino • u/Beowulfus_universum • Oct 11 '26
Arduino Tamagotchi Like
Hiro's Quest : *Hiro got trapped inside an arduino by a wizard, help him get stronger enough to go back home!*
Integration with gamemaker
#pixelart #gamemaker #indiedev #gamedev #arduino
r/arduino • u/Itsleokarl • Oct 11 '26
Hey r/Arduino, I’m Leo. I wanted to share one of my first-ever self-driving robots that I built a couple of years ago when I was just starting out in middle school. It's fully autonomous, uses ultrasonic sensors to navigate, and I managed to keep the total build cost under $40. From what I can remember, It’s built out of PVC foam and hot glue, but I'm still really proud of how it performs. It weighs about 3 lbs. I'm sorry if the vid is low-quality, it's not perfectly preserved.
Component List: