WiPy getting started

What is this “WiPy”?

WiPy chip in center with Apple USB adapter as reference.

The WiPy development ABCs

  1. Get to know the board
  2. Connect the WiPy to local WiFi
  3. Setting up file editing and uploading
  4. Learning how to do basic operations such as rebooting and reading stdout.

The WiPy board

Connect to local WiFi

cd flash
send boot.py
FTP upload of new “boot.py” file to WiPy.

Safe boot

Pull up pin 28 during boot to go into safe boot and bypass “boot.py”.

FTP upload

IntelliJ remote host

WiPy IntelliJ remote host config, password is “python
IntelliJ WiPy remote host advanced settings. FTP connection limit is set to 1 because the WiPy only supports a single FTP connection at time of writing.

lftp upload

#!/bin/bash# Save as file upload.sh
# first argument is WiPy IP
lftp -u micro,python $1 << EOFcd /flash
put main.py
bye
EOF
 sh ./upload.sh 192.168.1.48

Telnet

telnet 192.168.1.42

Actual coding

Hello world

sh upload.sh 192.168.1.48

Hello world pin

Where to go from here

--

--

--

Full stack developer and IoT enthousiast.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ruurd Moelker

Ruurd Moelker

Full stack developer and IoT enthousiast.

More from Medium

How to Play Bulls and Cows with Python

Quick start into GUI applications with PyQt5 and PySide2

Easy and Affordable Track Timing System Using Arduino [2022]

The 100th Scraping Tutorial You’ll Probably Read