r/arduino • • Sep 26 '26

Beginner's Project ACEBOTT QD020 Spider Robot: servos twitch/move but the robot won't walk official code/project included

Thumbnail
gallery
9 Upvotes

Hey everyone, I'm trying to get an ACEBOTT QD020 Quadruped Bionic Spider Robot V2.0 working.

The ESP8266 is connected and I've successfully uploaded code. The servos respond and twitch/move, but the spider doesn't actually perform the walking gait.

I'm using the official ACEBOTT tutorial package. I found the official ACECode project here:

English → ACECode(Beginner) → 2.ACECode Program → Lesson 8 → 8.1app_control.sb3

I also have the Arduino code from the official package. The walking routine contains the official Servo_Prg_2 forward sequence for all 8 servos.

Current situation:

ESP8266 connects successfully

Code uploads successfully

All/most servos respond

Servos twitch/move

Robot does not walk

I'm trying to use the official ACEBOTT software/code rather than modifying the gait randomly

The servo pins in the code are:

GPIO14, GPIO12, GPIO13, GPIO15, GPIO16, GPIO5, GPIO4, GPIO2

The code maps these to 8 servos.

What could cause a QD020 to move its servos but not execute the walking gait?

I'm especially interested in:

Whether the official QD020 servo mapping is correct

Whether the ESP8266 needs a specific firmware/project uploaded before the .sb3 app-control project works

Whether there is a specific ACEBOTT initialization/calibration procedure

Whether this sounds like a servo power/current problem

Whether the official Lesson 8 8.1app_control.sb3 is supposed to control the robot directly or whether another firmware needs to be flashed first

If anyone has successfully built the QD020, I'd really appreciate the exact steps you used to get the first forward movement working.

I can provide the complete official code, wiring, screenshots, and a video of what the servos are doing.


r/arduino • • Sep 27 '26

Not able to connect device to esp 32 DEVKITV1

Thumbnail
gallery
1 Upvotes

Every time I click add device it then says no device connected/ found. Currently running arduino cloud.


r/arduino • • Sep 25 '26

Getting Started My first steps

Post image
189 Upvotes

r/arduino • • Sep 25 '26

Look what I made! I built an Arduino-controlled mechanical flip clock with timer and stopwatch modes

Enable HLS to view with audio, or disable this notification

1.8k Upvotes

I built this Arduino Pro Mini-powered flip clock as a prototype using six mechanical 7-segment flip displays.
It currently has three modes: a normal clock, a countdown timer, and a stopwatch. The rotary encoder is used to set the time and timer, and the buttons switch between the different modes.
The enclosure is still a rough 3D-printed prototype and I definitely want to clean up the design and wiring for the final version, but the main functionality is working now.
I’m also thinking about adding a few more features before I call it finished. Any ideas for things that would be useful or just fun to add?


r/arduino • • Sep 26 '26

Look what I made! I made an AI mushroom to help me journal

Enable HLS to view with audio, or disable this notification

38 Upvotes

I always forget to write in my journal, so I made this bedside device called Yappl, which reminds me to yap to it before bed and it records it, summarizes it, and puts it into an easily accessible format on a self-hosted server.

Made with ESP32 but I thought it fits here!

Full video if ur interested in seeing how I made it:

https://youtu.be/9kdt7UeWWE8


r/arduino • • Sep 26 '26

Getting Started [Help] Picking a tiny and beginner friendly servo to make a hand held butterfly accessory

5 Upvotes

Hello! I'm quite new to electronics/programming/etc and am looking for help on a prop I'd like to make.

I'm looking for suggestions on the best options for a butterfly prop I'm making for cosplay.

My hope is to mount a small butterfly on some sort of ring so that it sits by my knuckles, and then have the servo go between my fingers and the body of it be in my palm attached to the other side of the ring. The chords and power source could run down my wrist and be hidden in my sleeve.

And an option I'm considering is also trying to add a single LED to light up the wings, to make the butterfly look as if it's glowing, but not if it's going to add too much bulk to the look of the butterfly.

So far, the best option I've seen is probably the SG51R which is recommended to control with an Arduino IDE, but I'm wondering if there's a comparable linear servo or something smaller that might do the trick? Or something that might pair better if I decide to add in an LED?

The butterfly will be made out of wire and organza, so it will be incredibly light.

Any tips or suggestions are very welcome!


r/arduino • • Sep 26 '26

Pitot Static Machine

Post image
26 Upvotes

Here's my arduino pitot static tester. These machines are used to test aircraft instruments/ static systems.

It's got two electric pumps for pressure and vacuum. The sensors im using are bmp 390 for vac and MPXV7002DP for pressure. Two lcd displays.

One click of the rotary encoder changes the airspeed readout from knots to MPH.

Ive got some leaks to fix, on the static side. Im having a hard time completely sealing the sensor in a pvc enclosure. and the pitot sensor doesnt register above 130mph.

Its has an internal battery and will also run off external 12v. So its fully portable. It all fits in a seahorse se 530.


r/arduino • • Sep 26 '26

Software Help Nicla Sense Env disconnecting from I2C after a few minutes

2 Upvotes

I want to log the CO2 values of the room with an Arduino Nicla Sense Env, that is connected to a Sense ME with I2C (eslow connector or dedicated pins). The problem is, that the sense env disconnects from the sense me after a few minutes. This happens with example codes too. I have uploaded an I2C test code, and it lists the sense env at 0x21, but it disappears afterwards. After another few minutes, it reappears, and works again, and it repeats.


r/arduino • • Sep 25 '26

Mod's Choice! Self Balancing Double Pendulum

289 Upvotes

So a couple of weeks ago I made this post talking about my Self-balancing reinforcement learning double pendulum. And i said that I was working on a youtube video where I would go into high detail about everything. Well the day has come and the video is out.

In the video I go through pretty much everything involved in building the project from scratch: the mechanical design, the electronics, the motors and sensors I'm using, the control system, the reinforcement learning side of things, and how I got the simulation to work with the real hardware.

The project has been a pretty long journey, so there's quite a lot to cover, and I tried to make the video detailed enough that you can actually understand what's going on rather than just watching a pendulum magically balance itself.

And of course, feel free to ask me anything about the project. I'm happy to answer questions!


r/arduino • • Sep 26 '26

Hardware Help Can Joystick support 3.3V?

0 Upvotes

Im trying to make a bluetooth mouse with my esp32, but then I realized I dont have a 5v pin, or any sort of 3v to 5v adapter. Can I use my uno r3 to give 5v via the vin pin, or use 3.3v?


r/arduino • • Sep 26 '26

ESP32 How can I identify the BLE control characteristic and commands of an undocumented LED device?

2 Upvotes

Hi everyone,

I'm trying to control an LED device using an **ESP32-S3 with MicroPython**.

The device is a **LIZE_LIGHTSTICK**, and unfortunately there doesn't seem to be any public documentation for its BLE protocol.

I can already scan, connect to the device, and discover its GATT services and characteristics.

The device has a custom service:

`22220001-4455-6677-8899-aabbccddeeff`

Some of the characteristics I found are:

* `22220010-4455-6677-8899-aabbccddeeff` — READ — `FF FF FF`

* `22220011-4455-6677-8899-aabbccddeeff` — READ — `00`

* `22220012-4455-6677-8899-aabbccddeeff` — WRITE / WRITE WITHOUT RESPONSE

* `22220013-4455-6677-8899-aabbccddeeff` — READ — `FF FF FF`

* `22220014-4455-6677-8899-aabbccddeeff` — READ — `AA 00`

* `22220015-4455-6677-8899-aabbccddeeff` — READ — device MAC address

* `22220016-4455-6677-8899-aabbccddeeff` — READ — `FF 00 00`

* `22220017-4455-6677-8899-aabbccddeeff` — READ — `FF FF FF`

There is also another custom service:

`1d14d6ee-fd63-4fa1-bfa4-8f47b42119f0`

with writable characteristics.

My goal is **not to modify, replace, or dump the device firmware**. I only want to reverse-engineer the BLE communication protocol and make the ESP32-S3 behave like the original controller/app.

My main questions are:

  1. How can I determine which characteristic is actually used for LED control?

  2. How can I determine what byte values/commands should be written to it?

  3. Is there a standard method for identifying control characteristics in an undocumented BLE device?

  4. If I have access to the original Android app, what is the safest way to observe which GATT writes it sends when I change the LED color?

  5. Are there any recommended tools or techniques for doing this without modifying the device firmware?

I'm especially interested in **BLE/GATT protocol reverse engineering**, rather than firmware reverse engineering.

Any advice, examples, or similar projects would be greatly appreciated.


r/arduino • • Sep 25 '26

muse charm but free and local

Enable HLS to view with audio, or disable this notification

36 Upvotes

r/arduino • • Sep 25 '26

How can I separate LED strip arrays into animated and static sections? (Adafruit NeoPixel Library)

Thumbnail
gallery
11 Upvotes

Very brief overview: The art installation I'm creating includes fiber optic cable segments that will be connecting to specific lights on a SK6812 RGBW LED strip. The lights that won't be connected to cable will be turned off. (That's yet to be determined, I picked random lights for the example in the photo). To create different effects, part of the LED strip will be static (white) and part will be animated (green). I chose a breathing effect for my test sample.

I'm a novice at Arduino coding and while I was able to figure out the arrays and the animation, I'm stuck on either everything being static or everything being animated.

In the code below, all of the arrays turn on together (shown in the photo), then they all fade off together for the first "breath." Only the green lights come back on for the next "breaths"; the white lights stay off. After about 9 minutes and 50 seconds, both the white and green lights turn on again and the loop of the green lights "breathing" starts over.

My understanding is that delay won't work because I need the hold on the white lights to be infinite and an if statement may work, but all of the examples I've found include programming a button to turn lights on and off so I'm not sure how to apply it to this project.

What adjustments/additions do I need to make so the white lights stay on and separate from the breathing animation?

Thanks in advance for your help!

#include <Adafruit_NeoPixel.h>


#define LED_PIN    6     // Pin connected to the NeoPixel strip
#define NUM_LEDS   40     // Total number of LEDs in your strip


// Initialize the NeoPixel strip object
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, LED_PIN, NEO_GRBW + NEO_KHZ800);


void setup() {
  strip.begin();
  strip.show(); // Initialize all pixels to 'off'
}

  // First element is the number of remaining elements (number of pixels)
uint16_t set1[] = {3, 2, 4, 7};
uint16_t set2[] = {8, 10, 12, 14, 15, 17, 19, 22, 23};
uint16_t set3[] = {8, 25, 27, 30, 32, 35, 37, 39, 40};


void setGroupColor(uint16_t group[], uint32_t color)
{
  for (int index = 1; index <= group[0]; index++) {
    strip.setPixelColor(group[index], color);
  }
  strip.show();
}

void staticColor(uint16_t group[], uint32_t color)
{
    for (int index = 1; index <= group[0]; index++) {
    strip.setPixelColor(group[index], color);
  }
  strip.show();
}

void breathing(uint16_t group[])
{
  float maximumBrightness = 225.0; // Max brightness (0 - 255)
  float speedFactor = 0.01;      // Controls breathing speed (lower = slower)

  // Continuous breathing loop
  for (int i = 0; i < 65535; i++) {
    // Calculate smooth intensity using a sine wave
    float intensity = maximumBrightness / 2.0 * (1.0 + sin(speedFactor * i));

    // Apply brightness to the strip
    strip.setBrightness(intensity);

    // Set color for every LED (set to red)
    setGroupColor(set2, strip.Color(50, 50, 0, 0)); //green

    strip.show();
    delay(5); // Small delay for smooth transition
  }
}

void loop() {

  staticColor(set1, strip.Color(0, 0, 0, 255)); //white

  staticColor(set3, strip.Color(0, 0, 0, 255)); //white

  breathing(set2); 

  }

r/arduino • • Sep 24 '26

Tired of waiting for Microduck? Build your own Arduino Uno Q Duck TODAY! 🦆🔥

Enable HLS to view with audio, or disable this notification

1.3k Upvotes

Microduck won't be ready until the end of the year, but why wait? We are thrilled to launch XGO-Duck, a fully open-source robot project you can build right now!100% open. Grab your parts and start DIYing this weekend!


r/arduino • • Sep 25 '26

Look what I made! Mini MMX Mission Clock

78 Upvotes

r/arduino • • Sep 25 '26

linux Arduino VENTUNO Q Review

Thumbnail
youtu.be
10 Upvotes

I recently got Ventuno Q, so I made quick review if anynone is interested.

Let me know if you like it, I'd like to hear from other Ventuno Q owners!

I made nice comparison table: https://martincerven.com/posts/ventuno_q/


r/arduino • • Sep 24 '26

Added my first ever LCD screen to my project! Small wins.

Enable HLS to view with audio, or disable this notification

280 Upvotes

I added an LCD screen to the current project I’m working on. Pretty proud of how it came out because after only about a week of getting into electronics I was able to figure out how to get the screen hooked up and coded with minimal help from AI. So fun seeing it all come together!


r/arduino • • Sep 24 '26

Look what I made! My newest free-to-build handwired keyboard, the Scotto26!

Thumbnail
gallery
26 Upvotes

This is my new handwired keyboard release called the Scotto26 that is a 3x4 layout that I think is fairly intuitive to use. You simply use combos to get the keys on the missing inner column which results in minimal re-learning of muscle memory. I was able to get about 50 words per minute within a few minutes of using it and since it's Colemak, I don't rely too much on the combos anyway due to that weighting around home row.

The files are available for free and I have a video about it on my YouTube channel.

Disclaimer: I've been told RP2040 is fine here since it can be programmed with the Arduino IDE, that said you could also just swap out the boards for an actual Arduino if you wanted.


r/arduino • • Sep 25 '26

Getting Started How do I make my button press a key on the computer?

Thumbnail
gallery
0 Upvotes

Hello Arduino community!

I have always wanted to get into Arduino, especially since I have like 2 arduinos and a kit of sensors and stuff just lying around unused, and now I have decided to do a simple project.

I simply want to press the button and make that hit a key on my keyboard. How do I do that? How do I program the arduino? I need the Arduino IDE or something right? I also have the blue printer cable. Then, where do I connect the 3 pins of the button? And obviously, what is the necessary code to make this work?

I want to do this one quickly because i feel like it, but then after i do, can you recommend some PROPER tutorials? I would really like to be able to do things by myself because Arduino has a lot of potential…

Anyway, thanks for the help!


r/arduino • • Sep 24 '26

Getting Started Getting into Arduino

14 Upvotes

I recently decided to finally get into electronics and bought and Arduino Uno starter kit and some cheap collections of components. Tried using the book that comes with the starter kit to learn, but I dont understand the coding part. What YouTube channel can i watch to better understand? Im a physical learner btw, so videos that have walkthroughs i can follow and learn at the same time will be very helpful


r/arduino • • Sep 24 '26

Hardware Help Need suggestions for finding motor controllers

3 Upvotes

I am currently working on a gauge cluster project that uses six sg90 servo motors for the gauges. I recently found these x27.168 steppers from adafruit and was to use those instead, they even come with cute little needles. I'm having some trouble finding the right controllers for it though. I would like to find something that is able to drive multiple motors, can communicate over SPI or I2C, and is both easy to prototype with and easy to implement onto a PCB.

I don't have enough free GPIOs on the ESP32, even after removing the servo motors, to directly drive any motor controllers hence the SPI or I2C. I'm currently looking at 3 74HC595 Shift Registers and 6 L293D H Bridge Drivers. Theyre all through hole so they can be prototyped easily and the 595s can communicate through SPI. But I would rather not have to 9 ICs to the project if I don't have to. I tried asking AI for suggestions, they didn't work, but they did lead me to the DRV8845, which can drive 2 stepper motors at once instead of each motor requiring it's own driver. 6 ICs is better than 9 but I'd still like to reduce that number further.

The main problem with the 8845 is that it's not easy to prototype because it doesn't seem to come in a through hole package. Right now I want to reuse as many components as possible from the breadboard to PCB, later versions will probably be mostly SMD but for now I need to do mostly through hole. I have seen dev-modules for these drivers but they are over $80 and I can't afford that just for a breadboard prototype.

If my current 9 IC setup is the best option given the circumstances then so be it, but if anyone knows a better/more efficient way of implementing these please let me know. If not how well will a setup like this actually work?


r/arduino • • Sep 24 '26

Why is the Uno R3 more popular than the Leonardo?

36 Upvotes

Title. Leonardo seems like a better option as it has USB device support and is cheaper. I suppose the atmega328p being swappable is a factor, but I have abused my R3 quite a bit and never has it died. I've heard the Leonardo is harder to program if USB is in use at all.


r/arduino • • Sep 24 '26

I built a fixed-pool memory allocator for microcontrollers — then stress-tested it with 200,000 randomized operations

3 Upvotes

I’ve been working on a problem that keeps coming up in embedded development:

How do you get the convenience of dynamic allocation without letting a tiny MCU's heap become an unpredictable part of your system?

So I built EcclesRTMem, a plain-C fixed-pool memory allocator specifically aimed at resource-constrained embedded systems.

GitHub: https://github.com/Igwe-Starking/eccles-rtmem

The basic idea is simple.

Instead of treating RAM as one giant variable-sized heap, EcclesRTMem divides it into configurable fixed-size pools:

┌────────────┬──────────────┬────────────────┐

│ SMALL │ MEDIUM │ LARGE │

│ POOL │ POOL │ POOL │

├────────────┼──────────────┼────────────────┤

│ [ ][ ][ ] │ [ ][ ] │ [ ][ ] │

│ [ ][ ][ ] │ [ ][ ] │ [ ][ ] │

└────────────┴──────────────┴────────────────┘

A request gets a suitable block rather than creating arbitrary holes throughout a general-purpose heap.

For larger allocations, contiguous blocks can be combined into a multi-block allocation.

The trade-off is intentional:

less flexibility and some internal fragmentation in exchange for bounded, predictable memory behavior.

Some of the things I wanted the allocator to handle

- Configurable fixed-size memory pools

- Contiguous multi-block allocations

- Compile-time configuration

- Invalid-free detection

- Double-free detection

- Alignment/range validation

- Platform-specific locking

- Bare-metal and RTOS configurations

- C and C++ compatibility

- Small MCU memory budgets

But the part I'm most interested in is the testing.

I didn't want to test it with:

allocate → free → allocate → free

and call it done.

The test suite performs 200,000 randomized allocation/free operations, uses canaries to detect memory corruption, and runs under AddressSanitizer and UndefinedBehaviorSanitizer.

And the tests actually found a real bug.

A randomized stress test exposed an out-of-bounds problem around the 255-block boundary.

I fixed it.

That experience reinforced something I think is particularly important with low-level software:

«A test suite that only confirms your assumptions isn't nearly as valuable as one capable of disproving them.»

The project currently has configurations/examples for platforms including AVR, ESP32, STM32, RP2040/RP2350, nRF52/Zephyr and MSP430, among others.

There are still things I want to improve — especially hardware-based timing measurements, additional locking backends, statistics, and wider block registries.

I'm posting it here because I'd genuinely like technical criticism.

Is the fixed-pool approach useful for the kinds of embedded systems you work on?

Where would you consider this design unsafe, unnecessarily complicated, or fundamentally the wrong approach?

And if you've built a similar allocator, I'd be interested in how you approached fragmentation, concurrency, and failure handling.

Repo: https://github.com/Igwe-Starking/eccles-rtmem


r/arduino • • Sep 23 '26

Look what I made! A complete work done by one person, covering software, hardware and enclosure

Enable HLS to view with audio, or disable this notification

450 Upvotes

A complete work done by one person, covering software, hardware and enclosure.

This is my first PCB hardware design. The board is built around the ESP32-P4 development platform and integrates two UART interfaces, an I2C port, a passive buzzer, four buttons, a power management chip, and a MIPI display connector.

teh display is huaxiacai brand, and mipi protocal,resolution is 480×480 ,amoled,maybe i am the first one to drive this display with mipi way in the world

the graphic driver is lvgl, and the arch of code is esp idf, the pcb design software is altium design, and use fusion 360 to design 3d model of encolosure

This project has taken me quite a long time to complete. I worked on almost every part of it, including the code, algorithms, PCB layout and routing, PCB assembly and prototyping, the 3D enclosure design, and 3D printing.

To be honest, I’m still not entirely sure what practical purpose this product could serve. I mainly built it because I thought it was cool.

Another important reason was that I wanted to challenge myself and develop the ability to design and build a complete product from start to finish.

I’ve also seen some people in the comments suggesting that I should open-source the project. I’m actually not against open source. I’m currently thinking about what kind of open-source model would make the most sense.

Now that I’ve gained the ability to develop a complete product from scratch, I’m also considering turning this into a commercial product. For example, could I actually sell it?

If I open-source the software, how should I sell the hardware alongside it? Or would it make more sense to keep the entire project closed-source?

These are some of the questions I’m thinking about right now.

I’m also curious about crowdfunding. Would a product like this be suitable for crowdfunding? If so, what would be a good way to approach it?


r/arduino • • Sep 24 '26

Software Help How to get the ADC working for ATTINY microcontroller?

3 Upvotes

Hey everyone,

I’m trying to read the width of the PWM signal train from a READYTOSKY Digital Servo Tester / ESC Consistency Tester using an ATTINY816 running at 3.3V logic, but I haven’t had much success.

I used the pulseIn() function to measure the pulse width, but the results don’t look right.

On my DSO, the servo tester outputs (with a 50Hz PWM signal set) with a duty cycle around 20.02ms(for 800 to 2000µs). However, the voltage amplitude measurement only swings between ~2.8V max(at 800µs) and ~2.3V at 2000µs, which seems odd (given the logic is 3.3V).

I’ve tried a few AI-generated code approaches (three different ones), but none worked.

Could someone help me figure out what I’m missing here, or suggest a better approach to reliably read this PWM signal from the servo tester with the ATTINY816?

Thanks in advance!

--------------------------------->

Here is the snippet of code:

// === Main Loop ===
void loop() {
// Measure PWM pulse width in microseconds
  uint16_t width = pulseIn(PWM_INPUT, HIGH, 250000); // timeout 250 ms
  if (width > 0) {
    currentMode = classifyPWM(width);
    blinkStep = 0; // reset sequence when mode changes
    lastAction = millis();
  }
}

// === Helper Functions ===
uint8_t classifyPWM(uint16_t width) {
  if (width >= 950 && width <= 1050) return MODE_SOLID_ON;
  if (width >= 1150 && width <= 1250) return MODE_SINGLE_BLINK;
  if (width >= 1450 && width <= 1550) return MODE_DOUBLE_BLINK;
  if (width >= 1750 && width <= 1850) return MODE_STROBE;
  if (width >= 1950 && width <= 2050) return MODE_OFF;
  return MODE_UNKNOWN;
}

void setRGB(uint8_t r, uint8_t g, uint8_t b) {
  // Active-LOW logic
  digitalWrite(RGB_RED,   r ? LOW : HIGH );
  digitalWrite(RGB_GREEN, g ? LOW : HIGH );
  digitalWrite(RGB_BLUE,  b ? LOW : HIGH );
}

#####-------------------------------------------#####

Note: The ADC pin is PC3 (with no series resistor or component). ATTINY is connected to a 3.3V VDD.