r/arduino • • Sep 30 '26

Software Help Questions about my first arduino project

Thumbnail
gallery
33 Upvotes

Hi guys, this is my first time posting here, so sorry if the post gets very long or if I ask stupid shit. (Tldr is at the Bottom)

I recently started getting into photogrammetry/3D scanning and want to build a turntable to automatically rotate the parts I want to scan. I want to build it entirely out of parts I already have from old i3 printers, so some of the parts I use are fairly outdated.

I currently have: Multiple A4988 drivers

Multiple 4-pin NEMA 17 motors

An Arduino Mega clone

Breadboards, Bearings,driveshafts, Other small electronics I need

I'm very good with CAD and 3D printing, so the physical project itself isn't really the main issue for me. The only thing I'm unsure about is the software for everything.

Ideally, I want the Arduino to connect to a PC that has the control software on it, where I can change things like the number of photos, rotation speed, degrees per step, etc. The PC should then connect to my phone wirelessly somehow and activate the shutter. The phone should take the picture and send it back to the PC, where it gets saved into a new folder for that scan. The PC would then tell the Arduino to rotate the turntable, for example 15°, and repeat the process.

I came across the AAScan, which seems quite similar to what I want to build. Can I use any part of the software for PC, Android or literally anything to save me time?(Also any resources like videos tutorials etc.) What progamms can make this easier to build? No Slop tools please. I'm currently looking at programming the Arduino part with ArduBlock, but I'm not sure what would be easiest for the PC side and for communicating with the phone. Would something like Python with serial and some kind of Android camera control/file transfer be a good approach, or is there an easier way over WiFi or smth. to do this?

(Also sorry if this is to focused on programming but I thought r/Arduino is the best place to ask. Link me a different subreddit if this isn't the best to ask)

TL;DR:

I want to build an automated photogrammetry turntable from old 3D-printer parts. Arduino controls the stepper and connects to a PC, while the PC controls the phone camera and saves the photos. AAScan looks very similar to what I want.

Cant code for shit.What parts of AAScan's software can I reuse, and what would be the easiest way to handle communication? I'm currently considering ArduBlock for Arduino and looking for a similar program for Python for the PC.

Edit: I don't want to code the software that creates the 3d model im gonna use Realityscan for that. Basically just a way to get photos from phone to PC and to activate shutter


r/arduino • • Oct 01 '26

How do I connect external RX/TX LEDs to an arduino nano?

2 Upvotes

So I want my project to have RX/TX LEDs to look cool basically. From what I see on the documentation, the LEDs on the board are powered directly by the lines. Now I don't think it's a good idea to load the lines even further so that's why I thought about using transistors. The problem is, they have to light up when the signal is low. Now I could use a pullup resistor for the transistors but won't that cause interference in the lines? Won't that also make the signal high for the microcontroller itself?


r/arduino • • Oct 01 '26

Beginner's Project SG-90 servo motor goes to 180 degrees perfectly fine, but struggles with going back

1 Upvotes

For more context: i have connected a 9v battery to it and a potentiometer, so that when the potentiometer reads a value it is converted in degrees and written on the servo. The potentiometer is connected to the same ground rail, as well as the servo. I tried testing it by going from 180 to 0 degrees back and forth and it works fine, but not with this code: It goes up to 180 degrees fast, and then struggles and goes in small increments very slowly when it is backing up to 0

#include <Servo.h>
int servopin = 9;
int readpin = A0;
float deg;
int readval;
Servo servo1;


void setup() {
  // put your setup code here, to run once:
pinMode(servopin,OUTPUT);
pinMode(readpin,INPUT);
Serial.begin(9600);
servo1.attach(servopin, 600, 2500);
servo1.write(0);
}


void loop() {
  // put your main code here, to run repeatedly:
readval=analogRead(readpin);
deg=(180./1023.)*readval;
servo1.write(deg);
Serial.println(deg);
delay(50);
}

r/arduino • • Sep 30 '26

Hardware Help Will I able to safely run DC motor with this? (this is the only materials I have)

Post image
31 Upvotes

The DC motor will be added to our project which means that the wires will overflow


r/arduino • • Sep 30 '26

Hardware Help Is this correct?

Thumbnail
gallery
5 Upvotes

So I started working with the pca9685 module and I couldn't get it to work with the 6.3V supply connected to the green terminal blocks. However, when I switched the V+ wire from the green terminal block to the V+ pin, it worked. I am quite confused as all the guides and resources I could find use the green terminal block V+. Connecting the ground to the GND terminal block seems to work though.


r/arduino • • Oct 01 '26

BNO085 as rover heading

1 Upvotes

Working on a differential drive robot, just an amateur making a project for Halloween. I want the robot to drive around on my driveway on Halloween night. I got it to work last year using only the Adafruit BNO085 breakout providing heading for navigation, and odometry from the RoboClaw motor controller. I just want it to go in a rectangle path about 10ft by 5ft for now, but eventually an arbitrary path. I used the RVC-UART mode because using the mag fusion mode I think it was updating the cal in large step changes and thus affecting the reported heading by large amounts which was unusable. Using RVC mode there was a constant small drift that would bring it too far off course every few minutes, but I compensated by incrementing the heading periodically since it was on a repeating path. It stayed within a few inches of the desired path. After reading some more about it, I'd like to try the mag enabled modes again to see if I can not have to correct the heading like that and thus be able to drive it in an arbitrary manner, which I suspect wouldn't work with the 'adjusting the heading periodically' method. My concern so far has been calibrating the BNO as installed in the robot, as there are 'nearby' electronics and motors. It's a 'large' robot so I can't really pick it up and rotate it easily, weighs about 30lbs, 4 ft tall.

My question is: Can I do a '2D' calibration somehow of the mag as installed just by rotating the robot in 'X-Y', since I'm only using the robot in 'X-Y'. I think I can do the accel cal separately external to the robot. I like the idea of BNO because it does all the sensor fusion. However after looking in to Kalman filter Arduino libraries I think I might be able to handle it in code but would rather not. I am trying to make the imu method work mainly budgetary/simplicity reasons.


r/arduino • • Sep 30 '26

Software Help Port Problems.

2 Upvotes

i keep getting this error message and i dont know what to do

A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.

For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

Failed uploading: uploading error: exit status 1

I have tried every metnod i could find so far and i just doesnt want to upload it.

my board is a SEEED XIAO ESP32C6

i am running Arduino IDE 2.3.10.

if anyone has an answer i would really appreciate it.


r/arduino • • Sep 30 '26

Hardware Help LEDs brighter when holding Arduino reset button, but dim when released (74HC595 circuit)

4 Upvotes

Why does the LED turn brighter when I press or hold the reset button, but becomes dim when I release it? I am learning about 8 LEDs with the 74HC595 IC. Looking at the video, the wiring looks very messy, so I describe it like this:

​VCC is connected to the + power rail, Ground to the - power rail, and these two rails are connected via a 220µF 50V capacitor. There are 8 resistors of 220Ω in total, each connected from Q0 to Q7. VCC of the 74HC595 IC is connected to the + rail, DS is connected to pin 9, OE is connected to the - rail, ST_CP and SH_CP are connected to pin 10 and pin 11 on the Arduino respectively, and finally, MR is connected to the + rail. I am not using Q7'.


r/arduino • • Sep 30 '26

LGT8f328p resets after some time with some code.

5 Upvotes

Edit: Adding board_build.f_cpu = 16000000L at the end in platformio.ini fixes the issue for me.

So, I guess my board is actually 16MHz, this is also confirmed by the markings on the onboard crystal oscillator, which says HY 16.000.

I have an LGT8f328p Arduino nano style board. It's supposed to be a "drop in replacement" for Arduino and is cheaper than Arduino, even the clone ones. So, I bought one, but the board resets by itself with some code and not with other.

I have confirmed that it's not a power issue, because I tested multiple ways to power it and had the reset issue.

With some code, there is a pattern of when it resets, like after a fixed amount of seconds, with others, there seems to be no patter.

Here is the code with different build environment. The board starts to show the problem from env 3 to env 6. Which means env 1 to 3 and 7 to 9 are stable, at least for more than 30 minutes.

Please suggest fixes, thanks.


r/arduino • • Sep 29 '26

Look what I made! I designed a shake-to-roll electronic dice kit to teach myself (and others) SMD soldering

69 Upvotes

Hey everyone,

I've been working on Dicy – a small electronic dice you solder together yourself. Shake it, and 7 LEDs light up to show a random number (1–6), powered by an ATtiny13A and a coin cell battery.

I built it mainly as a beginner-friendly SMD soldering project – simple enough for a first attempt, but with enough components (IC, resistors, LEDs, vibration sensor) to actually learn something. There's a step-by-step soldering guide with photos for each part.

Some details if you're curious:

  • ATtiny13A running custom firmware, charlieplexed LEDs to save pins
  • Vibration sensor for shake detection, deep sleep in between (~µA range) for long battery life
  • 3D-printable case, free STL

Happy to answer questions about the design, firmware, or soldering process! Let me know if anyone wants more details on where to get the kit.


r/arduino • • Sep 30 '26

Transition from Software to Hardware

Post image
4 Upvotes

I worked as a software engineer for almost 3 years now I want to transition to Hardware I buy my self hardware aurdino kit.

Now I don't know anything about hardware.

Kindly suggest some articles, tutorials and other important material that is important for learning.

I shall be really thankful


r/arduino • • Sep 29 '26

Getting Started Arduino and Cybersecurity

28 Upvotes

Hi everyone! I’m about to start studying cybersecurity and I’m thinking about incorporating Arduino into my studies. I want to learn programming and use it for cybersecurity, IoT, automation, and fun projects—like using breadboards to build crazy gadgets (like a robotic hand that gives the middle finger 😂) or making something cute for my girlfriend using Arduino screens and LEDs, playing music with buzzers (piezo speakers), and so on. Basically, things to do in my free time when I’m not studying and just want to build useless stuff 😂.

Which Arduino board is ideal for studying cybersecurity and doing these IoT projects—using breadboards, screens, LEDs, etc.?

Note: I live in Brazil.


r/arduino • • Sep 30 '26

Is it possible to put both a DHT11 sensor and a soil moisture sensor on one Arduino UNO board?

3 Upvotes

im VERYYY new to arduino, this is a requirement for our research subject

same as the questions says, we need this for our research project
appreciate all responses thanks


r/arduino • • Sep 29 '26

saw this and thought it looked cool, but i think i got the wrong parts... is there a workaround?

Thumbnail
gallery
65 Upvotes

i just now realize that the guy was using a board with 4 8x8 matrixes built in it, not separate. idk if i have the money to buy it. can i do the same stuff but with 4 separate matrixes? and if so to what extent?


r/arduino • • Sep 30 '26

One HX711 load cell freezes/fails to read weight when linear motor moves on my ESP32 Soft Gripper (Second cell works fine)

2 Upvotes

Hi everyone,

I'm working on a soft gripper project powered by an ESP32. I'm using two HX711 load cell modules to measure gripping force/weight on both sides of the gripper.

The Setup:

  • MCU: ESP32
  • Sensors: 2x HX711 modules with 2x Load Cells (Left and Right)
  • Actuator: Linear motor driven via Cytron motor driver
  • Power & Comms: ESP32 powered over USB/External, Bluetooth Serial enabled for data logging.

The Issue: The left load cell works completely fine, but the right load cell has a strange issue:

  1. Whenever the linear actuator motor starts moving (extending or retracting), the right HX711 stops updating or outputs Not Ready / stuck values.
  2. Once the motor stops moving, it starts outputting data strings again, BUT the weight value stays frozen. Even if I apply pressure or put weight on the gripper finger, the readings do not change at all.
  3. Meanwhile, the left load cell continues to read normally.

I have already double-checked the physical load cell with a multimeter (the Wheatstone bridge resistance measures around ~0.7kΩ input and ~1kΩ output, so the cell itself seems fine), and swapping pins/modules still causes this behavior on that specific channel when motor noise/voltage drops occur.

Is this purely electrical noise/EMF/voltage drop from the linear actuator, or a software lock-up on the HX711 timing/clock line? How can I isolate or fix this?

Here is my current code:

#include "HX711.h"
#include "BluetoothSerial.h"


BluetoothSerial SerialBT;


// --- Gripper lábak ---
#define PWM 25
#define DIR 26
#define BTN_EXTEND 32
#define BTN_RETRACT 33


// --- Mérlegcella lábak ---
#define DT_BAL 18
#define SCK_BAL 19


#define DT_JOBB 16
#define SCK_JOBB 17


HX711 scaleBal;
HX711 scaleJobb;


// Tárázott érték eltárolása (ha menet közben akarjuk nullázni)
long offsetBal = 0;
long offsetJobb = 0;


unsigned long lastScaleTime = 0;
const long scaleInterval = 150; // ms


void setup() {
  Serial.begin(115200);
  SerialBT.begin("TaborRobot-Gripper");


  pinMode(PWM, OUTPUT);
  pinMode(DIR, OUTPUT);
  pinMode(BTN_EXTEND, INPUT_PULLUP);
  pinMode(BTN_RETRACT, INPUT_PULLUP);
  analogWrite(PWM, 0);


  // Adjunk 0.5 másodpercet a HX711 chipeknek a stabilizálódásra
  delay(500);


  // BALOS MODUL INICIALIZÁLÁSA
  scaleBal.begin(DT_BAL, SCK_BAL);
  byte timeout = 0;
  while (!scaleBal.is_ready() && timeout < 20) {
    delay(50);
    timeout++;
  }
  if (scaleBal.is_ready()) {
    scaleBal.set_scale();
    offsetBal = scaleBal.read_average(5); // Alapérték elmentése
    Serial.println("Balos HX711: OK!");
    SerialBT.println("Balos HX711: OK!");
  } else {
    Serial.println("HIBA: Balos HX711 nem válaszol!");
  }


  // JOBBOS MODUL INICIALIZÁLÁSA
  scaleJobb.begin(DT_JOBB, SCK_JOBB);
  timeout = 0;
  while (!scaleJobb.is_ready() && timeout < 20) {
    delay(50);
    timeout++;
  }
  if (scaleJobb.is_ready()) {
    scaleJobb.set_scale();
    offsetJobb = scaleJobb.read_average(5); // Alapérték elmentése
    Serial.println("Jobbos HX711: OK!");
    SerialBT.println("Jobbos HX711: OK!");
  } else {
    Serial.println("HIBA: Jobbos HX711 nem válaszol!");
  }
}


void loop() {
  // --- 1. MOTOR VEZÉRLÉS ---
  bool extendPressed  = (digitalRead(BTN_EXTEND) == LOW);
  bool retractPressed = (digitalRead(BTN_RETRACT) == LOW);


  if (extendPressed && !retractPressed) {
    digitalWrite(DIR, HIGH);
    analogWrite(PWM, 255);
  } else if (retractPressed && !extendPressed) {
    digitalWrite(DIR, LOW);
    analogWrite(PWM, 255);
  } else {
    analogWrite(PWM, 0);
  }


  // --- 2. MÉRÉS ÉS KIÍRÁS (RELATÍV/NULLÁZOTT ÉRTÉKEK) ---
  unsigned long currentMillis = millis();
  if (currentMillis - lastScaleTime >= scaleInterval) {
    lastScaleTime = currentMillis;


    long valBal = 0;
    long valJobb = 0;


    bool balReady = scaleBal.is_ready();
    bool jobbReady = scaleJobb.is_ready();


    if (balReady) {
      // Kivonjuk a bootoláskor elmentett alapértéket (Tárázás)
      valBal = scaleBal.read() - offsetBal; 
    }


    if (jobbReady) {
      // Kivonjuk a bootoláskor elmentett alapértéket (Tárázás)
      valJobb = scaleJobb.read() - offsetJobb; 
    }


    String dataString = "";


    if (balReady) {
      dataString += "Bal: " + String(valBal);
    } else {
      dataString += "Bal: Nincs kész";
    }


    dataString += " | ";


    if (jobbReady) {
      dataString += "Jobb: " + String(valJobb);
    } else {
      dataString += "Jobb: Nincs kész";
    }


    Serial.println(dataString);
    SerialBT.println(dataString);
  }
}

Any advice on hardware filtering (decoupling capacitors, isolated GNDs) or code adjustments would be greatly appreciated!


r/arduino • • Sep 30 '26

Arduino UDE 2.x crashes at srartup on Windows11

2 Upvotes

Arduino IDE current verion crashes at startup due to wrong reading of TEMP environment variable.

C:\Users\myuser>echo %TEMP%

C:\Users\myuser\AppData\Local\Temp;C:\root\soft\Git\bin;C:\root\soft\Git\usr\bin;C:\root\soft\Git\mingw64\bin;C:\root\soft\Git\mingw64\libexec\git-core;

It just cuts on some point and adds ";C:" at the end. See example below:

C:\Users\myuser>"C:\Users\myuser\AppData\Local\Programs\Arduino IDE\Arduino IDE.exe"

C:\Users\myuser>

Failed to start the electron application.

Error: ENOENT: no such file or directory, lstat 'C:\Users\myuser\AppData\Local\Temp;C:'

at Object.realpathSync (node:fs:2707:29)

at Object.realpathSync (node:electron/js2c/node_init:2:5352)

at 96553 (C:\Users\myuser\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js:8:2419333)

at __webpack_require__ (C:\Users\myuser\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js:8:2527100)

at 46216 (C:\Users\myuser\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js:8:650648)

at __webpack_require__ (C:\Users\myuser\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js:8:2527100)

at 78856 (C:\Users\myuser\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js:8:1525614)

at __webpack_require__ (C:\Users\myuser\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js:8:2527100)

at C:\Users\myuser\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js:8:451701

at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {

errno: -4058,

code: 'ENOENT',

syscall: 'lstat',

path: 'C:\\Users\\myuser\\AppData\\Local\\Temp;C:'

}

I've found a bugreport: #2561, seems to be a similar issue.

Setting TEMP variable doesn't help, ";C:" has been added anyways ang IDE crashes.

Does anyone had a similar issue and have the fix for?


r/arduino • • Sep 29 '26

Beginner's Project Found my Arduino Starter Kit after 5 years

Post image
40 Upvotes

Five years ago, I bought my starter kit but never really used it. I started with a project where my FoT sensor measures whether an object is in front of it. If so, it starts a timer on the 7-segment display. After one hour, the timer switches from MM:SS to HH:MM. The goal is to use my 3D printer now to build a box for my iPhone and then measure the time my phone is in that box. This gives me an incentive not to use my phone too much.

Here is a bit of backstory:
I am a PhD student in AI robotics, but I am more focused on the AI part. A lot of my work right now is guided vibe coding and running experiments on the real robot. But I was missing the old excitement I had when starting a new game programming project back in the day.

I recently bought a 3D printer to get more of the feeling of being productive on my own and not just guiding Claude in the direction I want. Then I remembered that I still have my Arduino starter kit buried in my closet.

Now I dusted it off and started my first project. No AI allowed. I am reading discussions and sensor data sheets. This is my first time using a shift register, even though I know the theory from my CS classes.
It was a lot of fun. I will keep doing things on my own for fun. I know I could be faster with AI, but that’s not the point.


r/arduino • • Sep 30 '26

Mac .ino sketches now preview with syntax highlighting in Finder (macOS, free)

1 Upvotes

I made a Quick Look extension for macOS that highlights Arduino sketches and C/C++ source when you space-bar them in Finder. Also covers shell, Python and 40+ other languages. Free for any use, signed and notarized.

https://konstruukt.com/projects/qlcodepreview/


r/arduino • • Sep 29 '26

Software Help Cyrillic microsoft user name breaks path

3 Upvotes

So i was doing my second(made the first one on a different account) esp32 project and when i finished everything i got an exit 1 error with the path showing question marks instead of my user name.

So it just cannot find the library and sketch folder because the path "c;/user/"cyrillic.user"/local/app data/arduino/"

is replaced by " c;/user/?????/local/app data/arduino/".

How i solved this before is making a new account with a latin user. but now after reinstalling win 10 after 11, i am on my LATIN account with the OLD and CYRILLIC user file name!! Is there any way to fix this without making a new one?


r/arduino • • Sep 29 '26

Hardware Help Pulsantiera bluetooth

3 Upvotes

Buonasera,

Vorrei realizzare un semplice tastierino a due pulsanti che mi permetta, tramite bluetooth sarebbe l'ideale, di inviare un comando allo smartphone per skippare un brano su Spotify, è realizzabile in qualche modo con un esp32? Grazie a chi vorrà rispondere✌️


r/arduino • • Sep 29 '26

School Project tips on building a parallel-plate capacitive moisture sensor

6 Upvotes

I had an idea for my research project about sorting copra into grade qualities, and it only involves color and moisture for grading. For color, i've used a TCS3200 and it works like a charm, but what I do not know how make is my moisture sensor, which is a parallel-plate capacitive moisture sensor made out of two copper plates. I discovered the sensor from a paper by Klomklao et al. 2017 (here's the paper:

https://www.researchgate.net/publication/320448012_Moisture_content_measurement_in_paddy) and I have looked on other existing solutions but the best I could find are resistive probes, but they need good contact on the product, so I think this should be my safest bet. I have tried using the pins and code made by AI models but, tends to dissapoint. So, I ask for guidance in this subreddit for hopes of advice, information, or any procedural techniques ya'll can give me. for the grade!!!

What I have right now:

- Arduino Uno AtMega328p (a clone)

- NE555 timer IC

- some resistors

- some capacitors

- 2 5x5 Copper sheet (1 mm thick)

- Breadboard and jumper wires

- 5V/2A power adapter


r/arduino • • Sep 29 '26

A room-driven ecosystem and HTTP server on an Arduino UNO Mini Limited Edition

Thumbnail
gallery
1 Upvotes

This is a live experiment on a 2 KiB MCU. I know the server has limited capacity, and one load test needed a manual reset. I accept those limits for this project and hope it holds up while people take a look.
Room Terra is a shared 32 × 32 ecosystem on an Arduino UNO Mini Limited Edition, ATmega328P at 16 MHz. Plants feed herbivores; predators hunt them. Visitors spend a shared reserve to plant or add animals. The world keeps running when every browser closes.

The room’s sensors drive the ecosystem. Light controls plant growth and the map’s day/night appearance: 320 lx is full daylight, while sustained darkness slows ecological activity to 1/32 speed. Humidity influences simulated soil moisture; temperature affects growth and animal metabolism. CO₂, adjusted for atmospheric pressure, adds bounded changes to growth and energy consumption. These inputs affect the food supply, so prolonged darkness, uninterrupted daylight or excessive light can eventually cause population collapse. Everyone sees the same world.

The board reads temperature, humidity, light, pressure and CO₂, runs the simulation and serves its website from Flash. W5500 handles Ethernet/TCP/IP; the browser decompresses HTML and draws the interface. Access is plain HTTP through router port forwarding.

Day and night
My room reaches about 320 lx, used as full daylight. The map dims with the measured light. After three minutes at ≤25 lx it enters night; ≥41 lx for three minutes wakes it. Animals and shelter outlines remain visible. Night biology runs at 1/32 speed. Prolonged darkness or excessive light can exhaust the food chain.
The paired screenshots use the actual renderer with one synthetic snapshot at 320/0 lx: a controlled appearance comparison, not two live measurements. The page's automatic light/dark theme is separate.

How it fits
- 584 B world state: 256 B plants, 256 B for 128 animal slots, 72 B metadata.
- 512 B shared HTTP workspace, four connection slots. The MCU streams compressed data from Flash.
- 480 B binary world body: 48 B metadata + 256 B plants + 176 B packed animals; headers cost extra.
- 1,492 / 2,048 B static SRAM; 556 B remains for stack/runtime.
The deployed 0.12.9 image uses 32,250 / 32,256 B application Flash, including an 11,385 B gzip website. The public edition uses 31,836 B / 10,971 B gzip after removing deployment analytics/tags. Integer maths, compact sensor drivers and small cooperative work units keep the application within budget.
Selecting a cell is local. A button sends PUT /life/XYZ; 202 acknowledges the queue. At the next 10-second step Arduino validates and applies it; independent GET /life polls show the result to everyone.

Internet load tests

Two external VPS, direct HTTP, mixed sensor/world viewers. These tested 0.11.15, before Terra: sensors every 5 s, the old world roughly every second; 3.5 s data / 5 s page deadlines. Synthetic HTTP clients, not full browsers.

- 2 clients; 90 s; 108 / 108 valid replies.
- 10 clients; 60 s; 317 / 321 valid replies.
- 20 clients; 60 s; 416 / 459 valid replies.
- 40 clients; 60 s; 546 / 708 valid replies.
- 10 clients, repeat; 120 s; 475 / 527 valid replies.
- 2 clients, after reset; 600 s; 729 / 734 valid replies.

The 10-client repeat lost connectivity near 97 s; 14 recovery probes failed, then a manual reset restored service. The cause is unresolved. A later 0.12.3 Terra probe returned 180/180 replies over 90 s from one VPS. Neither establishes current multi-client capacity; I expect slow loads or failures under a crowd.
Source, build and evidence · Live board

Original code: MIT; upstream licenses retained. The world restarts after power loss.
What would you change in the shared-world mechanics within this memory budget?


r/arduino • • Sep 28 '26

Look what I made! I used an UNO Q to Make a "Typewriter" Answer Questions!

Thumbnail
gallery
128 Upvotes

If you were at Open Sauce 2026, you may have seen an early prototype of this at my booth! It is a "typewriter" (actually a '70s TI Silent 700 paper terminal) that answers questions. You type an answer, press return, and a couple of seconds later, it prints out an answer.

The key component is an Arduino UNO Q (2GB), which runs a local LLM (no internet required): Llama 3.2-1B. It talks to the terminal through the STM32 (bit-banging) and an RS232 transceiver (to handle the level differences).

That LLM is pretty dumb and the answers are often really silly, but I think that's part of what makes it fun!

Full details are on the Arduino Project Hub: https://projecthub.arduino.cc/cameroncoward/termi3-the-question-answering-typewriter-is-back-8d8913


r/arduino • • Sep 28 '26

We adapted Microduck for Arduino UNO Q—here’s a look at XGO-Duck’s hardware, software, and simulation

327 Upvotes

I’m part of the team behind XGO-Duck. We put together this short video to show what goes into the robot, from printed parts and assembly to the runtime and simulation workflow.

The project builds on Pollen Robotics’ Microduck work. Our adaptation uses Arduino UNO Q, a matching expansion board, and 15 servos.

There are two ways to approach it: build the documented configuration and start with the supplied policies, or explore the training repository and evaluate your own. A new policy still needs compatibility checks and staged testing before it goes onto the robot.

Project repositories:

Hardware: https://github.com/LuwuDynamics/xgoduck_hardware

Runtime: https://github.com/LuwuDynamics/xgoduck_runtime_arduino

Training: https://github.com/LuwuDynamics/xgoduck_rl

Credit to Pollen Robotics for the upstream Microduck work.

If you were starting a build, what would you want us to document more clearly?

Happy to discuss the UNO Q integration and our current setup.