Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Help with PIC programming.

Status
Not open for further replies.

FatoonsBaby710

New Member
Maybe you guys can help me. I am looking for some ideas on how to program my PIC18f4455. I have the PIC hooked up via USB to the PC and I wanted to take an input from a keyboard specifally one key to work as an on/off switch for a relay. The relay would then read that the key was hit and turn on the output LED. Could you help me by outlining the process..... sort of like an overview approach on how the system should work.... or where I should even start....

Thanks for all your help.
 
well, I dont know about USB, but I can tell you that to drive an LED with an **broken link removed** you don't need a relay, for that matter, if its the most common type of LED, not a big or super bright one, then you dont even need a transistor, that chip can drive it directly.
 
The commercial version of Swordfish BASIC has a USB module. If you don't know your way around C then this may be the easiest solution.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top