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
1answer
3k views

Hector SLAM in ROS with RPLidar

Trying to set up Hector SLAM with the RPLidar A2. I downloaded both rplidar_ros-master and hector_slam-catkin; extracted them ...
0
votes
5answers
358 views

I can't get motors to turn with Raspberry pi

I want to turn some motors using my raspberry pi. I am able to turn an LED on and off using the 3.3V GPIO pin. For the motors, I tried using a L293D chip as per the instructions on this link. What ...
1
vote
0answers
11 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/...
0
votes
0answers
18 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 ...
0
votes
1answer
534 views

Can I use another GPIO pin on the Pi 3 as a RX UART?

I accidently plugged 5v in to the RX UART pin 15 on my Pi, now I'm unable to receive communication on this pin from my connected device. I was wondering if it's possible to use a different GPIO pin as ...
0
votes
1answer
76 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 ...
2
votes
1answer
213 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 ...
0
votes
1answer
47 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 ...
0
votes
1answer
172 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 ...
0
votes
0answers
55 views

Pros/Cons of common robotics "kits" at the high school level [duplicate]

I am interested in starting a robotics club at my high school next year, since we don't have one, and I want to know what the pros/cons are of common kits. I already have a Vex kit since my uncle is ...
1
vote
2answers
142 views

What micro controller should I use? [closed]

I am planning on building a robot with wheels (later legs, if possible), that can move around the room and analyze certain things, using a couple sensors. In the later steps more functions such a ...
2
votes
2answers
189 views

How do I learn about Arduino/raspberry-pi based robotics on my own? [closed]

I am interested in learning how to build a dynamic quadcopter, and hope to be fairly proficient with Arduino/raspberry-pi. What resources and/or practices might you recommend?
3
votes
2answers
642 views

Quadrotor - Control system, where to begin?

I am starting to assemble a quadrotor from scratch. Currently, I have this: Structure; an IMU (accelerometer, gyro, compass); 4 ESCs and DC motors; 4 propellers; Raspberry Pi to control the system, ...
2
votes
1answer
166 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 ...
0
votes
0answers
22 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 ...
0
votes
1answer
60 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 ...
1
vote
1answer
38 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, ...
2
votes
5answers
170 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 ...
0
votes
2answers
47 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 ...
2
votes
1answer
343 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 ...
0
votes
0answers
23 views

Motion Tracking with Arduino Controlled Camera Slider

I have an Arduino-controlled 3-axis camera slider and I'm thinking of implementing a motion tracker that makes the camera move accordingly on the slider. How feasible is this during a 3-month period? (...
1
vote
2answers
45 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....
0
votes
1answer
36 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 ...
30
votes
14answers
16k views

Can ROS run on a Raspberry Pi?

Can ROS run on a Raspberry Pi? ROS is resigned to run on a network of machines, with different machines, even different cores on the same machine doing different jobs. Can one of those machines be a ...
0
votes
3answers
341 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 ...
3
votes
2answers
89 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 ...
-1
votes
1answer
412 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 ...
1
vote
2answers
39 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 ...
1
vote
3answers
189 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 ...
1
vote
1answer
110 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 ...
0
votes
3answers
49 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?
-1
votes
1answer
42 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!
1
vote
0answers
119 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-...
2
votes
1answer
323 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 ...
0
votes
1answer
82 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 ...
1
vote
1answer
149 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 ...
0
votes
1answer
472 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 : ...
0
votes
1answer
163 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 ...
0
votes
2answers
150 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 ...
3
votes
1answer
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-...
0
votes
1answer
196 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 ...
2
votes
0answers
98 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 ...
1
vote
0answers
66 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 ...
7
votes
2answers
398 views

ROS on Raspberry Pi Model 2: UbuntuARM vs ROSBerryPi

Before I ask my question, I'd better confirm that I've read the most prominent post about running ROS on Raspberry Pi devices. That post contains some valuable information, but it's a bit dated, and ...
5
votes
1answer
587 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 ...
0
votes
1answer
44 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 ...
1
vote
2answers
723 views

What is the difference between ROSberry Pi builds?

I went to go install ROS for my Rassberry Pi and found that there are 5 different variants. What is the difference between them and where can I go to learn about these differences for future updates? ...
2
votes
1answer
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 ...
1
vote
2answers
176 views

I need help with choosing a computer on the board

I need a computer on the board like raspberry pi for vending machine (I want to replace the original controller). This is list of some requirements: 1) It should have pins to connect to the mdb ...
1
vote
1answer
909 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 ...