Multi-hop radio-controlled cars. Built using ESP-8266 (NodeMCU), with custom wireless ad-hoc communication protocol. demo video.
-
Create a wireless ad-hoc network with no security. See https://help.ubuntu.com/community/WifiDocs/Adhoc for an example.
-
Install dependencies.
pip install pygame scapy
-
Set interface name in variable
INTF
. -
Start the controller.
Car is based on NodeMCU.
-
Set
wifi_channel
. -
Set
self_id
(0x61
for A,0x62
for B). -
Set
next_hop_id
. -
Set
ap
to network BSSID. (This can be retrieved from runningiwconfig
on the controller.)