Questions tagged [raspberry-pi]

The Raspberry Pi is a credit-card sized general purpose computer. Questions about Raspberry Pi but not related to robotics are off-topic, but may be asked on Raspberry Pi Stack Exchange.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Do I need anything between my Raspberry Pi, Orin Nano and Power Bank to protect my RPi and Orin Nano?

I am a beginner and am learning by building a 4-wheel mobile robot. I plan to use Li-ion power banks to power my Raspberry Pi and Orin Nano. Do I need any protection between the power bank and the ...
Msr09's user avatar
  • 1
0 votes
0 answers
8 views

How do I display a babylon.js animation on a Raspberry Pi 4b screen using ROS?

I am currently trying to run ROS in a multiple machine setup where my laptop is the master and an RPI is the slave. I want to run the babylon.js code on the RPI to display an animation. I am new to ...
Infinitypool's user avatar
0 votes
1 answer
20 views

"keyserver receive failed" with ROS Melodic Raspberry Pi

I am working on Unitree A1 Quadruped Robot. The bot has two boards, with Raspberry Pi on the front board. I am trying to install the ROS Melodic Raspberry Pi version using this link: When I run the <...
venkata's user avatar
0 votes
0 answers
14 views

Micro ROS build stuck after step one in raspberry Pi 3

I am running ROS2 Humble on my Raspberry Pi 3 and I also have a Raspberry Pi Pico running micro ROS. I am trying to install the micro ROS agent on my RPi3. The snap version of the micro ROS agent did ...
Sriram Kannan's user avatar
0 votes
0 answers
22 views

Stepper motor control with Sparkfun Autodriver L6470 in Raspberry Pi 4B

I am struggling and cannot get this to work all (stepper motor doesn't do anything, not convinced even energising as can turn manually with no resistance) Pins used from a Raspberry Pi 4B to a ...
Seb Wilson's user avatar
1 vote
2 answers
22 views

ROS1 to ROS2 in Burger

I want to work in ROS2 on my turtlebot3-burger (pi4), while I already work on ROS1-melodic. Can I do that with keeping my progress and without problems?
Mahdi Alkhafaji's user avatar
0 votes
1 answer
123 views

Drifting issue in ROS2 using SLAM-Toolbox

I'm slightly new to robotics and I'm trying to prototype using ROS2-Galactic, I am using built-in packages such as Slam Toolbox and others. Now that I'm trying to run it, I'm having some issues with ...
n000b's user avatar
  • 15
0 votes
2 answers
64 views

Dead reckoning or SLAM for localization with unusual locomotion?

I am working on a senior design project with a robot that moves in an unusual way: it rolls around in a single spherical body, similar to BB-8 from the Star Wars sequels. My personal task for the ...
Blucario's user avatar
0 votes
1 answer
241 views

Where should I write and call GPIO port connection in the hardware interface in ros2_control for control of robot movement on Raspberry Pi 4?

I am using ROS 2 Humble on Raspberry Pi 4(Ubuntu 22.04 OS). I am trying to build 2-wheeled diff-drive mobile robot and using ros2_control for controlling, but I'm ...
Shah's user avatar
  • 1
0 votes
0 answers
36 views

How can I change the dicitonary of aruco markers in aruco_ros package to the newer DICT_4x4 dictionary?

The arcuo_ros package by pal_electronics uses old dictionaries of aruco markers, the markers of these dictionaries are coded in uint64_t integer in the code file of the dictionaries dictionary.cpp (...
Chames Eddinne's user avatar
0 votes
0 answers
46 views

Stepper motor not working

I have recently purchased some stepper motors and drivers. The link to them is here. Stepper motor driver Stepper motor In addition to this i have this power source Power source The problem that is ...
BEn's user avatar
  • 1
0 votes
1 answer
374 views

Pico W does not connect to my phone's hotspot

I am trying to connect my Pico W to the hotspot that I have. The password and the name of the hotspot are in a file called "secret." I found the code online and when I try to run the code ...
kak_taki's user avatar
0 votes
0 answers
49 views

Pi Pico - HC05 AT commands don't work

I am trying to set up a Bluetooth communication between two pi pico devices using HC05s. I am trying to make the two HC05s connect and I read that you need to set up Master/Slave configurations using ...
kak_taki's user avatar
1 vote
1 answer
80 views

DRV8833 Motor driver connected to four raspberrypi zero V1.3 GPIO pins causes motor movement to fluctuate despite setting all pins to OFF

I have a raspberrypi zero V1.3 which I connected to multiple DRV8833 motor drivers. the DRV8833 chip is a motor driver that allows bidirectional movement of brushless motors by setting the two pins ...
Yes's user avatar
  • 111
0 votes
2 answers
591 views

[Raspberry Pi]: ROS 2 Humble on Ubuntu 22.04 Server: v4l2_camera reports "Failed stream start: Invalid argument (22)"

I have ROS2 Humble installed on Ubuntu 22.04 Server (64-bit) on a Raspberry Pi4. When I run the v4l2_camera node it finds my Pi Camera (v1.3) but then complains: Failed stream start: Invalid argument ...
Cyclical Obsessive's user avatar
0 votes
0 answers
235 views

error with Breezyslam (Descriptor length mismatch)

so I was working on a slam project and using the Breezyslam repo link, I am always getting this error, I don't know where I am getting it wrong, can someone help? ...
Pedakolimi Harish's user avatar
0 votes
1 answer
155 views

Diff-drive robot - Obstacle avoiding - random walk

I have implemented a logic-based algorithm for obstacle avoidance in a differential drive robot with 5 IR sensors. I want the robot in space, for example, a square room, to move freely and avoid ...
BiLLaKoS's user avatar
2 votes
2 answers
35 views

Raspberry Pi car connection to laptop in the park where there is no internet

I have built a small Raspberry Pi 4 car which can be controlled via my laptop. Both Raspberry Pi and Laptop are connected to my home internet. I want to take the car outside in the park. There is no ...
Robonoob's user avatar
0 votes
2 answers
197 views

How to move the robot using Raspberry Pi?

I used a Raspberry Pi 3 model B and a camera to make a robot detect fire, after watching Train a custom object detection model using your data. However I am not sure how to make this robot move after ...
Viv's user avatar
  • 1
0 votes
1 answer
111 views

Trying to get started with iRobot Create2 - need help reading sensors

I'm getting started helping high school students learn about robotics and we're trying to interface a Raspberry Pi 4 to the iRobot Create 2. I've got them started with some sample code for moving the ...
Bryan Martin's user avatar
1 vote
1 answer
322 views

Error when compiling cv_bridge in Raspberry Pi 4B with Raspbian buster and ROS Noetic

Im using Raspberry Pi 4B, with Raspbian Buster and ROS Noetic. When I tried to compile my catkin ws with a cv_bridge package I got the following error: CMake Error at vision_opencv/cv_bridge/...
bob's user avatar
  • 167
0 votes
1 answer
1k views

How to control a servo using ROS2 and MICRO-ROS

I am currently using a raspberry pi pico and a raspberry pi 4, So far I have established a connection between the two using micro-ros-agent I have also successfully built and ran the example provided ...
Aniket Wagh's user avatar
0 votes
1 answer
177 views

Rospy: Why does the loop not get interrupted?

I am working on the software for an autonomous Raspberry-Pi based robot which should keep moving for 2 minutes unless an unintended key is fed to it as input. Upon receipt of the unintended key, the ...
a_sid's user avatar
  • 101
1 vote
1 answer
40 views

Affordable pi like computer for robot

I have raspberry pi in a robot but it seems sdcard is not reliable at all. What are affordable options that could be considered reliable? Pi+USB Flash, Pi+USB SSD, Pi compute module with eMMC, ...
Artem's user avatar
  • 111
0 votes
2 answers
96 views

Best way to power Raspberry Pi 4 8GB + Arduino Uno Robot?

I am building a robot that uses an arduino to drive 4 mecanum wheels, which will be controlled by a Raspberry pi 4 8GB with the Lobe Machine Learning Hat via a serial connection. I'm fine with having ...
NCarlson's user avatar
  • 125
2 votes
5 answers
527 views

Recommended building materials for building a robot WITHOUT 3D printer?

I have a ton of ideas for building a robot using an arduino and raspberry pi. I have an assembled the wheels and chassis, and now I am left with an ugly raspberry pi and arduino + wires. It works, but ...
NCarlson's user avatar
  • 125
0 votes
2 answers
104 views

Raspberry Pi 4 to PCA9685 Steering Working but not Throttle

I am using a raspberry pi 4 connecting to a PCA9685 and following the instruction on the donkeycar doc site (the link can be found below). I am at the step "fine tuning calibration." When I ...
Megan Jones's user avatar
1 vote
2 answers
60 views

Now Unable to Communicate with Create2 and Getting repeated Bat: messages via the serial port

After hooking up my Raspberry Pi4 to the Create2 for the second time, I am now unable to communicate with the Create2. When I open minicom on the pi I see the following messages repeated on the screen....
Carlos F's user avatar
0 votes
1 answer
91 views

How to handle curved paths in maze

-I have an RPi on Ubuntu with ROS (Kinetic). The task is to solve a maze. I have implemented a left-hand algorithm to navigate through the maze. -The robot is equipped with 3 ultrasonic HC-SR04 ...
F. Krovinsky's user avatar
0 votes
3 answers
885 views

ROS Webcam Stream Really Slow

I am trying to stream the images from my camera to a VM via ROS. Here is my setup: Raspberry Pi 3B+ with Picamera v2. It is running ROS Noetic with cv_camera_node ...
DragonflyRobotics's user avatar
0 votes
1 answer
255 views

Is it possible to control the speed of a hoverboard motor[BLDC motor] with a raspberry pi? If so, how?

In my project, I'm making a robot using two hover board motors, a motor control board such as this one: https://www.ebay.com/p/2242827374?iid=162674407600 and a raspberry pi. I've connected the motor ...
H Akin's user avatar
  • 1
3 votes
2 answers
268 views

PID Control: Is adding a delay before the next loop a good idea?

I am implementing PID control in c++ to make a differential drive robot turn an accurate number of degrees, but I am having many issues. Exiting control loop early due to fast loop runtime If the ...
droiddoes9's user avatar
1 vote
2 answers
40 views

DIY Smart Devices [closed]

I am a software developer. I make apps. I have several ideas for Bluetooth-enabled smart devices using basic accessories and peripherals like cameras, speakers/headphones, lights and some external ...
turkinator's user avatar
1 vote
0 answers
193 views

Controlling high torque servo motors with Raspberry Pi

I need to control 10 Standard Servo Motors (operating at 4.8-7V/300mA-1A/2.5kg-5kg torque) in my project. I'm using RPi as my processor and I was looking for a servo driver. I came across PCA9685 16-...
Saurav Kulkarni's user avatar
0 votes
1 answer
193 views

Raspberry pi libraries for fortran

I'm quite a fan of fortran and I was wondering if there were any libraries to control the GPIO pins in a raspberry pi with it. I find python to be quite slow so I think it is the best option for ...
david david's user avatar
1 vote
1 answer
236 views

Raspberry Pi & L298N & Johnny Five, motor turns when instantiated

I'm a newcomer to this kind of tinkering so please bear with me here. I've searched high and low for an answer but have been unable to find one. I have a Raspberry Pi Zero W hooked up to a L298N motor ...
Matt's user avatar
  • 113
1 vote
1 answer
215 views

Power to Raspberry Pi and DC motors from a single USB power bank

I'm running a simple robot involving a Raspberry Pi 3 and 2 JGA25-370 motors. The system is powered from a single Powerbank (EasyAcc 10000MAh) which has 2 2A ports. DIY USB cable has data pins ...
Leonti's user avatar
  • 173
0 votes
2 answers
274 views

Guidance on SBC for Visual-Based SLAM [closed]

Intro: I am a student that just started a project regarding prototyping a mobile robot that involve Indoor SLAM implementation. I am very new to the field of computer vision, SLAM and SBC (single ...
Denzer's user avatar
  • 3
2 votes
1 answer
1k views

How do I convert centre-returning joystick values to dual hobby-motor direction?

Currently my setup is: 2x hobby TT motors connected to a Pi Zero with a motor HAT Python script running on the Pi which runs a Blynk python client and controls motors via the gpiozero library Blynk ...
rozling's user avatar
  • 21
3 votes
1 answer
40 views

Driving a small motor

I am trying to drive a small motor using (software emulated PWM) from a Pi like device. I'm following a circuit that looks like this:L https://www.instructables.com/id/Raspberry-Pi-GPIO-Circuits-...
jgauthier's user avatar
  • 141
0 votes
1 answer
359 views

How to Correct for Gyroscopic Drift?

I know similar questions have been asked before, but I have researched for hours now and have not been able to find a viable solution. I have a Raspberry Pi 4 and the Adafruit LSM9DS1 IMU, which has ...
GGamer's user avatar
  • 3
3 votes
0 answers
170 views

Waking up Roomba over serial

I've been trying to mod an old Roomba 400 series (model #4220) by adding a Raspberry Pi to it. I have the Raspberry Pi communicating over serial with the EZSync018 cable. I have everything working, ...
Timothy Barrett's user avatar
1 vote
3 answers
288 views

I wanna make a raspberry pi car using an RC car. I would like to know if the servo multiplexer is necessary?

So I'm working on a project and it involves making a raspberry pi car, be it from scratch or with the help of can rc car. I chose the latter. Now the problem is I don't really have servo multiplexers ...
Mahir Ahmed-Al's user avatar
1 vote
0 answers
112 views

Serial Communication between RaspberryPi and CC3D?

I have built a quadcopter with a CC3D FC, using LibrePilot for configuration. Everything is smooth with the tx/rx I used to command the quad with but now I would like to effectively use the RPi as a ...
sealion's user avatar
  • 11
2 votes
1 answer
414 views

How do I download libraries onto the Ubiquity Robotics Raspberry Pi image

I downloaded an sd card image by Ubiquity Robotics which is an Ubuntu OS with ROS preinstalled onto my Raspberry Pi. This image creates a pifi access point for the Raspberry Pi and allows me to ssh ...
Mahir Ahmed-Al's user avatar
0 votes
1 answer
822 views

How to get position (X Y values) from a USB optical mouse

I want to use an optical mouse to measure displacement in X and Y direction of my robot. I'm using Ubuntu mate 18.04 on raspberry pi and wrote the following python code : ...
jash's user avatar
  • 329
0 votes
3 answers
73 views

How to access Raspberry Pi over wifi?

I have to use Raspberry Pi with Arduino on a mobile robot and access Raspberry Pi on a PC through WiFi. Is it possible? Please explain how to do it?
Aether's user avatar
  • 101
0 votes
1 answer
88 views

Is it compulsary to learn Arduino programming in order to use Udoo Neo as an IOT device?

I'm an absolute beginner, so please bear with me. I'm currently doing a project where I need to control 2 DC motors using the Udoo board. Should I first learn to use an Arduino or is it possible to ...
Farhan Ahmed's user avatar
0 votes
1 answer
66 views

What should i do to rebuild robot salto from Berkeley uni as a mechanical engineering undergrad?

What are the main components of robot salto? What are the necessary skills and knowledges to reproduce it? Also as you can see, i am a mecheng and i want to reproduce this robot as finishing project ...
user31416's user avatar
5 votes
1 answer
786 views

Multiple machine ROS image transmission error

I'm currently trying to establish communication between my Raspberry Pi based robot and a Cluster which are on the same network. Although I am able to ping and SSH one device using the other, I'm ...
DT1729's user avatar
  • 51

1
2 3 4 5