Micropython Cookbook


Download Micropython Cookbook PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Micropython Cookbook book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.

Download

MicroPython Cookbook


MicroPython Cookbook

Author: Marwan Alsabbagh

language: en

Publisher: Packt Publishing Ltd

Release Date: 2019-05-21


DOWNLOAD





Learn how you can control LEDs, make music, and read sensor data using popular microcontrollers such as Adafruit Circuit Playground, ESP8266, and the BBC micro:bit Key Features Load and execute your first program with MicroPython Program an IoT device to retrieve weather data using a RESTful API Get to grips with integrating hardware, programming, and networking concepts with MicroPython Book DescriptionMicroPython is an open source implementation of Python 3 that runs in embedded environments. With MicroPython, you can write clean and simple Python code to control hardware instead of using complex low-level languages such as C and C++. This book guides you through all the major applications of the MicroPython platform to build and program projects that use microcontrollers. This MicroPython book covers recipes that will help you experiment with the programming environment and hardware programmed in MicroPython. You'll find tips and techniques for building a variety of objects and prototypes that can sense and respond to touch, sound, position, heat, and light. This book will take you through the uses of MicroPython with a variety of popular input devices and sensors. You'll learn techniques to handle time delays and sensor readings, and apply advanced coding techniques to create complex projects. As you advance, you'll deal with Internet of Things (IoT) devices and integration with other online web services. In addition to this, you'll use MicroPython to make music with bananas and create portable multiplayer video games that incorporate sound and light animations into the gameplay. By the end of this book, you'll have mastered the tips and tricks to troubleshoot your development problems and take your MicroPython project to the next level.What you will learn Execute code without any need for compiling or uploading using REPL (read-evaluate-print-loop) Program and control LED matrix and NeoPixel drivers to display patterns and colors Build projects that make use of light, temperature, and touch sensors Configure devices to create Wi-Fi access points and use network modules to scan and connect to existing networks Use Pulse width modulation to control DC motors and servos Build an IoT device to display live weather data from the internet at the touch of a button Who this book is for If you want to build and program projects that use microcontrollers, this book will offer you dozens of recipes to guide you through all the major applications of the MicroPython platform. Although no knowledge of MicroPython or microcontrollers is expected, a general understanding of Python is necessary to get started with this book.

ESP8266 Internet of Things Cookbook


ESP8266 Internet of Things Cookbook

Author: Marco Schwartz

language: en

Publisher: Packt Publishing Ltd

Release Date: 2017-04-27


DOWNLOAD





Exploring the low cost WiFi module Key Features Leverage the ESP8266's on-board processing and storage capability Get hand- on experience of working on the ESP8266 Arduino Core and its various libraries A practical and enticing recipe-based book that will teach you how to make your environment smart using the ESP8266 Book DescriptionThe ESP8266 Wi-Fi Module is a self contained System on Chip (SOC) with an integrated TCP/IP protocol stack and can give any microcontroller access to your Wi-Fi network. It is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor. This book contains practical recipes that will help you master all ESP8266 functionalities. You will start by configuring and customizing the chip in line with your requirements. Then you will focus on core topics such as on-board processing, sensors, GPIOs, programming, networking, integration with external components, and so on. We will also teach you how to leverage Arduino using the ESP8266 and you'll learn about its libraries, file system, OTA updates, and so on. The book also provide recipes on web servers, testing, connecting with the cloud, and troubleshooting techniques. Programming aspects include MicroPython and how to leverage it to get started with the ESP8266. Towards the end, we will use these concepts and create an interesting project (IOT). By the end of the book, readers will be proficient enough to use the ESP8266 board efficiently.What you will learn Measure data from a digital temperature and humidity sensor using the ESP8266 Explore advanced ESP8266 functionalities Control devices from anywhere in the world using MicroPython Troubleshoot issues with cloud data monitoring Tweet data from the Arduino board Build a cloud-connected power-switch with the ESP8266 Create an ESP8266 robot controlled from the cloud Who this book is for This book is targeted at IOT enthusiasts who are well versed with electronics concepts and have a very basic familiarity with the ESP8266. Some experience with programming will be an advantage.

Python Programming Recipes for IoT Applications


Python Programming Recipes for IoT Applications

Author: Jivan S. Parab

language: en

Publisher: Springer Nature

Release Date: 2023-06-07


DOWNLOAD





The book comprehensively covers the most important applications of the internet of things (IoT) using Python programming on Raspberry pi, Micropython Py Board, and NVIDIA Jetson Board. The authors have used an immersive ‘hands-on’ approach to help readers gain expertise in developing working code for real-world IoT applications. The book focuses on industry-standard embedded platforms for IoT applications. It also gives a glimpse of python programming and setup configuration of these embedded platforms. The later chapter highlights basic interface applications with Raspberry Pi. Exclusive advanced IoT applications on the Micropython Pyboard are also covered. The last two chapters deal with the NVIDIA Jetson Nano board programming for machine learning applications with FoG/cloud computing. The various IoT applications with different embedded platforms in this volume are best-suited for undergraduate/postgraduate students and researchers who want to get exposed to python programming for IoT applications. This book will enable readers to design their own embedded IoT products.