Learning Arduino: Interfacing with Hardware
1h 41mIntermediate2018-08-17
Authors

Zahraa Khalil
Engineering Instructor and Educator
Course details
Arduino enables programmers to experiment with hardware and build interactive, digital projects connected to lights, sensors, and motors. This training course introduces you to the Arduino microcontroller, showing how to interface with three common components: an LCD screen, a seven-segment LED, and a keypad. Instructor Zahraa Khalil shows how to wire and program the interfaces and perform basic tasks: displaying randomized numbers, looping through an LED pattern, and accepting input from the keypad. The course is filled with zoomed-in, hands-on demonstrations that show how to complete the physical wiring, as well as tutorials that take you through high-level Arduino concepts and practical coding techniques. Follow along to learn how to create your own electronics with this popular maker tech platform.
Learning objectives
Interfacing with an LCD screen
Wiring and coding the LCD interface
Displaying random numbers on the LCD
Interfacing with a seven-segment LED component
Cycling through LEDs
Using a shift register to interface with a seven-segment LED
Interfacing with a keypad
Combining the LCD, keypad, and LED
Learning objectives
Interfacing with an LCD screen
Wiring and coding the LCD interface
Displaying random numbers on the LCD
Interfacing with a seven-segment LED component
Cycling through LEDs
Using a shift register to interface with a seven-segment LED
Interfacing with a keypad
Combining the LCD, keypad, and LED
Skills covered
ArduinoMicrocontrollersHardwareEssential Training
Concepts
0. Introduction
- 01 - Open up your digital world with Arduino
- 02 - What you should know before watching
- 03 - The devices used
1. Interface with an LCD
- 04 - Introduction to the liquid crystal display (LCD)
- 05 - Understanding HD4470 controller
- 06 - The LCD interface
- 07 - Wire up the LCD
- 08 - Coding the LCD interface
- 09 - Optional review - Understanding for loops
- 10 - Optional review - Understanding arrays
- 11 - Displaying random numbers and scrolling
2. Interface with a 7-Segment LED Directly
- 12 - Overview of the 7-segment LED
- 13 - The 7-segment LED component
- 14 - 7-segment LED display types
- 15 - Checking a 7-segment LED type
- 16 - Wiring up the 7-segment LED
- 17 - Cycle through each LED directly
- 18 - Cycle through LEDs with a for loop
- 19 - Understanding the 7-segment LED truth table
- 20 - Coding 7-segment display showing numbers
3. Interface with a 7-Segment LED Using a Shift Register
- 21 - Understanding the shift register
- 22 - MC74HC595A shift register overview
- 23 - Wire up the input and clock signals
- 24 - Wire up the signals for VCC and GND
- 25 - Wire up the 7-segment LED
- 26 - Initializing pins for the shift register
- 27 - The shiftOut command
4. Interface with a Keypad
- 28 - Introduction to the keypad interface
- 29 - Wiring up the keypad
- 30 - Optional review - IF statement
- 31 - Optional review - The switchcase statement
- 32 - Understanding two-dimensional arrays
- 33 - Setup the keypad library
- 34 - HelloKeypad
- 35 - Using the keypad with LEDs
- 36 - Combine the keypad and 7-segment LED
- 37 - Combine them all - LCD + keypad + LED
Conclusion
- 38 - Next steps
Related courses
- Learning Arduino: Interfacing with Analog Devices
- Learning Arduino: Pulse Width Modulation
- Learning Arduino: Foundations
- Machine Learning Foundations: Prototyping with Edge Impulse
- Arduino: Prototyping
- Machine Learning Foundations: Prototyping on the Edge
- Programming Foundations: Programming for Kids
- Introduction to MicroPython and Physical Computing