Unisciti a noi in un viaggio nel mondo dei libri!
Aggiungi questo libro allo scaffale
Grey
Scrivi un nuovo commento Default profile 50px
Grey
Iscriviti per leggere l'intero libro o leggi le prime pagine gratuitamente!
All characters reduced
MicroPython Cookbook - Over 110 practical recipes for programming embedded systems and microcontrollers with Python - cover

MicroPython Cookbook - Over 110 practical recipes for programming embedded systems and microcontrollers with Python

Marwan Alsabbagh

Casa editrice: Packt Publishing

  • 0
  • 0
  • 0

Sinossi

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 Description


 
MicroPython 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 like C and C++. This book guides you through all the major applications of the MicroPython platform to build and program projects that use microcontrollers.


 




 
The MicroPython book covers recipes that'll 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 for handling time delays and sensor readings, and apply advanced coding techniques to create complex projects. As you advance, you'll get to deal with Internet of Things (IoT) devices and integration with other online web services. Furthermore, you'll also use MicroPython to make music with bananas and create portable multiplayer video games that incorporate sound and light animations into the game play.


 




 
By the end of the book, you'll have mastered tips and tricks to troubleshoot your development problems and push 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.
Disponibile da: 21/05/2019.
Lunghezza di stampa: 452 pagine.

Altri libri che potrebbero interessarti

  • Acupuncture: The Simplified Guide for Healing Diseases The natural Way (Natural Medicine) - cover

    Acupuncture: The Simplified...

    Dr. Dale Pheragh

    • 0
    • 0
    • 0
    Acupuncture functions by stimulating the discharge of endorphins, your body's natural pain-relieving chemicals, it also affects the autonomic nervous system and the release of chemicals that regulate blood circulation and pressure, reduces swelling, and calm the mind.Did you ever wonder how acupuncture works? This book strips away the mystery. Each acupuncture point has unique functions, which are explained in plain English for the non-acupuncturist.How to do acupressure effectively to treat yourself. This book explains which points are the best to treat different ailments. Acupuncture treats pain, stress, fatigue, emotional disorders, insomnia, digestive problems, and many internal disorders.Acupuncture is a regular Traditional Chinese medication (TCM) practice that originated a long time ago. It is predicated on the premise of a blockage or disruption in the circulation of your body's life energy or “Qi”; this can cause medical issues.Acupuncturists place hair-thin needles to specific acupuncture factors throughout your body to revive the movement of qi, balance the body’s energy, stimulate curing, and promote rest.Relating to TCM theory, there are over 1000 acupuncture factors on your body, each laying on a low profile energy route, or “meridian”; each meridian is associated with a different body organ system.
    Mostra libro
  • TouchCode Class 4 - cover

    TouchCode Class 4

    Team Orange

    • 0
    • 0
    • 0
    An Activity Book to Develop Coding Skills 
    
    KEY FEATURES 
    - National Education Policy 2020 
    - Crack the Code: It includes fun-based adventurous activities. 
    - Time Taken: It lets the child analyse how much time he has taken for the activity. 
    - Active Learning: It is a section that contains hands-on activity for fun. 
    - Coding Fact: It gives an insight to the important and interesting fact of the concept. 
    - Gamification: Scan the QR code to enter the world of games on Computational Thinking. 
    
    DESCRIPTION 
    TouchCode, a series for grades 1–8, is a specially designed book to develop Computational Thinking skills and move towards making codes. 
    
    TouchCode books for Grades 1–5 have activities based on various skills that amplifies the CT skills and build a strong foundation for middle school. TouchCode books for Grades 6–8 take a step ahead and let the child enter the world of codes using blockbased coding. 
    
    WHAT WILL YOU LEARN 
    You will learn about: 
    - Reasoning 
    - Critical Thinking & Analysis 
    - Data Processing 
    - Algorithmic Intelligence 
    - Computational Thinking 
    
    WHO THIS BOOK IS FOR 
    Grade - 4 
    
    TABLE OF CONTENTS 
    LEVEL 1 REASONING 
    1.1 Counting Combinations 
    1.2 Understanding Arithmagon 
    1.3 Word Patterns 
    1.4 Word Search 
    CHALLENGE 1 Magic Square 
    LEVEL 2 CRITICAL THINKING & ANALYSIS 
    2.1 Picture Puzzle 
    2.2 Symmetry : The Mirror Image 
    2.3 Logical Analysis 
    2.4 Odd one Out 
    2.5 Super Sudoku 
    CHALLENGE 2 How Fast Can You Say? 
    ACTIVE LEARNING: Symmetry Craft 
    LEVEL 3 DATA PROCESSING 
    3.1 Sorting: Arranging Information 
    3.2 Representing Information as Binary Codes 
    3.3 Data Compression 
    CHALLENGE 3 Calendar Confusion 
    LEVEL 4 ALGORITHMIC INTELLIGENCE 
    4.1 Algorithm 
    4.2 Programs : Conditions 
    4.3 Programs : Loops 
    CHALLENGE 4 Conditional Puzzles 
    Coding Corner 
    Scoreboard 
    Gamification 
    Answers
    Mostra libro
  • Numbers - A Very Short Introduction - cover

    Numbers - A Very Short Introduction

    Peter M. Higgins

    • 0
    • 0
    • 0
    Numbers are integral to our everyday lives and factor into almost everything we do. In this Very Short Introduction, Peter M. Higgins, a renowned popular-science writer, unravels the world of numbers, demonstrating its richness and providing an overview of all the number types that feature in modern science and mathematics. Indeed, Higgins paints a crystal-clear picture of the number world, showing how the modern number system matured over many centuries, and introducing key concepts such as integers, fractions, real and imaginary numbers, and complex numbers. Higgins sheds light on such fascinating topics as the series of primes, describing how primes are now used to encrypt confidential data on the internet. He also explores the infinite nature of number collections and explains how the so-called real numbers knit together to form the continuum of the number line.Written in the fashion of Higgins' highly popular science paperbacks, Numbers accurately explains the nature of numbers and how so-called complex numbers and number systems are used in calculations that arise in real problems.
    Mostra libro
  • The Forager's Pantry - cover

    The Forager's Pantry

    Ellen Zachos

    • 0
    • 0
    • 0
    Many home cooks want to experiment with wild foods and explore new flavors, but don’t know where to start—The Forager’s Pantry was written for you. This book by Ellen Zachos takes readers through spices and herbs, flowers, fruit, greens, nuts and seeds, tubes and roots, and mushrooms, showing how some of the best ingredients come from nature.
    Mostra libro
  • Reaching Down the Rabbit Hole - A Renowned Neurologist Explains the Mystery and Drama of Brain Disease - cover

    Reaching Down the Rabbit Hole -...

    Dr. Allan H. Ropper, Brian David...

    • 0
    • 0
    • 0
    "Tell the doctor where it hurts." It sounds simple enough, unless the problem affects the very organ that produces awareness and generates speech. What is it like to try to heal the body when the mind is under attack? Like Alice in Wonderland, Dr. Allan H. Ropper inhabits a world where absurdities abound:- A figure skater whose body has become a ticking time-bomb- A salesman who drives around and around a traffic rotary, unable to get off- A college quarterback who can't stop calling the same play- A mother of two young girls, diagnosed with ALS, who has to decide whether a life locked inside her own head is worth living How does one begin to treat such cases, to counsel people whose lives may be changed forever? How does one train the next generation of clinicians to deal with the moral and medical aspects of brain disease? Dr. Ropper and his colleague answer these questions by taking the listener into a rarified world where lives and minds hang in the balance.
    Mostra libro
  • The Ancestor's Tale - A Pilgrimage to the Dawn of Evolution - cover

    The Ancestor's Tale - A...

    Richard Dawkins

    • 0
    • 0
    • 0
    In The Ancestor's Tale, evolutionary biologist Richard Dawkins offers a masterwork: an exhilarating reverse tour through evolution, from present-day humans back to the microbial beginnings of life four billion years ago.Throughout the journey Dawkins spins entertaining, insightful stories and sheds light on topics such as speciation, sexual selection, and extinction. The Ancestor's Tale is at once an essential education in evolutionary theory and riveting in its telling.
    Mostra libro