Coder Social home page Coder Social logo

w600_micropython_1_19_examples's Introduction

w600_micropython_1_19_examples

MicroPython 1.19 Example Scripts on W600-PICO Board

Description

Source code to accompany A Second Look at the W600-PICO Development Board.

This repository is meant to replace the older w600_micropython_examples repository which used MicroPython version 1.10 that comes preinstalled on the board.

Usage

  1. Flash the most recent W60X MicroPython port wm_w600_lfs.fls onto the W600-PICO.

  2. Copy all the MicroPython scripts (*.py) in the src to the W600-PICO flash memory.

  3. Modify lib/secrets_template.py as required to connect to the local Wi-Fi network and save the modified file as lib/secrets.py.

  4. Modify lib/mqtttdata_template.py as required to use a local MQTT broker and save the modified file as lib/mqttdata.py.

  5. Edit demo.py to remove scripts if wanted. For example, if a connection to a Wi-Fi network is not possible, then remove the import customboot, and then the last three scripts import webserver, import mqtttest and import wifiswitch. If there is no local MQTT broker available, then remove the last two scripts.

  6. Restart the W600-PICO. The scripts in demo.py should all be executed one after the other. It will be necessary to click on the Quit button in the default web page of the webserver to continue on to the last two modules.

Detailed instructions on how to update firmware of the W600-PICO and how to copy files to and from the development board's flash memory are available in A Second Look at the W600-PICO Development Board.

Credits and Thanks

Thanks to the MicroPython team for porting Python 3 to microcontrollers.

Thanks to Robert Mammelrath (robert-hh) et al. for keeping the initial port of MicroPython to the W60X by @wdyichen current and for making the image file available.

Thanks to LexxM3 for information about the newest version of MicroPython of the W60X.

Licence

The BSD Zero Clause (SPDX: 0BSD) licence applies to the original code in this repository.

Please respect the licence of each of the libraries used

w600_micropython_1_19_examples's People

Contributors

sigmdel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.