Compatible with both popular microcontrollers. The definitive introduction to electronics programming.
The Arduino microcontroller is popular among electronics enthusiasts, while the ESP32 offers built-in WiFi and Bluetooth for easy network connectivity. The "Arduino language" is used to program these microcontrollers.
Whether you love electronics but don't know much about programming, or have programming experience and want to use it to enjoy electronics, this book is the perfect introduction to electronics programming for you.
Compatible with both the ESP32 and Arduino. This book thoroughly explains everything from what you need to get started with electronics, the relationship between electronics and programming, creating your first program, and installing a development environment.
You'll steadily improve your programming skills with variables, control structures, arrays, functions, and libraries, and in the practical section, you'll take on the challenge of creating a "GPS logger," "radio-controlled car," and "environmental meter."
Expand the world of electronics and the joy of programming through programming.
[What you'll learn from this book]
◎How to get started with electronics and 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 make a GPS logger, a radio-controlled car, and an environmental meter
[What you'll build and operate in this book]
◆A 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
◆A radio-controlled car with Bluetooth communication and collision prevention
→Controlled by sending commands from a PC or Android device. Features collision prevention using ultrasonic sensors
◆An environmental meter that notifies you of temperature and air quality
→Checks the surrounding environment (temperature/humidity/barometric pressure/air quality) and displays it on an LCD display. It also has the ability to notify you of air quality via voice using Google Home