E/X-Mag Microcontroller Programming (Atmel AT90S2313)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • UTDragun
    Tennessee Paintvols
    • Feb 2005
    • 1052

    #106
    Originally posted by LorneCash

    CFOA doesn't allow ramping according to

    2005 Official CFOA Rules
    Revision 1

    2005 CFOA rules would be met by setting the gun to SEMI and the ROF to 15.

    I emailed CFOA and they said that their rules will change to match PSP for 2006 so to meet that the ROF has to be set to 15 and the mode set to NXL

    If these rules change I will modify the code to reflect the change ASAP. I have room for 1 more firing mode but i'm not sure what to do because i thought i did them all. Suggestions are welcome but you'll have to be specific or give me a link that describes exactly how it should work.
    I played with millenium mode last year at one event. where does it state that it is semi only in the 2005 rulebook?
    embargo backwards = o grab me

    "Guns dont kill people, husbands that come home early do." -Larry The Cable Guy

    Dragun Drallion, nexus kit, tickler, e2, pysco 5" drop w/ on off, macroline, A+ bolt and back block, Oydessy 3 barrel kit, armson stealth, 15* ASA, Kapp pump arm, Black Magic, warp feed w/ 12v upgrade, halo b w/ vic&rip, 91/4500 bulldog

    Tippmann 98C ebolt, lp kit, m-16 kit, palmer stabilizer

    Comment

    • LorneCash
      Got XMOD? www.NiedTech.com
      • Aug 2005
      • 365

      #107
      I'm sorry if I misinterpreted what i read. I've never played any CFOA events. I did email CFOA and they said that for 2006 they will follow PSP rules for firing modes. I did include PSP mode so the way i fugure it doesn't matter. I'm not trying to start an argument i'm just looking for modes to add.

      Let me be a little more clear on that for everyone. I'm looking for legal modes to add. If you can show me an event that allows a mode that I've not included please do so. I'm not going to add any custom cheater modes for anyone. I just wanna make sure my favorite gun is legal in all paintball events.
      Last edited by LorneCash; 12-25-2005, 01:21 AM.

      Comment

      • Majinebz
        Registered User
        • Sep 2004
        • 295

        #108
        Xmod v 1.4 beta review and video

        Xmod V1.4 Beta Review.

        Dont mind my bad spelling and horrible grammer, hooked on phonics did not work for me as a child.

        First impressions:
        After updating my marker with the new XMOD flash, I was amazed at the control over the old software I now had. The "Super cool modes" that emags never had to play with were now disposable at my fingertips. The first thing I did was scroll through all the MODE menus and messed with each one with my safety "on" and gas pressure in the marker. I played with the trigger and listened to the speed that I now possessed. I was stoked and ready to rip rounds. Scrolling through the menus was easy and pretty self-explanatory.
        By pressing the top button on the Emag, the menus will scroll.

        MOD:
        First you have MOD. This is where you select what firing mode that you wish to use. By pressing the bottom button, it will scroll through the options. To select a firing mode simply pull the trigger and the display will disappear. (Or you can leave a desired mode on the LCD and scroll through the remaining menus; then pull the trigger. At that time, all changed options will be saved.) Your marker is now ready to fire in that select mode. BRST and PR-T have Submenus. If you are on BRST when you pull the trigger, the submenu will appear for you to select the amount of rounds the marker will fire in the actual firing burst. By pressing the bottom button, it will scroll between 2RND and 9RND. Pull the trigger again to select this as your firing mode. PR-T, when selected as the desired mode, pull the trigger and the submenu will appear. It will say SOL ON/OFF. Press the bottom button will toggle the Solenoid on or off. After you pull the trigger a 0 will appear on the LCD. It will display the dynamic ROF. Here is the MOD Menu and MOD Sub-menus.

        Menu:
        SEMI
        RELS
        BRST 2RND - 9RND
        FULL
        NXL
        PSP
        HYPER
        PR-T SOL ON/OFF

        ROF:
        ROF Menu. The ROF is your rate of fire or balls per second. This menu is very self-explanatory. By pressing the bottom button you can select either 8-31 as the ROF. This setting is universal and all firing modes will use the same rate of fire. NOTE: If the solenoid is wired incorrectly, the gun may not work at rates above 20bps without a full auto bug and an extremely high input pressure. SEE FIX for more info. Read additional notes to see if your solenoid is wired correctly.

        ACE:
        ACE Menu. Anti-Chop Eye. For those with Xmags or Xmag eyes installed into their Emag only. For those without an eye, leave this off. By Pressing the bottom button it will toggle the ACE on/off. When the ACE is turned on, pull the trigger and you will be in the submenu. This is your Delay setting for the eye. It is adjustable from 0-3 in MS.Press the bottom button to change this value. Pull the trigger when done.

        FIX:
        FIX Menu. This is straight from the manual. 99.9% full auto fix for guns that are wired correctly or incorrectly. All guns will not require this fix, but if needed, it is fully adjustable. Assuming the fix is needed, with the solenoid dwell set to 15ms and the solenoid wired incorrectly, the rate of fire for the fix to be most effective must be set below 17bps. With the solenoid wired correctly, the rate of fire can be increased to 20bps. The fix becomes less effective with higher rates of fire. This feature can be completely disabled. I never had to mess with this option once I re-wired my solenoid. Again read additional notes to see if your solenoid is wired correctly.

        DWEL:
        DWELL Menu. This is Adjustable from 5-30MS. This is the time the solenoid remains "on" in MS. To adjust the dwell setting, press the bottom button. When desired setting is on the screen, pull the trigger to select. A high dwell with constant use can cause the solenoid to become damaged or unable to operate. This setting will vary from marker to marker. Start the dwell low and slowly increase until your marker fires consistantly on each trigger pull. If you have to pull the trigger numerous times for it to fire, increase the dwell. NOTE: Make sure you have a freshly charged battery. This will greatly affect your dwell setting. A weak battery will result in you having a higher dwell setting.

        TRG/ACE:
        TRG ACE Menu. This is a calibration mode for both the trigger and ACE. TRG allows fine tuning of the trigger stroke/magnet adjustment. When the trigger is pulled, the 4th LCD spot will light up indicating the pull. The ACE allows fine tuning of the eye sensitivity. Place a ball in the breech of the marker and slowly move it back and forth with your finger. If the 8th spot on the LCD flickers, adjust the sensitivity.
        TRG ACE

        DSP BRIT:
        DSP BRIT menu. This menu is to adjust the display brightness. By pressing the bottom button the display will become brighter or less bright. It is adjustable to 100%, 80%, 50%, 20% values.

        That is it for the MENUs. The list above is just the USER adjustable MENUS of the marker. To view the additional options of the Xmod 1.4 software refer to the manual. They are good to know so that you can fully troubleshoot your marker if something goes wrong.

        Additional NOTES:

        Testing Solenoid: A simple test to see if your solenoid is wired correctly: In the MOD menu select RELS. Pull the trigger to exit the menu. Now pull the trigger and hold; it should not fire. Slowly release the trigger. Do this numerous times as some people's "slow" is another person's "fast". If the marker fires/or the solenoid clicks only once EVERY time you do this, your Solenoid is wired correctly. If you release the trigger and at any time it fires multiple shots or anything more than one shot, then your solenoid is wired incorrectly. To fix this, de-solder the solenoid wires from the board and flip them. Re-solder the solenoid and retest with the above steps. If it is worse then the first time, (that would be weird) then re-solder your solenoid to its original configuration. You will have to use the FIX to correct the gun from running.

        Saving settings:When saving your settings, you ALWAYS have to pull the trigger. It is not necessary to pull the trigger then switch to a different option, change it and pull the trigger to save it. You can change all of the menus to different values, THEN pull the trigger. This will save all the menu changes.



        Testing:
        Marker: E-mag, Black X-valve, Cord V1 body, dual ball detents (mac dev), ULE/E-mag custom rail, C&C x-mag battery case, ULE/x-mag Grip Frame, X-mag ACE, Carbon Fiber Grips, TL63 blade Trigger, 68/4500 Flatline. Lapco Barrel.

        Feed: Halo B W/ Cheetah board & Rechargeable batt pack.

        Pressure input: 1000psi on flatline system.

        Paintballs: Dusk, white/green (nasty brittle garbage)

        Flash: Xmod V1.4 beta

        Settings: Emode, Dwell: 14MS, ROF: 20BPS , ACE ON

        I tested the above marker in my backyard on all firing modes. Checking for bugs or full auto issues. I fired roughly around 100-200 rnds on each mode. Below is a quick note on each.

        SEMI: works like it says it does. Pull the trigger, it fires.
        RELS: Again, pull the trigger, it DOES NOT fire. Release the trigger, it fires.
        BRST: Tested all burst modes. My ROF had to be set at 15BPS. If your ROF is set high and your ACE is on, you may experience missed shots. Adjust ROF to fix.
        FULL: Pull the trigger and hold. Marker fires full auto until trigger is released.
        NXL: Walking the trigger, as soon as I hear the marker ramp, hold the trigger down. It fires full auto until the trigger is released.
        PSP: Walking the trigger, marker begins to ramp. If trigger is held down, only 3 shots will fire and end the cycle.
        HYPER: Pull, it fires; release, it fires. When walking, it is basically full auto with a little work. :P
        PR-T: Semi auto, it showed my ROF achieved in the display.

        I also tested some of the additional features.

        ACE toggle. I tested the ACE toggle with no paint. Using my finger in place of a ball. When I would press the bottom button, the ACE would toggle. If the ACE is "on" and you press the bottom button, it will turn off. To reactivate the ace, you have to hold bottom button for 1 sec. This turns the eye back on.

        Fried board test. Does exactly as the manual says.

        Automatic Warp advance: Works exactly as manual says.
        Manual Warp Advance: Works exactly as manual says. BOTH OF THESE MODES NEED TO BE INTELLIFEED TO THE MARKER TO WORK!!!!

        Electronic POS: Works exactly as manual says.

        Tourn. LOCK. Have not tested yet, need to find my burst jumper.


        Video 1.




        I start firing with Full Auto, 20ROF, ACE ON, Dwell14ms. After about 12 shots, it seemed too slow. I turn the ROF to 28 BPS. The marker shoots perfect. I have one chop, but I believe it was my HaloB because the paint was blended in the feed cone and neck.

        More videos to come. Give me a little time.

        Ohh and my overall opinion... well does anyone know how I can get my $130.00 back from tag sportz for the 5.0 emag pred board??? Need I say more?

        Comment

        • professor_chaos
          ..........AO-OK..........
          • Jun 2004
          • 579

          #109
          Very nice , time is up we need more videos. Might have to get back into the mag family

          Comment

          • BigEvil
            www.BigEvilOnline.com

            • Feb 2005
            • 9333

            #110
            OMG!!!

            Comment

            • Majinebz
              Registered User
              • Sep 2004
              • 295

              #111
              Ohhh I need a little more time then that. Say tom I will have a new one or 2 up by the evening, I went snowmobiling all day. Then I sat down the rest of the evening building my dads new desktop. Ohh and bigevil aren't you the one who has been keeping everybody posted about the Tag emag boards?? Well where are they?? Better yet, wheres my money cause I dont need it now!!!!

              Comment

              • LorneCash
                Got XMOD? www.NiedTech.com
                • Aug 2005
                • 365

                #112
                User Guide

                11 page User Guide Available

                I have written an 11 page user guide for the Release version. The project is still in the beta testing phase but will be released to the public soon!!! If there is anyone who would like a copy of the user guide now please send an email to [email protected] with the subject: "XMOD User Guide Request" Also Please put your name in the message. When you request this guide i will save your email address and send you a copy of the Flash and EEPROM files as soon as i release them.
                Last edited by LorneCash; 11-11-2007, 02:48 AM.

                Comment

                • AGDlover
                  And boom goes the dynamite
                  • Aug 2003
                  • 3322

                  #113
                  ... i love yo....
                  Euro E-mag | TL63 | XMOD| EM01610
                  Euro Rt | OG | RT02382.

                  Comment

                  • BigEvil
                    www.BigEvilOnline.com

                    • Feb 2005
                    • 9333

                    #114
                    Originally posted by Majinebz
                    Ohhh I need a little more time then that. Say tom I will have a new one or 2 up by the evening, I went snowmobiling all day. Then I sat down the rest of the evening building my dads new desktop. Ohh and bigevil aren't you the one who has been keeping everybody posted about the Tag emag boards?? Well where are they?? Better yet, wheres my money cause I dont need it now!!!!
                    Hell, I dont blame you. That whole situation is pissing alot of people off. Tag told me that if I could muster up 50 people who are interested and would commit to it then they would "run their design of the emag board". That was what, 7 months ago? DOnt get me wrong, I love the TAG stuff, but what good is it if you cant get it?

                    Coolhands Eframe is also being held up since he is waiting for their new DIY boards for them. He has 15 people who paid somewhere around $400 a pop for those frames and they are sitting on their hands waiting too.

                    And btw, I dont work for TAG or am in anyway affiliated with them. Im just the schmuck who came up with the idea for the emag board and convinced them to go ahead with it.

                    This is the LINK to Bob Sandifer's post on his forum about offering refunds to anyone who wants them. Take him up on it.

                    This Xmod software looks awesome. Great freakin job.
                    Last edited by BigEvil; 12-28-2005, 09:10 PM.

                    Comment

                    • LorneCash
                      Got XMOD? www.NiedTech.com
                      • Aug 2005
                      • 365

                      #115
                      Public BETA Release

                      OK guys, I need more beta testers. If there is anyone out there who has a programmer that can flash their own gun send me an email. If you would like to test the software and need a programmer so you can flash your own gun, they will be in stock tomorrow and I will be placing an initial order for 10. The price is $100.00 shipped. I prefer PayPal but any way I get the money will work. I will pay for standard ground shipping to continental US. Contact me by email if you have any questions.

                      PayPal:
                      [email protected]

                      The first 9 people to send me money will get them ASAP. (I'm keeping one for myself) I plan on keeping at least one in stock at all times so i will order more when i have to.

                      I will email the BETA 1.5 flash and current User Guide on January 2, 2006.
                      Last edited by LorneCash; 11-11-2007, 02:48 AM.

                      Comment

                      • temilotzin
                        Little Huitzil XT00354
                        • Mar 2003
                        • 204

                        #116
                        Originally posted by LorneCash
                        OK guys, I need more beta testers. If there is anyone out there who has a programmer that can flash their own gun send me an email. If you would like to test the software and need a programmer so you can flash your own gun, they will be in stock tomorrow and I will be placing an initial order for 10. The price is $100.00 shipped. I prefer PayPal but any way I get the money will work. I will pay for standard ground shipping to continental US. Contact me by email if you have any questions.

                        PayPal:
                        [email protected]

                        The first 9 people to send me money will get them ASAP. (I'm keeping one for myself) I plan on keeping at least one in stock at all times so i will order more when i have to.

                        I will email the BETA 1.5 flash and current User Guide on January 2, 2006.
                        Put me down for one! Just paypaled you the funds. Can't wait to try it out, yahoo!

                        Comment

                        • KayleAGD
                          Master tech.
                          • Nov 2000
                          • 582

                          #117
                          Has anyone tried using normal IR eyes with a emag board ? If I am correct all the board is looking for if a +5 signal saying there is a ball there. In the case if IR eyes the board would look to fire when +5 is not present on the input . Correct me if I am wrong.
                          This addition to the software would allow people with ULE bodies to use emag lowers with IR break beam eyes..
                          "It's my buddies gun"
                          "I just bought it"
                          "It came that way"
                          "I borrowed it "
                          I HAVE HEARD THEM ALL, SO BE ORIGINAL !!!

                          My gun says I'm holding it back from doing great things ...

                          Comment

                          • BigEvil
                            www.BigEvilOnline.com

                            • Feb 2005
                            • 9333

                            #118
                            Originally posted by KayleAGD
                            Has anyone tried using normal IR eyes with a emag board ? If I am correct all the board is looking for if a +5 signal saying there is a ball there. In the case if IR eyes the board would look to fire when +5 is not present on the input . Correct me if I am wrong.
                            This addition to the software would allow people with ULE bodies to use emag lowers with IR break beam eyes..

                            I think there is a programing difference between how the software uses reflective and break beam eyes to detect a ball. My brain is a little fuzzy right now, but I think it has something to do with the way the voltage works on the different eyes.

                            I think this is the article that explains the hows and whys
                            Linky

                            Comment

                            • KayleAGD
                              Master tech.
                              • Nov 2000
                              • 582

                              #119
                              Originally posted by BigEvil
                              I think there is a programing difference between how the software uses reflective and break beam eyes to detect a ball. My brain is a little fuzzy right now, but I think it has something to do with the way the voltage works on the different eyes.

                              I think this is the article that explains the hows and whys
                              Linky
                              great link , that explains how the board looks for +5 to fire or looks for the loss of +5 input on the board, this could be an easy option change in the programming for the different types of eyes .
                              Also someone could use a transistor to make it trigger a +5 pulse to show the ball
                              "It's my buddies gun"
                              "I just bought it"
                              "It came that way"
                              "I borrowed it "
                              I HAVE HEARD THEM ALL, SO BE ORIGINAL !!!

                              My gun says I'm holding it back from doing great things ...

                              Comment

                              • LorneCash
                                Got XMOD? www.NiedTech.com
                                • Aug 2005
                                • 365

                                #120
                                Originally posted by KayleAGD
                                great link , that explains how the board looks for +5 to fire or looks for the loss of +5 input on the board, this could be an easy option change in the programming for the different types of eyes .
                                Also someone could use a transistor to make it trigger a +5 pulse to show the ball
                                The ACE is checked like this:

                                sbic PINB, ACE ; If ACE senses a ball
                                rjmp SOME_LOCATION ; Goto Some_Location


                                sbic is Skip next instruction if bit in IO register is cleared (0). The Register is named PINB and the Bit I'm checking is ACE which is a map for bit 6.
                                rjmp is relative jump to Some_location in memory.

                                It sounds like if you wanted break beam and you had it hooked up correctly all i would have to do is change that instruction to a sbis, Skip next instruction if bit in IO register is set (1). I would be more than willing to do this if someone wanted to try it. You let me know when you have your gun modified and changing the code will seriously take me 20 sec.

                                Comment

                                Working...