Acidmods
AcidMods Resources ----- ( These are helpful tools for modding ) => Open Source Code & AcidMods Free Code => Topic started by: t0pP8uZz on November 07, 2009, 10:05:21 AM
-
Okay, Only my first week on the forum and already got some cool stuff to share.
Here is the Xbox 360 ABXY LED Flasher for PIC12F683
I recently been working on a ABXY led flasher. And guess what.. Its finished. It has multiple modes
The modes are toggled by giving pin 2 a ground connection. So if your using this in a wireless controller i HIGHLY recommend connecting PIN 2 to one of the legs on the 360 wireless controll SYNC button.
Win the PIC boots up its default mode is OFF.
Current Modes In Revision 00.2:
All Off - Turns everything off
All On - All LED's are on.
Chase - Chases led's anti clockwise slow
Chase2 - Chases led's anti closewick FAST
Alternate - 2 leds at a time continuously. (depending which leds you put on which button it will create diffrent effect)
Alternate2 - 2 leds at a time continuously.. this flashes 2 diffrent leds then the above mode.
Random - chooses a random LED and keeps it on for 300ms. then repeats. Very nice effect
want more modes? Post here with suggestions.
Updated to 00.2
Now the code saves the last used mode! So when powered back on it will boot with same mode! This DOESNT effect battery life when off.
Updated to 00.3
TRISIO i/o modified. Now uses internal weak pull-ups. Fully compatible with any controller power source and controller type. CG/Matrix. Thanks to spurgurgle for the bug report.
Downloads:
Acidmods mirror: link (https://www.acidmods.com/moddedmatt/led flasher.zip)
spurgurgle's demostration
ABXY flasher 6mode (http://www.youtube.com/watch?v=ApK03HVCE4k#normal)
ISIS
Xbox 360 LED Flasher Code PIC12F683 (http://www.youtube.com/watch?v=t6yiZQBL29Q#normal)
Installation Tutorial: Coming soon..
Rough Schematic:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi36.tinypic.com%2F244xjlv.png&hash=6a8c07240a1f699fafc0a0e4b82f45f1cd7d8f30)
Diagram (thanks ghost_death)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F2udxmir.png&hash=8ea66b45f6fa1b971f31e8059232747880cc7e0d)
Notes:
When installing this mode i highly recommend that you use a PIC SOCKET so that when i update the code you can easily update your mod!
PIC PINS:
Once you have programmed the PIC12F683 with the ABXY flasher HEX file see below for PIN inputs and outputs.
POWER PINS:
PIN 1 = VDD (positive)
PIN 2 = VSS (ground)
I/O PINS:
PIN 7, 6, 5, 3 Are all outputs. So connect the LED's Anode (+) to these pins through a resistor first. MAKE SURE YOU USE A RESISTOR! 100ohms resistors should be fine.
PIN 2 is the input pin. When a ground connection is made to this pin it will toggle mode's. So connect this pin to a button or better yet the SYNC button on the controller.
>NOTE<
This code can be used on anything you like! It doesnt have to be for a xbox 360 controller flashes.. Simply connect the chip to a 3-5v power source and connect those LED's.
Just look at the amazing PSP install by modded matt:
Installs
PSP Install: https://www.acidmods.com/forum/index.php/topic,34109.new.html#new (https://www.acidmods.com/forum/index.php/topic,34109.new.html#new)
Peace
-t0pP8uZz
-
noobified up a diagram for you. Tell me if I made any mistakes.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F2udxmir.png&hash=8ea66b45f6fa1b971f31e8059232747880cc7e0d)
-
lol i just took some nice leds and installed these to my grill in my car with a exsternal power lol they work like a charm a cheap alterntitive on my behalf as a fire fighter instead of buying exspensive grill lights :tup:
-
so you can vouch for this code? its all good?
-
noobified up a diagram for you. Tell me if I made any mistakes.
Great! thanks alot! diagram looks fine! added to main post.
The code should be working fine! Im gona make a complete LED installation tutorial when i get them time.
Post Merge: November 08, 2009, 08:35:18 AM
As i said in main post! If anyone wants any features added to this just post here.. Maybe more flashing routines.. or what not.
peace
-
This is great top hope to try this when i get the time. Now quick questions im asuming if i use all same color leds the resistor going toward those led would be the same on all the contacts of the 12f683 coming out of it. Correct me if im wrong.
-
my torrent downloader doesnt let me download the .rar
can any1 reconmend a new downloader that will work lol
i hate having a dodgy old pc lol
-
spurgurglejust click that link and save it to your desktop its not a torrent. I downloaded it to my desktop in 2 seconds. Try it.
-
ok blaze i saved it but wot do i iopen .rars with ???? som sort of extrator????
i've never com across .rar files before
actually dont worry its sorted i had 7zip just forgot bout it as i dont often use .rar files cheers anyway...
and top nice 1 mate ill be testing this code tomoro
just a shame it wasnt earlier as it would of been nice to put this in my controller mod off pad but ohwell maybe next time....
cheers mate
-
Ok what you need is winrar his a link to download it install it then open topz file that you just download and there you go.
http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2250_4-10745708&ontId=2250_4&spi=17f2ed8dd95b3dc9c0fc213ee53a1d79&lop=link&tag=tdw_dltext<ype=dl_dlnow&pid=11095227&mfgId=113677&merId=113677&pguid=WSr-tgoPjF8AAD9abjIAAAKP&destUrl=http%3A%2F%2Fdownload.cnet.com%2F3001-2250_4-10007677.html%3Fspi%3D17f2ed8dd95b3dc9c0fc213ee53a1d79 (http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2250_4-10745708&ontId=2250_4&spi=17f2ed8dd95b3dc9c0fc213ee53a1d79&lop=link&tag=tdw_dltext<ype=dl_dlnow&pid=11095227&mfgId=113677&merId=113677&pguid=WSr-tgoPjF8AAD9abjIAAAKP&destUrl=http%3A%2F%2Fdownload.cnet.com%2F3001-2250_4-10007677.html%3Fspi%3D17f2ed8dd95b3dc9c0fc213ee53a1d79)
-
thanks blazinkaos but i sorted it with 7zip which i already had on this pc im using.... its old (the pc) but it keeps me going
-
Ahh ok what ever works i prefer winrar seems everyone uses it. But yea np.
-
Hah sorry I didn't discover acidmods sooner! To be honest I've only recently just took a intrest to electronics!
Rar is a compressed file archive just like zip but with better compression.
I use both winrar and 7zip. 7zip files have a better compression ratio then rar, zip etc.
About the resistors... I havnt actually installed this mod yet due to burntecelectronics taking the piss sending this programmer adapter. But I would start with a highish resistor then work my way down till I get a suitable brightness. If the resistor is too low it will reset the controller.
Peace
-t0pp8uzz
-
Hmm unless you use a pot to test what resistance works best for that led.
-
Yup when I get chance I'll calculate resistance for now just trial and error.
Peace
-
Alright sounds good top.
-
Just finished installing and i have to say, its fregin awesome. I tested on breadboard first and it is sexy. It will also work as a greatttt PSP UMD chaser for all PSP modders. And anything else lol.
Thanks alot this is so awesome.
-
Great to hear! Glad i could contribute.
Which LED's did you use and which resistors
peace
-
Great to hear! Glad i could contribute.
Which LED's did you use and which resistors
peace
I used all white SMD leds size 0603 with 84 ohm resistors :D
-
Yup.. my estimate was right then.. around a 100ohm resistor should cut it.
Glad your using my code. Any suggestions feel free to have your say.
Thanks for letting us now how it turned out.
-
Oh cool atleast we know it works now jumbo did us 84 ohm on each resistor or is that total.
-
it would be on each resitor.
-
Alright thanks ghost appreciate it.
-
Ok finally got the video working.
Its still processing and what not but ill post it after im done talking.
It seems to work really well except i dont like how it has to be reset to the mode of your liking everytime you turn it on. Idea for next revision, memory feature. :)
Another thing i would REALLY like to see is a fader mode. The breathing effect is very nice on leds. (You should also just make a fade code! That would be sooooo cool :D)
Now about the video, i only got to use 1 0603 led in each button so you will see its not bright at all, but the code works the leds so well i dont even care. I show the code running on breadboard (i was testing it) and you can see it alot better except the leds are in a line, not in the ABXY spots.
Great work fella, cant wait to see more from you!
Xbox 360 ABXY LED Chaser Code by t0pP8uZz (http://www.youtube.com/watch?v=CoT9hkSp2Sk#normal)
-
nice I think that proves that its legit, can't wait till I get more 12f683
-
Jumbo: Great! Really appriciate taking the time to put a video up of the finished circuit! In the next revision ill be adding 'Breathing Effect' (fading) and save the used mode to the internal EEPROM.
Any more suggestions? Dont hesitate!
Once again, Thanks Jumbo for the vid.
Peace
Post Merge: November 11, 2009, 05:36:03 AM
Also remember.. You can put which leds where you like.. But.. this is how it was intended. The 2nd mode (the running mode) is supposed to flash in sequence anti clock-wise.. But you can switch the positions of the leds to create diffrent effects.
Post Merge: November 12, 2009, 06:53:55 PM
Revision 00.2 Coming soon.. with 2 more features.. post as soon as testing is done.
-
ok so i finally tested this code today......
and...........
its amazin ....
bloody good job you've done top buzz
i also made a video of it....
i think i got the wires for a and b around the wrong way but still it looks great
ABXY flasher 6mode (http://www.youtube.com/watch?v=ApK03HVCE4k#normal)
thanks top buzz
-
Excellent! Thanks again for another video! Very nice install there spurgurgle.. Nice LED brightness.. Which leds did you use? And did you drill right through the white plastic on the buttons?
Ive just updated it a little.. Added one feature which saves the last used mode to the internal EEPROM so when the controller is powered off it remembers which mode was the last one used...Therfore when repowering on the controller is will start in the mode that was last used. This doesnt effect battery life. :clap:
00.2 Download: http://t0pp8uzz.com/files/LedFlasher.rar (http://t0pp8uzz.com/files/LedFlasher.rar)
modded mat: would appriciate if you could mirror the updated version on acidmods as done with 00.1. Thanks
Peace
t0pP8uZz
-
Im working the programmer matt showed i can make one so thats what im trying to work hope to use this code soon.
-
Okay.. Ive fell in love with my Asix Presto so do-it-yourself programmers are done for me :-)
-
Pikit 2 Ftw lol,
Hows the fader mode coming along?
-
yeah i used 5mm leds
A-green
X-blue
Y-yellow
B-red
to acheive this brightness i drilled out as much of the white plastic as possible but still leaving enough in there so theres a thin layer of it left.. i think i used a 7mm drill bit...
by leaving a thin layer of the white plastic the button looks stock (untill u turn the mod on)
then i didnt put a resistor on the green or blue led as they are like 3.2v-3.7v (i think) forward voltage
and then used 100ohm resistors for the yellow and red...
and ran the pad on AA batterys
-
Yea once i get this code working im going to do it on my wired 360 controller. I have better dremel bits now so ill be able to what you did spurgurgle much easier then my last 2 xbox controllers if anyone remembers them.
-
yeah i used 5mm leds
A-green
X-blue
Y-yellow
B-red
to acheive this brightness i drilled out as much of the white plastic as possible but still leaving enough in there so theres a thin layer of it left.. i think i used a 7mm drill bit...
by leaving a thin layer of the white plastic the button looks stock (untill u turn the mod on)
then i didnt put a resistor on the green or blue led as they are like 3.2v-3.7v (i think) forward voltage
and then used 100ohm resistors for the yellow and red...
and ran the pad on AA batterys
Alright cool! Fader mode will be in the next revision working on alot of stuff atm sooo.. Cant really give a eta for next revision
-
https://www.acidmods.com/moddedmatt/LedFlasher.rar (https://www.acidmods.com/moddedmatt/LedFlasher.rar)
it is on the AM server now
-
Thanks matt.. Revision 00.3 will come when i get the time.. Working on rapid fire atm.
-
hey guys ok i did a sucessfull install of this flasher.....
it works fine if i use AA bateries no problems at all.....
but i have plug and play batterys aswell
(there re-charable...)
and when i put 1 of them in the pad....
first i notice the sync button no longer works.....
so 1 i cant sycn the pad...
2 the led flasher wont turn on......
so i took it apart disonected it from the sycn.... now the sycn is fine.....
so i wired the wire that would go to the sync button. to a extra tactile then to the ground.......
now when i use AA it still works fine.
when its pluged into the plug and play or if its just running on the plug and play battery it wont work at all.... but the sync is fine as it. not connected there anymore...
..so again i took it apart........ disconected the wire to the extra tact button
and played around a bit
and found the only way to get it to turn on (when useing a plug and play battery is to first give leg 2 a + pulse then ground it to change mode
its a bit confusin really.......
is this in your code topP8uzz
if so is there any way i can get it to work when im using my plug and play batterys and charge lead??????????
----------------------------------------------------------
ok i bin messing about a bit more....
and thought ok so it needs a + to leg 2 to turn it on and then - pulses to change mode..... so i put a resistor between legs 1 and 2 of the chip it took a while to find the right 1 lol like 5 min but a 20ohm res seems to work.....
so now it is not connectd to the sycn at all........
but off of leg to there is a tactile to ground..... and i bridged legs 1 and 2 with a 20 ohm resistor... and it all works fine be it on AA batterys plu7g and play batterys or on charge with the plug and pkay lead.....
next i will test if putting the 20ohm res in there will make it work on the sycn button or not.......
____________________________________________________________
----------------------------------------------------------------
ok so tested it wired to the sycn with a 20ohm resistor bridging legs 1 and 2 and it all works fine on both battery types and when on charge.....
note all of these test's were done on a CG pad so im unsure what effects it'll have on the matrix type....
so yeah ill close my pad back up now and enjoy the pretty flashing lights whilst on charge.... (there evan brighter on charge).........
also if anyone else could test this out to see if they get the same results as i did with the plug and play batteries.....
if so i think there should be a update to the diagram......
(i may make 1 if i get the time in the next few days/ or if ghost could edit his original...)
also to get the lights to light in sequence (A then B then Y then X ) dont wire it like in ghosts diagram
i find it works in sequence if you light
- A using leg 7 on the chip then
- B or X depending on the direction you want it to chase round.... (b anti clock wise, x for clockwise) to leg 6
- Y to leg 5
and then X or B depending which way round you want it to rotate... to leg 3
basicaly on mode s 2 and 3 it chases 1 led after another the led attached to leg 7 will light up first
then leg 6
leg 5
leg 3
and back to leg 7....
....
-
Thanks alot for bringing this up.. Ive just flashed a PIC. and tested this. It seems your correct. I needed to give the pin vdd first before anything worked.
This can defently be solved in the code somewhere maybe fuse configurations. This also brings up my attention to another bug.. CG and Matrix works backwards to eachother. For this to work on the Sync button on matrix some minor changes has to be made like turnin on the internal weak pull-ups.
Its currently 3:07am, And im still writing various parts of "t0pFire" (formely referred to as InsaneFire).
Ill try and get everything sorted tomorow..This is a right weird little bug thanks for bringing it up! :victory:
Peace
-
no troubles top im glad i've got a new code to test and play with....
im currently trying to get it to work in the xbox console...
it'll have 3 chips powering 12 leds
i want to wire all 3 chips to the same tactile.....
have 1 set of 4 leds in the top under the hard drive ligths those vents...
1 set in the bottom lighting the bottom vents and the thrid set ill put on the fans at the back possibly.... i may just stick to 2 chips though
and just light the fans up constanly (no flasher..)
the only issue im having is there isnt a switched 5v supply in the console....
and i dont want it on 1 of the constant 5v's
so it'll have to be a 12v or a 3v (does any1 know if there's any 3v supplys in the console)
-
I assume you are talking about a 360, 360 usb have a switched 5v don't they? Plus by using the usb you cannot get detected and banned.
-
I assume you are talking about a 360, 360 usb have a switched 5v don't they? Plus by using the usb you cannot get detected and banned.
i usally use the 12v on the underside of the power supply port...
i thought all the usb supplys were constanly on as there usb and you can use them to charge stuff after the console is off???
-
It depends what hardware it is and how it is connected.
For instance.. If you turn your xbox off first.. then plug in a 'play and charge' usb cable.. it wont charge your controller. But if you turn your xbox on.. then plug it in it will be charging.. then if you turn it off.. it will still be charging as the internal powersupply doesnt shut off. (you can actually hear a pretty loud noise thats the powersupply and fans)
Why not connect it to the USB anyway? You can turn it off with the tactile.. It uses hardly no power whatsoever.
Or find a 12v source or whatever and use a few resistors.. I could trace the board for some switched voltage spots.. but powering hardware from these could get your xbox banned so avoid that.
Also the bug that you found.. I think its because of the brown-out feature on PIC's im taking a look at my fuse configuration now. A 0.1uf cap across the power pins should surfice too. Ill post a update soon.
Peace
Post Merge: November 21, 2009, 10:58:32 AM
3 Words. Fixed Fixed Fixed :rofl:
Okay 00.3 Stable is here, Main links in first post updated.
Changes:
TRISIO wasnt configured correctly. Also internal weak-pull ups are now enabled on pin 2.
What does this mean? Well it means that it will work on any controller power source following the original schematics!
spurgurgle.. rip off that resistor and update your pic! thanks again man for the bug report. :hifive:
LED Flasher 00.3: http://t0pP8uZz.com/files/LedFlasher003.rar (http://t0pP8uZz.com/files/LedFlasher003.rar)
-
Why not connect it to the USB anyway? You can turn it off with the tactile.. It uses hardly no power whatsoever.
Or find a 12v source or whatever and use a few resistors.. I could trace the board for some switched voltage spots.. but powering hardware from these could get your xbox banned so avoid that.
yeah i'll probilly use a 5v from the usb.....
there's no need to find any 12v's if i need 12v say for fans.... i use the 12v from the underside on the mo board under the power in...
and yeah top i think i will be ripping out that chip and reflashing it with version 00.3 of your code...
i hope i can get this to work in my console as i think it will look sweet as F*** flashing and chasing behind the vents.......
and will look evan better when/if the breather mode is added to the code (any news on that???)
-
and will look evan better when/if the breather mode is added to the code (any news on that???)
Umm good question.. Ive been tied up in the RF code lately. Whilst ive got my LED Flasher prototypeing board out, im gona try some Fader effects. its 1:43am.. Ill mess with it till 2-3am. So good chances you might have a release very soon :whoosh:
Be safe
Peace
-
nice man.. yeah tell me bout it its 1.50 here to
(take it your uk....???) i am.....
i just finshed re-flashing the chip in my flasher pad.. all is working fine now.....(no more resistor) great job top
i couldnt help myself i saw you had updated the code again so i plugged in my soldering iron....
think ill leave the console till tomoro.. still got alot of work to do on that......
-
nice man.. yeah tell me bout it its 1.50 here to
(take it your uk....???) i am.....
i just finshed re-flashing the chip in my flasher pad.. all is working fine now.....(no more resistor) great job top
i couldnt help myself i saw you had updated the code again so i plugged in my soldering iron....
think ill leave the console till tomoro.. still got alot of work to do on that......
haha reminds me of myself! yeah im from uk too.
glad to hear revision 00.3 works fine.. that looks like all the bugs are fixed. other versions will just feature more 'modes'
About the fader. To fade a LED efficiently you need to use CCP ports.. So you can use PWM/HPWM with the pins. Since the 12F683 only has 1 of these ports/pins. It makes the task somewhat harder.
Ive just whipped up a quick idea from no where.. And ive managed to get 2 LED's currently fading on/off. Since it needs to use hardware interrupts to change the duty cycle... this would be quite alot of work to add this feature in. and possibly more bugs.
Since a fading effect would be hardly visible for the ABXY. And most people want it for internal led's in there xbox's i may just bring a fader code out, that concentrates on constant fading. No buttons, No modes. etc. What do you think? or would you like on/off buttons etc.
Peace
-
yea I would just like to see a straight up fader code, not a fan of flashing consoles, but a smooth fade looks great.
-
Nice!! Will try it as soon as possible.
But I don't understand how to wire the VSS wire. It is connected to everything, how would I do that? Can anybody upload pics of the install? Thank you
(yes, i'm noob)
-
its simple mate the vss is a ground point just conect a wire from leg 8 to any ground on the controller or wotever your puting the chip in.....
and wire the grounds for all the leds to leg 8 aswell
it keeps it simple doing it that way cos then both wires for all leds go to the the chip...
and topP8uzz yeah a single mode breather/fader chip for inside consoles only sounds great.
i may just leave the leds in my console untill thats done then......
nice 1 top
-
For the LED Fader code please visit: https://www.acidmods.com/forum/index.php?topic=33689.new#new (https://www.acidmods.com/forum/index.php?topic=33689.new#new)
-
hey top just had a thought bout this code on a matrix controller????
if you use the usual matrix vvd (as in the one we use for rf.) it'll only provide the chip with 2v so not enogh to power white blue or green leds
but if we use the other vvd by the mic input. it is 3v when the pad is on and something like 2.4-2.8 when the pad is off so surley this will make the leds stay on but dim when the pad is off?
im just about to test this out as i am testing :censored: on a matrix pad at the mo anyway....
-
Use a transistor to power the PIC? Use the switched powersupply to release the mic supplys voltage?
Post Merge: November 30, 2009, 10:00:38 AM
heh sorry let me be more specific.
try this.
connect 'base' (B) of the transistor to any switched powersupply point on the controller (2v is fine) connect the fixed powersupply (mic) point to the 'collector' (C). Lastly.. connect the 'emitter' (E) to the PIC's VDD.
Should work fine
-
cool will try that top... i think i got a old 2n2222 transistor from a 555time rf around here somewhere.
-
Alright cool, Let us know how it go's. It should work fine.. But obviously needs some kind of testing.. I can then add this to the main post.
peace
-
a transistor should work i have some downstairs that might work ill test aswell
-
ok i know what most people will say "its a lose contection......."
but please trust me it is/was not....
ok so top i've got your code for this flasher in a pad of mine .....
as you no from my video
and for the last 4 days X (leg 6) has not been lighting up
so yesterday i checked it, thinking it would be a dodgy connection... couldnt find 1.....
so i took x off and tested it on the 3v supply.... it worked fine.... put it back on the chip.... didnt work......
tested it again giving the wire a wiggle to make sure it wasnt a break in it or anything.. nope still didnt work.. so again i took it off tested it on the 3v supply ... it worked fine..... so i said ah stuff it, connected it back up and closed the pad up..... still x was not lighting up..... i didnt mind and didnt know y......
then today i turn my pad on as normal, X didnt work..... then my batterys ran out... so i plugged it in to charge....( the chip was set to off mode.. no lights on..) and x flashed??????????????
what it worked...... (confusion)
so took it off charge
i tapped the sycn button and to my surprise all the lights turned on.......
i thought i'd let you.... as i thought it might be some sort of bug in the code or something odd like that........ dunno really it has confused me.......
but i assure you it was not a dodgy wire or connection......
-
Ummmm.... What pad is this? CG/Matrix? CG right?
very very odd.. ive had this installed on my regular playing pad and all seems fine. what batterys do you use? rechargable battery pack?
Thanks for reporting the bug spurgurgle.. Ill defently look into the code.. But i cant see it being the code. Might have something to do with pin 6..(GPIO.1) ill have to check the datasheet.
If anyone else, Or you spurgurgle experience this problem again please post again and let us know.
Appriciated as always!
Peace
-
yeah top it was on a cg pad/ with a offical m$ plug and play kit/ re-chargable battery....... i also have hazer gameplay rf in the pad.... but dont think this would matter .... and yeah ill let ya know if it happens again.....
it seems to me that it would of been a loose connection..... but i swear it wasnt.....
it had me confused for a few days then confused me evan more when it just started working again........
-
Very very odd. Let me know if it happends again, And try to find the cause.. Like which actions you did before it did it.
Peace
-
Spurg i have used this code in a homade dashlight used when im responding to calls. I have never seen any glitch with it but what im thinking and i may be wrong is that the due to the x buttons location on the controller a connection could be touching the right thumbsticks casing. i had that happen with a regular ABXY light up before.
-
Spurg i have used this code in a homade dashlight used when im responding to calls. I have never seen any glitch with it but what im thinking and i may be wrong is that the due to the x buttons location on the controller a connection could be touching the right thumbsticks casing. i had that happen with a regular ABXY light up before.
sorry to say laxboy.. but with my install no connections are touching the anolog houseing ....... the connections at the led end are inside the button under glue...... and connections on the chip are about 15mm from the anolog housing.... so dont think its that end and theres no exposed wire near it so nope to that aswelll. defently not a short........ i'll take a picture of the install next time its open..... or evan better when i get time i may throw together a tut on install this code and wiring it to lit buttons.......
Very very odd. Let me know if it happends again, And try to find the cause.. Like which actions you did before it did it.
Peace
um whne i first noticed it. i just turned my pad on. it was alrady set to all lights on mode. but no X ????
but hey its working fine now.........so it dont matter.....
-
Yea thats a possibility.
-
Heh as long as it works now!
Peace
-
I used this in a psp check it out:
https://www.acidmods.com/forum/index.php/topic,34109.new.html#new (https://www.acidmods.com/forum/index.php/topic,34109.new.html#new)
-
Very nice matt! Added to main post.
-
could someone post a tut how to program the chip i really want to have a go but dont know where to start
-
could someone post a tut how to program the chip i really want to have a go but dont know where to start
writing the code to pics is easy all you need to do is get a programmer. most come with sofware.... follow the instructions open up the code you want to program to the chip and click program
i got 1 from ebay. mine isa cheap usb but it does the job for now.
if you wana make your own programmer, there is a bit in the burn me up code thread on how to do it....
-
Yes, Just buy a device programmer that supports the PIC12F683. 99% of pic programmers support this PIC, and its what we use around here for most of the mods.
If you want something with a massive device support list. Then buy what i have, Which is a Asix Presto, It has ICSP etc. Very nice programmer, but your also need to order the ZIF adapter for it too.. I dont recommend for a first programmer. But if you buy one i could help you set it up.. Ill send pics how to wire it up if needed.
If you want something simple. Depending what you want.. USB or Serial.. I prefer USB since serial is getting sold out now. But a very very very popular programmer is "pickit" if your from the UK you can find them in maplin. http://www.maplin.co.uk/Module.aspx?ModuleNo=37172&C=Froogle&U=37172&T=Module (http://www.maplin.co.uk/Module.aspx?ModuleNo=37172&C=Froogle&U=37172&T=Module)
This is one of the most widely used programmers. And it isnt just a programmer. the board can be used for testing code if you wana get into programming etc. dont let the bare interface scare you.. You simply install the software that will come with the product.. Insert your blank PIC12F683, Download any code on this site including this led chaser save it to your hard drive, Then open it with the software that came with the product.. Simply click "Program" wait a few seconds and it will be programmed! Then just follow the schematics to wire it up.
Very simple!
Peace
-t0pP8uZz
-
ok thanks guys, cant afford that programer lol, looking for a cheaper one as i wont have much money for a while.
what about this one ?
http://cgi.ebay.co.uk/40-ZIF-USB-Interface-Microchip-PIC-Programmer-Kit_W0QQitemZ330392907573QQcmdZViewItemQQptZLH_DefaultDomain_3?hash=item4cecf3af35 (http://cgi.ebay.co.uk/40-ZIF-USB-Interface-Microchip-PIC-Programmer-Kit_W0QQitemZ330392907573QQcmdZViewItemQQptZLH_DefaultDomain_3?hash=item4cecf3af35)
-
ok thanks guys, cant afford that programer lol, looking for a cheaper one as i wont have much money for a while.
what about this one ?
http://cgi.ebay.co.uk/40-ZIF-USB-Interface-Microchip-PIC-Programmer-Kit_W0QQitemZ330392907573QQcmdZViewItemQQptZLH_DefaultDomain_3?hash=item4cecf3af35 (http://cgi.ebay.co.uk/40-ZIF-USB-Interface-Microchip-PIC-Programmer-Kit_W0QQitemZ330392907573QQcmdZViewItemQQptZLH_DefaultDomain_3?hash=item4cecf3af35)
yeah that'll do the trick it looks similar to my first programmer....
-
hi guys i just tryed this out with 0603 leds... looks wicked .. works well..
im thinking it will look good in a clear case..
thanks for your time to post this mod .
:hifive:
-
No problem! Its good to see new modders posting! I really hope you stay here at acidmods and join the great community!
Thanks for posting!
-peace
t0pP8uZz
-
Would this for the Rol on the controller? I'm guessing if the controller was a matrix i would need some 1n4148 diodes?
-
Its main purpose was originally for the ABXY buttons, But yeah sure it would work with ROL. matrix.. yes best to use diodes and make sure you use suitable resistors.
peace
-t0pP8uZz
-
umm im not sure if it will work on a matrix pad as your code control's the + side of a led.... and if you follow the traces in this picture of the matrix ROL the +'s are common
(https://www.acidmods.com/RAND/upload/files/upload/matrix___-.jpg)
but it would defently work on a cg pad... you could evan piggy back 2nd leds onto the - contacts of the CG ROL and have them seperate from your player and rapid fire indication lights.......
-
Damn im thinking about t0pFire, I could update the code so it can detect which pad its connected too and adjust things accordingly. I think that will be the next update.
-
Hi, everyone. I just installed the LED flasher 00.3 into a Matrix controller and I can't use all the modes. When the chip is off I click really quick and only once the sync button and that brings me directly in fast chase mode. It skips the all on and slow chase modes.
I used the switched 2V source in the matrix controller to power 4 red leds (which works without resistor at 2V). I was wondering maybe it is because the chip does not have a sufficient voltage to operate but I doubt it as in the datasheet this PIC can work at 2V. It strange because I tested the chip with a 2.5V source on a breadboard and everything was working great...
Help me please!
-
Try connecting a 10k resistor to the same pin the sync button connects to, then connect it to pin 1 of the PIC.
So it bridges both pins, This will act as a pull-up resistors.. incase the internals arent doing there job correctly :-)
-
Try connecting a 10k resistor to the same pin the sync button connects to, then connect it to pin 1 of the PIC.
So it bridges both pins, This will act as a pull-up resistors.. incase the internals arent doing there job correctly :-)
Thanks for the quick reply but that doesn't seem to work... I get the same result with the 10K resistor bridging pins 1 and 2... I saw in this topic someone used a 20 ohm pull-up resistor but with an earlier version of the Led flasher. Should I try it with a 20ohm on revision 00.3?
-
Try to install it on a cg instead, ive done it on 3 cgs and works awesome on all of them.
-
As i mentioned before i dont have any matrix controllers at the minute, Friend gave me a controlelr earlyier lets just hope its a matrix, i think it is. (i do have like 10 CG/CG2 controllers lol)
Erm you could try that, Please make sure your wiring your LED's properly.
Im pretty sure i know what it is though.
The pin that connects to the SYNC button. Remove it from the SYNC button, and connect it to a button/tactile that you might have. then connect the other side of the button to GROUND/GND on the controller. that should work, untill i fix this small bug
-
Thanks for the help. The 22ohm resistor did not solve anything, in fact the chip wasn't switching mode at all. I just removed the chip, I'm gonna put it in a CG controller.
I also think this is related to the sync button. I did a test on a breadboard and powered the chip with only 1.9V. I used a tactile switch and it was working perfectly.
Thanks anyway!
Post Merge: March 01, 2010, 05:14:36 AM
Hi, just a quick update... The Matrix controller I tried to install the chip in was a repaired controller. It was water damaged when my basement was flooded.
Maybe it is working as i should even if the sync as a small malfunction. I hope someone with a matrix controller will try to install this chip.
-
-snip-
-
My bad I was sending him a private message suggesting him the modes, anyways here they are...
THESE ARE SUGGESTIONS
Spinner: This mode would be simple and light 2 LED's and switch to another 2 LED's. First the A and Y LED's would be lit then it would switch to the B and X LED's
Runner: This mode is supposed to just be there to look awesome. First it would start at Y then switch to B then to A then to X and then repeat all over again.
I hope you add these because they would be awesome to look at and show off to people and tournaments and late night releases.
t0p has already coded both of these modes into the .hex..... watch the videos and read some of the post's on the wall and you'll see these modes......
just wire it
led 1 = leg 7
led 2 = leg 6
led 3 = leg 5
led 4 = leg 3.. and it should spin and run like you mention but only when in the correct mode....
dont forget there is 6 different light on modes and a off mode....
-
dd the modes are there as sperrg stated, they are exactly as you stated.
as for Psyco, it sounds like the chip is experiancing a buncing affect, making it skip modes in the cycle. something is wrong with you chip. also I personally would advise against using a matrix controller. the matrix controller swithced point is 2.0-2.5V the output to the leds is equal to the supply voltage, therfore your leds may be dim.
-
Hi, thanks for the advice matt. Back when I was experiencing with this led flasher code I tried programming two chips and got the same result from both in my matrix controller.
I used red leds in my matrix so the voltage of the matrix controller is perfect but I ended it by not using the chip at all and modded my controller the standard way by soldering the leds directly to V+. I used the chips I programmed in CG controllers instead. All the controllers I modded with leds have been working perfeclty for about a month now!
-
-snip-
-
this one is cheap and works fine. through USB laptop
http://www.piccircuit.com/product.php?id_product=26 (http://www.piccircuit.com/product.php?id_product=26)
-
+1 for above.. I have the same one and it works great !
http://www.piccircuit.com/product.php?id_product=26 (http://www.piccircuit.com/product.php?id_product=26)
-
http://forums.xbox-scene.com/index.php?showtopic=669401 (http://forums.xbox-scene.com/index.php?showtopic=669401)
I built this one and I never had any problem with it. All the parts are available at Digikey or Mouser.
I use a desktop computer that does output real RS232 signal (+12V and -12V) on the serial port which is needed by this programmer to work properly. If you have a laptop or a USB to serial adapter you cannot use this programmer.
To program the chips I use WinPic instead of WinPic800. Both should work. I read somewhere that WinPic has a higher success rate than WinPic800.
-
Problem here ha
I go and hook up all the wires etc but when I press the sync, or any button for the matter, the whole controller turns off. I really do not know what todo. I tried it with a tac switch thinking that my sync solder might be the problem, it still turned the whole controller off. Im stumped.
I know alot of people do not like this kind of post, but if I could get a answer or any support fast, it would be great. Im trying to ship this off to my nephew for his b-day. If I can't get it working, its all good. Ill throw normal buttons in instead.
Thanks
-Beneath.
-
when its off, there is no voltage, when you press the sinc it applies power to the leds, and since there is a short in one of your leds, it is causing the controller to shut off. remove all the led leeds from the chip, turn on the controller with just power ground and sinc hooked up, press the sinc button to turn on the chip, then start reconecting the leds to each of the different pins, when the controller shuts off again, you will know where the short is.
-
See, even with no leds connected, it still does it. Im assumng then there's a short in one of the wires thats connected to the chip?
That was a fast reply!
Edit: I could of wired it wrong...but I basically already tried that. I swaped the power just for the hell of it and then the controller will not turn on, so that isent it ha. I changed the wires too. If there a possibility I damaged the sync button? Its just weird that it still works if the wire isent soldered to the pic. That still dosent explain why the tac switch wouldnt work eather.
I could reprogram it just incase...Idk Im trying everything
-
just connect the power from the controller to the top left pin (the leg beside the circle) then just connect the ground to the right top pin. solder a wire to pin two the one under the power wire, same side as the circle, second one down from the top. see what happens
sonds like you have your ground and positive backwards can you take a picture please. I want to see the conections on the controller board.
-
what controller type are u using..... this chip works fine on cg1 and cg2..... but i beleive may need a tact switch instead of the sync button on a matrix pad.... but am not 100% sure..... i would test for u but im away from home..... wont be back till late this year....
so does anyone no if the sync button on the matrix pads work the same as cg.....
-
:help: so I'm new to the programing of the moddi g world iv installed like 100 mods in my controller but I thought o would learn how to take an open source code and put it on a chip. So I gave that part down but as you put down 150 ohm resistors I purchased then online but they seem to be bigger in size could some 1 link me to the exact resistors or just give me the specs.
-Tyler
-
you want 1/4 watt resistors
-
this is one of the best hex's on this site! thanks for making it!
Also maybe you should make another hex exactly like this only it has 4 extra modes to keep only one light on until you change to a different mode and still keep this hex up, that would be epic for people who use it for other things besides xbox 360 controllers or who would like to only keep one light at a time on. just a suggestion :yess:
i will defiantly be making one if you don't if i ever freaking learn how to code hex's...
thanks for considering :winker:
keep up the outstanding work! i love all your codes and use all of them! :yess:
-
Thanks, this could be useful.
Edit: v00.3 is down, can you re-upload please?
Edit2: Nvm it seems like the dll link in the official free code list is different than V00.1
-
Hey guys,
Im actually using a PS3 version of this flasher chip -- BUT the schematic is the SAME. Im wondering how I would wire this to a tact switch instead of the sync button..
(Do I just run two wires from the sync pic to the tact button) -- Or is it something else? Please get back to me! Thanks!
-
Pin 2 will go to one side of your tact switch, the other side of the tact switch goes to ground.
-
Awesome, thanks!
-
Hey guys,
Im actually using a PS3 version of this flasher chip
this chip/program can be used in anything.....anything that has a voltage supply inside the perimeters of the 12f683. and if you have something supplying a higher voltage, just use a 5v regulator. It has been used it in controllers, psp's, xboxes, playstations, laptops, car speakers....anything
-
Ive managed to install this into my controller along with rapid fire, used a tac switch on top of the controller for the leds tho and man its cool Thanks so much for the great code t0pP8uZz! quick vid of it in action :drunk:
[IMG] (http://s1247.photobucket.com/albums/gg637/3lite1171/?action=view¤t=IMG_0714.mp4)
-
3lite117 Really nice install there and nice work on the buttons, very clear and clean looking, Congrates :tup:
-
Thanks Rodent Ive made quite a few codes from the sight and Id say it was one of the best to do when it turned out so great, I think ill make one Led tut that spurgurgle put up about lighting up most of the parts on the controller bumpers triggers dpad ect.. also Hazers Final Rapid fire looks interesting so that will come too.
Here is a couple of pics from the install as I had the Rapid fire chip on the top of the board I managed to sneek the Led chip on the under side with room to spare :)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1247.photobucket.com%2Falbums%2Fgg637%2F3lite1171%2FIMG_0708.jpg&hash=613e33b999bcdc9f13201f3d476e74e83a1853d2)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1247.photobucket.com%2Falbums%2Fgg637%2F3lite1171%2FIMG_0713.jpg&hash=dd933a49609d407201e008b453589a07a286ef91)
-
Hey Guys,
I wanted to see if you could construct a separate HEX file with just 2 modes (on and off).
All I wanted to find was a code that can simply turn all the LEDs off, and all the LEDs on at once.
This will be used for a PS3 controller. Unfortunately what I have found is that when hard-wiring in on/off switches (to power/ground) it makes the controller cease to function when the lights are turned off (because it cut ground to the entire board VS just the LEDs)
Please let me know if you have a simple On/Off code.
Thanks a lot!
-
Hey Guys,
I wanted to see if you could construct a separate HEX file with just 2 modes (on and off).
All I wanted to find was a code that can simply turn all the LEDs off, and all the LEDs on at once.
This will be used for a PS3 controller. Unfortunately what I have found is that when hard-wiring in on/off switches (to power/ground) it makes the controller cease to function when the lights are turned off (because it cut ground to the entire board VS just the LEDs)
Please let me know if you have a simple On/Off code.
Thanks a lot!
If you are using a switch to turn the LEDs on and off, dont actually break the ground connection for the controller. Put the negative wire from your leds to one leg of the switch, and tie the other leg of the switch with your ground point. If the switch is off, it just doesn't complete the circuit for the leds, but it doesn't interfere with the operation of the controller.
-
Right now I currently wire up the LEDs straight to the board.
(Negative Leg to a negative or ground point ///// Positive Leg to a Positive Point + Resistor)
Im looking to put in 10+ LEDs Sometimes. How do you wire ALL of those up AND put in one single switch to turn them on and off?
Also, I prefer to use a tact switch for the size. However, without an actual programmed chip, the function is momentary. Do you have any solution for that?
(Do you wire one side of the switch to the neg, and one to ground?) Sorry for the confusion, I appreciate your help!
-
If you are using a switch to turn the LEDs on and off, dont actually break the ground connection for the controller. Put the negative wire from your leds to one leg of the switch, and tie the other leg of the switch with your ground point. If the switch is off, it just doesn't complete the circuit for the leds, but it doesn't interfere with the operation of the controller.
In reviewing your message that totally makes sense. Thank you very much!
However, I still want to know how to hook up multiple LEDs all to ONE switch. Just connect all the NEG legs to the same side of the switch? If so, I guess thats straight forward enough.
-
In reviewing your message that totally makes sense. Thank you very much!
However, I still want to know how to hook up multiple LEDs all to ONE switch. Just connect all the NEG legs to the same side of the switch? If so, I guess thats straight forward enough.
Well you CAN do it in either parallel(as you described) or in series(led1 neg connected to switch, led1 pos connected to led 2 neg, led 2 pos connected to led 3 neg, and so on and so forth). But, if I remember correctly, parallel lets the voltage stay at 3ish V(whatever the controller is outputting) which is most likely required to make the leds work. If you do it in series the voltage would be .3 volts, which wont work.
So yea, do it in parallel.
-
your confusing him and me now.....lol
wire it in parallel, all grounds go together, all pos goes together.
-
Yes, definitely wire it in parallel. Also, the more LEDs, the lower value your resistor has to be. Here is a great tool for calculating the resistor value, the last one on the page is for parallel LEDs. http://www.hebeiltd.com.cn/?p=zz.led.resistor.calculator (http://www.hebeiltd.com.cn/?p=zz.led.resistor.calculator)
-
Thanks for all of your help.
This was all very informational and beneficial for me!