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
28
votes
12answers
14k 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 ...
19
votes
6answers
6k views

Robot never goes straight

I am using 2 identical DC motors and a castor wheel. The motors are connected to L293D motor driver and are controlled by RPi. The robot is not going straight. It veers off to the right. I am ...
17
votes
4answers
8k views

Single camera vision and mapping system

Some time ago I saw a demo of a small 'toy tank' with a single camera mounted on it. This tank was able to drive around the floor and detect objects and then move/steer to avoid them. The interesting ...
11
votes
3answers
1k views

My Raspberry Pi is losing power in a surge

I have an RC car. The battery provides power to the ESC and then the ESC provides 6 V back out to the receiver. Instead of the receiver I have a Raspberry Pi, which uses the 6 V, steps it down to 5 V ...
11
votes
3answers
835 views

Raspberry Pi operating system for robotics

Is there an operating system for the Raspberry Pi that is specifically made for running robotics applications? Or an operating system whose purpose is to optimized just to run a few specific programs? ...
9
votes
1answer
3k views

How can we use the accelerometer for altitude estimation?

I am currently implementing an autonomous quadcopter which I recently got flying and which was stable, but is unable to correct itself in the presence of significant external disturbances. I assume ...
8
votes
3answers
342 views

Making a tiny robot by using a remote brain

I'd like to build a robot as small as possible and with as few "delicate" parts as possible (the bots will be bashing into each other). I was wondering if it was possible to use a small chip that ...
7
votes
3answers
562 views

Including a RaspberryPi within a robot… Does this allow for a “universal API”?

I know this is a broad statement, but when you've got support for both TCP as well as a full fledged computer on board (to integrate/run an arduino), does this essentially allow for anything that ...
7
votes
2answers
2k views

L293D won't turn motor backwards

My small robot has two motors controlled by an L293D and that is controlled via a Raspberry Pi. They will both go forwards but only one will go backwards. I've tried different motors and tried ...
7
votes
2answers
378 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 ...
7
votes
1answer
3k views

Unwanted Arduino reconnect: Servo + Arduino + Python (Raspberry Pi)

I am having difficulty sustaining a connection between my Raspberry Pi (Model B running Raspbian) and my Arduino (Uno) while sending signals from the Raspberry Pi to a continuously rotating servo (...
6
votes
1answer
4k views

Build a ROS robot with SLAM without laser

I've build a simple wheeled robot based on two continuous servos, controlled by Raspberry Pi running ROS-groovy, with a smart phone mounted on top to provide additional sensors. I'd like to situate ...
6
votes
2answers
4k views

Quadcopter PID Control: Is it possible to stabilize a quadcopter considering only angle measurements?

Good day, I am a student currently working on an autonomous quadcopter project, specifically the stabilization part as of now. I am using a tuned propeller system and I also already considered the ...
6
votes
1answer
2k views

CC3D - Replacing RC emitter with an RPi

I am trying to control a quadcopter using te OpenPilot CC3D board and a RaspberryPi. The main idea was first replace the signals from the RC emitter to the CC3D RC receiver for an RPi connected ...
6
votes
1answer
2k views

Python libraries for image processing and feedback control on raspberry pi

I'm building a motion detection and object recognition camera with feedback control for a hexy robot. Fortunately most of the servo control is handled by the analog servo controls and the high-level ...
5
votes
1answer
295 views

Why to combine a Raspberry Pi (or similar board computer) and an Arduino for controlling motors?

I am planning to build a omnidirectional holonomic robot, and checking what I should use for the hardware, I saw many people using a Raspberry to compute most stuff, which in turn calls an Arduino to ...
5
votes
2answers
2k views

Arduino Nano + Raspberry Pi = UAV Ground Station?

I'm a programmer by trade, and an amateur aerospace nut, with some degree-level training in both fields. I'm working on a UAV project, and while the good people over at DIY Drones have been very ...
5
votes
1answer
159 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 ...
5
votes
1answer
779 views

How to check lane departure in OpenCV?

I'm using OpenCV 3 in Python 2.7 on a Raspberry Pi 3. My project's aim is to build an autonomous lane departing robot that can detect the two lanes on its sides and continuously correct itself to ...
5
votes
1answer
11k views

Send Arduino sensor data to server with GPRS shield

I'm trying to send Arduino sensor data to a server using a GPRS shield (SIM900 shield from Geeetech). I have this particular set up because the data will be updated to a website and the device will be ...
4
votes
4answers
1k views

Which micro-controler/processor to be used for autonomous stereo vision robot system?

I am very new two robotics, however I have a working stereo algorithm which I want to combine with a SLAM algorithm. I am developing this system for an other application but I decided integrating it ...
4
votes
3answers
388 views

Best power solution for my robot

I've built quadruped robot which is using 12 servos (TowerPro SG90 Servo) and Raspberry Pi (model B 1). Right now I'm "feeding" it with 5V 2.5A charger. How can I make it un-tethered? What should I ...
4
votes
1answer
607 views

How to handle power distribution on a robot?

Our team just finished the FRC competition and I am trying to learn more about robots in general. I'm trying build a robot in a similar setting than the FRC competition. However the RobotRIO is out of ...
4
votes
2answers
1k views

Finding relative location of Raspberry Pi robot indoors

I would like to have a Raspberry Pi robot that can find its location in a room relative to an origin point. What methods would be cheapest? What would the most accurate be? Are there any others ...
4
votes
2answers
295 views

Should I use an arduino to control my balancing robot's motors?

I'm building a 2-wheel balancing robot from old parts. DC motors from an old printer, wheels from a BBQ, bodywork from an old optical drive etc. The brain of the robot is a Raspberry Pi 3. I'm using ...
4
votes
2answers
288 views

How can I stream Kinect V2 tracking data from PC to Raspberry Pi 3 through WiFi?

I'm currently working with Kinect v2. I can do all sort of stuff on PC with it. What I want to do next is, to get the data I want on PC and control the Raspberry Pi with that data (for example, I will ...
4
votes
2answers
792 views

How can i connect two adafruit 16-channel 12-bit PWM/Servo Driver I2C interface (pac9685) to Raspberry or Arduino

I need to control 24 servos but I do not know how to do with I2C. I saw some componentes that do it with USB, but I need to do it with I2c. I am working in a robot with 8 legs and 3 degree of freedom ...
4
votes
1answer
588 views

Quadcopter refuses to fly when the Yaw PID component is added

Good day, I would like to ask why is it that when I add the Yaw control to my PID controller for each motor. The quadcopter refuses to take off or maintain its altitude. I am curently using a ...
4
votes
2answers
1k views

Can I use the RaspberryPi to receive the GameCube remote's RF signals?

I have an old gamecube that doesn't work and I want to gut it and fill it with Arduino boards and/or Raspberry Pi if necessary. I want the project to eventually have some kind of AI aspect, but I'm ...
4
votes
2answers
697 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 ...
3
votes
2answers
3k views

Can I control more than 18 servo motor with a Raspberry Pi

I'm trying to make an hexapod with 18 servo motors and i'm asking how to control them with a Raspberry Pi. (Never used it). I saw lot's of stuff to control 1, but 18, 20... Currently I'm working on ...
3
votes
2answers
979 views

Depth map with Raspberry Pi

Is it possible to get two images from the Raspberry Pi camera mounted on a remote controlled bot and have them sent to a computer through Wi-Fi and process the images in the computer to generate a ...
3
votes
2answers
914 views

Nuc, custom pc or raspberry pi?

For our Minor “Robotics and Vision” we need to use ROS to create a system that can navigate to and from a coffee machine. The available hardware consists of a robotic platform from "Dr Robot", and a ...
3
votes
2answers
902 views

ROS + SLAM + kinect. which platform to use?

I am doing a project where I've robot which will be using kinect + ROS for Simultaneous Localization and Mapping. Which board should I use? I've heard that Raspberry pi , beaglebone are not sufficient....
3
votes
2answers
457 views

How to measure pull force on a (kite) rope?

I'm building a kite flying robot, in which I've already got some sensors built in. I now also want to measure the pulling force on the rope which is attached to the kite. So I thought of attaching a ...
3
votes
3answers
832 views

Sensing the level of a liquid in a tube

I'm looking to build a sensor which will detect the level of liquid in a tube. It does not have to be precisely accurate, just detect whether the level is approximately above a certain height. The ...
3
votes
1answer
6k views

Quadcopter controlled by Raspberry Pi

I have: Raspberry Pi 3. Pi camera. CC3D flight controller. I have already developed a Python script that decides whether the quadcopter dron has to turn left/right, move straight on or to stop. Is ...
3
votes
3answers
1k views

Power solution for Raspberry Pi robot

I am building a Pi car with 4 gear motors (190-250mAh each max). Now I want to use my 10000mAh USB power bank to power up raspberry pi along with the 4 gear motors. I can power up the raspberry pi ...
3
votes
2answers
1k views

PID Tuning for an Unbalanced Quadcopter: When do I know if the I-gain I've set is too high?

Good day, I am working on an autonomous flight controller for a quadcopter ('X' configuration) using only angles as inputs for the setpoints used in a single loop PID controller running at 200Hz (PID ...
3
votes
2answers
622 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, ...
3
votes
1answer
79 views

iRobot Create 2 -language set error type 2

I have an iRobot Create 2 and I am connected to it with the 7-pin connector to a desktop machine via USB. Serial communication is working fine under that configuration. I can tell it to restart with ...
3
votes
1answer
8k views

How to read data from i2c using i2cget?

I'm new to embedded devices and am trying to understand how to use i2cget (or the entire I2C protocol really). I'm using an accelerometer MMA8452, and the datasheet says the Slave Address is 0x1D (if ...
3
votes
1answer
37 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-...
3
votes
1answer
675 views

Choice of a motor for robotic arm

This is my first post here, so hello all. I really hope I can learn a lot from you guys. I am trying to build a robotic arm to carry an object and put it inside of different boxes that are placed in ...
3
votes
1answer
192 views

Controlling an ESC for Brushless Motors with an RPi

I'm looking to build a new (first) quadcopter without the conventional flight controller and radio, with an onboard RPi and applying some newfound knowledge on autonomous control to improve my coding ...
3
votes
1answer
802 views

Digital servo shaking

i need your advice if someone experienced something similar. I try using digital servo but when i tried to connect it to board by this tutorial https://blogs.oracle.com/hinkmond/entry/...
3
votes
1answer
641 views

Is a Raspberry Pi processor powerful enough for a mobile chatbot?

In general, is a Raspberry Pi processor powerful enough for a mobile chatbot? I want to make a small mobile robot that is like a chatbot. Is a Raspberry Pi processor powerful enough for any type of AI ...
3
votes
0answers
432 views

Obstacle avoiding by Pi camera [closed]

I designed a mobile robot with my colleagues for our graduation project, the purpose of it is to detect mines (metals) in a specific area We are programming the robot using Python on Raspberry Pi 3 ...
2
votes
5answers
562 views

Raspberry Pi quadcopter thrashes at high speeds

I am attempting to build a Raspberry Pi based quadcopter. So far I have succeeded in interfacing with all the hardware, and I have written a PID controller that is fairly stable at low throttle. The ...
2
votes
1answer
536 views

How to connect an infrared remote control to PC or Arduino or Raspberry Pi?

I bought my kid a robotics kit with several motors and an infrared remote control (you can steer the robot using IR remote control). Now I want to take it to the next level and control the robots ...