Intro to Digital I/O and State Machines

State diagram
Learn state machines and digital input and output by creating a working traffic light. Students learn about state diagrams and how these are implemented in state machines in a Virtual Instrument. They use this concept to control one LED, and then expand it to create a model of a stop light with LEDs. The challenge exercise has students add logic for a walk timer to their code.
Download
(0)

Share


This is module 3 of 10 in the course set, myDAQ Projects for Engineering Students.

STUDENT MATERIALS

 
  • DAQExpress workbook
 

SKILLS REQUIRED

 
  • Basic circuit building

Related Resources

PREPARE

These labs prepare students with prerequisite skills.

APPLY

These labs enable students to apply the skills they learn.

EXPLORE

These labs have related concepts that can expand student experience.

myDAQ

Combines a comprehensive set of plug-and-play computer-based lab instruments with portability for hands-on student learning in or outside the lab.

DAQExpress

Save time with quick, clear access to DAQ measurements, get instant access to data without the need to program, then apply analysis or program for advanced acquisition, using built-in interactive tools to rapidly make data-driven decisions.

Required Software

  • DAQExpress 1.0

Required Hardware

  • myDAQ - View Specifications
  • Wires
  • Breadboard
  • Four LEDs (red, yellow, green, white)
  • Four 100Ω resistors
Log in to submit a comment.