Vous êtes sur la page 1sur 2

FIRMWARE TO CONTROL 6 LED's in a PIC18F4550 USB INTERFACE BOARD

Added by: Rakesh Mandal / ron

DOWNLOAD FIRMWARE TO CONTROL 6 LED'S FOR PIC18F4550 (DOWNLOAD FIRMWARE) Author: Rakesh Mandal

FIRMWARE
For continuing Further you need to download my Version of Firmware to control 6 LEDS.

DOWNLOAD- Firmware for PIC18F4550 to control 6 LEDS from here.


My version of firmware will allow you to control 6 leds from a USB demo interface board.

Now connect 8 leds across CTRL1 ,2,3,4,5,6,7,8 with a 1k resistance each.(CTRL 1 ,2,3,4, are already connected with leds with 1 k resistance each) [refer schematic blow ] ,

Out of all the 8 leds, you will be able to control 6 leds connected across CTRL1 8 (across SPP 0 spp7 pin ). I have set the configurations of led in such a way that , out of LED 1,2,3,4,5,6,7,8 , LED 5-LED 6 will OSCILLATE when the USB DEMO BAORD is in read mode, and LED 1-led 2 will oscillate when the Chip is in READ/WRITE (BOOTLOAD MODE) . When the USB INTERFACE BOARD goes back to read mode , you should be able to control all the leds connected across ctrl 1 ,2,3,4,7,8.

In the end of my previous post i have explained about BOOTLOADING , updating a new Firmware Into the PIC18F4550 from USB DEMO BOARD , use that noted to load my new Firmware into the PIC18F4550 to control 6 leds . This firmware will be your new firmware. I suggest refer my previous tutorials for making this firmware work. In my next post i will post a C# application for controlling the leds. Please read all my previous tutorials step by step to achieve this USB Interface Board. Now please go to my next post for downloading the C# apllication that will enable to control these 6 leds from your computer.

Thanks for reading Rakesh Mandal Ron

http://rakeshmandal.info/microcontroller/FIRMWARE-6-LED-CONTROL-PIC18F4550-1.php

Vous aimerez peut-être aussi