Raspberry Pi Zero W Wifi Access Point & Flask Web Server

I have updated this page to more fully reflect the current Protothrottle Configuration WebApp

It is a very simple setup, here is an image. A RaspberryPiZW is used as an access point connected to a regular Xbee for the protothrottle network. Like the Protothrottle receiver, this Xbee needs to be set to the same Channel and PanID and one more parameter is required.

This is not a complete setup guide as I don’t quite have all the parts online yet. However, for those that have gotten the ‘ready to run’ package from me, this will get you connected.

This all runs on a 16GB disk image. Except for the Xbee configuration, this is a plug and play sort of thing. The file is a bit large, it’s meant for a 16Gb micro SD card, compressed it comes to about 2Gb. You can download it at the following link:

Download Rpi Zero W Disk Image

Install

The following instructions assume you have a Windows Machine to work with. I am sure a Mac would probably work but I don’t have easy access to one so I’ll stick to windows here. Also be aware this ONLY works with the Raspberry Pi Zero W, no other flavor of Raspberry Pi will work with this image.

Once downloaded, unzip it and use a SD burner program like DiskImage32 to program it onto a 16GB micro SD. It must be 16Gb, as the image was created from one. Once the image has been burned and verified, plug it into your RPiZW.

Use a standard micro USB cable to apply power to the board. It will flash it’s little green LED quite a bit as it comes up and comes online. Once it’s sat there for several minutes and stabilizes you can connect to it.

Connect

To get to the Pi, you will need to connect to it’s wireless network. When it asks you for the password or passphrase, it’s ‘mypassphrase’.

Browser

Use a browser on your computer or phone to access the web page- simply put http://rpinetwork into the browser url bar:

To see anything you will have to have at least the Protothrottle turned on. Click the ‘scan’ button and wait a few seconds. You may have to click it a couple of times- the Xbee connected to the Rpi is issuing a network ID message so every Xbee should send a response saying who they are. Once you have found a node, you can click on that to ‘zoom’ into the internal parameters of the receiver. (Note that you can’t edit anything in the Protothrottle)

Note that this webapp should work with any device that has a browser. Phones, Tablets, Computers, etc. As long as you can connect via Wifi, you should be able to edit the parameters in the Protothrottle Receiver.