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
 
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.
Seems to me I remember one of those pins being input-only. Check it out. I could be wrong.
 
Last edited:
**broken link removed**
wow fast reply!
Yes you are right well could i do it with 5 leds? the input only could be a button?
 
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:
**broken link removed**

Just found this diadram with included HEX code! will it work for my chip, i know it says for 12f629?
 
**broken link removed**

Just found this diadram with included HEX code! will it work for my chip, i know it says for 12f629?
The hex code almost certainly won't work. If you could find source you could alter it to suit though.
 
As long as the programmer hasn't been lazy it should work.

Mike.
 
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:
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:
Hahahaha! Skittle, posting hex and asking if it looks ok will get you nothing but laughs. 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. Trust the compiler or assembler to at least get that part right.
 

LOL! i know its hex!!! ok ill try it! ha ha silly NOOB
 
IT LIVES!!!! it works awesome, i will be putting it in my xbox 360 controller!!! about 50 smd LEDs! going across one side to another!!! 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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…