*** Q1.0 EMag/XMag Software ***

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alkafluence
    Slave to the Traffic Light
    • Jun 2002
    • 543

    #61
    Originally posted by Miscue
    4000 instructions @ 4MHz = 1 ms. 1 second = 4,000,000 instructions. There is no clock.
    That's what I was hinting at.


    Frequency(F) = 4 MHz

    Period(T) = 1/F = 2.5ns

    So essentially you are going to perform the equivalent of 4,000,000 "no op" instructions (1 every 2.5 ns) in order to calculate out a second. That answers my question.
    Last edited by alkafluence; 10-13-2003, 05:19 PM.


    I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get...

    Comment

    • Miscue
      Super Moderator

      • Oct 2000
      • 7105

      #62
      Edit:

      Ha, you edited your message and my reply made no sense.

      Well, you could do multiple no-ops if you wanted it to delay w/o doing anything else.

      There's a running background cycle counter that can be used like a clock, so you can do things like poll from the trigger while the marker is cycling.

      So, basically it works like this:

      SHOOTING LOOP:
      --If buffered shot or new trigger pull then
      ----Turn on Solenoid
      ----Start Cycle Counter
      ----Begin loop
      ------Turn Off Solenoid after solenoid dwell has passed
      ------If shot buffer dwell time exceeded
      --------check for new trigger pull and buffer if found
      ------Exit loop if ROF dwell time has passed
      ----End Loop
      --End if
      END SHOOTING LOOP

      A 'New' trigger pull means you have to let go of old trigger pull first before the next one is detected. And obviously the shot buffer is cleared after a buffered shot is fired...

      This is off the top of my head... I think this is correct. Well either way, this is the general idea of how my code works... so you can see how it is always checking the trigger after debounce expires... regardless of what firing state the marker is in.
      Last edited by Miscue; 10-13-2003, 06:05 PM.

      Comment

      • Miscue
        Super Moderator

        • Oct 2000
        • 7105

        #63
        BPS Meter - 21% memory still free.



        Way it works: Shot counter increments with every trigger pull. Every 1 second, this counter is reset. What is displayed is the maximum number of shots made in a 1 second interval.

        Comment

        • JT2002
          Registered User
          • Jun 2002
          • 1863

          #64
          sweet. does that reset when u wnat it to? press a button or w/e. now to add soem other stuff

          Comment

          • Miscue
            Super Moderator

            • Oct 2000
            • 7105

            #65
            Yeah... push bottom button to reset to 0.

            Comment

            • sneakyhacker420
              AO's Uber Green Guru
              • Aug 2002
              • 1247

              #66
              must... have... Q 1.0 SOONER!!!!!!
              Proud Member Of The AO Cesspool Since 08-24-2002

              Comment

              • Miscue
                Super Moderator

                • Oct 2000
                • 7105

                #67
                I just realized something interesting... I actually CAN hit 10bps with my tongue... and this whole time I was just joking about that.

                Comment

                • edweird
                  IP lawsuits > innovation
                  • Dec 2001
                  • 1859

                  #68
                  I actually CAN hit 10bps with my tongue...
                  Now that will reel in the chicks 'Cue!

                  AFTICA 4 Life! the low rent (unsponsored) AGD team at IAO
                  Team Sandbaggers: 2k4 Texball Champs of the world!

                  SFL Emag
                  RTP abomination
                  Sydarm + scenario project VM-68 to be featured later.

                  Comment

                  • Evil Bob
                    Evil Overlord
                    • Jul 2001
                    • 1217

                    #69
                    Scroll "INITIATING SELF DESTRUCT..."
                    then have it count down from 5 to 1 on the left LED block,
                    then light random pixels.
                    then scroll "CHUFF CHUFF... HAVE A NICE DAY"

                    -Evil Bob

                    Comment

                    • Schnitzel
                      'Saurus'
                      • May 2002
                      • 754

                      #70
                      so any idea when this project will start rolling out the door?

                      BEST DEALER: RogueFactor

                      Comment

                      • Miscue
                        Super Moderator

                        • Oct 2000
                        • 7105

                        #71
                        Urm... the software is near done - it's ready for play with BPS meter and stuff. Just needs minor polishing, waiting for ACE board to come in for testing. I'll do Knight Rider mode after everything else is done.

                        Rob and BlackVCG have it, as they've been helping me out during the process by testing.

                        Need an ok from AGD before I can give it away... otherwise, I think it could be 'ready' a couple days after I get the ACE. I say 'ready' because it hasn't been thoroughly field tested. So far it's "bug-free," and works perfectly... just has minor things missing.

                        Comment

                        • purplemag
                          Triple F
                          • May 2003
                          • 253

                          #72
                          Great stuff!

                          Have been reading the thread about the version you are playing with. Looks awesome to me. So would it only be available from you, Rob and BlackVCG? I know you are getting approval from AGD, does this mean they would still service the gun and all? Thanks!!

                          Purely Purple ULE Retro mag
                          LX Inside (No chops since 2002)
                          SP Max flo 88/45
                          My Paintball Pics

                          Comment

                          • Miscue
                            Super Moderator

                            • Oct 2000
                            • 7105

                            #73
                            Well, at the moment... I would imagine that my stuff would void warranties w/o a thumbs up. I'm not really in the process of getting 'approval' because I haven't tried to push the matter... everyone has been busy.

                            My current settings are less conservative than AGD software, but so far it seems to work fine w/o consequence. The 33% shorter solenoid dwell (I think 3.0 still has 30ms dwell) so far has been holding up ok, but I'll increase that the instant I think there is a reliability issue. Otherwise, this shorter dwell will lengthen battery life.

                            If I put in a shot counter, which I just haven't got to yet... and finish up the ACE stuff once I get one to play with, it will be functionally equivalent to 3.0/3.2 for the most part, with the extra stuff I added.

                            At worst, I'll continue to use it myself... and maybe the few people I gave it to... and the rest of you can be jealous. But I'd rather share it with whoever wants it.

                            Comment

                            • ah137
                              Registered User
                              • Nov 2000
                              • 569

                              #74
                              NVE-mag
                              Certified Airgun Tech.


                              Comment

                              • Miscue
                                Super Moderator

                                • Oct 2000
                                • 7105

                                #75
                                Pulsing the solenoid for a fraction of a millisecond does the same thing... without having to move stuff around for the sake of convenience. Post what you have in here, if you'd like... I'm curious. What I have I did in about 10 days, roughly... and it close to a finished product.

                                Comment

                                Working...