
eBook - ePub
C++ for Connected Devices
Build Battery-Powered IoT Devices with Modern C++
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
About this book
embedded C++ programming and IoT hardware projects. If you want to build embedded systems and IoT hardware from scratch, this step-by-step guide takes you from reading sensors to sending data over the network with efficient C++. Whether you're a beginner or a pro, you'll learn to program microcontrollers, optimize memory, and connect devices securely. Unlike C# 14 and .NET 10 β Modern Cross-Platform Development Fundamentals by Mark J. Price and C# 12 and .NET 8 β Modern Cross-Platform Development Fundamentals by Mark J. Price, which focus on high-level web apps, this book dives deep into low-level hardware control and real-time constraints.
What You'll Learn
Set up your development environment for ARM, AVR, and ESP32
Read analog and digital sensors with precise timing
Implement efficient data logging and filtering
Send data via Wi-Fi, Bluetooth, and LoRaWAN
Optimize C++ code for memory and power constraints
Build a complete IoT prototype from sensor to cloud
Who This Book Is For
Hobbyists, engineers, and students who want hands-on experience with C++ on real hardware. No prior embedded knowledge required.
Why Choose This Book?
Most IoT books assume you already know hardware or use high-level languages. This book bridges the gap with clear explanations, practical projects, and performance tips. You'll write lean, fast code that works on resource-constrained devices. Competitors like C# 14 and .NET 10 β Modern Cross-Platform Development Fundamentals by Mark J. Price and C# 12 and .NET 8 β Modern Cross-Platform Development Fundamentals by Mark J. Price cover different ecosystems; this book is your dedicated guide to C++ for connected devices.
Trusted byΒ 375,005 students
Access to over 1.5 million titles for a fair monthly price.
Study more efficiently using our study tools.
Table of contents
- C++ for Connected Devices
- C++ for Connected Devices
- Preface
- Chapter 1 β Hello, World: Your First Blinking LED with C++ on Bare Metal
- Chapter 2 β Reading the Digital World: Buttons, Switches, and Debouncing
- Chapter 3 β Analog Sensing: Potentiometers and Temperature Sensors
- Chapter 4 β Talking to Peripherals: IΒ²C and SPI Communication
- Chapter 5 β Modern C++ Features for Embedded Systems
- Chapter 6 β Power Management: Making Your Device Last Months on a Battery
- Chapter 7 β Wireless Connectivity: Wi-Fi and MQTT for Cloud Communication
- Chapter 8 β Long-Range Wireless: LoRa for Remote Sensor Nodes
- Chapter 9 β Real-Time Operating Systems: Multitasking on Microcontrollers
- Chapter 10 β Advanced RTOS: Timers, Queues, and Inter-Task Communication
- Chapter 11 β Securing Your Device: Cryptography and Secure Boot
- Chapter 12 β Over-the-Air Updates: Never Open the Case Again
- Chapter 13 β Edge Machine Learning: TinyML for Anomaly Detection
- Chapter 14 β Industrial Protocols: Modbus and CAN Bus Integration
- Chapter 15 β Bare-Metal C++: Migrating to STM32
- Chapter 16 β Production-Ready Practices: Testing, CI/CD, and Documentation
- Chapter 17 β Final Integration: Deploying Your Commercial-Grade IoT Product
- Chapter 18 β Beyond the Greenhouse: Taking Your Skills Further
- About the Author