# Software and microcontrollers

**URL:** https://forum.pololu.com/c/robotics-and-electronics-general-discussion/software-and-microcontrollers/12.md

[Latest](https://forum.pololu.com/latest.md) · [Categories](https://forum.pololu.com/categories.md)

---

## [About the Software and microcontrollers category](https://forum.pololu.com/t/about-the-software-and-microcontrollers-category/18)

<div class="topic-metadata">

**Author:** [@system](https://forum.pololu.com/u/system)\
**Replies:** 0\
**Last updated:** [July 22, 2004, 7:52pm UTC](https://forum.pololu.com/t/about-the-software-and-microcontrollers-category/18 "2004-07-22T19:52:39Z")

</div>

Technical discussions about software, control algorithms, and programming languages.

---

## [Choosing the right ball caster](https://forum.pololu.com/t/choosing-the-right-ball-caster/29226)

<div class="topic-metadata">

**Author:** [@justbeatit](https://forum.pololu.com/u/justbeatit)\
**Replies:** 1\
**Last updated:** [August 21, 2026, 11:01pm UTC](https://forum.pololu.com/t/choosing-the-right-ball-caster/29226 "2026-08-21T23:01:10Z")

</div>

I can see the pololu has different types of ball casters such as- Pololu Ball Caster with 1 inch Plastic Ball Pololu Ball Caster with 3/4 inch Plastic Ball Pololu Ball Caster with 3/4″ Metal Ball etc. However, it’s …

---

## [A Small Post and Targeting the Mini Maestro](https://forum.pololu.com/t/a-small-post-and-targeting-the-mini-maestro/29111)

<div class="topic-metadata">

**Author:** [@silver2row](https://forum.pololu.com/u/silver2row)\
**Replies:** 0\
**Last updated:** [June 24, 2026, 12:47am UTC](https://forum.pololu.com/t/a-small-post-and-targeting-the-mini-maestro/29111 "2026-06-24T00:47:59Z")

</div>

Although this is not UART based (yet), here is a small post dedicated to the 18-Channel Mini Maestro. It is pure AI and needs additional support. I got it to work with pyserial instead of the pyusb like the general A…

---

## [18-Channel Maestro and Shutdown on SBC](https://forum.pololu.com/t/18-channel-maestro-and-shutdown-on-sbc/29095)

<div class="topic-metadata">

**Author:** [@silver2row](https://forum.pololu.com/u/silver2row)\
**Replies:** 4\
**Last updated:** [June 21, 2026, 8:40am UTC](https://forum.pololu.com/t/18-channel-maestro-and-shutdown-on-sbc/29095 "2026-06-21T08:40:24Z")

</div>

As some of you know, I am an issue at times to myself. Outside of me thinking I know everything, what would cause the 18-Channel Maestro to shutdown a SBC (BeagleY-AI)? #!/usr/bin/python3 # Where did this source code …

---

## [Having trouble with servo range on Mini Maestro – only getting 90° movement](https://forum.pololu.com/t/having-trouble-with-servo-range-on-mini-maestro-only-getting-90-movement/29066)

<div class="topic-metadata">

**Author:** [@sebtian](https://forum.pololu.com/u/sebtian)\
**Replies:** 1\
**Last updated:** [June 9, 2026, 9:08pm UTC](https://forum.pololu.com/t/having-trouble-with-servo-range-on-mini-maestro-only-getting-90-movement/29066 "2026-06-09T21:08:48Z")

</div>

I’m using a Mini Maestro 24 with MG996R servos on a hexapod project. When I send commands from 4000 to 8000 (quarter-microseconds), I only get about 45° each direction from center — 90° total. I know these servos can do …

---

## [Buck Converter Noise Resets My Microcontroller During Load Changes](https://forum.pololu.com/t/buck-converter-noise-resets-my-microcontroller-during-load-changes/28996)

<div class="topic-metadata">

**Author:** [@Evagreen](https://forum.pololu.com/u/Evagreen)\
**Replies:** 2\
**Last updated:** [May 13, 2026, 5:31pm UTC](https://forum.pololu.com/t/buck-converter-noise-resets-my-microcontroller-during-load-changes/28996 "2026-05-13T17:31:06Z")

</div>

Hello, I designed a small embedded board powered by a buck converter. The MCU runs normally, but when the output load changes quickly, the controller sometimes resets unexpectedly. The reset line is pulled high with 10…

---

## [Pico based wireless sensor node, help needed](https://forum.pololu.com/t/pico-based-wireless-sensor-node-help-needed/28907)

<div class="topic-metadata">

**Author:** [@Evagreen](https://forum.pololu.com/u/Evagreen)\
**Replies:** 2\
**Last updated:** [March 18, 2026, 10:20pm UTC](https://forum.pololu.com/t/pico-based-wireless-sensor-node-help-needed/28907 "2026-03-18T22:20:41Z")

</div>

Hi everyone, I’m currently working on a small wireless sensor node using the Raspberry Pi Pico. The prototype uses the Pico module with an MPU6050 (I²C) for motion sensing and a small SPI-based display to visualize data…

---

## [12V auto to Raspberry second opinions](https://forum.pololu.com/t/12v-auto-to-raspberry-second-opinions/28901)

<div class="topic-metadata">

**Author:** [@kennethjk3](https://forum.pololu.com/u/kennethjk3)\
**Replies:** 1\
**Last updated:** [March 13, 2026, 7:04pm UTC](https://forum.pololu.com/t/12v-auto-to-raspberry-second-opinions/28901 "2026-03-13T19:04:35Z")

</div>

I want to get a second opinion on how i would get these items wired together: 12V \> Pololu 0J10137 \> Pololu D24V50F5 \> Pololu S18V20F the Pololu 0J10137 would get tied to the battery and starter? Does this generated F…

---

## [Error compiling using boolean variable](https://forum.pololu.com/t/error-compiling-using-boolean-variable/28783)

<div class="topic-metadata">

**Author:** [@John1G](https://forum.pololu.com/u/John1G)\
**Replies:** 10\
**Last updated:** [January 21, 2026, 1:53pm UTC](https://forum.pololu.com/t/error-compiling-using-boolean-variable/28783 "2026-01-21T13:53:21Z")

</div>

Attempting to use Solar Tracker code for stepper motor . Specifically: pololu.com/viewtopic.php?f=15&t=6424. Attempting to compile for UNO, I get consistent errors that directionVAL was not declared in this scope. I have…

---

## [ Pololu A89301 Configuration Utility](https://forum.pololu.com/t/pololu-a89301-configuration-utility/28670)

<div class="topic-metadata">

**Author:** [@MrPhil](https://forum.pololu.com/u/MrPhil)\
**Replies:** 3\
**Last updated:** [December 9, 2025, 3:16pm UTC](https://forum.pololu.com/t/pololu-a89301-configuration-utility/28670 "2025-12-09T15:16:16Z")

</div>

I’m trying to run the Pololu A89301 Configuration Utility (https://www.pololu.com/file/0J2191/pololu-a89301-windows-1.0.1.zip) I’ve downloaded the zip, expanded it and run the setup.exe. It seems to run to completion,…

---

## [Balboa32U4 robot MATLAB simulation](https://forum.pololu.com/t/balboa32u4-robot-matlab-simulation/28005)

<div class="topic-metadata">

**Author:** [@fluerasil5612](https://forum.pololu.com/u/fluerasil5612)\
**Replies:** 5\
**Last updated:** [August 5, 2025, 6:41pm UTC](https://forum.pololu.com/t/balboa32u4-robot-matlab-simulation/28005 "2025-08-05T18:41:40Z")

</div>

Hello! I’m running a MATLAB simulation of Balboa32U4 using non-linear model of a balancing robot system. The dynamic variables are tilt angle \\theta and rotational angle of the wheel \\phi. I would like to confirm the mo…

---

## [Please help with ROMI kit, avrdude: butterfly\_recv(): programmer is not responding error](https://forum.pololu.com/t/please-help-with-romi-kit-avrdude-butterfly-recv-programmer-is-not-responding-error/27944)

<div class="topic-metadata">

**Author:** [@St0neWan9](https://forum.pololu.com/u/St0neWan9)\
**Replies:** 2\
**Last updated:** [July 3, 2025, 8:00pm UTC](https://forum.pololu.com/t/please-help-with-romi-kit-avrdude-butterfly-recv-programmer-is-not-responding-error/27944 "2025-07-03T20:00:35Z")

</div>

Hi there, After imaging ROMI with WPILibPi\_64\_image-v2023.2.1-Romi image file, got to web ui of dashboard, all things work fine. But when I updated firmware, always got “avrdude: butterfly\_recv(): programmer is not res…

---

## [x64 Bytecode.dll](https://forum.pololu.com/t/x64-bytecode-dll/27476)

<div class="topic-metadata">

**Author:** [@SurgScie](https://forum.pololu.com/u/SurgScie)\
**Replies:** 5\
**Last updated:** [February 26, 2025, 12:52am UTC](https://forum.pololu.com/t/x64-bytecode-dll/27476 "2025-02-26T00:52:32Z")

</div>

Hi, I’m currently working on a project that integrates Usc, UscCMD, 'Sequencer\`, from Maestro, but I noticed that the provided Bytecode.dll DLL is only available in x86. Since my application runs in a 64-bit environment,…

---

## [Pololu A-Star 32U4 Mini SV Booatloader Issue](https://forum.pololu.com/t/pololu-a-star-32u4-mini-sv-booatloader-issue/27506)

<div class="topic-metadata">

**Author:** [@Guha](https://forum.pololu.com/u/Guha)\
**Replies:** 2\
**Last updated:** [February 18, 2025, 3:51am UTC](https://forum.pololu.com/t/pololu-a-star-32u4-mini-sv-booatloader-issue/27506 "2025-02-18T03:51:04Z")

</div>

Hi, I am currently doing a project for an electric car that has to move a certain distance as close as possible with the least error as possible. I got the Pololu 6.3:1 Metal Gearmotor 37Dx65L mm 12V with 64 CPR Encoder …

---

## [Accurate 90 degree turns and straight lines with pololu 3pi](https://forum.pololu.com/t/accurate-90-degree-turns-and-straight-lines-with-pololu-3pi/27461)

<div class="topic-metadata">

**Author:** [@toucan](https://forum.pololu.com/u/toucan)\
**Replies:** 16\
**Last updated:** [February 12, 2025, 2:52pm UTC](https://forum.pololu.com/t/accurate-90-degree-turns-and-straight-lines-with-pololu-3pi/27461 "2025-02-12T14:52:58Z")

</div>

I am coding a 3pi robot to follow a precise path consisting of straight lines and 90 degree turns. I am initially finding some success in using a PID algorithm to tune the straight lines, with a target set at having the …

---

## [TTL Communication Problem Between Pololu Micro Maestro, Arduino UNO, and Joystick](https://forum.pololu.com/t/ttl-communication-problem-between-pololu-micro-maestro-arduino-uno-and-joystick/27411)

<div class="topic-metadata">

**Author:** [@Niko](https://forum.pololu.com/u/Niko)\
**Replies:** 5\
**Last updated:** [January 28, 2025, 7:47pm UTC](https://forum.pololu.com/t/ttl-communication-problem-between-pololu-micro-maestro-arduino-uno-and-joystick/27411 "2025-01-28T19:47:08Z")

</div>

Hello, I am currently experiencing a technical issue with my Pololu Micro Maestro and would appreciate assistance in resolving it. I have assembled a system comprising an Arduino UNO, a Pololu Micro Maestro, a joystick,…

---

## [Romi Robot Encoders Counting Differently despite driving at same speed](https://forum.pololu.com/t/romi-robot-encoders-counting-differently-despite-driving-at-same-speed/27350)

<div class="topic-metadata">

**Author:** [@helobro](https://forum.pololu.com/u/helobro)\
**Replies:** 2\
**Last updated:** [January 14, 2025, 7:04am UTC](https://forum.pololu.com/t/romi-robot-encoders-counting-differently-despite-driving-at-same-speed/27350 "2025-01-14T07:04:53Z")

</div>

Hello! I have a romi robot and I’m using arduino to program it. I would like it to drive straight. When I am using encoders to try to match values so that the romi goes straight, the left and right encoder counts seem t…

---

## [Doubts about QTR](https://forum.pololu.com/t/doubts-about-qtr/27262)

<div class="topic-metadata">

**Author:** [@martadaisy23](https://forum.pololu.com/u/martadaisy23)\
**Replies:** 1\
**Last updated:** [December 9, 2024, 8:46pm UTC](https://forum.pololu.com/t/doubts-about-qtr/27262 "2024-12-09T20:46:44Z")

</div>

Hi, I’m carrying out a project in physics, in which we have to create a robot that is a line follower. I have a question about QTR. My QTR is the QTR-8RC, when I try to run the Arduino code I encounter an error due to t…

---

## [Can't get DRV8434S to fault on OL](https://forum.pololu.com/t/cant-get-drv8434s-to-fault-on-ol/27169)

<div class="topic-metadata">

**Author:** [@arm22q13](https://forum.pololu.com/u/arm22q13)\
**Replies:** 10\
**Last updated:** [December 5, 2024, 5:55pm UTC](https://forum.pololu.com/t/cant-get-drv8434s-to-fault-on-ol/27169 "2024-12-05T17:55:13Z")

</div>

I have the DRV8434S working great with a stepper motor, using the Arduino driver. The only problem I have is detecting a disconnected motor. I cannot get the OL bit on the FAULT register to set when the motor is disconne…

---

## [VL53L0X processor utilization](https://forum.pololu.com/t/vl53l0x-processor-utilization/27203)

<div class="topic-metadata">

**Author:** [@JMW](https://forum.pololu.com/u/JMW)\
**Replies:** 4\
**Last updated:** [November 23, 2024, 12:43am UTC](https://forum.pololu.com/t/vl53l0x-processor-utilization/27203 "2024-11-23T00:43:05Z")

</div>

Using an ESP8266. Which mode of operation (single read vs. continuous) uses the most processor resources?

---

## [Straight line PID for Zumo 2040](https://forum.pololu.com/t/straight-line-pid-for-zumo-2040/27195)

<div class="topic-metadata">

**Author:** [@Primus3081](https://forum.pololu.com/u/Primus3081)\
**Replies:** 5\
**Last updated:** [November 22, 2024, 5:30am UTC](https://forum.pololu.com/t/straight-line-pid-for-zumo-2040/27195 "2024-11-22T05:30:20Z")

</div>

Hello! I am trying to develop a PID for a Zumo 2040 to travel in a straight line to any distance from 7-10 meters to an accuracy of 0.1 cm. We have the distance working, but the Zumo is swerving and the right motor is no…

---

## [Romi Chassis 90 degree turns](https://forum.pololu.com/t/romi-chassis-90-degree-turns/27118)

<div class="topic-metadata">

**Author:** [@Circle4](https://forum.pololu.com/u/Circle4)\
**Replies:** 1\
**Last updated:** [November 6, 2024, 3:16am UTC](https://forum.pololu.com/t/romi-chassis-90-degree-turns/27118 "2024-11-06T03:16:19Z")

</div>

Hi, I have the Romi Chassis 32U4, and have been trying to figure out code to make it turn a precise 90 degree angle. I’m quite new to programming, so I was wondering if you guys know any code/ ways to code that. Any help…

---

## [Windows device descriptor request failed](https://forum.pololu.com/t/windows-device-descriptor-request-failed/27080)

<div class="topic-metadata">

**Author:** [@rtn](https://forum.pololu.com/u/rtn)\
**Replies:** 1\
**Last updated:** [October 29, 2024, 10:34pm UTC](https://forum.pololu.com/t/windows-device-descriptor-request-failed/27080 "2024-10-29T22:34:25Z")

</div>

Hi all When i connect my Pololu Maestro to my laptop i get a windows device descriptor request error if i try and connect it to my desktop it is not even seen, i have tried 2 different leads one is new

---

## [Romi Question](https://forum.pololu.com/t/romi-question/26883)

<div class="topic-metadata">

**Author:** [@Oifarz](https://forum.pololu.com/u/Oifarz)\
**Replies:** 3\
**Last updated:** [October 24, 2024, 12:10am UTC](https://forum.pololu.com/t/romi-question/26883 "2024-10-24T00:10:37Z")

</div>

To upload code and run it is it required to use the wifi adapter or can you upload and run code using a usb connector and run it without computer use (like upload the code it the sd card and clicking a button to run it).…

---

## [Problem with Motoron Speed](https://forum.pololu.com/t/problem-with-motoron-speed/26881)

<div class="topic-metadata">

**Author:** [@maurone7](https://forum.pololu.com/u/maurone7)\
**Replies:** 1\
**Last updated:** [October 23, 2024, 8:30pm UTC](https://forum.pololu.com/t/problem-with-motoron-speed/26881 "2024-10-23T20:30:48Z")

</div>

Hello! I am working on a project where I need to control a motor with an Encoder. I bought the motor and the controller from Pololu, while the Arduino is Elegoo (The specific parts are at the bottom of the post). My fir…

---

## [Using 6 Tic controllers with ticcmd - optimization questions](https://forum.pololu.com/t/using-6-tic-controllers-with-ticcmd-optimization-questions/26018)

<div class="topic-metadata">

**Author:** [@fenrelot](https://forum.pololu.com/u/fenrelot)\
**Replies:** 3\
**Last updated:** [October 2, 2024, 6:22am UTC](https://forum.pololu.com/t/using-6-tic-controllers-with-ticcmd-optimization-questions/26018 "2024-10-02T06:22:28Z")

</div>

Hi everyone, i have revived a project that i begun some years ago. I have a 3d printed Moveo with 6 axis. i am using 6 tic T500 to control 6 stepper motors of various sizes. i am using python to read and write positio…

---

## [1362 motor controllers](https://forum.pololu.com/t/1362-motor-controllers/26755)

<div class="topic-metadata">

**Author:** [@lowry55](https://forum.pololu.com/u/lowry55)\
**Replies:** 1\
**Last updated:** [October 1, 2024, 8:50pm UTC](https://forum.pololu.com/t/1362-motor-controllers/26755 "2024-10-01T20:50:55Z")

</div>

Can anyone provide me with the software link or tell me where to go to get the software link to download on my computer for the 1362 motor controller?? I want to “program” my controllers. Thanks in advance!!! Scott

---

## [PIR sensor + Arduino not triggering maestro sequences](https://forum.pololu.com/t/pir-sensor-arduino-not-triggering-maestro-sequences/26011)

<div class="topic-metadata">

**Author:** [@AndyJames](https://forum.pololu.com/u/AndyJames)\
**Replies:** 2\
**Last updated:** [September 26, 2024, 5:42am UTC](https://forum.pololu.com/t/pir-sensor-arduino-not-triggering-maestro-sequences/26011 "2024-09-26T05:42:01Z")

</div>

Hi all I’m trying to trigger maestro sequences via an Arduino nano. I have 8 sequences working on the maestro. The idea is to have a pir sensor trigger a random sequence when motion is detected ever 5 minutes. The serial…

---

## [Arduino Trigger Sequences](https://forum.pololu.com/t/arduino-trigger-sequences/26013)

<div class="topic-metadata">

**Author:** [@nev](https://forum.pololu.com/u/nev)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 3:27am UTC](https://forum.pololu.com/t/arduino-trigger-sequences/26013 "2024-09-25T03:27:47Z")

</div>

Hello! I am trying to write a fairly simple program with Arduino and Pololu Maestro servo controller. I want ‘sequence 2’ to loop and ‘sequence 0’ and ‘sequence 1’ to play when their associated buttons are pressed. I ca…

---

## [VL53L1X code hanging on sensor.init](https://forum.pololu.com/t/vl53l1x-code-hanging-on-sensor-init/25102)

<div class="topic-metadata">

**Author:** [@WolfBullet](https://forum.pololu.com/u/WolfBullet)\
**Replies:** 1\
**Last updated:** [January 8, 2024, 10:04pm UTC](https://forum.pololu.com/t/vl53l1x-code-hanging-on-sensor-init/25102 "2024-01-08T22:04:52Z")

</div>

So i’m using the continuous example code for the VL53L1X and added some debugging logs. I found out that for this sensor the code hangs on the sensor.init. It does not go to Serial.println(“Failed to detect and initializ…

[Next page](https://forum.pololu.com/c/robotics-and-electronics-general-discussion/software-and-microcontrollers/12.md?page=1)
