|
|
||
|---|---|---|
| .. | ||
| Old_manual.pdf | ||
| README.md | ||
README.md
Assemble the car
Install Raspberry Pi
- Download
SD Card Formatterfrom https://www.sdcard.org/downloads/formatter_4/ based on your operating system - Format microsd card on your laptop
- Download
Raspbianfrom https://downloads.raspberrypi.org/raspbian_latest - Follow instructions at https://www.raspberrypi.org/forums/viewtopic.php?t=74176 to burn the image (system) onto the sdcard
- Create an empty file named
sshin the root folder of micro sdcard - Insert the card into raspberry pi on the robotic car and power it up (with either a mini-usb cable or battery)
Setup wired IP address
- Connect to the raspberry pi by connecting an Ethernet cable to a router you have access to (wait for about 90s and
ssh pi@raspberrypishould work) - Fix the Ethernet IP address to 192.168.1.10 and network mask to 255.255.255.0
- Disconnect the cable to the router and connect it directly to your laptop
- Set your laptop Ethernet IP address to be in the same subnet (e.g., 192.168.1.2)
- Now you can ping 192.168.1.10 and hopefully you can connect to it (for the debugging purpose)
Setup wireless networks
Setup monitor mode of wifi card
- Check with
iw devwhich interface to use, in our casewlan0onphy0is what we want - Double check if
iw phy phy0 inforeturnsmonitorinSupported interface modes - Do the following
sudo iw phy phy0 interface add mon0 type monitor
sudo iw dev wlan0 del
sudo ifconfig mon0 up
sudo iw dev mon0 set freq 2437
iwconfig mon0
Capture RSS signal of, e.g., sandlab wireless network
sudo tcpdump -i mon0 -n -tttt | grep sandlab | awk '{print $8}'