Quantcast
Channel: Software and microcontrollers - Pololu Forum
Browsing latest articles
Browse All 81 View Live

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


ESP32 in between Arduino and Maestro 18

Hello, I am working on a project that would have an ESP32 sit between an Arduino, using the Pololu Maestro library, and a Mini Maestro 18. The purpose of this project is to wirelessly trigger...

View Article

Image may be NSFW.
Clik here to view.

Seeking Some Guidance to Choosing the Right Microcontroller for Your Robotics...

Hi everyone, I am starting a new robotics project and could use some advice on selecting the right microcontroller. My project involves controlling a few DC motors, reading sensor data (like...

View Article

PIR sensor + Arduino not triggering maestro sequences

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...

View Article


Arduino Trigger Sequences

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...

View Article


Using 6 Tic controllers with ticcmd - optimization questions

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...

View Article

1362 motor controllers

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...

View Article

Problem with Motoron Speed

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...

View Article

Romi Question

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...

View Article


Windows device descriptor request failed

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...

View Article

Romi Chassis 90 degree turns

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...

View Article


Can't get DRV8434S to fault on OL

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...

View Article

Straight line PID for Zumo 2040

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...

View Article


VL53L0X processor utilization

Using an ESP8266. Which mode of operation (single read vs. continuous) uses the most processor resources? 5 posts - 3 participants Read full topic

View Article

Doubts about QTR

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...

View Article

Romi Robot Encoders Counting Differently despite driving at same speed

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...

View Article

TTL Communication Problem Between Pololu Micro Maestro, Arduino UNO, and...

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...

View Article


Accurate 90 degree turns and straight lines with pololu 3pi

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...

View Article


x64 Bytecode.dll

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...

View Article

Pololu A-Star 32U4 Mini SV Booatloader Issue

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...

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

Browsing latest articles
Browse All 81 View Live