Rainbows on a WiPy 2.0

Having got my WiPy connected to my Wireless network I wrote the following script mainly as a way of testing the process of updating main.py (which is the python script that is executed automatically when the4 WiPy 2.0 finishes booting), but I felt like a bit of fun too.

Unfortunately there is a limit to what you can do with a single LED!
Continue reading

Posted in Hardware, PyCom | Tagged , | Leave a comment

Display download progress

Occasionally I want to display a user-friendly progress bar when doing something in a script, usually downloading a file.

Continue reading

Posted in Linux | Tagged | Leave a comment

Press Any Key to Continue…

Just to remind myself this one liner that does exactly what it says on the tin!

echo -n "Press any key to continue . . . " ; read -n 1 -s ; echo

Posted in Linux | Tagged | Leave a comment

Connecting my WiPy to my WiFi

By default the WiPy 2.0 advertises it self as a wireless access point with a default SSID, IP address, username and password. This makes sense as the factory default since unless you use the USB serial console the only way to update the scripts in the first place is to connect wirelessly, though you really ought to change the username and password otherwise it isn’t very secure.
Continue reading

Posted in Hardware, PyCom | Tagged , , | Leave a comment

Python and the Internet of things with a WiPy 2.0

While browsing the RS catalog the other evening (I lead an exciting life) I came across the WiPy 2.0. It is most certainly NOT the same sort of beast as a Raspberry Pi but it isn’t meant to be! It is even smaller and uses a lot less power but still has many of the same hardware interfaces (I2C, SPI, GPIO) as well as Bluetooth and Wireless.
Continue reading

Posted in Hardware, PyCom | Tagged , | Leave a comment