Author Topic: Hazers Final Rapidfire (RS232) source code  (Read 29674 times)

Offline hyper999

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1158
  • Post quality +544/-3
  • Research and Development
Re: Hazers Final Rapidfire (RS232) source code
« Reply #30 on: June 10, 2012, 05:57:34 AM »
Im using a desktop PC I can only see the 'communications port (COM1)' in device manager which i assume is the serial port, it tests OK in the app. Hazers app says 'programing fail Read Timeout.' press ok 'programming failed check connections or port'

The cable I was using didnt match the above pinout, so I rewired it to match, but I still get the same error.

I would think then that that is happening because your serial port is true RS232 so the pic cannot put a high enough voltage at its output pin for your serial port to recognise a change in state, but it should work fine with your usb > serial converter.

Offline Hazer

  • x4675636B4E7574
  • Acidmods Alumni
  • Acid Modder
  • *
  • Posts: 583
  • Post quality +59/-0
Re: Hazers Final Rapidfire (RS232) source code
« Reply #31 on: June 10, 2012, 09:46:30 AM »
The controller is on while you are programming, yes? It needs to be.

If that does not help, try swapping the tx and rx wires somewhere (your cable or in the controller, whichever is easiest).
[Quote from Gamermodz via Viking forums]
Don't be jealous your not half as smart. I hate ****tards like you. An ignorant redneck. Your nothing but a posing ******. Get the **** out of here, really, your claim to fame is an open source rapid fire code? You make me laugh. You think you have control over the modding market?  You couldn't create what I can and do. You are too ignorant with your outrageous assumptions and accusations. [/Quote]

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #32 on: June 10, 2012, 05:04:17 PM »
yep the controller is turned on. Ive tried swapping the tx/rx wires and its still the same so I will give it another go when I get the usb to serial converter. thanks guys

Offline magic_man185

  • Who Farted ???
  • *
  • Posts: 229
  • Post quality +16/-0
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #33 on: June 10, 2012, 07:43:34 PM »
Did you use something to invert the signals to TTL instead of RS232? I am pretty sure that this is required, unless Hazer accounted for it in his code.  Attached is an image of how to do it. (Credit to http://www.electro-tech-online.com/attachments/micro-controllers/4897d1117851836-rs232-level-shifting-power-consumption-ttl-232_convertor.jpg, but I think you have to register to see the image there.)


Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #34 on: June 17, 2012, 06:16:18 AM »
I found I had the TX and ground wires the wrong way around on the 3.5mm jack... lol. I have it working now using the USB to Serial converter, didnt have to use the transistors in the pic above, thanks hyper and magicman for the help

and thanks Hazer!!! :#1:




Offline rafaliyo86

  • Acid Modder
  • *
  • Posts: 569
  • Post quality +12/-1
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #35 on: June 27, 2012, 06:10:55 AM »
Has anyone the .hex files? I was going to compile with MPLab but i dont know why I cant boot Windows xp with my mac I get an error with VMWare fusion :(

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #36 on: June 27, 2012, 06:37:18 AM »

Offline rafaliyo86

  • Acid Modder
  • *
  • Posts: 569
  • Post quality +12/-1
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #37 on: June 29, 2012, 05:33:31 AM »
this is for CG  :cool:

http://www.mediafire.com/?j0wzc12cu6ztnif

Thanks (again) phantomz0

Guys what cable would you recommend me. I have two but I have cut off the and the wires are too thin, here is a pic:



Will they work or I should try it with another cable?

Offline magic_man185

  • Who Farted ???
  • *
  • Posts: 229
  • Post quality +16/-0
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #38 on: June 29, 2012, 07:06:35 AM »
The wires being thin shouldn't be a problem, most people (myself included) use 30 gauge wire inside the controller.

Offline rafaliyo86

  • Acid Modder
  • *
  • Posts: 569
  • Post quality +12/-1
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #39 on: June 29, 2012, 11:14:32 AM »
The wires being thin shouldn't be a problem, most people (myself included) use 30 gauge wire inside the controller.

But this wires are from the 3.5mm cable and will go to the db9 connector. And i dont know they will work I should try it

EDIT: well I have found another cable that I had and this isn´t so thin.

I am going to star with the installation but I have two issues:

1 - How do I know how the wires are connected from the cable (I have red, white and yellow wires) to DB9 connector

2 - How do I know which are TX, RX and Ground in the jack connector to connect them properly to the pic

EDIT2: Well thanks to hyper now I know which are the connections from the cable.

I have (almost) everything to start but I have problems with the jack connector. I have one which is so big and I cant fit in the controller. Could you recommend me another one smaller?
« Last Edit: July 06, 2012, 12:29:12 AM by rafaliyo86 »

Offline rafaliyo86

  • Acid Modder
  • *
  • Posts: 569
  • Post quality +12/-1
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #40 on: July 06, 2012, 10:39:19 AM »
Hi guys, I have installed final rapid fire but when I plug the cable windows ask me for drivers (i suppose they will be for the serial-usb converter but i haven´t them :(). If I go to the control panel here is what i have

I have changed rx tx from the jack connector and even in the db9 connector. Could you help me??


EDIT: I am sure its the usb-serial cable the problem. I dont have the drivers but I have downloaded from its website but I get an error yet

[spoiler][/spoiler]

I think I should buy a new cable with its proper drivers
« Last Edit: July 06, 2012, 12:11:04 PM by rafaliyo86 »

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #41 on: July 07, 2012, 01:02:32 AM »
I think these are the drivers you need http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

what is the error you get?

Offline rafaliyo86

  • Acid Modder
  • *
  • Posts: 569
  • Post quality +12/-1
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #42 on: July 07, 2012, 04:00:19 AM »
I have installed them but I have the error aswell

I get error code 10, this device cannot start

EDIT: I have read the manual and it seems like the cable could be a fake :fear: but I bought it in a local store near my job and it doesn´t look as a chinese copy. The brand is eminent
« Last Edit: July 07, 2012, 04:10:31 AM by rafaliyo86 »

Offline rafaliyo86

  • Acid Modder
  • *
  • Posts: 569
  • Post quality +12/-1
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #43 on: July 26, 2012, 02:09:13 PM »
Well guys finally I have my controller working  :tup:

I would like to give special thanks to Hazer for the code, phantomz0 because he has helped me a lot with PM, pics, etc (I think I have been a pain for him) and also hyper and the others members

Here are some pics of my controller:

[spoiler]

[/spoiler]

I just have one question how does burst work? I mean does it work with all gun or just with semi automatic guns?

Thanks again guys you are  :#1:

Offline 3D0kassiah

  • Acid Modder
  • *
  • Posts: 809
  • Post quality +19/-2
  • Gender: Male
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #44 on: July 26, 2012, 04:40:39 PM »
people usually use burst for semi auto pistols and rifles which burst fire is usually a 3 round burst unless you change the sps actually works quite well on some games where the gun has a nasty recoil sometimes when using rf at a high sps the semi auto rifle pistol goes a bit crazy which at times found it hard to control
Tracey: f off Rodent
rodent:i would of flew it to bill gates and shoved it up his a$$

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #45 on: July 26, 2012, 06:46:58 PM »
nice, glad you got it working. lol you havnt been a pain, i didnt mind helping you out

Offline dopesun

  • Chief squatting Hard
  • *
  • Posts: 19
  • Post quality +0/-0
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #46 on: September 17, 2012, 11:13:30 PM »
Been away for a while.. came back and found this jewel..

Just curious how you guys installed it..? This stuffis all greek to me..

I read what Modded Mat wrote in reply# 8.

Is there a parts list? and how do you wire it to a matrix2? I only see CG2 installation..

Or.. am i following the FLeX install.. Still though.. is there a parts list?

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #47 on: September 18, 2012, 04:09:30 AM »


I drew this up in paint when I was installing mine

This is for CG controllers, the only thing that will change with matrix controllers is where you get power from, the rest of it is the same.

Offline dopesun

  • Chief squatting Hard
  • *
  • Posts: 19
  • Post quality +0/-0
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #48 on: September 18, 2012, 10:51:39 AM »
thats pretty cool thanks.. though.. i purchased this from him a while back when he sold the kits.. looking at the board it seems like theres more to it than just one capacitor.

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #49 on: September 18, 2012, 07:35:33 PM »
there are no capacitors, I just checked my diagram above, its missing the resistors on pin 4 to rx, it seems to work without them but its probably best you put them in.

Offline dopesun

  • Chief squatting Hard
  • *
  • Posts: 19
  • Post quality +0/-0
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #50 on: September 18, 2012, 08:47:36 PM »
sorry i meant resistor. i have an original board from when hazer was selling em. when i get a chance ill open the troller and take a flick.

Edit: this is it here..



Im wondering if the code i have on my cip is older than the code released here. Also if the code on my chip is older, could i upgrade the code by connectng some wires to the PCB and then to my pic programmer...
« Last Edit: September 20, 2012, 07:46:05 PM by dopesun »

Offline Famas

  • Granny Spanker
  • *
  • Posts: 403
  • Post quality +1/-8
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #51 on: November 11, 2012, 03:54:06 AM »
Hi guys just wondering if anyone has this compilied and in hex format (for a cg controller) because phantomz link requires a password and im gonna be doing this at work so cant compile it on works computers and i have a macbook :) also could anyone tell me the pinouts on the jack the actual jack that goes inside the controller thanks!

Offline dopesun

  • Chief squatting Hard
  • *
  • Posts: 19
  • Post quality +0/-0
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #52 on: November 11, 2012, 07:09:51 AM »
Hi guys just wondering if anyone has this compilied and in hex format (for a cg controller) because phantomz link requires a password and im gonna be doing this at work so cant compile it on works computers and i have a macbook :) also could anyone tell me the pinouts on the jack the actual jack that goes inside the controller thanks!

Its color coded.. here you go...

http://ge.tt/2ErOjOR/v/0?c

HEX 

http://ge.tt/9atQuOR?c
« Last Edit: November 11, 2012, 07:53:55 AM by dopesun »

Offline Famas

  • Granny Spanker
  • *
  • Posts: 403
  • Post quality +1/-8
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #53 on: November 11, 2012, 12:04:28 PM »
im using a different programming jack with five pins its from farnell!

Offline dopesun

  • Chief squatting Hard
  • *
  • Posts: 19
  • Post quality +0/-0
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #54 on: November 11, 2012, 12:28:05 PM »
im using a different programming jack with five pins its from farnell!

My guess would be to find the RX, TX, and ground pins and solder those according to the diagram.

Offline Famas

  • Granny Spanker
  • *
  • Posts: 403
  • Post quality +1/-8
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #55 on: November 11, 2012, 01:09:35 PM »
thanks for the help dopesum! its one of these mate
http://uk.farnell.com/pro-signal/psg01538/socket-3-5mm-jack-pcb-stereo/dp/1280746
 :tup:

Offline Famas

  • Granny Spanker
  • *
  • Posts: 403
  • Post quality +1/-8
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #56 on: November 13, 2012, 10:03:58 AM »
hi dopesum i tried programming the pics today with your hex and it programmed but gave me a checksum error fail after it had programmed is this normal with this code ?

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #57 on: November 13, 2012, 06:12:07 PM »
Famas look at the datasheet of your stereo jack, it will tell you which is rx/tx. if it doesnt, just test it and swap the wires if it dosnt work. I removed the password on that mediafire link so you can try that HEX

@dopesun the code on the chip you have will be the same as this one

Offline Famas

  • Granny Spanker
  • *
  • Posts: 403
  • Post quality +1/-8
  • Acidmods User
Re: Hazers Final Rapidfire (RS232) source code
« Reply #58 on: November 19, 2012, 09:44:56 AM »
ok GUYS finally it works :) it wasnt onboard programming because the rs322 port wasnt picking up the pic like hyper described so i got a usb-serial converter and wala it works great one issue im having is the actual rapid fire acting strange basically when i have the left trigger disabled on the program and onboard program the device my left trigger will not work at all then when i put rapid fire on the left trigger the trigger doesnt rapid fire but works normally i havent used the resistor for the leds is this my problem :(? is anyone else having this issue im using blackops II

Offline Phantom

  • Club AM VIP
  • Granny Spanker
  • *
  • Posts: 355
  • Post quality +11/-1
  • Gender: Male
Re: Hazers Final Rapidfire (RS232) source code
« Reply #59 on: November 19, 2012, 07:33:29 PM »
Mine has that same issue with the left trigger. When you disable left trigger rapidfire in the app, it disables it completley. but it easy enough to just put rapid fire on a high/low speed and it works normally, I cant remember if it has to be a high or low speed.

 

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