Steve Branam

Embedded software engineer for IoT and communications systems

We may earn commissions for purchases made via this page

Book Recommendations:

1. Modern C++ Programming with Test-Driven Development

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“Langr's book TDDC++ is an excellent follow-on to TDDEmbeddedC.” (source)

C++, Programming, Software Development, Test-Driven Development, Engineering

If you program in C++ you've been neglected. Test-driven development (TDD) is a modern software development practice that can dramatically reduce the number of defects in systems, produce more maintainable code, and give you the confidence to change your software to meet changing needs. But C++ programmers have been ignored by those promoting TDD--until now. In this book, Jeff Langr gives you hands-on lessons in the challenges and rewards of doing TDD in C++. Modern C++ Programming With Test-Driven Development, the only comprehensive treatment on TDD in C++ provides you with everything you need to know about TDD, and the challenges and benefits of implementing it in your C++ systems. Its many detailed code examples take you step-by-step from TDD basics to advanced concepts. As a veteran C++ programmer, you're already writing high-quality code, and you work hard to maintain code quality. It doesn't have to be that hard. In this book, you'll learn: how to use TDD to improve legacy C++ systemshow to identify and deal with troublesome system dependencieshow to do dependency injection, which is particularly tricky in C++how to use testing tools for C++ that aid TDDnew C++11 features that facilitate TDDAs you grow in TDD mastery, you'll discover how to keep a massive C++ system from becoming a design mess over time, as well as particular C++ trouble spots to avoid. You'll find out how to prevent your tests from being a maintenance burden and how to think in TDD without giving up your hard-won C++ skills. Finally, you'll see how to grow and sustain TDD in your team. Whether you're a complete unit-testing novice or an experienced tester, this book will lead you to mastery of test-driven development in C++. What You Need A C++ compiler running under Windows or Linux, preferably one that supports C++11. Examples presented in the book were built under gcc 4.7.2.Google Mock 1.6 (downloadable for free; it contains Google Test as well) or an alternate C++ unit testing tool. Most examples in the book are written for Google Mock, but it isn't difficult to translate them to your tool of choice.A good programmer's editor or IDE.cmake, preferably. Of course, you can use your own preferred make too. CMakeLists.txt files are provided for each project. Examples provided were built using cmake version 2.8.9.Various freely-available third-party libraries are used as the basis for examples in the book. These include:cURLJsonCppBoost (filesystem, date_time/gregorian, algorithm, assign)Several examples use the boost headers/libraries. Only one example uses cURL and JsonCpp.

2. Test Driven Development

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“If you're serious about TDD, I highly recommend that yes, you read, watch, and do all of these.” (source)

Software Development, Programming, Test-Driven Development, Extreme Programming, Software Engineering

Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the author believes that byproducts of fear include tentative, grumpy, and uncommunicative programmers who are unable to absorb constructive criticism. When programming teams buy into TDD, they immediately see positive results. They eliminate the fear involved in their jobs, and are better equipped to tackle the difficult challenges that face them. TDD eliminates tentative traits, it teaches programmers to communicate, and it encourages team members to seek out criticism However, even the author admits that grumpiness must be worked out individually! In short, the premise behind TDD is that code should be continually tested and refactored. Kent Beck teaches programmers by example, so they can painlessly and dramatically increase the quality of their work.

3. Hands-On RTOS with Microcontrollers

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“is an outstanding book. It lives up to its name, extremely hands-on and practical, taking you from knowing nothing about RTOS's (Real-Time Operating Systems) up to building real multithreaded embedded system applications running on real hardware.” (source)

RTOS, Microcontrollers, Embedded Systems, FreeRTOS, STM32

Build a strong foundation in designing and implementing real-time systems with the help of practical examples Key Features Get up and running with the fundamentals of RTOS and apply them on STM32Enhance your programming skills to design and build real-world embedded systemsGet to grips with advanced techniques for implementing embedded systemsBook Description A real-time operating system (RTOS) is used to develop systems that respond to events within strict timelines. Real-time embedded systems have applications in various industries, from automotive and aerospace through to laboratory test equipment and consumer electronics. These systems provide consistent and reliable timing and are designed to run without intervention for years. This microcontrollers book starts by introducing you to the concept of RTOS and compares some other alternative methods for achieving real-time performance. Once you've understood the fundamentals, such as tasks, queues, mutexes, and semaphores, you'll learn what to look for when selecting a microcontroller and development environment. By working through examples that use an STM32F7 Nucleo board, the STM32CubeIDE, and SEGGER debug tools, including SEGGER J-Link, Ozone, and SystemView, you'll gain an understanding of preemptive scheduling policies and task communication. The book will then help you develop highly efficient low-level drivers and analyze their real-time performance and CPU utilization. Finally, you'll cover tips for troubleshooting and be able to take your new-found skills to the next level. By the end of this book, you'll have built on your embedded system skills and will be able to create real-time systems using microcontrollers and FreeRTOS. What you will learn Understand when to use an RTOS for a projectExplore RTOS concepts such as tasks, mutexes, semaphores, and queuesDiscover different microcontroller units (MCUs) and choose the best one for your projectEvaluate and select the best IDE and middleware stack for your projectUse professional-grade tools for analyzing and debugging your applicationGet FreeRTOS-based applications up and running on an STM32 boardWho this book is for This book is for embedded engineers, students, or anyone interested in learning the complete RTOS feature set with embedded devices. A basic understanding of the C programming language and embedded systems or microcontrollers will be helpful.

4. Programming the Raspberry Pi

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“This is a nice practical guide to Python on the Raspberry Pi, with much more detail on programming than his Hacking Electronics above.” (source)

Software Development, Embedded Systems, Programming, Test-Driven Development, Engineering

Program your own Raspberry Pi projects Create innovative programs and fun games on your tiny yet powerful Raspberry Pi. In this book, electronics guru Simon Monk explains the basics of Raspberry Pi application development, while providing hands-on examples and ready-to-use scripts. See how to set up hardware and software, write and debug applications, create user-friendly interfaces, and control external electronics. Do-it-yourself projects include a hangman game, an LED clock, and a software-controlled roving robot. Boot up and configure your Raspberry Pi Navigate files, folders, and menus Create Python programs using the IDLE editor Work with strings, lists, and functions Use and write your own libraries, modules, and classes Add Web features to your programs Develop interactive games with Pygame Interface with devices through the GPIO port Build a Raspberry Pi Robot and LED Clock Build professional-quality GUIs using Tkinter

View on Amazon

5. Making Embedded Systems

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“This is an excellent book on the software for small embedded systems that don't use operating systems (known as bare-metal, hard-loop, or superloop systems), introducing a broad range of topics essential to all types of embedded systems.” (source)

Embedded Systems, Software Design, Programming, IoT, Microprocessors

Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded programming. You'll learn how to build system architecture for processors, not for operating systems, and you'll discover techniques for dealing with hardware difficulties, changing designs, and manufacturing requirements. Written by an expert who has created systems ranging from DNA scanners to children's toys, this book is ideal for intermediate and experienced programmers, no matter what platform you use. This expanded second edition includes new chapters on IoT and networked sensors, motors and movement, debugging, data handling strategies, and more. Optimize your system to reduce cost and increase performance Develop an architecture that makes your software robust in resource-constrained environments Explore sensors, displays, motors, and other I/O devices Reduce RAM and power consumption, code space, and processor cycles Learn how to interpret schematics, datasheets, and power requirements Discover how to implement complex mathematics and machine learning on small processors Design effective embedded systems for IoT and networked sensors

6. Designing Embedded Hardware

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“This covers the hardware side of things, an excellent complement to White's book.” (source)

Embedded Systems, Computer Architecture, Microcontrollers, Digital Signal Processing, Protocols

Embedded computer systems literally surround us: they're in our cell phones, PDAs, cars, TVs, refrigerators, heating systems, and more. In fact, embedded systems are one of the most rapidly growing segments of the computer industry today. Along with the growing list of devices for which embedded computer systems are appropriate, interest is growing among programmers, hobbyists, and engineers of all types in how to design and build devices of their own. Furthermore, the knowledge offered by this book into the fundamentals of these computer systems can benefit anyone who has to evaluate and apply the systems. The second edition of Designing Embedded Hardware has been updated to include information on the latest generation of processors and microcontrollers, including the new MAXQ processor. If you're new to this and don't know what a MAXQ is, don't worry--the book spells out the basics of embedded design for beginners while providing material useful for advanced systems designers. Designing Embedded Hardware steers a course between those books dedicated to writing code for particular microprocessors, and those that stress the philosophy of embedded system design without providing any practical information. Having designed 40 embedded computer systems of his own, author John Catsoulis brings a wealth of real-world experience to show readers how to design and create entirely new embedded devices and computerized gadgets, as well as how to customize and extend off-the-shelf systems. Loaded with real examples, this book also provides a roadmap to the pitfalls and traps to avoid. Designing Embedded Hardware includes: The theory and practice of embedded systems Understanding schematics and data sheets Powering an embedded system Producing and debugging an embedded system Processors such as the PIC, Atmel AVR, and Motorola 68000-series Digital Signal Processing (DSP) architectures Protocols (SPI and I2C) used to add peripherals RS-232C, RS-422, infrared communication, and USB CAN and Ethernet networking Pulse Width Monitoring and motor control If you want to build your own embedded system, or tweak an existing one, this invaluable book gives you the understanding and practical skills you need.

7. Hacking Electronics

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“This is a great beginner-level hands-on book that covers just enough of a wide range of hardware and software topics” (source)

Electronics, Arduino, Raspberry Pi, DIY, Engineering

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product. Up-to-date hacks that will breathe life into your Arduino and Raspberry Pi creations! This intuitive DIY guide shows how to wire, disassemble, tweak, and re-purpose household devices and integrate them with your Raspberry Pi and Arduino inventions. Packed with full-color illustrations, photos, and diagrams, Hacking Electronics: Learning Electronics with Arduino and Raspberry Pi, Second Edition, features fun, easy-to-follow projects. You’ll discover how to build an Internet-controlled hacked electric toy, ultrasonic rangefinder, remote-controlled robotic rover, audio amp, slot car brakes and headlights―even a smart card reader! • Get up and running on both Arduino and Raspberry Pi • Safely solder, join wires, and connect switches • Identify components and read schematic diagrams • Work with LEDs, including high-power Lumileds and addressable LED strips • Use LiPo batteries, solar panels, and buck-boost power supplies • Use sensors to measure light, temperature, acceleration, sound level, and color • Build and modify audio amps, microphones, and transmitters • Repair gadgets and scavenge useful parts from dead equipment • Get the most out of cheap or free bench and software tools

View on Amazon

8. Programming Embedded Systems in C and C++

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“Even though this is now 20 years old, it's a great technical introduction and remains very relevant.” (source)

Software Development, Embedded Systems, Programming, Test-Driven Development, Engineering

Embedded software is in almost every electronic device designed today. There is software hidden away inside our watches, microwaves, VCRs, cellular telephones, and pagers; the military uses embedded software to guide smart missiles and detect enemy aircraft; communications satellites, space probes, and modern medicine would be nearly impossible without it. Of course, someone has to write all that software, and there are thousands of computer scientists, electrical engineers, and other professionals who actually do. Each embedded system is unique and highly customized to the application at hand. As a result, embedded systems programming is a widely varying field that can take years to master. However, if you have some programming experience and are familiar with C or C++, you're ready to learn how to write embedded software. The hands-on, no-nonsense style of this book will help you get started by offering practical advice from someone who's been in your shoes and wants to help you learn quickly. The techniques and code examples presented here are directly applicable to real-world embedded software projects of all sorts. Even if you've done some embedded programming before, you'll still benefit from the topics in this book, which include: Testing memory chips quickly and efficientlyWriting and erasing Flash memoryVerifying nonvolatile memory contents with CRCsInterfacing to on-chip and external peripheralsDevice driver design and implementationOptimizing embedded software for size and speedSo whether you're writing your first embedded program, designing the latest generation of hand-held whatchamacalits, or simply managing the people who do, this book is for you.

9. Embedded C Coding Standard

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“This will put you on the right track to writing clean, readable, maintainable code with fewer bugs.” (source)

Embedded Systems, C Programming, Software Development, Coding Standards, Engineering

Barr Group's Embedded C Coding Standard was developed to help firmware engineers minimize defects in embedded systems. Unlike the majority of coding standards, this standard focuses on practical rules that keep bugs out - including techniques designed to improve the maintainability and portability of embedded software. The rules in this coding standard include a set of guiding principles, as well as specific naming conventions and other rules for the use of data types, functions, preprocessor macros, variables, and other C language constructs. Individual rules that have been demonstrated to reduce or eliminate certain types of defects are highlighted. The BARR-C standard is distinct from, yet compatible with, the MISRA C Guidelines for Use of the C Language in Critical Systems. Programmers can easily combine rules from the two standards as needed.

10. Test Driven Development for Embedded C

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

“This is a spectacular book on designing and writing high quality code for embedded systems.” (source)

Test-Driven Development, Embedded Systems, C Programming, Software Testing, Agile Development

Another day without Test-Driven Development means more time wasted chasing bugs and watching your code deteriorate. You thought TDD was for someone else, but it's not! It's for you, the embedded C programmer. TDD helps you prevent defects and build software with a long useful life. This is the first book to teach the hows and whys of TDD for C programmers. TDD is a modern programming practice C developers need to know. It's a different way to program---unit tests are written in a tight feedback loop with the production code, assuring your code does what you think. You get valuable feedback every few minutes. You find mistakes before they become bugs. You get early warning of design problems. You get immediate notification of side effect defects. You get to spend more time adding valuable features to your product. James is one of the few experts in applying TDD to embedded C. With his 1.5 decades of training, coaching, and practicing TDD in C, C++, Java, and C# he will lead you from being a novice in TDD to using the techniques that few have mastered. This book is full of code written for embedded C programmers. You don't just see the end product, you see code and tests evolve. James leads you through the thought process and decisions made each step of the way. You'll learn techniques for test-driving code right next to the hardware, and you'll learn design principles and how to apply them to C to keep your code clean and flexible. To run the examples in this book, you will need a C/C++ development environment on your machine, and the GNU GCC tool chain or Microsoft Visual Studio for C++ (some project conversion may be needed).

View on Amazon8 C Books That Separate Experts from Amateurs

11. More Effective Agile

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

Agile, Software Development, Leadership, Management, Software Engineering

This new book from Steve McConnell, author of the software industry classic Code Complete, distills hundreds of companies'-worth of hard-won insights into an easy-to-read guide to the proven, modern Agile practices that work best. In this comprehensive yet accessible overview for software leaders, Steve McConnell presents an impactful, action-oriented prescription--covering the practical considerations needed to ensure you reap the full benefits of effective Agile: Adopt the individual Agile tools suited to your specific organizationCreate high-performing, autonomous teams that are truly business-focused Understand the ground truth of Scrum and diagnose your teams' issuesImprove coherence of requirements in an iterative environmentTest more effectively, and improve qualityLead your organization through real-world constraints including multi-site teams, large projects, industry regulations, and the need for predictabilityWhether you are a C-level executive, vice president, director, manager, technical leader, or coach, this no-nonsense reference seamlessly threads together traditional approaches, early Agile approaches, modern Agile approaches, and the principles and context that underlie them all--creating an invaluable resource for you, your teams, and your organization.

13. Peopleware

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

Software Development, Leadership & Motivation, Unknown

Few books in computing have had as profound an influence on software management as Peopleware . The unique insight of this longtime best seller is that the major issues of software development are human, not technical. They’re not easy issues; but solve them, and you’ll maximize your chances of success. “Peopleware has long been one of my two favorite books on software engineering. Its underlying strength is its base of immense real experience, much of it quantified. Many, many varied projects have been reflected on and distilled; but what we are given is not just lifeless distillate, but vivid examples from which we share the authors’ inductions. Their premise is right: most software project problems are sociological, not technological. The insights on team jelling and work environment have changed my thinking and teaching. The third edition adds strength to strength.” — Frederick P. Brooks, Jr., Kenan Professor of Computer Science, University of North Carolina at Chapel Hill, Author of The Mythical Man-Month and The Design of Design “Peopleware is the one book that everyone who runs a software team needs to read and reread once a year. In the quarter century since the first edition appeared, it has become more important, not less, to think about the social and human issues in software develop¿ment. This is the only way we’re going to make more humane, productive workplaces. Buy it, read it, and keep a stock on hand in the office supply closet.” —Joel Spolsky, Co-founder, Stack Overflow “When a book about a field as volatile as software design and use extends to a third edition, you can be sure that the authors write of deep principle, of the fundamental causes for what we readers experience, and not of the surface that everyone recognizes. And to bring people, actual human beings, into the mix! How excellent. How rare. The authors have made this third edition, with its additions, entirely terrific.” —Lee Devin and Rob Austin, Co-authors of The Soul of Design and Artful Making For this third edition, the authors have added six new chapters and updated the text throughout, bringing it in line with today’s development environments and challenges. For example, the book now discusses pathologies of leadership that hadn’t previously been judged to be pathological; an evolving culture of meetings; hybrid teams made up of people from seemingly incompatible generations; and a growing awareness that some of our most common tools are more like anchors than propellers. Anyone who needs to manage a software project or software organization will find invaluable advice throughout the book.

View on Amazon

14. Clean Agile

Recommended by Steve Branam

Embedded software engineer for IoT and communications systems

Agile, Software Development, Programming, SCRUM, Software Engineering

Agile Values and Principles for a New Generation"In the journey to all things Agile, Uncle Bob has been there, done that, and has the both the t-shirt and the scars to show for it. This delightful book is part history, part personal stories, and all wisdom. If you want to understand what Agile is and how it came to be, this is the book for you." Grady Booch "Bob's frustration colors every sentence of Clean Agile, but it's a justified frustration. What is in the world of Agile development is nothing compared to what could be. This book is Bob's perspective on what to focus on to get to that what could be. And he's been there, so it's worth listening." Kent Beck It's good to read Uncle Bob's take on Agile. Whether just beginning, or a seasoned Agilista, you would do well to read this book. I agree with almost all of it. It's just some of the parts make me realize my own shortcomings, darn it. It made me double-check our code coverage (85.09%)." Jon Kern Nearly twenty years after the Agile Manifesto was first presented, the legendary Robert C. Martin ("Uncle Bob") reintroduces Agile values and principles for a new generation-programmers and nonprogrammers alike. Martin, author of Clean Code and other highly influential software development guides, was there at Agile's founding. Now, in Clean Agile: Back to Basics, he strips away misunderstandings and distractions that over the years have made it harder to use Agile than was originally intended. Martin describes what Agile is in no uncertain terms: a small discipline that helps small teams manage small projects . . . with huge implications because every big project is comprised of many small projects. Drawing on his fifty years' experience with projects of every conceivable type, he shows how Agile can help you bring true professionalism to software development. Get back to the basics – what Agile is, was, and should always beUnderstand the origins, and proper practice, of SCRUMMaster essential business-facing Agile practices, from small releases and acceptance tests to whole-team communicationExplore Agile team members' relationships with each other, and with their productRediscover indispensable Agile technical practices: TDD, refactoring, simple design, and pair programmingUnderstand the central roles values and craftsmanship play in your Agile team’s successIf you want Agile's true benefits, there are no shortcuts: You need to do Agile right. Clean Agile: Back to Basics will show you how, whether you're a developer, tester, manager, project manager, or customer. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

View on Amazon

Get a weekly reading digest

New expert-recommended books every week. No account needed.