Digital Electronics with Arduino: Learn How To Work With Digital Electronics And MicroControllers

Front Cover
BPB Publications, Apr 14, 2020 - Computers - 212 pages

A great way for technicians to learn about digital techniques and computers


As computer technology has evolved, there have been two groups of people: the hardware group that understands the machine, and the software group that codes in high-level programming languages. This book puts the two together by providing an understanding of the nuts and bolts of digital devices and implementing hardware operations by coding a microController.

We use the Arduino microController, which is embraced by the world-wide maker community of well over 300,000 people of all ages and technical backgrounds. The projects start at ground level and scaffold upward to fun challenges.

We begin with a background on digital circuitry and cover the operation of the Arduino microController. From there, we examine digital logic gates, which are the building blocks of computer hardware, and see how they make decisions.

Next, we explore how digital devices work with numbers and do arithmetic along with how they count binary numbers. We also see how data moves between points in serial or parallel form as we build and test the circuitry to do the work.

The topic of random number generation is explained, and we design a few simple computer games to see how this all works and have some fun. The book leads up to the reader producing a final capstone project. The format of the book is perfect for a digital electronics high school or college course, but easy enough to follow so that anyone with a basic background in DC circuits will have an enjoyable time with the many projects.


1. Work with (gates) the building blocks of computers

2. Discover logic circuits that can make decisions

3. See how computers work with ones and zeros

4. Understand how computers count and keep track of numbers

5. Build and test memory circuits

6. Implement hardware using code

7. Have fun while learning about the Arduino


You will learn that there is nothing mysterious about the digital devices that make up a computer, or the code that programs a computer to function. We cover the basic hardware as it is constructed into functional sections of a modern computer. You will learn about gates, flip-flops, registers, counters, and data I/O.


Anyone with a background in electricity and electronics with the knowledge of constructing circuits on a breadboard should have no problem using this book. It is designed for people with inquisitive minds in the hope that both the hardware projects and code samples are modified by the reader to gain additional information.╩


1. A Bit about Arduino.

2. Digital Function Implementation.

3. Designing Functional Computer Circuits.

4. Memory Devices.

5. Registers and Numbers.

6. Counters.

7. Multiplexing and demultiplexing.

8. Addresses, specialized counters, and serial monitor interaction.

9. Random Numbers

10. Interactive I/O

11. Capstone project



Designing Functional Computer Circuits

Common terms and phrases

Bibliographic information