Announcement

Collapse
No announcement yet.

DS-ATX software interface

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DS-ATX software interface

    Hello people, i'm currently building for myself a graphical interfce for my newly purchased dsatx and i was wondering if anyone else would be interested in using it. I m no expert when it comes to this type of stuff so bare with me until i get it done and over with. If there is interest for it i ll release it for everyone to use and integrate.
    So far my stand alone version, based on flash/apollo looks like in the image i attached. I will be adding another page to the interface for displaying the real time stats the power supply is providing.
    Any feedback is more than welcomed
    Cheers
    Alex
    Attached Files

  • #2
    good work...looking forward to this

    Comment


    • #3
      same here. If I could control my brain stem through a GUI it would make it that much better IMO.
      Jan Bennett
      FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

      Please post on the forums! Chances are, someone else has or will have the same questions as you!

      Comment


      • #4
        Looks great!

        Perhaps also add the units used for each variable (eg: 1 = 10mV), or if you are already doing the math via your code, perhaps just the range that it will accept.

        I would love to have 'Time till shutdown' available as a tag that I can view within roadrunner.

        Cant wait till you release this.

        Comment


        • #5
          Thanks for the feedback people,
          this thing is really flash based so i could export it to swf and let other people integrate it with their frontends, unfortunatelly i don t know anything about integration and don t have enough time on my hands to learn.
          This is going to be geared twords people that want to monitor their dsatx continuously, so yes, a count down timer will be shown, together with temperature and voltages i guess.
          There is one more feature that is the reason behind me building this app, which is a possibility to delay the shutdown but this requieres a small firmware modification by jeff. Take this scenario for instance, i get home, the wireless network connects and starts syncronizing, i turn the engine off, the app senses that and presents me with a menu: shutdown now, delay shutdown with 15 minutes, delay s/d with 30 minutes, i press the appropiate button, lock the car and go home knowing it will get to sync and shut down.
          The drawback so far for my app is that it requieres a serial to tcp/ip software converter. There is a free java version of this available, but it ain t all that stable. Anyone have any other solution for this?
          I could use some projector software for this, but i don t know any free one with comm port access

          /edit: comfoolery seems to be the best bet for rs232 to tcp/ip conversion. If anyone has the 1.0 version without the nag screen please let me know

          Comment


          • #6
            OK,
            I will try and upload a working version of this(no real time nice looking monitor yet, and no setting through point and click but through typing, yet)
            What you need:
            adobe apollo runtime
            http://labs.adobe.com/downloads/apolloruntime.html
            and serial server or comfoolery installed and set up for the com port on which your dsatx resides.

            you can download the test from here:
            http://www.tzapu.com/up/cpc.zip
            very important, you need to rename the file from cpc.zip to cpc.air so it gets installed

            p.s you need to pres the (I) button to cycle through screens

            Comment


            • #7
              It would be nice if it just flash base (I'm not sure if it can do that).
              2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
              89 Supra Turbo P3 [email protected]/Abit BE6 II, Alpine M-BUS Car2PC.
              Y2K Accord Dell GX150
              RoadRunner is the best FE PERIOD
              EmoRebellion is a SCAMMER

              Comment


              • #8
                i can make the apollo part just flash based, basically a swf that can be run, for people to embed, but until there is someone that actually wants to give it a try, it s easier for me to test it like this.
                p.s. it will still need comfoolery or something quivalent
                if anyone wants to give it a try, give me the size you want the flash in and whatever else you require

                Comment


                • #9
                  What do you think about writing this as a windows service?

                  I currently run AmpCtrl (it runs as a windows service) and all it does it turn my amps on when windows loads, and off before windows shutsdown. This completely stops the turn on/off pops. Only bad thing is that AmpCtrl uses my only DB-9 serial port. (Yes, I know you can use USB->serial adapters)

                  If this app were a windows service, then it could could tell the DS-ATX when to turn on the AMP-ON pin on the DS-atx board. That would remove the need for AmpCtrl, and then also allow you to have an awesome GUI control for the DS-ATX.

                  Jeff (zootjeff - the DS-ATX maker) might also be interested in helping, as this would give his product a huge increase in features, as you would now be able to implement a LOT of features in software to control the current DS-ATX state and timers,.

                  Id also like to get my DS-Atx using USB. Either via a serial->USB adapter, or a different MAXim chip (if there is that kinda thing).

                  Peace

                  Comment


                  • #10
                    Hello,
                    Unfortuantelly I can't make it as a windows service because it's written in actionscript and would requier some porting to some proper programming language which i don t have the time to do. The good side is I have a working flash only version right now(+comfoolery) so it can be included in any frontend and be active once the frontend loads.
                    The whole pourpose of this when i started it was that I needed some kind of interface that when the power was cut(ACC off) from the power source would let me choose the time before complete shutdown, so if i m in a gas station i can choose 10 minutes, if i m going inside my house i can choose to turn it off in 1 min or leave it 30 mins for the computer to wifi sync. Unfortuantelly the ds-atx does not currently have an interface for programatically setting the count down timer after it s started so this is where i need Jeff, if he s willing to do the modifications. I wrote him an email on his site but must of got cought in spam or something as i didn t get a reply if he could or couldn t do this. Also, as far as i know the ds-atx doesn t let you turn the aux on or off as you want but i m sure jeff could add that too. I will post some requiered modifications for jeff to look at soon enough and will pm hiom about this thread to see if it s possible or not.
                    Iceman, there is an usb interface for the ds-atx, mp3car and digitalww have it, search for brainstem. You could build your own though.
                    Cheers
                    Alex

                    Comment


                    • #11
                      flash test version

                      hello again, sorry for the double post
                      I have uploaded a test version: www.tzapu.com/up/dsatx.rar
                      this one is full flash, no apollo need. What you do need is:
                      -get comfoolery or some other serial2tcp/ip software converter and configure it to connect on your brainstem's com port. take a note of the port you set it up to listen for incoming connections.
                      -start the flash app, it needs flash 9, you need to give it full acess rights to the local filesystem(loads the settings from the attached xml file) and the internet(to connect to the serial2tcp converter). You do this by right clicking the flash, click settings, advanced, go to global security settings, edit locations, add location, and enter the path where the swf is located(i.e. 'c:\testfolder\') < I don't know any other way of doing this except not loading the settings from the external file and adding them straight in the swf.
                      -next, refresh the window and go to settings, there enter your dsatx connected machine's ip and port you noted earlier(if local host than just enter 127.0.0.1 for the ip) and click connect.
                      -play with it and let me know

                      The attached settings.xml file contains some of the ds atx strings from the manual, if anyone has a bit of time and wants to contribute ,please add the rest from the manual and upload it here so i can add it to the archive.


                      Requests for zootjeff if possible
                      - make the counter write enabled too, i can then set the counter to whatever after it starts counting, it would help me a lot to achive my goal
                      - make the interval at which the dsatx spits out data configurable, even if it s a multiple of 200ms, for me there is no point in updating the data this fast and i could drop every other packet at least, even a couple, but they will still pass through comfoolery so it just wastes resources.
                      - the manual enable/disable aux above seems an interesting idea

                      Jeff, I hope the above are possible, and will help me, and i m sure others a lot after i'm done with this app. I am asking this because I was under the impression that we are able to upload new firmware through the brainstem.

                      Please let me/us know what you think
                      Alex

                      Comment


                      • #12
                        I already have a DB9->Serial adapter, so I might just use that instead. It comes with drivers which make the USB appear as a COM port, so I can access it with HyperTerminal/Comfoolery.

                        Try posting a thread in the Power Supply section regarding your request to Jeff. He's a busy guy, so a lot of the PM's get lost. He prefers if you post a new thread, so others (and him) can see it and have a paper trail of what is needed for the new features.

                        Comment


                        • #13
                          Here is the updated settings.xml file.
                          All the entries I have added have a * at the start of the line.
                          I have checked them, but please double check if you like.
                          I have changed some of the descriptions to make it a little easier to understand. Feel free to change them again.
                          This file contains ALL the entries for the DS-ATX.

                          Ice
                          Attached Files

                          Comment


                          • #14
                            Cool! This is a really cool development.

                            Regarding the countdown timer writable:

                            Would it be ok to have a reset command that set the main countdown timer to the value that is set in the Timer1 value? Basically, you would be counting down from 10 minutes for example, then you want to set it to 30 minutes, you would write the timer1, then send the reset timer command. That would basically do what you want. It would be easier for me than having the countdown timer itself being writeable. Or maybe it wouldn't be so bad. Thoughts? I guess you might also want a pause counter so it doesn't pass into a new state as your writing..


                            Yes I can make the report multiples of 100ms or so, what would the longest setting be?


                            And yes, I can also implement the Aux On/Off.
                            MPEGBOX - Plexiglass Computer
                            www.mpegbox.com

                            Comment


                            • #15
                              Thank you man, you are the greatest, i think the interval i would set for my computer would be from 600 to 1000ms, but people might want it at 5 seconds for instance, although that would delay the counter showing up. Max at 5000ms?
                              Reseting the counter is ok, but not ideal, let me tell you why, in my particular case i want to set the timer to 2 minutes, so each time i turn acc off i get presented with this screen. If i don t pay any attention, it will turn off in 2 minutes, if i want a delay, i'll press the appropiate button. If it works with rewriting param 1 then resetting the counter, the next time the computer starts, the default delay(unless i program it again) will be the long one, so if i don t pay any attention, i might leave the computer running when it doesn t need too.
                              For the report, i think 200ms, 400ms, 600ms, 800ms and 1000ms should be more than enough really.
                              Thanks again Jeff and thank you very much Iceman. Did you or anyone else get to run the app too?
                              Alex

                              Comment

                              Working...
                              X