Welcome

Hello and welcome to the embedded systems design website.

Featured

Posts

I2C Communication (PIC) with an 8-bit I/O Expander

Objectives

In this assignment, you will learn how to use I$^{\text{2}}$C serial communication on the PIC18F47Q10 Curiosity Nano and MCC. This will be critical for your semester project as every team has at least two serial peripherals (e.g., wifi module, serial sensor). To prepare you for the next homework assignment and your semester project, you will create an array of LEDs that will increment by one each time a button is pressed. You will use an 8-bit I/O expander IC that is used in situations when you run out of I/O pins on a microcontroller and cannot swap the microcontroller for one with more I/O pins.

Integrated Development Environments for PSoC

In order to program a Cypress Programmable System on a Chip (PSoC®), you first need to install Integrated Development Environment (IDE) software on your computer. An IDE is program that you install on a computer to support the development of software for a particular hardware platform. It typically includes a text editor for editing source code, a compiler to covert source code into machine code, and a debugger for helping to identify the source of errors in source code.

Interrupts

What is an interrupt?

Consider the following knock-knock joke:

Figure 1
Figure 1

Interrupts on PSoC

An interrupt is a signal received by a microcontroller and emitted by hardware or software that is signaling a system event that needs immediate attention. Interrupts are useful to avoid constant monitoring of electronic peripherals (e.g., sensors).

IR Emitter/Detector Pairs and Op-Amps

Objectives

Infrared (IR) emitters and detectors come as a pair of devices; one is a light source, and the other is a light sensor. They are tuned to emit and detect the same wavelength of light. They can be useful for sending light-based digital messages, detecting objects, or measuring distances. Because they are in the infrared portion of the light spectrum, they are invisible and less likely to be corrupted by visible light sources. See Scherz & Monk Section 5.7.1 for a complete explanation of how phototransistors work.

Keeping a Schematic Tidy

Introduction

When drawing a schematic, crossing wires can make the schematic difficult to read and follow signals (see example, Figure 1). This tutorial shows several techniques for keeping your schematic tidy.

KiCad PCB FAQ

  1. Why the width of the power traces needs to be larger than the signal traces?
  • Because the power traces will need to carry much more current than the signal traces. If not, they may be heat up and potentially melt, which leads to create an open circuit or cause a fire. Usually, we will use 40 mils for the width of power traces and 20 mils for the width of signal traces.
  1. Why the traces should be wired on a 45-degree angle, not directly on a 90-degree angle path?
  • Because 90-degree wiring can cause problems at high-frequency situations because these points can act as miniature antennas and radiate signals.

LCDs and Buttons

Individual Assignment

Objectives

To develop and demonstrate individual proficiency in:

Level shifters

Introduction: What is a level shifter?

A level shifter either shifts the voltage of a data line up or down depending on what your circuit entails.

Make a Project Repository and Website

Introduction

The purpose of this post is to help you create a website to share your work. Sharing your work with the class and the broader community is important, as you should generate a persistent portfolio of class work to demonstrate your abilities when you apply for a job or academic career.

About

This website is developed by Shawn Jordan and Dan Aukes

Know More

External