Top Banner
Teach, Learn, and Make with Python IoT Boards for Fun and Profit Principal Engineer, A10 Networks @ericchou Eric Chou
21

Teach, Learn, and Make with Python IoT Boards for Fun and ...

Feb 23, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Teach, Learn, and Make with Python IoT Boards for Fun and Profit

Principal Engineer, A10 Networks

@ericchou

Eric Chou

Page 2: Teach, Learn, and Make with Python IoT Boards for Fun and ...

title | abstractTitle: Teach, Learn, and Make with Python IoT Boards for Fun and Profit

What is the most important thing that people will learn from your presentation?: This talk demonstrates how coding, IoT, and networking can be fun and rewarding when we can interact with the physical world.

Abstract:Internet of Things (IoT) are small devices with sensors that measures the world around us to help us make our lives better. This can be a fun and interesting experience when we combine it with Python and networking. We will cover some of the Python-enabled IoT devices that we can work with, teach our kids coding by, and have fun in general.

Page 3: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Eric ChouPrincipal Engineer, A10 Networks

Eric is an author, engineer, and developer. He had worked in the network engineering field for the last 20 years. Eric loves to share his deep interest in technology through his books, classes, and blog.

Page 4: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Code and Example Repository

• https://github.com/ericchou1/devnetcreate2020-teach-learn-make-with-pyhton-iot-boards

Page 5: Teach, Learn, and Make with Python IoT Boards for Fun and ...

What are IoT boards?

Small, inexpensive computing hardware

Combination of microcontrollers, processors, sensors, wireless chips, etc.

Pre-built, ready-to-program, and expandable

Many, many varieties (types of sensors, Wi-Fi, Bluetooth, display, Input/Output pins, etc.)

Page 6: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Example: Adafruit CLUE Board

Source: https://learn.adafruit.com/adafruit-clue/

Page 7: Teach, Learn, and Make with Python IoT Boards for Fun and ...

How do we put code on it?

• Write code on editor and push to board:– Program– Browser

Source: https://codewith.mu/

Source: https://makecode.microbit.org/

Page 8: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Software Language Support

• Types of language supported:– Arduino (https://www.arduino.cc/)– Block-based coding (Browser-based)– JavaScript (Browser-based)– Python! (Example. Circuit Python)

Page 9: Teach, Learn, and Make with Python IoT Boards for Fun and ...

What can you do with it?

• [Input] You can measure stuff:– Onboard sensors– External connections

• [Output] Actions:– Control other hardware: motors, on/off switch, etc. – Export information– Display: monitoring, digital photo frame, etc.

Page 10: Teach, Learn, and Make with Python IoT Boards for Fun and ...

[Demo]CLUE -> Router Change

Page 11: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Adafruit CLUE Sensors, Input, Output

Source: https://learn.adafruit.com/adafruit-clue/

• 1.3” 240x240 Display• Two buttons• Light / Color / Gesture / Proximity• Microphone and Speaker• Humidity• Temperature and barometric pressure / altitude• Accelerometer (measure acceleration)• Gyroscope (measures orientation)• Magnetometer (measures magnetic field)• RGP NeoPixel LED• Connectors: motor, more sensors, etc

Page 12: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Tips and Boards

• PyGamer & PyBadge• PyPortal• Circuit Playground Express• BBC micro:bit• Raspberry Pi

Page 13: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Source: https://www.adafruit.com/product/4242

Page 14: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Source: https://www.adafruit.com/product/4116

Page 15: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Source: https://microbit.org/

Page 16: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Source: https://www.raspberrypi.org/

Page 17: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Source: https://arcade.makecode.com/

Page 18: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Teach

• Block-based coding:– MakeCode Arcade

• Python code

Page 19: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Learn

• Learn about external world• Learn about micro-controller• Learn about Python

Page 20: Teach, Learn, and Make with Python IoT Boards for Fun and ...

Make

• Prototype and Experiment• Edge Computing• Use Cases

Page 21: Teach, Learn, and Make with Python IoT Boards for Fun and ...