xboxscene.org forums

Author Topic: Pic And Programming?  (Read 102 times)

fightclub

  • Archived User
  • Full Member
  • *
  • Posts: 234
Pic And Programming?
« on: May 15, 2009, 12:56:00 AM »

im sorry for saying this... but are you being serious?  i honestly hope you are joking...


ha i had to come back and re-comment cause this is ridiculous... you said YOU want to program this so you can have 10 modes of rapidfire... then u ask for instructions... and then even ask someone to code it for you...

a)   asking people to put that kinda work in for you for nothing (unless they are a friend or owe u something) is absurd
cool.gif   nothing in this world is free
c)   learning to write code in ANY language will probably do you some good so bust open a c or c++ book and start reading
d)   i wouldnt recommend this as a first project for learning to code along with tampering with hardware, just a suggestion (maybe a hello world in VB would work)  

sorry to flame... its late and ive been drinking (sad, i know) and i thought this post was hilarious

later dude
Logged

fightclub

  • Archived User
  • Full Member
  • *
  • Posts: 234
Pic And Programming?
« Reply #1 on: May 16, 2009, 12:10:00 PM »

ha touche.   hows the coding?   do u have a pic programmer?
Logged

jamz_az

  • Archived User
  • Newbie
  • *
  • Posts: 33
Pic And Programming?
« Reply #2 on: May 16, 2009, 02:08:00 PM »

QUOTE(II CRIONIC II @ May 14 2009, 04:25 AM) View Post

Hey,

I want to make my own rapid fire controller using a PIC and custom programming, but it's so confusing trying to find the information I seek.   huh.gif

What I would like to do is program 2 separate PIC chips to put in my controller. Both would have the same programming, but one would be connected to the right trigger, and the other connected to the left trigger, allowing you to change modes for each trigger individually, via 2 push buttons on the bottom of the controller.

I'm not sure if it is possible, but I would like to have 10 modes for each chip.

   1. Full Rapid - Fastest Setting (For Call of Duty 4 and Halo 3)
   2. Full Rapid - Extremely Fast
   3. Full Rapid - Very, Very, Fast (Fastest speed for Call of Duty 5 that is undetectable)
   4. Full Rapid - Very Fast
   5. Full Rapid - Fast
   6. Burst Rapid - Fastest 3 Round Burst Setting (Works on Call of Duty 5 and 4)
   7. Burst Rapid - Extremely fast 3 Round Burst Setting
   8. Burst Rapid - Very, Very, Fast 3 Round Burst Setting
   9. Burst Rapid - Very Fast 3 Round Burst Setting
  10. Burst Rapid - Fast 3 Round Burst Setting
 
Can anyone please tell me what PIC chips are the best to use for this mod, what software and hardware to use to program the chips, and if anyone here can write the code for me?

Thanks! smile.gif


Any pic would be good for this! lol

Try over here, I think you'll find more of what your looking for.
http://forums.xbox-s...p?showforum=132

As for the coding, you are not going to get anyone that will do this for you most likely.
Better off learning to write asm, get a pic and play around. You can get all that for under $100.
What you ask is easy and mostly been done already, just not as far as your idea is.
Maybe you can piece together some ideas at the other forum and create your mod?

Look forward to seeing anything new that is different than what is being done.
Have at it man, two thumbs up!

J

Logged

II CRIONIC II

  • Archived User
  • Newbie
  • *
  • Posts: 1
Pic And Programming?
« Reply #3 on: May 17, 2009, 02:21:00 AM »

Just wondering, whats so special about the Picaxe 14m?
Logged

jamz_az

  • Archived User
  • Newbie
  • *
  • Posts: 33
Pic And Programming?
« Reply #4 on: May 18, 2009, 01:04:00 PM »

QUOTE(II CRIONIC II @ May 16 2009, 05:29 PM) View Post

haha  biggrin.gif

Coding, still got nothing. PIC programmer, still got nothing and no-one sad.gif lol
Thanks!    biggrin.gif

I'll check out that forum and see what I can find. I might check out Mouser.com while I'm there and see what PIC's they have. Any idea how much memory and stuff the chip would need?


Since you seemed to be hitting a wall at this time I can help you a bit to get you rolling.

http://www.dethprops...rgreenmain.html
This has some data for you to look at. I put this one on temporary hold for my current mod project.

Depends on how you do your code/line pulsing. Your RF controls.
If you use an interrupt based style, your code will be smaller than if you use a bit-bang style
just hitting the lines with on/off etc.

Most of the RF code uses int. style to do the pulse outputs as it can be very accurate for fire rates or SPS.
(Shots per second). You can dnld some asm over at the RF forum, and there is a great tut by Hazer on how his RF
code works and he even comments it all in the assembly code. Go get that and take a look.

Start with getting yourself a few pic chips some 8, 16 or 28 pin ones, a pic chip flasher, go look at the tuts for RF
and try to make a trigger fire, you'll be half way there.

For your requirements you will need probably 2k-4k memory space for an int based code style.
Really depends on what code you write, how you write it and how many functions you plan on having.
You will have to figure all that out on your own, no real way to just say: get this one and do this.

Size of pic chip will matter if you want it inside or hanging outside of the controller.
So you will have to look at pin counts on the pic devices. Start looking at some PIC data sheets.

You will need to figure out how many lines you need to run to the controller buttons you want RF on so you will need
to match that on the pic output pin count etc etc.

You will also need some controller board schematics so you know where to hit the triggers, buttons etc.
Hope you can solder small points with accuracy and have a fine tipped soldering iron.
Or you'll probably botch a few controller boards.

Hope that helps you get rolling, would like to see your mod progress pics etc when done.
Logged