How To Learn Embedded Systems At Home | 5 Concepts Explained

TheFabytm July 26, 2020
Video Thumbnail

About

No channel description available.

Latest Posts

Video Description

Today I'm going to show you how easy and cheap it can be to start learning embedded systems at home. All you need is a development board, like the MSP430. Texas Instruments MSP430 LaunchPad (US): https://amzn.to/3KzlePN Texas Instruments MSP430 LaunchPad (UK): https://amzn.to/2UipjAq MSP430 Microcontroller Basics - Book (US): https://amzn.to/2OY8tDT MSP430 Microcontroller Basics - Book (UK): https://amzn.to/2P1QoVf Last video: https://youtu.be/2iDqIQdOZBw Follow me on Instagram : http://instagram.com/TheFabytm Like me on Facebook : http://www.facebook.com/TheFabytm Secondary Channel : http://www.youtube.com/MoreTheFabytm Follow me on Twitter : http://www.Twitter.com/TheFabytm Register to get $5 coupon on PCB order: https://www.nextpcb.com/register?code=thefabytm My name is Fabi and I am an Engineer and Tech Enthusiast from Romania. On my YouTube channel I do thorough reviews of gadgets, showcase my programming projects and show you which cars I am driving. 0:00 Introduction 0:16 5 Essential Concepts 0:33 What are Embedded Systems? 1:57 1. GPIO - General-Purpose Input/Output 3:14 2. Interrupts 4:18 3. Timers 6:37 4. ADC - Analog to Digital Converters 7:44 5. Serial Interfaces - UART, SPI, I2C 9:46 Why not Arduino at first? 10:11 Outro & Documentation This video is part of my Embedded Systems Explained series. Today I'm going to show you how easy and cheap it can be to start learning embedded systems at home. All you need is a development board, some wires and a computer. First of all, what is an embedded system? It's everything you'd expect a computer to have, a processing unit, memory, I/O, just integrated in a mechanical or electrical system. Because they usually doesn't need as much processing power as a computer, embedded systems have much more limited resources, thus encouraging a developers to use resources wisely. Before starting, it's important to choose a family of microcontrollers to start learning. Even though a lot of them have development boards available (MSP430, Microchip PIC microcontroller, Atmel ATMega) I know it can be hard at first to make such a choice, so I'm going to recommend you the platform I learned at first and the one I still use daily. Because of the large selection of microcontrollers that it offers, the good documentation, code examples for each peripheral and large community, I recommend you pick a Texas Instruments MSP430 board. The 5 Concepts explained in this video are: 1)GPIO These are just like I/O ports on your computer, but much simpler. They can either output one of two values or read the value at the port (as a logical value). We output a value to these ports or read values from these ports through registers. These are memory locations allocated to a specific peripheral and are meant to configure and interact with the peripheral. 2)Interrupts Interrupts come in handy when trying to run a piece of code after something happens. In contrast to polling, where we wait inside a loop for an event to happen (such as a flag being set), we activate a hardware interrupt and write an interrupt handler -- here we put the code that we want to run when the event happens. 3)Timers Basic timers count up, up & down, continuously and can be used for timeouts, counting how long a process takes, creating a real time clock and many more. Count up means counting up until reaching a programmed limit, then starting again from 0. Count up & down counts up until the programmed limit, but then counts down until reaching 0. Continuous means the timer counts until it overflows and then starts again from 0. Usually, timers have capture and compare modules. The capture mode allows us to time other processes - The compare mode allows us to output signals with a modifiable duty cycle. 4)ADC - Analog to digital converter ADCs or analog to digital converters allow us to convert a voltage into a number we can work with in software. We'd use this to measure the voltage of a battery, such as the system's own battery or to read certain sensors. The opposite of an ADC is a DAC or digital to analog converter, which outputs a certain voltage depending on the code we supply to the DAC. 5)Serial interfaces Serial interfaces allow us to communicate with other integrated circuits or even to a PC. The most basic serial interface usually available is UART, which stands for Universal asynchronous receiver/transmitter and requires just 2 data wires - TX and RX. It signals the start of a communication through a start bit, followed by 8 bits of data, optionally a parity bit for basic error checking and a stop bit. In contrast, SPI and I2C allow multiple devices to be connected to the same bus and allow for faster speeds. Why should you NOT choose Arduino at first when learning Embedded Systems? Because it has many layers of Software over the Hardware and you won't interact with the hardware at the low level.

You May Also Like

Embedded Learning Kit Essentials

AI-recommended products based on this video

Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
Pishengfa DIY Stitch Book, Embroidery Stitch Book, DIY Sewing Books, EmbroideryS Books of Stitches, with 86/128 Sewing Tips for Beginners, Unique Embroidery Handmade Gifts (Grey)

Pishengfa DIY Stitch Book, Embroidery Stitch Book, DIY Sewing Books, EmbroideryS Books of Stitches, with 86/128 Sewing Tips for Beginners, Unique Embroidery Handmade Gifts (Grey)

(0)
$29.99
$6.99 delivery Dec 23, 2025 - Jan 2, 2026
700+ bought in past month
Loading...
NAFYRE N11 PRO GPS Drone with Camera for Adults 4K UHD, 90 Min Long Flight Time, Long Control Range, Auto Return, Follow Me, Brushless Motor, 5G FPV RC Quadcopter for Beginners

NAFYRE N11 PRO GPS Drone with Camera for Adults 4K UHD, 90 Min Long Flight Time, Long Control Range, Auto Return, Follow Me, Brushless Motor, 5G FPV RC Quadcopter for Beginners

(108)
$149.98
FREE delivery Wed, Aug 20
100+ bought in past month
Loading...
Super Enduring Brushless Motor Drone with Camera for Beginners, CHUBORY A68 WiFi FPV Quadcopter with 2K HD Camera, Auto Hover, 3D Flips, Headless Mode, Trajectory Flight

Super Enduring Brushless Motor Drone with Camera for Beginners, CHUBORY A68 WiFi FPV Quadcopter with 2K HD Camera, Auto Hover, 3D Flips, Headless Mode, Trajectory Flight

(1,063)
$89.99
FREE delivery Wed, Aug 20
Loading...
Brushless Super Endurance Foldable Drone for Beginners 35+ mins Flight Time Drone with 90° Wide-Angle 2K HD Camera, Follow me, Dual Cameras, Auto Hover and Trajectory Flight(3 Batteries)

Brushless Super Endurance Foldable Drone for Beginners 35+ mins Flight Time Drone with 90° Wide-Angle 2K HD Camera, Follow me, Dual Cameras, Auto Hover and Trajectory Flight(3 Batteries)

(0)
$199.99
PrimeFREE delivery Sun, Jun 15
Loading...
HyperX Clutch Gladiate – Wired Controller for Xbox One, Xbox Series X|S, PC, Officially Licensed by Xbox, Dual Trigger Locks, Programmable Buttons, Dual Rumble Motors
Best Seller

HyperX Clutch Gladiate – Wired Controller for Xbox One, Xbox Series X|S, PC, Officially Licensed by Xbox, Dual Trigger Locks, Programmable Buttons, Dual Rumble Motors

(1,352)
$39.99
PrimeFREE delivery Sat, Jun 14
400+ bought in past month
Loading...
Microcontroller Board for Pico RP2040, Dual Core ARM Cortex M0+Processor Flexible Microcontroller Module (Transparent White)

Microcontroller Board for Pico RP2040, Dual Core ARM Cortex M0+Processor Flexible Microcontroller Module (Transparent White)

(0)
$9.82
FREE delivery Thu, Jun 19 on your first order
Loading...
Microcontroller Board for Pico RP2040, Dual Core ARM Cortex M0+Processor Flexible Microcontroller Module (Black)

Microcontroller Board for Pico RP2040, Dual Core ARM Cortex M0+Processor Flexible Microcontroller Module (Black)

(4)
$25.38
FREE delivery Thu, Jun 19 on your first order
Loading...
Hand Warmers - 2 Portable Winter, Handwarmer Rechargeable for Outdoor Sports | Temperature Settings Cartoons, Office Heater Bear Shape, ABS Electronics Components 8.4x8.4x5.4cm Beige Orange Pink

Hand Warmers - 2 Portable Winter, Handwarmer Rechargeable for Outdoor Sports | Temperature Settings Cartoons, Office Heater Bear Shape, ABS Electronics Components 8.4x8.4x5.4cm Beige Orange Pink

(0)
$24.09
FREE delivery Jun 23 - Jul 8