Introduction
myTrafficSystem is a student project that is intended to demonstrate how air spaced inductors can be used to detect metal and how digital control can be used to control a traffic light system using the NI MyDAQ and NI LabVIEW. The aim of the exercise is to detect when a toy car is present at a side road of a T-junction and then change the traffic lights to allow the side road traffic to flow. The program is using two design patterns to show how you can continuously acquire data whilst you are controlling a separate I/O set in a different part of the system.
All the data acquisition, analysis, processing and presentation of the data will be done using NI LabVIEW.
Video
Material
Resistor – 15K |
Resistor – 680 |
Diode |
4017 Decade Counter |
Red LED |
Yellow LED |
Green LED |
Capacitor – 10nF |
Inductor – 10mH |
Software
The front panel allows you to enter in the control threshold as well as which parts of the myDAQ you are using for the traffic system. Indicators and a graph show the results.
This was developed by Matthew Trott NIUK AE Intern 11/12