Mp3car Home Page The mp3Car.com Forums The mp3Car.com Store The mp3Car.com Blog About mp3Car.com    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Power Supplies

Notices

Reply
 
Share Thread Tools Display Modes
Old 04-04-2008, 03:05 PM   #31
Low Bitrate
 
Join Date: Aug 2003
Posts: 66
Try it on a piece of scrap board, I'm quite sure that leaving an input pin at Hi-Z (tri-state) will give you unpredictable results.
scsirob is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-04-2008, 04:14 PM   #32
Raw Wave
 
Rob Withey's Avatar
 
Join Date: Apr 2000
Location: Surrey, UK
Posts: 2,101
Quote: Originally Posted by scsirob View Post
Try it on a piece of scrap board, I'm quite sure that leaving an input pin at Hi-Z (tri-state) will give you unpredictable results.

Hence my original suggestion of a pull down on the ignition line. I would be most surprised if the device has internal pulldowns, most don't.
__________________
Systems retired due to new car
Rob Withey is offline   Reply With Quote
Old 04-05-2008, 06:08 AM   #33
Newbie
 
Join Date: Sep 2006
Posts: 46
Ok I tried it and I was totally wrong, it weirds out completely Thanks for bringing that up scsirob, I think my confusion came from other times when I was testing on a logic board but of course then it would be grounded or 1 input, not floating.
Shad0wca7 is offline   Reply With Quote
Old 04-05-2008, 07:54 AM   #34
Low Bitrate
 
Join Date: Aug 2003
Posts: 66
Glad to have helped out. Good luck with the rest of the design.
scsirob is offline   Reply With Quote
Old 04-20-2008, 04:35 PM   #35
Newbie
 
Join Date: Sep 2006
Posts: 46
Ok, it is now built. Working just great, I would make a couple of revisions for the next one I build (probably do a couple for friends). The only change was swapping the 4.7 Zener which regulated VCC for a 7805. The AVR just wasn't enough to take the full load from the zener and it was getting too hot. The 7805 in this circuit doesn't even get warm to the touch. With the AVR in sleep mode I can't even get a reading on my ammeter.

Pictures soon, great success!
Shad0wca7 is offline   Reply With Quote
Old 06-01-2008, 03:47 PM   #36
Low Bitrate
 
Join Date: Aug 2003
Posts: 66
Looking at the value for R11 it's no surprise the zener became hot... 30 Ohms is way too low...

Your circuit (AVR + LED1) will draw no more than roughly 20mA. If you want to have regulated 4.7V with battery power down to, say, 9V then you should dimension R11 to bleed off (9 - 4.7) = 4.3V at 20mA. That would be a 215 Ohm resistor. Take 220 Ohm as the nearest standard.

When your battery is full at 13.8V, the current through R11 will be about 40mA, dissipating about 350 mW. The zener will see about 35mA when the LED is off, so it will dissipate 165mW worst case. Things should work fine using a 4.7V, 1/4W zener and a 220 Ohm, 1/2W resistor for R11.

Looking forward to the pictures...
scsirob is offline   Reply With Quote
Old 06-01-2008, 05:23 PM   #37
FLAC
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 1,722
Linear regulators are cheap. I would have stuck with it since I'm always adding on later. It's really just a transistor, diode, and resistor. Like this...
http://www.satcure-focus.com/tutor/page5.htm
__________________
XPort 1.26 -GPS port splitter, logger, and USB device resume fix
Curiosity is offline   Reply With Quote
Old 06-02-2008, 07:12 AM   #38
Newbie
 
Join Date: Sep 2006
Posts: 46
I just ended up swapping out the zener for a quick and dirty 7805. Doesn't heat up at all and is fine, been running in the car for a couple of weeks now.

Currently having a problem where it seems to get confused and skip states on cranking, not had time to figure it out yet, a few code checks are a fix at the moment (the breadboard has ISP headers so I can program with it in the car and use Debugwire for realtime diagnostics if I want). The laptop very rarely just switches off as well (as if the power button has been pressed, it hibernates) whilst the avr thinks it is still on. This has occasionally caused some issues.

Currently I suspect the car wiring and will be redoing that when I have time (exams and stuff at the moment!).

I promise I will get pics soon!
Shad0wca7 is offline   Reply With Quote
Old 06-02-2008, 07:15 AM   #39
Raw Wave
 
Rob Withey's Avatar
 
Join Date: Apr 2000
Location: Surrey, UK
Posts: 2,101
Quote: Originally Posted by Curiosity View Post
Linear regulators are cheap. I would have stuck with it since I'm always adding on later. It's really just a transistor, diode, and resistor. Like this...
http://www.satcure-focus.com/tutor/page5.htm

It's really not...!

A circuit that simple gives no over current pretection, no soa protectoin, so thermal protection like most of the off-the-shelf regulators do.

For example, schematic in: http://www.datasheetcatalog.org/data.../390068_DS.pdf

Equivalent circuit on page two of datasheet here : http://pdf1.alldatasheet.com/datashe.../KEC/7805.html
__________________
Systems retired due to new car
Rob Withey is offline   Reply With Quote
Old 06-02-2008, 08:56 PM   #40
FLAC
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 1,722
Ooh, that is quite a bit more. Thermal protection is certainly important.

Shad0wca7, add a capacitor after the regulator. Like a 470uF 16V elec. Bet that would help.
__________________
XPort 1.26 -GPS port splitter, logger, and USB device resume fix
Curiosity is offline   Reply With Quote
Old 06-08-2008, 10:32 AM   #41
Newbie
 
Join Date: Sep 2006
Posts: 46
Not had time to fully test it and identify issues, all the gear (AVR Dragon & Multimeter) is in the car just waiting but I still have bastard exams!
Shad0wca7 is offline   Reply With Quote
Old 08-15-2008, 06:41 PM   #42
Newbie
 
Join Date: Jul 2008
Posts: 11
Did you ever get a chance to go back and take a look at this? I just designed a very similar controller, using a PIC, that controls the OEM navigation dash piece motor for my car (RX-8) since I replaced the screen. I've got the battery going to a lm2936 (regulator that uses very low current, circuit draws <1mA in sleep) and the ignition wire going to a 7805. Works fine on the test bench with 12v regulated, but I'm fearing problems with cranking and the controller resetting when I actually try it out. Ideas anyone?
Chainu127 is online now   Reply With Quote
Old 08-16-2008, 10:30 AM   #43
Newbie
 
Join Date: Sep 2006
Posts: 46
I did solve it, surprised I forgot to post on here!

Turned out that after about 4 hours debugging, the microcontroller was faulty. I must have accidently sent 12v through it at some stage during testing. Replaced it and it as been perfect since.

I would use more protection than just a regulator. You should include some form of transient voltage supression just incase.

All my circuitry before the regulator on my diagram is to protect the system from cranking etc, seems rock solid so far.

Last edited by Shad0wca7; 08-16-2008 at 10:35 AM.
Shad0wca7 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
startup/shutdown controller for laptops available? ideal2545 Laptops, Tablets, UPMCs, etc. 1 08-25-2006 06:50 PM
Newbie asks ? Laptop based carputer vs desktop pc based carputer SAScooby General Hardware Discussion 2 03-01-2004 02:59 PM
Anybody want to show a laptop based setup? blaster General Hardware Discussion 8 12-19-2003 08:08 PM
OPUS startup/shutdown controller problem... rbarr110 Power Supplies 1 11-15-2003 12:38 AM
mp3 player kit / controller based Talldude4evr General Hardware Discussion 2 06-05-2003 10:02 AM


All times are GMT -5. The time now is 01:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics