Quantcast
Channel: Software and microcontrollers - Pololu Forum
Browsing all 81 articles
Browse latest View live

How to handle line breaks when there are dead ends?

I have developed a line following robot using your QTRX-MD-13RC sensor. It perfectly follows the line (straight, curved and sharp turns). The competition arena contains line breaks and dead ends. At...

View Article


Problems uploading example program to Zumo32u4

Hello, I followed the instructions from the website for the Zumo 32u4 but I can’t seem to upload any type of program. I already followed the manual instructions from Github. I am using Arduino 1.6.11...

View Article


Help with basic code for mini mosfet on/off

Hello! I have a mini mosfet Pololu - Mini MOSFET Slide Switch with Reverse Voltage Protection, LV that i’m trying to just get a very basic arduino sketch working with to turn it on and off. Can anyone...

View Article

Current Sensor on Pololu G2 High-Power Motor Driver 18v25

Hi, I am using this Pololu G2 High-Power Motor Driver 18v25 motor driver to drive a DC motor. I am unsure if the value that I am getting from my current sensor is correct as it is giving 0.0007A when...

View Article

Maestro/Arduino 11th script issue

Hi, using an 12 channel Maestro and I have 10 sequences defined as below, however when I add an eleventh, the other get mixed up when called by the Arduino using restartScript. So Sequence 4 works...

View Article


Polulu sensor reading without normalization and potential speed gains?

Hello. I am trying to build an advanced line follower and maze solver robot using polulu QTR-13RC sensors. At lower speeds I can easily detect a 90 degree turn and break out of my PID loop to handle...

View Article

How to connect two AltImu-10 v6 via i2c?

I am working with 2 Pololu Altimu-10 V6 connected to the same ESP32 board. Both of them are connected via i2c protocol and have different addresses. The addresses are 0x1C and 0x1E. I have this code...

View Article

VL53L0X code to minimize latency

Hello! I am using several VL53L0X’s with Pololu’s library on an ESP32. I am attempting to retrieve ToF ranging measurements with as low latency as possible. I am then sending data wirelessly over UDP....

View Article


Image may be NSFW.
Clik here to view.

Best Way to Sample a Magnetic Field with Magnetometer of Pololu 3Pi Plus

I have a Pololu 3Pi 32U4. I am using the magnetometer for accurate 90 degree turns. This method works well given that the magnetic field is consistent, has low variability, and no obstructions. It is...

View Article


Battery level of the zumo shield

Hi, I’m working on an Arduino Zumo robot, and I’ve noticed that the batteries have an impact on the robot’s speed. For example, when the batteries start to drain, the robot slows down. This is...

View Article

QTR-8RC Reflectance Sensor Array with pico

Hello I would like to use the QTR-8RC Reflectance Sensor Array, with the PICO microcontroller in micropython. Do you have the software to do this? 2 posts - 2 participants Read full topic

View Article

Wixel communication between computer and Pololu 3P+ 2040OLED

I follow the manual of the Wixel and configure two of those by using the newest wireless serial app. One connects to the computer and here is the computer python code. import serial import time port =...

View Article

Sequence changes when USB disconnected

New to Pololu - 6 channel board - testing a simple sequence for 3 servos. Script runs servos fine when connected to PC via USB. When disconnected from PC and powered up looks to be running a very...

View Article


LIBUSBP on NVIDIA Orin AGX DevKit

Hello, I have previously successfully compiler the LIBUSBP libraries on Orin AGX DevKit but I am struggling with a strange error at this moment (new Orin where I need to install it again): When making...

View Article

Robot do not move with pixycam5 and IR sensor

hi I’m using the Shield v1.2 robot in addition to a Pixycam5 for color detection and a sharp sensor for object detection. the problem is that my robot doesn’t move when the Pixycam5 is attached and...

View Article


Sketch for Turn & Avoid for ZUMO 32U4

Hi there, I get the following error messages when I compile: L3G' does not name a type extern L3G gyro; LSM303' does not name a type; did you mean 'CS30'? LSM303 lsm303; // Accelerometer lsm303' was...

View Article

8835 dual motor carrier drivers & scripts for Ubuntu

hi, I have used the drv8835-motor-driver-rpi hardware, drivers and scripts on a Raspberry pi3B running raspbian. I have upgraded the wheeled bot to include a raspberry Pi4B 8GB device with Ubuntu22.4...

View Article


How to create robot acceleration profile given a certain average rate (math...

Hello, I have an interesting math question. I want my robot to move 50 cm. I want its average speed to be 3.5 cm/s. However, I want my robot to accelerate at the beginning and slow down as it...

View Article

PID Tuning

Hello, I’m building a line follower and for this I need help with PID Tuning. The thing with which I’m struggling is that the bot is taking a wider path or say taking a wider curve when making a turn...

View Article

PID Controller to Turn: Couple questions on the code (pasted below)

I’ve written the following code. It’s a PID controller to have my robot turn 90 degrees left. I think I’m getting the hang of PID control. Couple questions I’ve got: I need to set a cap for my...

View Article
Browsing all 81 articles
Browse latest View live