Skip to content

A remote controlled raspberry pi robot with a touch-enabled web interface.

License

Notifications You must be signed in to change notification settings

mythsunwind/monschibot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monschibot logo

Monschibot

A remote controlled raspberry pi with a touch-enabled web interface that sends commands through websocket.

Hardware

  • Raspberry Pi3 Model B
  • L298N dual motor controller
  • Smart Robot Car Chassis Kit (included chassis, wheels, motors, battery box)
  • Cheap portable power pack

Hardware assembled as described by Gautier Mechling on Android Things

Remote control

The user connects securely to the Wifi access point called "Monschibot". On established connection the user gets redirected to a small website with control elements.

A python server serves the small website and listens to a websocket. The website uses javascript to send short commands (stop, left, right, speed) to the server. The server uses gpiozero library to control the motors accordingly.

Setup

Install python libraries for the webserver:

apt-get install python3-gpiozero
apt-get install python3-flask
apt-get install python3-pip
pip3 install Flask-Sockets

Setup dnsmasq:

sudo service dnsmasq stop
sudo cp dnsmasq-monschibot /etc/dnsmasq.d/

Setup hostapd:

sudo cp hostapd.conf /etc/hostapd/
echo DAEMON_CONF="/etc/hostapd/hostapd.conf" >> /etc/default/hostapd

Setup wireless network interface:

sudo cp interfaces /etc/network/interfaces

Restart

Start server

python monschibot.py

License

All code is licensed under GNU GENERAL PUBLIC LICENSE Version 3.

Glyphs are licensed under Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) by SmartIcons.

The monschibot logo is licensed under Attribution-NonCommercial 4.0 International.

About

A remote controlled raspberry pi robot with a touch-enabled web interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published