Questions tagged [robotics]

28 questions
2
votes
2 answers

Cannot use global variable in pio function

I am working on a project in which I need to control a brushless motor with a microcontroller. I have chosen the Pico as I already have some on hand and there is a high chance of it being completely destroyed, so the low price is nice. To control…
lpinfinity
  • 23
  • 3
2
votes
0 answers

Real time video processing in raspberry pi 2

Hi i am planning to do real time image processing using opencv python for a differential drive bot using raspberry pi 3 B, what are the factors do we need to consider(like video stabilization, etc...) and please give a series of steps(flowchart) to…
2
votes
1 answer

Misreadings from hall sensor after using a motor controller

I am measuring a hall sensor included in a motor. A Raspberry Pi 3b+ controls a Sabertooth 2x32 motor controller through radio Signal (ppm) and the Sabertooth output is connected to the motor. I get wrong measurements, I am using pin risings to…
capitnakl
  • 23
  • 5
2
votes
1 answer

How to make the motion of a servo motor smoother?

I am having some trouble with controlling the motion of the servo motor. When I run my code, the servo motor moves in the specified range but the motion seems a bit erratic. I would be really grateful if I could get any suggestions on how the motion…
Usman
  • 21
  • 3
2
votes
1 answer

Is full disk encryption viable on a Pi3

I have a need for full disk encryption on two Pi3s with will be used for an autonomous robotic project. I see LUKS is available for Buster with remote unlock, which is necessary since the 2 Pi3s will be running headless. What I don't know is does a…
Nick
  • 774
  • 4
  • 16
1
vote
1 answer

Connecting 4 digital MEMS microphones with raspberry pi 4

I want to add 4 INMP441 digital MEMS microphones to the GPIO pins of Raspberry pi 4 to perform sound source localisation. Here's a reference link to the mic:…
1
vote
0 answers

MG996R jittering

I'm working on a project of a camera connected to a robotic arm that moves when my face is about to get out of the frame. I'm using 3 Tower Pro MG996R servos and they are connected to my raspberry pi. for some reason whenever I do a simple command…
amit
  • 11
  • 2
1
vote
0 answers

How to make/get a proportional flow control valve

I want to use hydraulic flow to proportionally vary the resistance of a rpi controlled exercise machine. The victim would rotate a positive displacement pump where the inlet and outlet ports are connected through one or more valves. I would prefer…
Steve Dutky
  • 121
  • 1
1
vote
1 answer

I am making a line following robot with obstacle detection

so I have made a code where it detects an obstacle it brakes elif it runs the trackok.py code the problem is when it starts the trackok.py code it stays in it and doesn't stop even if an obstacle is in front of it. this is the piece of code that has…
bahaa
  • 11
  • 5
1
vote
3 answers

How can I control a small electro-magnet and sense when it has picked up an item?

I'm looking to build an autonomous robot car, but needed to set it a difficult problem beyond following a line or avoiding edges. I've settled on getting it to learn to collect objects and drop them off in a fixed area, initially unknown to the…
Nick
  • 774
  • 4
  • 16
1
vote
3 answers

How to send sensor and analog data wirelessly to Pi without internet

I'm fairly new to all things RPi so im still trying to get my bearings. I want to control a robot from a distance, about a Mile approx. I have build the robot and i have no problem controlling it through SSH, but I want to deploy it in a field…
0
votes
0 answers

Permission problem with pwm and ros2

Good afternoon, I have a problem for a project. Let me explain, I'm trying to do a lawn-mower, it's a personnal project. I'm currently using a RPi 4 4bg, It runs on raspbian (Debian GNU/Linux 12 (bookworm)), the project should run with ros2 Jazzy.…
0
votes
0 answers

USB to RS485 Module with MODBUS-RTU RS485 Soil Sensor on Raspberry Pi 4B

If I purchase 2 of the USB to RS485 Module from DFRobot (https://www.dfrobot.com/product-2189.html) and 2 types of soil sensors which require that USB converter (https://www.dfrobot.com/product-2819.html) +…
0
votes
0 answers

A Micropyhton abstract robot library for pi-pico based robot kits

I'm looking for a slightly higher level Micropyhon library for pi-pico based robot kits. There seem to be many simple robot kits with similar hardware on the market at reasonable prices, but the software that comes with it tend to piece-meal demos…
NeilenMarais
  • 101
  • 1
0
votes
1 answer

DC Motor + goBILDA Speed Controller + Raspberry Pi 3b+ : Moves clockwise but won't move counterclockwise

I appreciate any help in this puzzling situation - I'm at a loss here. As part of a Robotics project, I'm trying to control a motor with a Raspberry Pi. The exact components I'm using are: A Raspberry Pi 3b+ A goBILDA Yellow Jacket 12V DC Gear…
1
2