Author Topic: Xbox 360 Controller ABXY LED Flasher [Revision 00.3] *UPDATED*  (Read 59743 times)

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Xbox 360 Controller ABXY LED Flasher [Revision 00.3] *UPDATED*
« 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

spurgurgle's demostration
ABXY flasher 6mode
ISIS
Xbox 360 LED Flasher Code PIC12F683

Installation Tutorial: Coming soon..

Rough Schematic:


Diagram (thanks ghost_death)


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

Peace
-t0pP8uZz
« Last Edit: January 25, 2013, 01:51:32 PM by Modded Matt »

Offline GhoSt

  • Creating Null
  • Around the block
  • *
  • Posts: 2552
  • Post quality +19/-0
  • Gender: Male
  • Null Pointer Exception
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #1 on: November 07, 2009, 08:05:49 PM »
noobified up a diagram for you. Tell me if I made any mistakes.
|Variegation - GhoSt's Final Controller|

|Nothing is deterministic.|

Offline laxboy

  • i like airplanes
  • Acidmods Alumni
  • E = MC² Mad Scientist
  • *
  • Posts: 1627
  • Post quality +12/-0
  • Gender: Male
  • CTVFD 9/11 lost but never forgotten
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #2 on: November 07, 2009, 10:27:29 PM »
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:

Offline GhoSt

  • Creating Null
  • Around the block
  • *
  • Posts: 2552
  • Post quality +19/-0
  • Gender: Male
  • Null Pointer Exception
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #3 on: November 07, 2009, 11:02:43 PM »
so you can vouch for this code? its all good?
|Variegation - GhoSt's Final Controller|

|Nothing is deterministic.|

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #4 on: November 08, 2009, 05:05:41 AM »
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
« Last Edit: November 08, 2009, 08:35:18 AM by t0pP8uZz »

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #5 on: November 08, 2009, 09:14:19 AM »
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.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline spurgurgle

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1121
  • Post quality +17/-1
  • Gender: Male
  • call me spurg
    • my blog
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #6 on: November 08, 2009, 09:14:51 AM »
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

Sigs made by Ken and blazin from the AM Art team cheers guys.....
Spurgurgle d.t com
"I'm kinda like a typo, not quite right, but most people still understand me"

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #7 on: November 08, 2009, 09:17:40 AM »
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.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline spurgurgle

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1121
  • Post quality +17/-1
  • Gender: Male
  • call me spurg
    • my blog
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #8 on: November 08, 2009, 09:21:51 AM »
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
« Last Edit: November 08, 2009, 09:27:14 AM by spurgurgle »

Sigs made by Ken and blazin from the AM Art team cheers guys.....
Spurgurgle d.t com
"I'm kinda like a typo, not quite right, but most people still understand me"

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline spurgurgle

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1121
  • Post quality +17/-1
  • Gender: Male
  • call me spurg
    • my blog
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #10 on: November 08, 2009, 09:30:17 AM »
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

Sigs made by Ken and blazin from the AM Art team cheers guys.....
Spurgurgle d.t com
"I'm kinda like a typo, not quite right, but most people still understand me"

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #11 on: November 08, 2009, 09:33:09 AM »
Ahh ok what ever works i prefer winrar seems everyone uses it. But yea np.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #12 on: November 08, 2009, 11:05:18 AM »
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

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #13 on: November 08, 2009, 11:10:49 AM »
Hmm unless you use a pot to test what resistance works best for that led.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #14 on: November 08, 2009, 11:18:02 AM »
Yup when I get chance I'll calculate resistance for now just trial and error.

Peace

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #15 on: November 08, 2009, 11:19:26 AM »
Alright sounds good top.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline Jumbo

  • Dr. Mod
  • BST BAN
  • Around the block
  • *
  • Posts: 2399
  • Post quality +0/-3
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #16 on: November 08, 2009, 04:19:20 PM »
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.

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #17 on: November 08, 2009, 04:52:42 PM »
Great to hear! Glad i could contribute.

Which LED's did you use and which resistors

peace

Offline Jumbo

  • Dr. Mod
  • BST BAN
  • Around the block
  • *
  • Posts: 2399
  • Post quality +0/-3
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #18 on: November 08, 2009, 04:56:04 PM »
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

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #19 on: November 08, 2009, 05:07:33 PM »
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.

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #20 on: November 08, 2009, 09:37:28 PM »
Oh cool atleast we know it works now jumbo did us 84 ohm on each resistor or is that total.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline GhoSt

  • Creating Null
  • Around the block
  • *
  • Posts: 2552
  • Post quality +19/-0
  • Gender: Male
  • Null Pointer Exception
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #21 on: November 08, 2009, 09:57:09 PM »
it would be on each resitor.
|Variegation - GhoSt's Final Controller|

|Nothing is deterministic.|

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #22 on: November 08, 2009, 10:47:58 PM »
Alright thanks ghost appreciate it.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline Jumbo

  • Dr. Mod
  • BST BAN
  • Around the block
  • *
  • Posts: 2399
  • Post quality +0/-3
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #23 on: November 10, 2009, 08:43:17 PM »
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
« Last Edit: November 10, 2009, 09:10:53 PM by Jumbo »

Offline GhoSt

  • Creating Null
  • Around the block
  • *
  • Posts: 2552
  • Post quality +19/-0
  • Gender: Male
  • Null Pointer Exception
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #24 on: November 10, 2009, 09:34:34 PM »
nice I think that proves that its legit, can't wait till I get more 12f683
|Variegation - GhoSt's Final Controller|

|Nothing is deterministic.|

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #25 on: November 11, 2009, 05:33:01 AM »
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.
« Last Edit: November 12, 2009, 06:53:55 PM by t0pP8uZz »

Offline spurgurgle

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1121
  • Post quality +17/-1
  • Gender: Male
  • call me spurg
    • my blog
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #26 on: November 13, 2009, 10:07:48 AM »
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

thanks top buzz
« Last Edit: November 13, 2009, 10:13:05 AM by spurgurgle »

Sigs made by Ken and blazin from the AM Art team cheers guys.....
Spurgurgle d.t com
"I'm kinda like a typo, not quite right, but most people still understand me"

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.1]
« Reply #27 on: November 13, 2009, 12:35:45 PM »
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

modded mat: would appriciate if you could mirror the updated version on acidmods as done with 00.1. Thanks

Peace
t0pP8uZz

Offline Blazinkaos

  • Technology Revolution
  • Art & Theme Team
  • E = MC² Mad Scientist
  • *
  • Posts: 2259
  • Post quality +12/-0
  • Gender: Male
  • Time Passes Will You
    • ROOKIE BUILDERS DISCORD
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.2] *UPDATED*
« Reply #28 on: November 13, 2009, 01:31:21 PM »
Im working the programmer matt showed i can make one so thats what im trying to work hope to use this code soon.

*Thanks Modders/Friends:Ghost_Death, gr8npwrfl, Blizzrad, Kenshinffx.
*Thanks 802Chives for the Art position!

Offline t0pP8uZz

  • Granny Spanker
  • *
  • Posts: 477
  • Post quality +4/-0
  • Gender: Male
  • Programmer / Security Expert
    • http://milw0rm.com/author/1141
Re: Xbox 360 Controller ABXY LED Flasher [Revision 00.2] *UPDATED*
« Reply #29 on: November 13, 2009, 04:36:06 PM »
Okay.. Ive fell in love with my Asix Presto so do-it-yourself programmers are done for me :-)

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal