Announcement

Collapse
No announcement yet.

Front-end as a website (PHP, Jscript, CSS)

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

  • Front-end as a website (PHP, Jscript, CSS)

    There might be some interest in my project. I wanted a customized carpc front-end. Since I am a web developer, I decided to create it with PHP, CSS, and Javascript. I serve the front-end as a website using Xampp as a standalone server on my carpc. With one-touch buttons on an 8" touchscreen, I can navigate and play audio files, search google, send emails (now I can stamp them with the current GPS coords), and make Skype calls. The architecture is all open-source and there does not appear to be any application I cannot execute and customize for my screen. I cloned it to my office PC, and I can do one-touch updates of the software in either direction through a remote server. For instance, I can download an mp3 or modify a system file on my office PC, then the next time I am in the car, I hit the update button and the system loads all of the changes.

  • #2
    if it was as awesome as you say i might be interest
    English is not my first language so if I say something weird just say it to me and i try to be clearer :) :)

    Comment


    • #3
      And what happens when you hit a dead-zone, i.e., no internet on the back roads of Southern Illinois?
      HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

      Comment


      • #4
        Originally posted by GizmoQ View Post
        And what happens when you hit a dead-zone, i.e., no internet on the back roads of Southern Illinois?
        the website is hosted locally. So it should work unless the back roads of Southern Illinois have a disruption field that breaks your localhost connection....
        Former author of LinuxICE, nghost, nobdy.
        Current author of Automotive Message Broker (AMB).
        Works on Tizen IVI. Does not represent anyone or anything but himself.

        Comment


        • #5
          I'm very interested. See our thread about the upcoming afkfest demo. We are using an embedded linux device (a Sheeva plug) which includes an Apache server.

          Included services on the embedded device interface with the car to provide location and OBDII information. I'd like to demo the ability to pull that information up in a web browser. A web front end would be even better.

          In the car is a local WiFi router hotspot that provides the LAN connection. At the AFKfest, we will substitute a WiMax router that will provide both local WiFi and external internet access. Would we be able to log onto the web front end from a browser that is not in the car?

          PM/email me. I have the ideas but not the experience to program much of this.
          Originally posted by ghettocruzer
          I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
          Want to:
          -Find out about the new iBug iPad install?
          -Find out about carPC's in just 5 minutes? View the Car PC 101 video

          Comment


          • #6
            I have thought about this type of front end in the past and wondered why it hasn't been done before. Really you have all the tools available and it is all just data in some way or another. Give it a go and show the world SNO

            Comment


            • #7
              Web Front-End

              - Sprinter work van
              - 1.66ghz mini-itx with TinyXP
              - Ethernet connected to Cradlepoint wireless router
              - Verizon Broadband modem plugged into cradlepoint
              - 8" Lilliput touchscreen
              - Xampp server installed on PC, MySQL database
              - Using tweaked version of Firefox (larger font, icons, scrollbars)
              - modules are written in PHP and Javascript
              - Look and feel controlled by simple CSS file
              - Optimized virtual keyboard for those modules that need it.
              - Does not need internet connectivity for audio & gps
              - Fairly small and simple code package, enhancements to graphics and adaptation to different screens easily done through CSS file.
              - When I want to add a new feature, I just clone one of the modules, modify it for the application, add a button to the menu, and it is done.
              - I just took the van on a 3500 mile trip through the West. Even without an external antenna, I had broadband internet about 80% of the time.

              I looked at several open source front ends, but my C++ is rusty, don't like VB, and wanted complete control of all levels of the system. Since I design and maintain websites, writing the front-end in PHP and Javascript was a natural choice, and serving it as a website to the touchscreen was simple and gives me extreme control over the layout through a single CSS file.

              My layout now is very crude and simple, just a menu of buttons, but it can easily be enhanced later after I have developed a few more modules. I am in the environmental science business and I developed the front-end as a way to easily monitor and control USB and serial sensors and instruments while I am on the road. Of course the audio is nice and I can email my office and my wife with my current GPS coords with a push of the button.

              I have a backgound gps process that wakes up every minute and tests the current gps position. If the position is different from the with the last recorded position in the MySQL table by an amount specified in the Configuration module ( I have it set to 1 mile) , then position is recorded in the table and various instruments can be polled for data and recorded.


              The same system runs on my desktop, with the screen defined by a border to match the touchscreen size. I can do all the modifications and development and testing at my desk, then push the Upload button and the system is mirrored to a remote server. In the van I can download the system with a one-touch button. The database can also be dumped/restored the same way.

              I am in Washington state. My short term plan is to drive to Florida in November to see one of the last shuttle launches. I want to have the front-end the way I want it. Just for fun, I'd like to be able to auto-capture a database of gps-tagged parameters and images of my journey. I still need to integrate a camera, OBD-II, and some environmental sensors (temp,humidity,total hydrocarbon,background radiation, etc).

              I don't know if anyone is interested in this system. I takes some tweaking to make it all integrate and I didn't develop it for any use but my own personal application. However, it seems to me that someone who knows how to tinker with this stuff could build on it.

              Comment


              • #8
                I like it and would like to see some examples/screenshots.

                Comment


                • #9
                  Screenshots

                  It's going to take a while to do screenshots, etc. I am trying to get quarterlies done, deadlines. I will try to post some shots sometime this week.

                  Comment


                  • #10
                    I'd love to demo this at our afkfest in August. Is there any way for us to do that?
                    Originally posted by ghettocruzer
                    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
                    Want to:
                    -Find out about the new iBug iPad install?
                    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

                    Comment


                    • #11
                      Very cool idea, loved it.
                      Worklogs: 08 Sequoia Platinum Carputer (In Progress!)
                      Skin: MetroSex on the Beach preview

                      07 Infiniti Fx35 (done!) & 06 Infiniti M35 (gone...)

                      Comment


                      • #12
                        Bugbyte,

                        Thanks for the interest. Getting this system ready for demo to a critical audience on a strange car all the way on the other side of the country in just a few weeks sounds like a job for a young man who does not need to sleep. I am an old guy with a bad attitude and a day job. I checked out your website and you have got a sweet project. I appreciate your interest in mine. I will continue to polish it up as I get time to work on it. Maybe by the end of the summer I will put the code and my notes out there. There are much sexier front-ends, but it might fit the bill for some DIYer. Thanks again and good luck at Afkfest. You have got your hands full.

                        Comment


                        • #13
                          I understand completely. However, I'd like to keep this project moving along. I'm more interested in the experimentation end, so it doesn't matter whether it looks like a group of buttons on a screen and nothing else. What is of interest is the web basis and php underpinnings.

                          If you read about our OSDash project, you'll see that the services in OSDash, such as the location service, are perfect for a web front end. Obviously, they are useful in the polished and popular ones as well, but the work for a web FE.

                          One of the most popular things people do here is skin their FE's. Consider a service that would customize the layout of the web front end. People could build their own look and feel and you could simply point to it and download to your car and use it.

                          One thing I've been discussing with Chunkyks is a pre-configured plug computer with a built in OBDII chip and perhaps bluetooth. This plug would access and be configured using a web front end on a server that came on the plug. Your front end is exactly the type of thing we're talking about.

                          Keep us updated on your progress. There is definitely interest on my end.
                          Originally posted by ghettocruzer
                          I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
                          Want to:
                          -Find out about the new iBug iPad install?
                          -Find out about carPC's in just 5 minutes? View the Car PC 101 video

                          Comment


                          • #14
                            Has anyone ever thought about doing this with adobe flash or MS silverlight? Seems like either of these technologies can bridge the OS/FE gap we currently have.

                            Comment


                            • #15
                              Originally posted by Nextabyte_Matt View Post
                              Has anyone ever thought about doing this with adobe flash or MS silverlight? Seems like either of these technologies can bridge the OS/FE gap we currently have.
                              html5?
                              Former author of LinuxICE, nghost, nobdy.
                              Current author of Automotive Message Broker (AMB).
                              Works on Tizen IVI. Does not represent anyone or anything but himself.

                              Comment

                              Working...
                              X