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.

12F683 (easy led chaser)

Status
Not open for further replies.

killer skittle

New Member
Bear with me on this, im totally new to this as many of you guys know! i have a working programmer for this chip that i built when i made modded xbox 360 controllers! but i stopped doing that, and now that i have a couple of those chips left over i might as well do something with them! i would like to make a led chaser i know that this particular chip has 6 I/O so i was thinking that i could run 6 leds off of with out CharliePlexing. As for all the tutorial sites out there i love them but most (all) of them dont use any 8 pin chips so i have been googling late into the night to guide me in any way! but nothing so i figured i would ask some REAL intelligent people! so any help would be GREATLY welcomed!
THX,
nick
 
No your right
Seems to me I remember one of those pins being input-only. Check it out. I could be wrong.
you have 5 pins to play with but. It's not hard to lite 10 leds with it there is some code you can look at here. **broken link removed** It's for a 12f675 but you can change it to 12F683 It' shows you how to lite 8 leds hope this helps
Burt
 
Last edited:
If you Look at the site I showed you the diagram you have there is the same as thay used in the Pickit1 for the leds and I think he wrote the code for it.Hey thay changed it it here **broken link removed** sorry
 
Last edited:
I did a Knight-Rider demo' for the 12F683 using 10 LEDs a long time ago (Jan-06).

night_rider_2006_v1-jpg.6999


You can find the assembly language source code in the following thread;

Yet Another Knight Rider LED Project

Regards, Mike
 
First if i have only a 5V source do i need ^^^^^that thing(78L05)^^^^^?
And second i compiled, i think, does this look right:
Code:
:020000040000FA
:0600000083018501462882
:08000800F000030EF10083017A
:100010000A08F2000408F3008C1083161F308500D4
:10002000831234088400350885000005031D10384C
:10003000350400043F3A831685008312B40A031086
:10004000B50D3508083A03192028283A031D3D2824
:100050000130B5003030B4003608B1000739B000C7
:10006000B10D310E0739B100370C0739B300360C2A
:10007000B200B20C320E0739B20073088400720865
:100080008A00710E8300F00E700E0900073099008F
:10009000850183169F01850170308F000F1D4E284A
:1000A00083120130B5003030B400B001B101B201AB
:1000B000B301B7010130B600B80183168C14F930D2
:1000C000920083128B170B1712154E30BA00203096
:1000D000B900B90B6928BA0B6928381C77280310B6
:1000E000B60DB70D371D65283810B70CB60C0310C8
:1000F000B70CB60C031C65283814B60DB70D6F2865
:02400E00C433B9
:00000001FF
 
Last edited:
And second i compiled, i think, does this look right:
Code:
:020000040000FA
:0600000083018501462882
:08000800F000030EF10083017A
:100010000A08F2000408F3008C1083161F308500D4
:10002000831234088400350885000005031D10384C
:10003000350400043F3A831685008312B40A031086
:10004000B50D3508083A03192028283A031D3D2824
:100050000130B5003030B4003608B1000739B000C7
:10006000B10D310E0739B100370C0739B300360C2A
:10007000B200B20C320E0739B20073088400720865
:100080008A00710E8300F00E700E0900073099008F
:10009000850183169F01850170308F000F1D4E284A
:1000A00083120130B5003030B400B001B101B201AB
:1000B000B301B7010130B600B80183168C14F930D2
:1000C000920083128B170B1712154E30BA00203096
:1000D000B900B90B6928BA0B6928381C77280310B6
:1000E000B60DB70D371D65283810B70CB60C0310C8
:1000F000B70CB60C031C65283814B60DB70D6F2865
:02400E00C433B9
:00000001FF
Hahahaha! Skittle, posting hex and asking if it looks ok will get you nothing but laughs. :D Ya, it looks like hex. So what? No way am I about to go thru that and see if it's right. Post source code, not hex. :p Trust the compiler or assembler to at least get that part right.
 
Hahahaha! Skittle, posting hex and asking if it looks ok will get you nothing but laughs. :D Ya, it looks like hex. So what? No way am I about to go thru that and see if it's right. Post source code, not hex. :p Trust the compiler or assembler to at least get that part right.

LOL:eek:! i know its hex!!! ok ill try it! ha ha silly NOOB:p
 
IT LIVES!!!! it works awesome, i will be putting it in my xbox 360 controller!!! about 50:eek: smd LEDs! going across one side to another:D:D:D!!! i will post my progress if you want!
 
Happy to hear you have it running. Not sure that circuit will drive 50 LEDs though. It's a Charlieplexed matrix which means it's pretty current limited and brightness limited already.

Regards, Mike
 
Status
Not open for further replies.

Latest threads

Back
Top