Skip to content

Instantly share code, notes, and snippets.

@lightscalar
Last active June 16, 2021 20:30
Show Gist options
  • Save lightscalar/3592b028c351f6d35a934e5790cad659 to your computer and use it in GitHub Desktop.
Save lightscalar/3592b028c351f6d35a934e5790cad659 to your computer and use it in GitHub Desktop.
Building an AutoBike

Building an AutoBike

Set Up a Raspberry Pi

Install Raspian

Download the latest Raspian here. Burn the image to an SD card using Etcher.io or similar.

Configure the Pi's Wifi Network

We wish to set up the Raspberry Pi as a WiFi hotspot. In the boot sector of the image,

touch ssh

To enable SSH into the device by default. To connect it to your local WiFi, add a wpa_supplicant.conf file. In this file add the following:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
     ssid="Your network name/SSID"
     psk="Your WPA/WPA2 security key"
     key_mgmt=WPA-PSK
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment