A definitive guide to electronics programming for beginners, compatible with both popular microcontrollers.
This book focuses on the Arduino microcontroller, popular among electronics enthusiasts, and the ESP32, which features built-in WiFi and Bluetooth for easy network connectivity. The "Arduino language" is used for programming these microcontrollers.
This book is for those who enjoy electronics but are unfamiliar with programming, or those with programming experience who want to leverage their skills for more enjoyable electronics projects.
Compatible with both ESP32 and Arduino, this book carefully explains everything from the necessary components for starting electronics projects, to the relationship between electronics and programming, creating your first program, and installing the development environment.
You'll steadily improve your programming skills by learning about variables, control structures, arrays, functions, and libraries. The practical section challenges you to build a GPS logger, a radio-controlled car, and an environmental meter.
Expand your enjoyment and world of electronics through programming.
[Knowledge You Will Acquire in This Book]
◎ How to Start Electronics Projects, How to Use the Arduino Development Environment
◎ Essential Syntax such as Variables, Arrays, Pointers, Conditional Branching, and Loops
◎ Digital/Analog Input/Output Control Using Functions, Interrupt Handling, etc.
◎ How to Use and Create Classes and Libraries
◎ How to Use Libraries for Specific Purposes, such as Servo Motor Control and WiFi Connection
◎ How to Build a GPS Logger, Radio-Controlled Car, and Environmental Meter
[Things You Will Build and Operate in This Book]
◆ GPS Logger that Collects Logs and Displays Them on a Display
→ Records Latitude/Longitude/Date/Time/Speed/Altitude data and outputs it to an OLED display
◆ Radio-Controlled Car with Bluetooth Communication and Collision Avoidance Function
→ Controlled by sending commands from a PC or Android device. Equipped with collision avoidance function using ultrasonic sensors.
◆ Environmental Meter that Notifies You of Temperature and Air Conditions
→ Checks the surrounding environment (temperature/humidity/pressure/air condition) and displays it on an LCD display. Also has a function to notify you of air conditions by voice using Google Home.