Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:17 17 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Micromite in a car ....

Author Message
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 01:06am 12 May 2015
Copy link to clipboard 
Print this post

Hi,

has anyone a working solution for powering the Micromite from the 12 v in a car?
i fear resets and other mystical problems.

so if anyone have running a pic in his car so please show me your layout for 12v to 5 volt.

thx
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2934
Posted: 02:20am 12 May 2015
Copy link to clipboard 
Print this post

Hi Plasma,

I used to design car alarms and can only say that I used plenty of caps on the input and around the vRegs for the simple reason of excessive 'noise' under the bonnet.

Typically I used a 9v vReg and a 5v vReg - from memory just the good old fashioned 780x family.

This was several years ago, and the MCU I favoured were the 8bit PICs. Since those days there have been many automotive grade power supply chips that have come to market. These may be 'overkill' but you may find a good one that does the job (no experience with these so I can't offer any comments).

Hope someone else may be able to shed some more light on dedicated AutoMotive chips for you . . .

One final thing, why not quickly build a very simple test unit with 9v & 5v regs + caps, stick on a minimal MM circuit and write a quick program that flashes an LED to show the MM is alive. Ensure OPTION AUTORUN OFF is selected, and don't use any watchdog. Then just put the circuit into the vehicle and leave it running. This test setup won't flatten the vehicle's battery (use CPU 5).
Now if the LED stops flashing then you know you have to 'improve' the power supply circuit. If it is still flashing days/weeks later then all is good.

You can also use this test no matter what power supply circuit you end up using to ensure it is ok. Things can be added such as a cheap LCD (no backlight) and display the MM's Timer value. This way, if the LED stops flashing, then you get a good indication as to how 'soon' it stopped - this may help pinpoint the issue (i.e. the wipers went on . . . .. )

Good luck!

WW





 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 02:25am 12 May 2015
Copy link to clipboard 
Print this post

i cant test it because the car is 300 km from my home.

gtx
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2934
Posted: 02:49am 12 May 2015
Copy link to clipboard 
Print this post

Is the car in 'daily' use? If so, could you ship a 'test' unit to be installed by someone that can then keep an eye on things?
Cost of parts would be between 10-20Euros so not too expensive to try.

However, you would need to have OPTION AUTORUN ON and then simply add a push switch that starts the flashing LED (and resets the timer if you do an LCD version).

I have mentioned this test unit as I am a big fan of getting a working 'test unit' in place as soon as possible - it is a great motivator.

WW

 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 09:23am 12 May 2015
Copy link to clipboard 
Print this post

Hi
I have my Micromite Bluetooth interface in the car with NO issues.
I also have a PIC 12f509 that auto close my windows with no issues.

Lots of decoupling caps

Jman
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2949
Posted: 11:52am 12 May 2015
Copy link to clipboard 
Print this post

Hi Paul,

This has come at the right time for me, I have been arm wrestling with GpS units in my wife's car.

They basically never charge and progressively run down till they are flat. I have tried cheap Chinese units and expensive name brands to the same affect. I must have tried 30 different cigarette lighter chargers and modified cables to short the 2 centre pins, solder resistor networks up and down to force high charge rates..

Now the gps units will charge from near flat to full in a few hours with the screen on with them plugged into a mains charger, either iPad charger or Samsung charger..

I am suspecting these ( modern buck switching mode ) cigarette chargers are susceptible to noise from the CAN bus circuitry.. I have searched till I have gone mad(er) for a good old fashioned 7805 based charger.. But they seem to no longer exist.. I intend, next step, to use a rectifier input , lots of filter caps ( the rectifier so the filter doesn't upset the CAN signals) and a well heat sunk 7805 reg.. But of course this will NOT be a small charger... And the wife won't be happy with it taking up most of her valuable lipstick and make up storage space on the console.. If it works I will post back and let you know.

Regards,

MickEdited by bigmik 2015-05-13
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 12:05pm 12 May 2015
Copy link to clipboard 
Print this post

Mick
are you thinking that the chargers are the problem? I have no trouble charging my Nokia phones and other gadgetry in the car. Is your car the problem? It detects a foreign body and deprives it of food.
Bob
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2949
Posted: 08:50pm 12 May 2015
Copy link to clipboard 
Print this post

Hi Bob,

I have tried literally about 30 different chargers and cables all to no avail and even an expensive Thermaltake triple output modle that is supposed to be 4.8A and has the iPad style and Samsung and other equipment types of `protocol' to set various charge limits but the bl@@dy thing keeps going flat and shuts down (will shut down whilst driving. I get a max of about .5A on the car chargers (with a WiFi camera in series as well) where as I get .7A charging on a plug pack 240V charger off the mains.

I have, of course tried various cables and nothing is quite working..

I suspect as the chargers these days ALL use the `buck' switching IC that it cannot handle the `noise' of the cars power source, the next step is what I mentioned above or power derived directly from the car battery where the noise should be considerably less.

I am fairly convinced that it is CAN bus or other interference..


I have tried, unsucessfully, to locate a source of the old style analog cigarette car chargers but they no longer seem to exist.

Regards,

Mick



Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2934
Posted: 09:18pm 12 May 2015
Copy link to clipboard 
Print this post

Mick,

Can I confirm something - are you plugging all these different things that you have tried into a cigarette lighter socket within the car?

If so, then first obvious thing is to check the socket is kicking out 12v (ish). Then have you got a 'spare' plug from all your different devices to 'hack' together a simple LED & resistor test circuit that when plugged into the socket will light up the LED.

Then make a lead that effectually connects the power to the necessary 'charging' pins on the GPS lead.

Now I guess you have tried something similar to the above but I remember when my job involved working on cars that lots of people had 'issues' with their cigarette lights. The most common issue was a 'short' centre pin and hence not making contact (a bit like our cheap breadboards!); the next issue was simply a blown fuse! Then occasionally you came across one that had power, but couldn't drive the intended circuit (possibly what you have). This was resolved by re-wiring a new 'thick' wire from 12v to the socket and including an in-line fuse (typically 3A).

Will be interesting to get to the bottom of this one . . . .

WW
 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 11:57pm 12 May 2015
Copy link to clipboard 
Print this post

hi,

at the moment i use a layout with an old fashioned 7805 and some r/c filter .
it works until we start the car. if the car on and we plugged in the pic will randomly reset.
i fear much spikes and much EM noises here.
now i test with 47 myh and a surpressordiode .
Edited by plasma 2015-05-14
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2949
Posted: 11:04am 13 May 2015
Copy link to clipboard 
Print this post

Phil,

The current charger has a captive cable and about 1m of lead to a mini USB plug that plugs into the GPS. It also has an inbuilt LED to see that it is getting power..

In fact you are correct that many cigarette chargers pop out and cease making contact, in fact I generally `jam' a couple of cable ties in to hold the charger in place. This one has driven my wife (hence driven me mad) crazy. I will get there when I get around to building a decent supply.. I will prob do it with a largish box, to hold the heatsink and several large caps and if It works build it in behind the dash..

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1989
Posted: 11:31am 13 May 2015
Copy link to clipboard 
Print this post

Don't know if this will help but what about an isolated power supply. I have trouble with my MM based GPS in my golf cart freezing when I operate it with a 48v-12v DC-DC converter. I purchased an isolated power supply 10v-16v in and 12v out only to find it would not supply the necessary current so searching for another one. Then again maybe filtering on the 48v, side may help.
Paul.

"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 947
Posted: 09:32pm 14 May 2015
Copy link to clipboard 
Print this post

Hi Plasma,

we developed in a former job electronics for cars and caravans. Try a current compensated choke (there are very small ones available from Würth ) - it makes wonders!
It is more better when you use a pi-filter after the choke...

Frank
 
aargee
Senior Member

Joined: 21/08/2008
Location: Australia
Posts: 255
Posted: 01:52pm 17 May 2015
Copy link to clipboard 
Print this post

It really does help if you put a 1W 16-18V Zener across the 12V supply (Cathode to +, Anode to -). This takes out a lot of the nasty high voltage spikes running around the cars electrics.
For crying out loud, all I wanted to do was flash this blasted LED.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025