New OSK for Garmin MPC.
Now that I can scroll lists in Garmin GPS with the Encoder, I decided to revise the OSK and allow it to cover the bottom of the refined search lists.
Two screen shots of the OSK in text and Num modes and a small video of it working.
You should def. release this on AutoAppMart. Just saying. :D
Hope to get time to do that in the near future. OSK is almost stand-alone, just need the time to fully extract it from the FE :playball:
wow... Just wow. This has got to be the most impressive systems I have seen. I will be looking over it again in hopes to implement some of the ideas in my nect design... Wife permitting ;)
Sent from my SCH-I500 using Tapatalk
USB - resume.
USB ports, Software and Resume from suspend (to Ram in my case)
I found during the course of this project that any PC software that sends to a USB port as the OS is setting the hardware and software for suspend can (in my case usually does) cause the PC to not resume from suspend.
The familiar “Windows” screen “Computer did not shutdown correctly” is shown for a second as a cold boot takes place. In the case of my MB and M4ATX PSU combination the thing goes into a loop trying to start, but only with suspend to RAM though.
I made changes to the Interface Controls Micro to monitor the state of the Manual override on/off switch (IGN Line on the M4) and the ACC +12V. When ACC +12 is low (below 10v) or +12v on the M4 IGN line disappears, the Frontend stops all USB port activity. It also turns on the hardware Mute circuit at the input to the AMP. Once power is back or the PC resumes from suspend and the FE is running, an un-mute command is sent to the AMP mute control. Not even the faintest click can be heard with this Mute system.
Now to the interesting part, on the odd occasion the PC would not resume from suspend correctly.
I realised “eventually” that it only happened if I cleaned the LCD screen while in suspend. Turns out that this action of sending touch screen data to the USB port while in suspend causes the resume to fail. However my other USB devices and USB GPS receiver all send data to the USB ports while the PC is in suspend and cause NO issues. Go figure.
BTW, it’s not an OBVIOUS +5v standby, over current or other typical USB hardware problem. At least nothing that shows up with digital or analogue multimeters. I‘ll put a CRO on it when I pull the system out to relocate it for the final time, just in case there is some glitch that’s not visible with standard equipment.
Either way I’ll make a fix for it when I have the time, in the meantime no cleaning the screen when in suspend.
---------- Post added at 04:05 PM ---------- Previous post was at 03:59 PM ----------
Originally Posted by robsch
Thanks robsch, must admit that I have seen some that are really over the top no money spared impressive but for my modest outlay and make it up as you go along endeavour, I’m pretty happy, just need to finish it and post a video of the installed system running. One Day!
Had some time yesterday to knock up a couple of graphic meters for my FE Voltage/Current monitor.
1. Accessory voltage.
2. Aux battery voltage.
3. Aux battery charge current.
4. Main battery voltage.
The Picture and video show it running on the test bench. I’m swinging the input voltage to one of the meters in the video. The meters are accurate and track (as visually possible) my digital meter.
Flashing screen LEDS indicate communication data with the Controls microprocessor.
BTW. Video quality is not that good.
Meters Quicktime Video
UPDATE: I now have 8 meters available for basic PC and vehicle voltage/current monitoring.
When each meter is touched, a second (or third for a total of 12) meter can be selected or cycled through for each position. It keeps the screen uncluttered and easily readable at a glance.
I added a meter for reading the steering wheel pushbutton voltages, a meter for monitoring 12v supply to the HVAC CPU and a meter to read the Dash Light PWM signal that controls the Car PC screen brightness. These are handy to me for diagnostic and/or system interface mods further down the track.
I came up with a great solution for ON-Off, Suspend and shutdown options using just one switch, most likely been done before but something to keep in mind when designing a system.
With most PSU designs there is an input line to the PSU to turn the PSU-PC on and off. In the M4 it’s called the Ign line. A voltage on this line turns the PSU on and, it in turn, sends a start pulse to the MB on/off connector, just as you would do when turning the power on and pressing the on/off button on a home PC.
Removing this voltage causes another pulse to be sent to the MB on/off connector to shut the PC down into whatever state is set in the Bios and Operating system for Power button action, following this, the PSU usually goes into some low power state and waits for the Ign (on/off) line signal to go high.
In my case I have the PC set to suspend to Ram (STR) and because I sometimes don’t drive for a few days at a time I have a button on the FE menu that allows me to shut the PC down, as opposed to automatically going into STR when the vehicle is turned off. I was looking for a way to remove this menu item.
I have a locking push button (locks on or off as opposed to momentary) between the Accessory line from the vehicle and the ign (on/off) line to the M4. This gives me the option of not starting the PC when the vehicle is turned on, or to STR without turning the Ignition (motor) off. Normally the switch is left ON for automatic start/suspend operation of the Car PC.
I realised that it’s a simple matter to monitor the voltage on the switch AND the Vehicle ignition line. I already monitor the line coming from the switch to the PSU. I did this to stop the FE software sending data to USB ports as the PC is going into STR. This solved a strange resume from STR problem I was having.
By monitoring the Ignition ON voltage from the vehicle Ignition switch (as opposed to the accessory voltage position) I have now incorporated simple logic into the FE to Shutdown the PC (not STR) when the On/Off switch feeding the M4 Ign line is switched off while the vehicle Ignition is switched ON (all dash gauges and dash indicator lights on and/or motor running).
If the vehicle ignition switch is in the “Accessory position” and the M4 ign-line switch is turned off or the vehicle ignition is switched off completely the PC automatically goes into STR as before.
Simple, elegant and no menu to select or screen input needed.
I probably should read back through your thread to find it but how were you monitoring the voltage?
Something like a fusion brain would do it, Mitch has an interface box as well. I designed my own micro interfaces.
You only need to use digital inputs not ADC inputs as you’re just looking for a voltage being on or off, so a 15v to 5v resistive divider on two digital inputs are all thats needed.
Finally, I have the controls, layout and operational interface set (not in stone but close).
I was planning to wait a while before adding the iDrive style interface hardware, but a sudden realisation that I could mount a panel in place of the drinks holder in the centre console bought that forward. I had wrongly assumed (in the past) that I would have to remove the auto opening door from the drinks holder, however a closer look revealed the door and pocket came away as one unit.
It was then a simple task to add a fascia panel without any modifications to the existing console.
So after 5 hours of work, here is a quick picture, please excuse the blur, the flash washed out everything if used so dim lights and hand movement is the result.
This panel sits between the Centre arm rest and the Gear shift lever and is in a perfect position to comfortably use without having to reach. The long opening is for the Hand Brake lever.
The buttons have inbuilt LED’s that illuminate the outer ring around the button. Looks great at night and I have taken the PWM signal from the dash controller and used it to control the brightness and illumination of these buttons.
I had earlier combined the Volume and iDrive encoders but decided that a separate volume knob was indispensable. This arrangement has turned out better that I had hoped for. Controlling the FE with this is an absolute joy.
I can at last get around to making the cover panels for the screen and controls.
As a side note- Found a way to detect when the PC is going into standby, but more importantly detect it coming out of suspend/standby. Occasionally I would have to move the volume knob to un-mute the system on resume from STR, now it works faultlessly.