* Development environment preparation
* Set up MicroPython on BBC micro:bit Board
* Display Programming
* BBC micro:bit GPIO
* Reading Analog Input and PWM
* Working with SPI
* Working with I2C
* Working with Accelerator and Compass Sensors
If you are hobbyist who is keen on making smart IoT projects, then this book is for you. You should have a basic knowledge of Python.What You Will LearnImplement data science in your IoT projects and build a smart temperature controllerCreate a simple machine learning application and implement decision system conceptsDevelop a vision machine using OpenCVBuild a robot car with manual and automatic controlImplement speech modules with your own voice commands for IoT projectsConnect IoT to a cloud-based serverIn Detail
Internet of Things (IoT) is a groundbreaking technology that involves connecting numerous physical devices to the Internet and controlling them. Creating basic IoT projects is common, but imagine building smart IoT projects that can extract data from physical devices, thereby making decisions by themselves.
Our book overcomes the challenge of analyzing data from physical devices and accomplishes all that your imagination can dream up by teaching you how to build smart IoT projects. Basic statistics and various applied algorithms in data science and machine learning are introduced to accelerate your knowledge of how to integrate a decision system into a physical device.
This book contains IoT projects such as building a smart temperature controller, creating your own vision machine project, building an autonomous mobile robot car, controlling IoT projects through voice commands, building IoT applications utilizing cloud technology and data science, and many more. We will also leverage a small yet powerful IoT chip, Raspberry Pi with Arduino, in order to integrate a smart decision-making system in the IoT projects.Style and approach
The book follows a project-based approach to building smart IoT projects using powerful boards such as the Raspberry Pi, Arduino, and the IoT chip.
Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3.
This book covers:Python data model: understand how special methods are the key to the consistent behavior of objectsData structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode ageFunctions as objects: view Python functions as first-class objects, and understand how this affects popular design patternsObject-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritanceControl flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packagesMetaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work
This book is for those who want to learn how to build Raspberry Pi projects utilising LEDs, 7 segment, 4-digits 7 segment, and dot matrix modules. You also will learn to implement those modules in real applications, including interfacing with wireless modules and the Android mobile app. However, you don't need to have any previous experience with the Raspberry Pi or Android platforms.What You Will LearnControl LEDs, 7 segments, and 4-digits 7 segment from a Raspberry PiExpand Raspberry Pi's GPIOBuild a countdown timerBuild a digital clock displayDisplay numbers and characters on dot matrix displaysBuild a traffic light controllerBuild a remote home light control with a Bluetooth low energy module and AndroidBuild mobile Internet-controlled lamps with a wireless module and AndroidIn Detail
Blinking LED is a popular application when getting started in embedded development. By customizing and utilising LED-based modules into the Raspberry Pi board, exciting projects can be obtained. A countdown timer, a digital clock, a traffic light controller, and a remote light controller are a list of LED-based inspired project samples for Raspberry Pi.
An LED is a simple actuator device that displays lighting and can be controlled easily from a Raspberry Pi. This book will provide you with the ability to control LEDs from Raspberry Pi, starting from describing an idea through designing and implementing several projects based on LEDs, such as, 7-segments, 4-digits 7 segment, and dot matrix displays.
Beginning with step-by-step instructions on installation and configuration, this book can either be read from cover to cover or treated as an essential reference companion to your Raspberry Pi. Samples for the project application are provided such as a countdown timer, a digital clock, a traffic light controller, a remote light controller, and an LED-based Internet of Things, so you get more practice in the art of Raspberry Pi development.
Raspberry Pi LED Blueprints is an essential reference guide full of practical solutions to help you build LED-based applications.Style and approach
This book follows a step-by-step approach to LED-based development for Raspberry Pi, explained in a conversational and easy-to-follow style. Each topic is explained sequentially in the process of building an application, and detailed explanations of the basic and advanced features are included.
Inside, you’ll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of application domains. Each recipe contains code samples you can use in your projects right away, along with a discussion about how and why the solution works.
Topics include:Data Structures and AlgorithmsStrings and TextNumbers, Dates, and TimesIterators and GeneratorsFiles and I/OData Encoding and ProcessingFunctionsClasses and ObjectsMetaprogrammingModules and PackagesNetwork and Web ProgrammingConcurrencyUtility Scripting and System AdministrationTesting, Debugging, and ExceptionsC Extensions
Written by Mark Lutz—widely recognized as the world’s leading Python trainer—Python Pocket Reference is an ideal companion to O’Reilly’s classic Python tutorials, Learning Python and Programming Python, also written by Mark.
This fifth edition covers:Built-in object types, including numbers, lists, dictionaries, and moreStatements and syntax for creating and processing objectsFunctions and modules for structuring and reusing codePython’s object-oriented programming toolsBuilt-in functions, exceptions, and attributesSpecial operator overloading methodsWidely used standard library modules and extensionsCommand-line options and development toolsPython idioms and hintsThe Python SQL Database API