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
1 vote
2 answers
29 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 ...
user avatar
0 votes
2 answers
80 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, using https://www.youtube.com/watch?v=-ZyFYniGUsw However I am not sure how to make this robot move after it detects fire. The ...
user avatar
  • 1
0 votes
1 answer
56 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 ...
user avatar
1 vote
1 answer
79 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/...
user avatar
  • 147
0 votes
0 answers
266 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 ...
user avatar
0 votes
0 answers
37 views

What is the best microcontroller/SBC + stepper motor controller/driver combo to build a hexapod robot?

I would like to use a set of high power stepper motor controllers and drivers (e.g. Trinamic). Communication protocol of choice is SPI and motion precision is important. What microcontroller or SBC ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
  • 101
1 vote
1 answer
39 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, ...
user avatar
  • 111
0 votes
2 answers
58 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 ...
user avatar
  • 125
2 votes
5 answers
240 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 ...
user avatar
  • 125
0 votes
2 answers
52 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 ...
user avatar
1 vote
2 answers
54 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....
user avatar
0 votes
1 answer
49 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 ...
user avatar
0 votes
3 answers
511 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 ...
user avatar
0 votes
1 answer
193 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 ...
user avatar
  • 1
3 votes
2 answers
124 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 ...
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 ...
user avatar
1 vote
0 answers
136 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-...
user avatar
0 votes
1 answer
101 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 ...
user avatar
1 vote
1 answer
182 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 ...
user avatar
  • 113
1 vote
1 answer
141 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 ...
user avatar
  • 173
0 votes
2 answers
185 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 ...
user avatar
  • 3
2 votes
1 answer
501 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 ...
user avatar
  • 21
3 votes
1 answer
38 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-...
user avatar
  • 141
0 votes
1 answer
233 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 ...
user avatar
  • 3
2 votes
0 answers
105 views

Waking Up Roomba Over Serial

Sorry if this is a noobie question, it's my first time posting on this forum... I've been trying to mod an old Roomba 400 series (model #4220) by adding a raspberry pi to it. (I know real original ...
user avatar
1 vote
3 answers
222 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 ...
user avatar
1 vote
0 answers
78 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 ...
user avatar
  • 11
2 votes
1 answer
388 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 ...
user avatar
0 votes
1 answer
572 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 : ...
user avatar
  • 49
0 votes
3 answers
55 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?
user avatar
  • 101
0 votes
1 answer
84 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 ...
user avatar
0 votes
1 answer
54 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 ...
user avatar
5 votes
1 answer
680 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 ...
user avatar
  • 51
2 votes
1 answer
49 views

Target Recognition for Microcontrollers

I'm building a device using microcontrollers, and part of the device necessitates target recognition. That is to say, if there are three targets, A B and C, I want my device to know when I'm pointing ...
user avatar
1 vote
1 answer
1k views

Aliexpress bought BNO055 UART connection

I bought a BNO055 module from Aliexpress which is shown in the picture below. I am able to read the IMU data in an Arduino nano from this BNO055 via an I2C connection. Now, I want to connect it to a ...
user avatar
  • 13
0 votes
1 answer
178 views

Technologies needed for indoor and outdoor navigating robot

Before I begin, I should add that I am a complete beginner in robotics and hope that I can figure out where I should start by asking this question. I am trying to make a robot that is able to ...
user avatar
0 votes
0 answers
48 views

Can a RPI3B+ handle all this?

I am building a robot that needs to accomplish the following tasks: Keep track of 4 quadrotor encoders, each 979.62 CPR @ ~ 500RPM, so ~ 8163.5 counts per second Read from an RPlidar A1M8, giving out ...
user avatar
1 vote
1 answer
327 views

Help Interpreting Raspberry Pi GPIO's allocated to Robot starter kit called AlphaBot2

I am a complete newbie to robotics, so please excuse me if this is a simple question. I bought this robot starter kit and need help understanding which features are associated to which GPIO pins: ...
user avatar
  • 113
-1 votes
1 answer
47 views

How can I connect arducopter to Raspberry Pi?

This is my school project. I would like arducopter to connect to Raspberry Pi but I do not know how to do it. Please help me!
user avatar
0 votes
1 answer
173 views

Accuracy of hall sensor encoders on Raspberry Pi

I have 2 motors (JGA25-370) with hall-sensor encodes. They emit about 90-100 interrupts every 100ms, so 1000 a second. Which means I have an interrupt happening every 1ms. The motors are driven by ...
user avatar
  • 173
0 votes
1 answer
368 views

Raspberry Pi Robot Car won't drive straight, right wheel is faster [duplicate]

My Raspberry Pi car bot will not drive straight at all. After examining and listening to the two motors, I noticed that the right wheel is a lot faster. I have matching wheels and the same code ...
user avatar
2 votes
1 answer
180 views

How rational is it to use Intel Realsense for my affordable indoor autonomous robot?

Right now, I am using ESP32 for the motors and planning to add either Raspberry Pi Zero or ARM Cortex-M4 (STM32) and use ROS with Intel RealSense RGBD camera. How sensible is it? I am not expert in ...
user avatar
  • 153
2 votes
1 answer
412 views

Inductive Charging for Alphabot [closed]

I am looking into building a self-docking robot that can charge itself when needed. To accelerate the prototyping phase, I am considering AlphaBot2 with Raspberry Pi 3 B+ as a development platform. I ...
user avatar
0 votes
2 answers
793 views

How to move a Stepper Motor to a desired angle with raspberry pi?

I will be using stepper motor in 6 DOF robotic arm along with Servo motors. Unlike Servo motor ,I find difficult to control Stepper motor. I was earlier using only Servo Motors but due to lack of ...
user avatar
  • 47
-1 votes
1 answer
437 views

controlling 6-axis robotic arm with raspberry pi, what instructions can do this?

I have been trying to build a robotic arm using a PCA9685 servo controller, a 6-axis robotic arm, and a raspberry pi model b+. I wired them all together accordingly but I have no idea how to actually ...
user avatar
2 votes
1 answer
223 views

IRobot 690 - raw wheel encoder counts change with no movement command issued

I am using a Raspberry Pi 3, B+ pertinent libraries are WiringPi, with WiringSerial. Code is written in c. EDIT: the Serial connection is handled through GPIO 14(Tx) & 15(Rx), 5v (Tx) is stepped ...
user avatar
  • 41
0 votes
2 answers
207 views

using motor controllers with Raspberry instead of Arduno. Is it just me or is everyone ok with bad sofftware support?

I bought a Roboclaw controller. Since then, have looked around for other. The software support seems to be the same (to me:sad) state. They all seem to provide Arduino code examples, however, then I ...
user avatar
0 votes
1 answer
189 views

raspberry pi operating a unipolar stepper motor with a L293D IC

I need some help with a project where I am trying to operate a unipolar stepper motor with a raspberry pi's using the 4 GPIO pins and using a L293D IC as an amp to get it to the operating 12V of the ...
user avatar
  • 1
4 votes
2 answers
1k views

Radio triangulation with Raspberry Pi

Currently, I am thinking that since electromagnetic waves loose energy over distance, you might be able to figure out the relative distance to each of three radio "beacons" and use this information to ...
user avatar