EE-TNP Assignment 9

Program (30pts.)

Develop a UDP-based remote control system that consists of SiLabs board and a desktop computer communication using UDP protocol. The program for desktop should be written in C or C++ and should allow you to set frequency and PWM modulation for each of the three LEDs located on SiLabs board (Same frequency for all LEDs but separate PWM). Write your own firmware that controls a dimmer implemented for the three LED lights. The three LEDs should be controlled using PWM signal of the same frequency. The frequency should be in the range 10Hz to 1kHz. The PWM should be set from 0 to 100% with 1% accuracy (100kHz interrupt rate?) independently for each LED. The firmware on SiLabs board should accept the new settings from any IP address and update them each time new settings are received. The firmware onSiLabs board should send back the current settings if an empty UDP packet is received. In order to test your program you will need to run your desktop based software on two computers and demonstrate that you can check the settings and control the board from at least two computers at the same time.

Homework Submission

Check with the instructor if he can stop by and see your demo first. Set up the demo of your program in the computer lab and show it to your instructor. In case the demo is approved please pack/compress all files used in the project into one ZIP file and send that file via e- mail to the instructor at olekmali at bradley.edu. Please set the message subject to: tnp-hw9.

Thank you.

web site front local main page local list page print this page   general bookmarks software bookmarks go back close this page copyright info   visitor counter