Practical Projects to Build Your Own Smart Car
Buch, Englisch, 306 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 499 g
ISBN: 978-1-4842-6079-1
Verlag: Apress
Start by understanding how the Pi works, and move on to how to build hardware projects, use the GPIO pins, and install the system. Then add to that a solid understanding of software development principles and best practices, along with a good grasp of Python (v3.6+) and Python/software best practices. More than just how to code in Python, you'll learn what it takes to write production grade software, defensive code, testing, deployments, version control, and more. Internalize industry best practices while going further with valuable software development techniques such as defensive programming.
The concepts introduced are essential to ensuring that software can function under unexpected circumstances. Can you imagine what would happen if your mobile phone could not cope with a call from an unknown number, or you had to set you microwave in increments of 6 seconds? While testing avoids edge cases such as these, defensive programming is one of the building blocks of software development.
What You'll Learn
- Hone test driven development in Python skills
- Debug software and hardware project installations
- Work with the GPIO ports of the Pi to feed your software real-world hardware information
Who This Book Is ForPeople who like working on cars and want to learn Raspberry Pi and software development but don’t know where to start.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Chapter 1 - Introduction
Chapter 2 - Prerequisites
May need minor car knowledge
No software or Raspberry Pi experience required
Chapter 3 - Software Development Primer
Why these tools and processes exist, with examples of what happens when you don’t use them. Basic introduction, maybe a few minor sample projects or basic code samples.
- Test driven development (TDD)
- Testing
- Debugging
- Git- Deployments
- Event driven programming
Chapter 4 - Project Overview
How each individual project combines to produce a larger project (car dashboard). Reasons why this doesn’t use a modern On-board diagnostics (OBD) port. How to use the individual projects outside the context of the car project.
Chapter 5 - Raspberry Pi Configuration
SSH, pulling of build artifacts, auto starting application in “kiosk” mode.
Chapter 6 - Development Environment Configuration
Version control configuration, IDE tooling, deployment pipeline configuration. By this point in the book, the reader should have a rough skeleton application, know where the project is heading, have a development environment and Raspberry Pi configured, and can push code to a Git code repository and deploy to the Pi upon the successful passing of the unit tests.Chapter 7: The Heartbeat
Chapter 8 - Mini Projects
–Door/Trunk Sensors
–Fuel Sensor
–Tire Pressure Sensors
–Project: Speedometer
–Project: Mileometer
–Project: Engine + Ambient Temperature Sensors
–Project: Parking Sensors
–Project: Seat Belt Sensors
–Project: Trip Computer
Chapter 9 - Installation
Covers ventilation/cooling, enclosure manufacture, mounting of display, hardening to handle sudden loss of power, security considerations, emergency power, power circuit, and car installation.
Chapter 10 - Wrapping Up
Future improvements, troubleshooting steps, alternative solutions. Advice on getting started as a software developer, and how to apply these skills learned to other software projects or any other challenges faced.




