DIY Microcontroller Projects for Hobbyists

DIY Microcontroller Projects for Hobbyists

Author: Miguel Angel Garcia-Ruiz

Publisher: Packt Publishing Ltd

Published: 2021-07-30

Total Pages: 320

ISBN-13: 1800569521

DOWNLOAD EBOOK

A practical guide to building PIC and STM32 microcontroller board applications with C and C++ programming Key FeaturesDiscover how to apply microcontroller boards in real life to create interesting IoT projectsCreate innovative solutions to help improve the lives of people affected by the COVID-19 pandemicDesign, build, program, and test microcontroller-based projects with the C and C++ programming languageBook Description We live in a world surrounded by electronic devices, and microcontrollers are the brains of these devices. Microcontroller programming is an essential skill in the era of the Internet of Things (IoT), and this book helps you to get up to speed with it by working through projects for designing and developing embedded apps with microcontroller boards. DIY Microcontroller Projects for Hobbyists are filled with microcontroller programming C and C++ language constructs. You'll discover how to use the Blue Pill (containing a type of STM32 microcontroller) and Curiosity Nano (containing a type of PIC microcontroller) boards for executing your projects as PIC is a beginner-level board and STM-32 is an ARM Cortex-based board. Later, you'll explore the fundamentals of digital electronics and microcontroller board programming. The book uses examples such as measuring humidity and temperature in an environment to help you gain hands-on project experience. You'll build on your knowledge as you create IoT projects by applying more complex sensors. Finally, you'll find out how to plan for a microcontroller-based project and troubleshoot it. By the end of this book, you'll have developed a firm foundation in electronics and practical PIC and STM32 microcontroller programming and interfacing, adding valuable skills to your professional portfolio. What you will learnGet to grips with the basics of digital and analog electronicsDesign, build, program, and test a microcontroller-based systemUnderstand the importance and applications of STM32 and PIC microcontrollersDiscover how to connect sensors to microcontroller boardsFind out how to obtain sensor data via codingUse microcontroller boards in real life and practical projectsWho this book is for This STM32 PIC microcontroller book is for students, hobbyists, and engineers who want to explore the world of embedded systems and microcontroller programming. Beginners, as well as more experienced users of digital electronics and microcontrollers, will also find this book useful. Basic knowledge of digital circuits and C and C++ programming will be helpful but not necessary.


Creative DIY Microcontroller Projects with TinyGo and WebAssembly

Creative DIY Microcontroller Projects with TinyGo and WebAssembly

Author: Tobias Theel

Publisher: Packt Publishing Ltd

Published: 2021-05-14

Total Pages: 322

ISBN-13: 1800563590

DOWNLOAD EBOOK

Explore embedded programming, and get hands-on with real-world embedded projects relating to IoT, low-powered devices, and other complex systems using TinyGo and WebAssembly Key FeaturesBuild creative embedded apps with TinyGo using low-powered devices and microcontrollersUnderstand the practicality involved in integrating hardware and sensors while programming them using TinyGoUse TinyGo in modern browsers to display embedded applications' statistics on WebAssembly dashboardsBook Description While often considered a fast and compact programming language, Go usually creates large executables that are difficult to run on low-memory or low-powered devices such as microcontrollers or IoT. TinyGo is a new compiler that allows developers to compile their programs for such low-powered devices. As TinyGo supports all the standard features of the Go programming language, you won't have to tweak the code to fit on the microcontroller. This book is a hands-on guide packed full of interesting DIY projects that will show you how to build embedded applications. You will learn how to program sensors and work with microcontrollers such as Arduino UNO and Arduino Nano IoT 33. The chapters that follow will show you how to develop multiple real-world embedded projects using a variety of popular devices such as LEDs, 7-segment displays, and timers. Next, you will progress to build interactive prototypes such as a traffic lights system, touchless hand wash timer, and more. As you advance, you'll create an IoT prototype of a weather alert system and display those alerts on the TinyGo WASM dashboard. Finally, you will build a home automation project that displays stats on the TinyGo WASM dashboard. By the end of this microcontroller book, you will be equipped with the skills you need to build real-world embedded projects using the power of TinyGo. What you will learnDiscover a variety of TinyGo features and capabilities while programming your embedded devicesExplore how to use display devices to present your dataFocus on how to make TinyGo interact with multiple sensors for sensing temperature, humidity, and pressureProgram hardware devices such as Arduino Uno and Arduino Nano IoT 33 using TinyGoUnderstand how TinyGo works with GPIO, ADC, I2C, SPI, and MQTT network protocolsBuild your first TinyGo IoT and home automation prototypesIntegrate TinyGo in modern browsers using WebAssemblyWho this book is for If you are a Go developer who wants to program low-powered devices and hardware such as Arduino UNO and Arduino Nano IoT 33, or if you are a Go developer who wants to extend your knowledge of using Go with WebAssembly while programming Go in the browser, then this book is for you. Go hobbyist programmers who are interested in learning more about TinyGo by working through the DIY projects covered in the book will also find this hands-on guide useful.


tinyAVR Microcontroller Projects for the Evil Genius

tinyAVR Microcontroller Projects for the Evil Genius

Author: Dhananjay Gadre

Publisher: McGraw Hill Professional

Published: 2011-01-31

Total Pages: 272

ISBN-13: 007174455X

DOWNLOAD EBOOK

CREATE FIENDISHLY FUN tinyAVR MICROCONTROLLER PROJECTS This wickedly inventive guide shows you how to conceptualize, build, and program 34 tinyAVR microcontroller devices that you can use for either entertainment or practical purposes. After covering the development process, tools, and power supply sources, tinyAVR Microcontroller Projects for the Evil Genius gets you working on exciting LED, graphics LCD, sensor, audio, and alternate energy projects. Using easy-to-find components and equipment, this hands-on guide helps you build a solid foundation in electronics and embedded programming while accomplishing useful--and slightly twisted--projects. Most of the projects have fascinating visual appeal in the form of large LED-based displays, and others feature a voice playback mechanism. Full source code and circuit files for each project are available for download. tinyAVR Microcontroller Projects for the Evil Genius: Features step-by-step instructions and helpful illustrations Allows you to customize each project for your own requirements Offers full source code for all projects for download Build these and other devious devices: Flickering LED candle Random color and music generator Mood lamp VU meter with 20 LEDs Celsius and Fahrenheit thermometer RGB dice Tengu on graphics display Spinning LED top with message display Contactless tachometer Electronic birthday blowout candles Fridge alarm Musical toy Batteryless infrared remote Batteryless persistence-of-vision toy Each fun, inexpensive Evil Genius project includes a detailed list of materials, sources for parts, schematics, and lots of clear, well-illustrated instructions for easy assembly. The larger workbook-style layout and convenient two-column format make following the step-by-step instructions a breeze. Make Great Stuff! TAB, an imprint of McGraw-Hill Professional, is a leading publisher of DIY technology books for makers, hackers, and electronics hobbyists.


Arduino Workshop

Arduino Workshop

Author: John Boxall

Publisher: No Starch Press

Published: 2013-05-13

Total Pages: 394

ISBN-13: 1593274483

DOWNLOAD EBOOK

The Arduino is a cheap, flexible, open source microcontroller platform designed to make it easy for hobbyists to use electronics in homemade projects. With an almost unlimited range of input and output add-ons, sensors, indicators, displays, motors, and more, the Arduino offers you countless ways to create devices that interact with the world around you. In Arduino Workshop, you'll learn how these add-ons work and how to integrate them into your own projects. You'll start off with an overview of the Arduino system but quickly move on to coverage of various electronic components and concepts. Hands-on projects throughout the book reinforce what you've learned and show you how to apply that knowledge. As your understanding grows, the projects increase in complexity and sophistication. Among the book's 65 projects are useful devices like: – A digital thermometer that charts temperature changes on an LCD –A GPS logger that records data from your travels, which can be displayed on Google Maps – A handy tester that lets you check the voltage of any single-cell battery – A keypad-controlled lock that requires a secret code to open You'll also learn to build Arduino toys and games like: – An electronic version of the classic six-sided die – A binary quiz game that challenges your number conversion skills – A motorized remote control tank with collision detection to keep it from crashing Arduino Workshop will teach you the tricks and design principles of a master craftsman. Whatever your skill level, you'll have fun as you learn to harness the power of the Arduino for your own DIY projects. Uses the Arduino Uno board


PICAXE Microcontroller Projects for the Evil Genius

PICAXE Microcontroller Projects for the Evil Genius

Author: Ron Hackett

Publisher: McGraw Hill Professional

Published: 2010-09-05

Total Pages: 288

ISBN-13: 0071703276

DOWNLOAD EBOOK

WHIP UP SOME FIENDISHLY FUN PICAXE MICROCONTROLLER DEVICES "Ron has worked hard to explain how the PICAXE system operates through simple examples, and I'm sure his easy-to-read style will help many people progress with their PICAXE projects." --From the Foreword by Clive Seager, Revolution Education Ltd. This wickedly inventive guide shows you how to program, build, and debug a variety of PICAXE microcontroller projects. PICAXE Microcontroller Projects for the Evil Genius gets you started with programming and I/O interfacing right away, and then shows you how to develop a master processor circuit. From "Hello, World!" to "Hail, Octavius!" All the projects in Part I can be accomplished using either an M or M2 class PICAXE processor, and Part II adds 20X2-based master processor projects to the mix. Part III culminates in the creation of Octavius--a sophisticated robotics experimentation platform featuring a 40X2 master processor and eight breadboard stations which allow you to develop intelligent peripherals to augment Octavius' functioning. The only limit is your imagination! PICAXE Microcontroller Projects for the Evil Genius: Features step-by-step instructions and helpful photos and illustrations Allows you to customize each project for your purposes Offers all the programs in the book free for download Removes the frustration factor--all required parts are listed, along with sources Build these and other devious devices: Simple mini-stereo jack adapter USBS-PA3 PICAXE programming adapter Power supply Three-state digital logic probe 20X2 master processor circuit TV-R input module 8-bit parallel 16X2 LCD board Serialized 16X2 LCD Serialized 4X4 matrix keypad SPI 4-digit LED display Countdown timer Programmable, multi-function peripheral device and operating system Octavius--advanced robotics experimentation platform L298 dual DC motor controller board Each fun, inexpensive Evil Genius project includes a detailed list of materials, sources for parts, schematics, and lots of clear, well-illustrated instructions for easy assembly. The larger workbook-style layout and convenient two-column format make following the step-by-step instructions a breeze. Make Great Stuff! TAB, an imprint of McGraw-Hill Professional, is a leading publisher of DIY technology books for makers, hackers, and electronics hobbyists.


50 PIC Microcontroller Projects

50 PIC Microcontroller Projects

Author: Bert van Dam

Publisher:

Published: 2010

Total Pages: 437

ISBN-13: 9780905705880

DOWNLOAD EBOOK

This book contains 50 fun and exciting projects for PIC microcontrollers such as a laser alarm, USB teasing mouse, egg timer, youth repellent, sound switch, capacitive liquid level gauge, "finger in the water" sensor, guarding a room using a camera, mains light dimmer (110-240 volts), talking microcontroller and much more. You can use this book to build the projects for your own use. The clear explanations, schematics and even pictures of each project make this a fun activity. For each project the theory is discussed and why the project has been executed in that particular way. Several different techniques are discussed such as relay, alternating current control including mains, I2C, SPI, RS232, USB, pulse width modulation, rotary encoder, interrupts, infrared, analogue-digital conversion (and the other way around), 7-segment display and even CAN bus.


AVR Programming

AVR Programming

Author: Elliot Williams

Publisher: Maker Media, Inc.

Published: 2014-01-27

Total Pages: 587

ISBN-13: 1449355757

DOWNLOAD EBOOK

Atmel's AVR microcontrollers are the chips that power Arduino, and are the go-to chip for many hobbyist and hardware hacking projects. In this book you'll set aside the layers of abstraction provided by the Arduino environment and learn how to program AVR microcontrollers directly. In doing so, you'll get closer to the chip and you'll be able to squeeze more power and features out of it. Each chapter of this book is centered around projects that incorporate that particular microcontroller topic. Each project includes schematics, code, and illustrations of a working project. Program a range of AVR chips Extend and re-use other people’s code and circuits Interface with USB, I2C, and SPI peripheral devices Learn to access the full range of power and speed of the microcontroller Build projects including Cylon Eyes, a Square-Wave Organ, an AM Radio, a Passive Light-Sensor Alarm, Temperature Logger, and more Understand what's happening behind the scenes even when using the Arduino IDE


Getting Started with Arduino

Getting Started with Arduino

Author: Massimo Banzi

Publisher: "O'Reilly Media, Inc."

Published: 2011-09-13

Total Pages: 131

ISBN-13: 1449309879

DOWNLOAD EBOOK

Presents an introduction to the open-source electronics prototyping platform.


Make: Lego and Arduino Projects

Make: Lego and Arduino Projects

Author: John Baichtal

Publisher: "O'Reilly Media, Inc."

Published: 2012-11-30

Total Pages: 329

ISBN-13: 1449321062

DOWNLOAD EBOOK

Provides step-by-step instructions for building a variety of LEGO Mindstorms NXT and Arduino devices.


30 Arduino Projects for the Evil Genius

30 Arduino Projects for the Evil Genius

Author: Simon Monk

Publisher: McGraw Hill Professional

Published: 2010-08-23

Total Pages: 208

ISBN-13: 0071741348

DOWNLOAD EBOOK

30 Ways to Have Some Computer-Controlled Evil Fun! "The steps are easy to follow...text is precise and understandable...uses very clear pictures and schematics to show what needs doing...Most importantly these projects are fun!"--Boing Boing This wickedly inventive guide shows you how to program and build a variety of projects with the Arduino microcontroller development system. Covering Windows, Mac, and Linux platforms, 30 Arduino Projects for the Evil Genius gets you up to speed with the simplified C programming you need to know--no prior programming experience necessary. Using easy-to-find components and equipment, this do-it-yourself book explains how to attach an Arduino board to your computer, program it, and connect electronics to it to create fiendishly fun projects. The only limit is your imagination! 30 Arduino Projects for the Evil Genius: Features step-by-step instructions and helpful illustrations Provides full schematic and construction details for every project Covers the scientific principles behind the projects Removes the frustration factor--all required parts are listed along with sources Build these and other devious devices: Morse code translator High-powered strobe light Seasonal affective disorder light LED dice Keypad security code Pulse rate monitor USB temperature logger Oscilloscope Light harp LCD thermostat Computer-controlled fan Hypnotizer Servo-controlled laser Lie detector Magnetic door lock Infrared remote Each fun, inexpensive Evil Genius project includes a detailed list of materials, sources for parts, schematics, and lots of clear, well-illustrated instructions for easy assembly. The larger workbook-style layout and convenient two-column format make following the step-by-step instructions a breeze. In December 2011, Arduino 1.0 was released. This changed a few things that have caused the sketches for Projects 10, 27, and 28 in this book to break. To fix this, you will need to get the latest versions of the Keypad and IRRemote libraries. The Keypad library has been updated for Arduino 1.0 by its original creators and can be downloaded from here: http://www.arduino.cc/playground/Code/Keypad Ken Shiriff's IRRemote library has been updated and can be downloaded from here: http://www.arduinoevilgenius.com/new-downloads Make Great Stuff! TAB, an imprint of McGraw-Hill Professional, is a leading publisher of DIY technology books for makers, hackers, and electronics hobbyists.