On this video the MRPi1 robot follows a black line autonomously. The 3 ground sensors are used.
Vidéo de présentation du robot MRPi1
Voici une vidéo de présentation du robot MRPi1 :
- Synthèse vocale
- Présentation des différents capteurs du robot
Dans cette vidéo le robot est entièrement autonome, il est programmé en langage python.
MRPi1 – Wake up alarm
Wake up alarm with MRPi1 robot. The robot stops the alarm automaticly when the robot detects the light.
Python program :
# import mrpi1 lib from mrpi1_lib import * import time try: while 1: al1 = ambiantLight(1) # read ambiant light,sensor 1 al2 = ambiantLight(2) al3 = ambiantLight(3) al4 = ambiantLight(4) al5 = ambiantLight(5) al6 = ambiantLight(6) print "Ambiant light = %d %d %d %d %d %d" %(al1, al2, al3, al4, al5, al6) if (al1 < 4000 and al2 < 4000): # light detects print "end alarm" writeCommand("SPD")# disable speaker exit() else: playWav("alarmClock.wav") # play alarm wav file time.sleep(0.2) except: writeCommand("SPD") # disable speaker exit()
MRPi1 robot – Wall-follower
New video of MRPi1 robot :
On this video the robot follow a wall. The robot is completely autonomous, used the 6 infrared proximity sensors. MRPi1 programmed with python language.
MRPi1 football player
- Autonomous control with python program.
- Used of the six proximity sensors
Raspberry Pi robot – MRPi1 football from macerobotics on Vimeo.
PID control
In this video MRPi1 robot is controled by two PID controller. The PID controller calculates an error values between motors encoders and desired value (orientation and distance).
- Orientation control
- Distance control
The speed profile :
- Trapezoid profile with 3 parts : acceleration, constant speed and deceleration.
Encoders specification :
- Magnetic encoder,
- Resolution : 12 ticks/tr
Raspberry Pi robot – MRPi1 from macerobotics on Vimeo.
Control with a simple web interface.
New video, control the MRPi1 prototype with a simple web interface.
- Smartphone controlled,
- Wifi access point configuration with hostapd.
- Web interface (forward, back, turn and stop)
Wifi test from macerobotics on Vimeo.
MRPi1 speak.
MRPi1 robot can now speak about temperature and his battery level. This information is asked by TV remote control.
MRPi1 robot : Speaker test. from macerobotics on Vimeo.
Autonomous Obstacle Avoiding.
Now, MRPi1 manage obstacle avoidance autonomously. On this video, the robot was programming with python language.
The robot detects obstacle with its four infrared proximity sensors.