Skip to the content
PCBKitNew board
2 layers80 × 79.9 mmPwm analogue controller, the printed circuit board in 3D

Hands-On Embedded Programming with CPP 17, published by Packt

Size
80 × 79.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
55
Nets
57
Pads
169
Tracks, vias
340, 57
Pours
1
Routed
Yes
KiCad
KiCad 4
Created
19 Nov 2018
Updated
24 Jan 2023

Overview

Pwm analogue controller is an open-source printed circuit board by PacktPublishing, from the PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17 repository on GitHub, published under the MIT licence. It is a 2-layer board of 80 × 79.9 mm with 55 parts on 57 nets, routed with 340 tracks and 57 vias.

It is built around the LM324N and MMBT2222. Its parts include 20 resistors, 13 capacitors, 8 connectors, 4 transistors and 3 ICs.

Main components

2

README

README.md

Hands-On Embedded Programming with C++17

Hands-On Embedded Programming with C++17

This is the code repository for Hands-On Embedded Programming with C++17, published by Packt.

Create versatile and robust embedded solutions for MCUs and RTOSes with modern C++

What is this book about?

C++ is a great choice for embedded development, most notably, because it does not add any bloat, extends maintainability, and offers many advantages over different programming languages. Hands-On Embedded Programming with C++17 will show you how C++ can be used to build robust and concurrent systems that leverage the available hardware resources.

This book covers the following exciting features:

  • Choose the correct type of embedded platform to use for a project
  • Develop drivers for OS-based embedded systems
  • Use concurrency and memory management with various microcontroller units (MCUs)
  • Debug and test cross-platform code with Linux
  • Implement an infotainment system using a Linux-based single board computer
  • Extend an existing embedded system with a Qt-based GUI
  • Communicate with the FPGA side of a hybrid FPGA/SoC system

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

text
class B : public A { 
   // Private members. 
 
public: 
   // Additional public members. 
}; 

Following is what you need for this book: If you want to start developing effective embedded programs in C++, then this book is for you. Good knowledge of C++ language constructs is required to understand the topics covered in the book. No knowledge of embedded systems is assumed.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

ChapterSoftware requiredOS required
2C++ compiler (GCC, Clang). Recent version.Windows, Mac OS X, and Linux (Any)
3GCC ARM Linux (cross-)toolchain. Recent versionWindows, Mac OS X, and Linux (Any)
4GCC ARM Linux (cross-)toolchain. Recent versionWindows, Mac OS X, and Linux (Any)
5GCC ARM Linux (cross-)toolchain. Recent versionOS supported by Sming (Windows, Linux, OS X/MacOS).
6GCC ARM Linux (cross-)toolchain. Recent versionPreferably Linux, else Windows, BSD or MacOS.
7GCC ARM Linux (cross-)toolchain. Recent versionPreferably Linux, else Windows, BSD or MacOS.
8GCC ARM Linux (cross-)toolchain. Recent versionLinux (x86/ARM).
9GCC ARM Linux (cross-)toolchain. Recent versionOS supported by Sming.
10GCC ARM Linux (cross-)toolchain. Recent versionLinux (x86/ARM).
11GCC ARM Linux (cross-)toolchain. Recent versionWindows is easiest, Linux and BSD also work.

Related products

Get to Know the Author

Maya Posch is a senior C++ developer with more than 15 years of experience. Discovering the joys of programming early on, and later the joys of electronics, she has always expressed a profound interest in technology, a passion that she gladly shares with others.

Describing herself as a C developer who happens to like C++ and Ada, she likes to seek the limits of what can be done with the minimum of code and hardware to accomplish everything that is cool, new, and exciting.

She also enjoys FPGA development, AI, and robotics research, in addition to creative writing, music, and drawing.

Other books by the author

Expert C++ Programming

Mastering C++ Multithreading

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781788629300

Parts

55
QtyValueFootprintReferences
1210kResistors_SMD:R_0805_HandSolderingR2, R3, R5, R6, R8, R9, R11, R12, R13, R16, R19, R22
81uFCapacitors_SMD:C_0805_HandSolderingC1, C2, C3, C4, C5, C6, C7, C8
41kResistors_SMD:R_0805_HandSolderingR1, R4, R7, R10
420kResistors_SMD:R_0805_HandSolderingR14, R17, R20, R23
4MMBT2222TO_SOT_Packages_SMD:SOT-23_HandsolderingQ1, Q2, Q3, Q4
3100nFCapacitors_SMD:C_0805_HandSolderingC10, C11, C12
2220uFCapacitors_SMD:CP_Elec_10x10C9, C13
2CONN_01X15Socket_Strips:Socket_Strip_Straight_1x15_Pitch2.54mmJ2, J3
17805Converters_DCDC_ACDC:DCDC-Conv_RECOM_R-78E-0.5U2
1BARREL_JACKPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJ1
1CONN_01X02_MALEPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJ8
1CONN_01X05Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mmJ7
1CONN_01X06Socket_Strips:Socket_Strip_Straight_1x06_Pitch2.54mmJ6
1DDiodes_SMD:D_SOD-123D5
1FuseFuse_Holders_and_Fuses:Fuse_SMD1206_HandSolderingF1
1LM324NHousings_SOIC:SOIC-14_3.9x8.7mm_Pitch1.27mmU1
1LOGOoshw:oshwG***
1MH-Z19mh-z19:MH-Z19U3
1Screw_Terminal_1x04Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MPT-2.54mm_4polJ5
1Screw_Terminal_1x08Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MPT-2.54mm_8polJ4

The 51 most common of 55 parts.

Questions

How big is the Pwm analogue controller PCB?

It measures 80 × 79.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pwm analogue controller use?

55 parts, built around the LM324N and MMBT2222. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Pwm analogue controller KiCad files?

From the PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17 repository on GitHub, at the commit this page was made from: the board is Chapter05/esp8266/kicad/pwm_analogue_controller.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pwm analogue controller design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers156 × 53.8 mmFATARMATRIXPCBBOARD, the printed circuit board in 3D

    FATARMATRIXPCBBOARD

    parkernye/FATAR-MIDI-KEYBOARD

    Daughter board for fatar keybed.

    47 parts2
  • 2 layers110.5 × 82.5 mmBbesc kiCad, the printed circuit board in 3D

    Bbesc kiCad

    jakeread/bbesc

    electronic speed controller for bldc's on-a-breadboad

    82 parts1
  • 2 layers58.4 × 108 mmMatrix mixer smt, the printed circuit board in 3D

    Matrix mixer smt

    padenot/eurorack

    eurorack modules hardware design files and associated material

    84 parts1
  • 2 layers125.7 × 121 mmBasicmother, the printed circuit board in 3D

    Basicmother

    cdrfiuba/marciano

    87 parts
  • 2 layers70 × 63 mmBuck Converter, the printed circuit board in 3D

    Buck Converter

    Daman-io/Buck-Converter

    Contains the circuit schematics and Pcb Design for the buck converter

    18 parts
  • 2 layers137.7 × 61.5 mmEMG Device, the printed circuit board in 3D

    EMG Device

    Demkku/EMG-Device

    Project for university course: Principles of Digital Fabrication of Oulu University

    73 parts
  • 2 layers175 × 90 mmProjetoReduzido, the printed circuit board in 3D

    ProjetoReduzido

    Edson8101/EA801---Turma-C

    A elevada complexidade e custo de equipamentos de audiometria tradicional (como o \cite{formis2023}, comercializado por R$15.990,00) limitam seu acesso em contextos de baixo orçamento, como clínicas de pequeno porte e…

    39 partsMIT