Programming the BBC micro:bit: Getting Started with MicroPython

Programming the BBC micro:bit: Getting Started with MicroPython
Author: Simon Monk
Publisher: McGraw Hill Professional
Total Pages: 177
Release: 2017-11-17
Genre: Technology & Engineering
ISBN: 1260117596

Quickly write innovative programs for your micro:bit—no experience necessary!This easy-to-follow guide shows, step-by-step, how to quickly get started with programming and creating fun applications on your micro:bit.. Written in the straightforward style that Dr. Simon Monk is famous for, Programming the BBC micro:bit: Getting Started with MicroPython begins with basic concepts and gradually progresses to more advanced techniques. You will discover how to use the micro:bit's built-in hardware, use the LED display, accept input from sensors, attach external electronics, and handle wireless communication.•Connect your micro:bit to a computer and start programming!•Learn how to use the two most popular MicroPython editors •Work with built-in functions and methods—and see how to write your own•Display text, images, and animations on the micro:bit’s LED matrix•Process data from the accelerometer, compass, and touch sensor•Control external hardware by attaching it to the edge connector•Send and receive messages via the built-in radio module•Graphically build programs with the JavaScript Blocks Editor

The Official BBC micro:bit User Guide

The Official BBC micro:bit User Guide
Author: Gareth Halfacree
Publisher: John Wiley & Sons
Total Pages: 354
Release: 2017-10-05
Genre: Computers
ISBN: 1119413842

The go-to guide to getting started with the BBC micro:bit and exploring all of its amazing capabilities. The BBC micro:bit is a pocket-sized electronic development platform built with education in mind. It was developed by the BBC in partnership with major tech companies, communities, and educational organizations to provide kids with a fun, easy, inexpensive way to develop their digital skills. With it, kids (and grownups) can learn basic programming and coding while having fun making virtual pets, developing games, and a whole lot more. Written by internationally bestselling tech author Gareth Halfacree and endorsed by the Micro:bit Foundation, The Official BBC micro:bit User Guide contains what you need to know to get up and running fast with the BBC micro:bit. Learn everything from taking your first steps with the BBC micro:bit to writing your own programs. You'll also learn how to expand its capabilities with add-ons through easy-to-follow, step-by-step instructions. Set up your BBC micro:bit and develop your digital skills Write code in JavaScript Blocks, JavaScript, and Python Discover the BBC micro:bit’s built-in sensors Connect the BBC micro:bit to a Raspberry Pi to extend its capabilities Build your own circuits and create hardware The Official BBC micro:bit User Guide is your go-to source for learning all the secrets of the BBC micro:bit. Whether you're just beginning or have some experience, this book allows you to dive right in and experience everything the BBC micro:bit has to offer.

Programming with MicroPython

Programming with MicroPython
Author: Nicholas H. Tollervey
Publisher: "O'Reilly Media, Inc."
Total Pages: 210
Release: 2017-09-25
Genre: Computers
ISBN: 1491972718

It’s an exciting time to get involved with MicroPython, the re-implementation of Python 3 for microcontrollers and embedded systems. This practical guide delivers the knowledge you need to roll up your sleeves and create exceptional embedded projects with this lean and efficient programming language. If you’re familiar with Python as a programmer, educator, or maker, you’re ready to learn—and have fun along the way. Author Nicholas Tollervey takes you on a journey from first steps to advanced projects. You’ll explore the types of devices that run MicroPython, and examine how the language uses and interacts with hardware to process input, connect to the outside world, communicate wirelessly, make sounds and music, and drive robotics projects. Work with MicroPython on four typical devices: PyBoard, the micro:bit, Adafruit’s Circuit Playground Express, and ESP8266/ESP32 boards Explore a framework that helps you generate, evaluate, and evolve embedded projects that solve real problems Dive into practical MicroPython examples: visual feedback, input and sensing, GPIO, networking, sound and music, and robotics Learn how idiomatic MicroPython helps you express a lot with the minimum of resources Take the next step by getting involved with the Python community

Agile Technical Practices Distilled

Agile Technical Practices Distilled
Author: Pedro M. Santos
Publisher: Packt Publishing Ltd
Total Pages: 443
Release: 2019-06-28
Genre: Computers
ISBN: 1838986626

Delve deep into the various technical practices, principles, and values of Agile. Key FeaturesDiscover the essence of Agile software development and the key principles of software designExplore the fundamental practices of Agile working, including test-driven development (TDD), refactoring, pair programming, and continuous integrationLearn and apply the four elements of simple designBook Description The number of popular technical practices has grown exponentially in the last few years. Learning the common fundamental software development practices can help you become a better programmer. This book uses the term Agile as a wide umbrella and covers Agile principles and practices, as well as most methodologies associated with it. You’ll begin by discovering how driver-navigator, chess clock, and other techniques used in the pair programming approach introduce discipline while writing code. You’ll then learn to safely change the design of your code using refactoring. While learning these techniques, you’ll also explore various best practices to write efficient tests. The concluding chapters of the book delve deep into the SOLID principles - the five design principles that you can use to make your software more understandable, flexible and maintainable. By the end of the book, you will have discovered new ideas for improving your software design skills, the relationship within your team, and the way your business works. What you will learnLearn the red, green, refactor cycle of classic TDD and practice the best habits such as the rule of 3, triangulation, object calisthenics, and moreRefactor using parallel change and improve legacy code with characterization tests, approval tests, and Golden MasterUse code smells as feedback to improve your designLearn the double cycle of ATDD and the outside-in mindset using mocks and stubs correctly in your testsUnderstand how Coupling, Cohesion, Connascence, SOLID principles, and code smells are all relatedImprove the understanding of your business domain using BDD and other principles for "doing the right thing, not only the thing right"Who this book is for This book is designed for software developers looking to improve their technical practices. Software coaches may also find it helpful as a teaching reference manual. This is not a beginner's book on how to program. You must be comfortable with at least one programming language and must be able to write unit tests using any unit testing framework.

Get Started with MicroPython on Raspberry Pi Pico

Get Started with MicroPython on Raspberry Pi Pico
Author: Gareth Halfacree
Publisher: Raspberry Pi Press
Total Pages: 140
Release: 2021-01-25
Genre: Computers
ISBN: 1912047160

Microcontrollers, like the RP2040 at the heart of Raspberry Pi Pico, are computers stripped back to their bare essentials. You don't use monitors or keyboards with them, but program them over USB to take their input from (and send their output to) their input/output (IO) pins. Using these programmable connections, you can light lights, make noises, send text to screens, and much more. In Get Started with MicroPython on Raspberry Pi Pico, you will learn how to use the beginner-friendly language MicroPython to write programs and connect up hardware to make your Raspberry Pi Pico interact with the world around it. Using these skills, you can create your own electro-mechanical projects, whether for fun or to make your life easier. This book shows you how to: Get started with Raspberry Pi Pico Work with various electronic components Create your own programmable electronic contraptions Work with Programming Input and Output (PIO) for low level, timing-critical projects Learn the Raspberry Pi Pico pinouts for hooking up components Use the I2C and SPI protocols to connect to components By the end of the book, you'll know how to create your own programmable electronic contraptions. What you do with them is up to you.

Micro:bit for Mad Scientists

Micro:bit for Mad Scientists
Author: Simon Monk
Publisher: No Starch Press
Total Pages: 281
Release: 2019-09-24
Genre: Computers
ISBN: 1593279752

Build your own secret laboratory with 30 coding and electronic projects! The BBC micro:bit is a tiny, cheap, yet surprisingly powerful computer that you can use to build cool things and experiment with code. The 30 simple projects and experiments in this book will show you how to use the micro:bit to build a secret science lab complete with robots, door alarms, lie detectors, and more--as you learn basic coding and electronics skills. Here are just some of the projects you'll build: A "light guitar" you can play just by moving your fingers A working lie detector A self-watering plant care system A two-wheeled robot A talking robotic head with moving eyes A door alarm made with magnets Learn to code like a Mad Scientist!

MicroPython for the Internet of Things

MicroPython for the Internet of Things
Author: Charles Bell
Publisher: Apress
Total Pages: 454
Release: 2017-11-24
Genre: Computers
ISBN: 1484231236

Quickly learn to program for microcontrollers and IoT devices without a lot of study and expense. MicroPython and controllers that support it eliminate the need for programming in a C-like language, making the creation of IoT applications and devices easier and more accessible than ever. MicroPython for the Internet of Things is ideal for readers new to electronics and the world of IoT. Specific examples are provided covering a range of supported devices, sensors, and MicroPython boards such as Pycom’s WiPy modules and MicroPython’s pyboard. Never has programming for microcontrollers been easier. The book takes a practical and hands-on approach without a lot of detours into the depths of theory. The book: Shows a faster and easier way to program microcontrollers and IoT devices Teaches MicroPython, a variant of one of the most widely used scripting languages Is friendly and accessible to those new to electronics, with fun example projects What You'll Learn Program in MicroPython Understand sensors and basic electronics Develop your own IoT projects Build applications for popular boards such as WiPy and pyboard Load MicroPython on the ESP8266 and similar boards Interface with hardware breakout boards Connect hardware to software through MicroPython Explore the easy-to-use Adafruit IO connecting your microcontroller to the cloud Who This Book Is For Anyone interested in building IoT solutions without the heavy burden of programming in C++ or C. The book also appeals to those wanting an easier way to work with hardware than is provided by the Arduino and the Raspberry Pi platforms.

A Beginner's Guide to Coding on Android Tablets and Smartphones

A Beginner's Guide to Coding on Android Tablets and Smartphones
Author: James Gatenby
Publisher:
Total Pages: 128
Release: 2015-09
Genre:
ISBN: 9780859347556

This title will explain the basic concepts of computers and computer coding before explaining how to download and install the necessary Python software on Android tablets and smartphones. It then describes the basics of coding in Python, followed by saving and running the code and transferring to other types of computer.

MicroPython Cookbook

MicroPython Cookbook
Author: Marwan Alsabbagh
Publisher:
Total Pages: 452
Release: 2019-05-20
Genre:
ISBN: 9781838649951

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.