1. Attachments are working again! Check out this thread for more details and to report any other bugs.

In-car video surveillance?

Discussion in 'Gen 2 Prius Audio and Electronics' started by mspencer, Sep 4, 2004.

  1. mspencer

    mspencer New Member

    Joined:
    Sep 4, 2004
    101
    0
    0
    Location:
    Council Bluffs, Iowa
    First-time poster -- love the site, love this family of car, can't wait to own one. :)

    I graduate from college this December (B.S. in Computer Science), and as a graduation present to myself I'm going to put myself on the waiting list for a 2005 Prius. (I'm a 27-year-old bank employee, not quite as penniless as your average college student)

    When I get my new Prius, I would like to spend a few thousand to wire it up for video surveillance, for added protection against hit-and-run accidents, random dings and scratches, and proving fault in what would otherwise be a no-fault accident. (And maybe get insurance discounts?)

    Well, that's the reason I give my family, who have seen me blow too much money on toys before. I think I just want to do it for fun and for pure geek-cool-factor: I could then use these cameras as a platform for various geeky projects, such as a mobile webcam or something...

    I have a friend I used to work with who still works in a local casino's surveillance department as an a/v tech. I don't know much about surveillance technology, but I'm pretty confident when I start asking specific questions he can give me good advice. ("good advice" maybe == "don't do this, you don't know what you're getting yourself into" :) )

    Has anyone ever removed their headliner, ran some wires underneath, and glued it back up? Is that a really bad thing to do to a new Prius?

    In a normal car it would be a major drain on the 12V lead-acid battery to run a/v equipment 23 hours/day every day with the engine off. Can the Prius support a large load, like 12V at 1 to 2 A running 24x7, any better than a normal car? Is there any way to (ab)use the high-voltage battery to support some equipment at that kind of load? That's a lot of power -- I'd need three large (and heavy) 24 amp-hour SLA bricks, recharged every day, to supply that much power if I had to bring my own batteries. I guess this is wishful thinking, but I'm hoping I can get that much power from my Prius, maybe at the cost of a few bars of battery charge per 3 days or so. I'd be willing to accept the risk that Bad Things could happen if I went more than a few days without starting the car.

    Last, I've heard there are ways of displaying a video signal on the car's display. Has anyone played with reading touch screen coordinates from the display's touch screen hardware? Both of those together might provide a useful interface to a computer (for the passenger, of course :) )

    Sorry for the extremely weird questions, but I'm still brainstorming about what kind of interesting in-car geek projects this car's new technology might enable. I stand a good chance of building something that's never been built before if I'm taking advantage of some feature of the Prius that other cars don't have.

    And even if none of this geek-frankenstein-project stuff pans out, I'm still getting the car because it's pretty cool on its own. :)

    --Michael Spencer
     
  2. Eisenson

    Eisenson New Member

    Joined:
    Jan 14, 2004
    142
    0
    0
    Location:
    San Diego, CA
    Vehicle:
    2004 Prius
    You can install a look-down camera at the center of the headliner (a few ounces), and a 360deg conical mirror below it, thus giving you a 360deg image that software can straighten out if there's ever a need.

    Easier, and with no wiring issues, you can install a look-up camera between the seats - with the same conical mirror above it.

    As for power, you'll need a new battery. The existing one simply doesn't have the capacity. Put a big one in the trunk, and get help with a charge circuit.

    If you insist on a camera on top, you can do the wiring by fishing a tube to some convenient spot without pulling the headliner down.
     
  3. mspencer

    mspencer New Member

    Joined:
    Sep 4, 2004
    101
    0
    0
    Location:
    Council Bluffs, Iowa
    Great reply, Eisenson, I appreciate it very much. :)

    Hmm...thinking about in-car recharging... at first I completely dismissed extra batteries for power since I'd have to bring them inside and recharge them, and I'd probably forget to do that. In-car charging seems interesting. The only problem with that is, I'd need huge battery capacity and lots of charging current to support a 1 hour on / 23 hours off charge/discharge cycle, and not sulfate the batteries. I'm thinking batteries large enough to charge at C/4 for one hour and a charge rate that would replace 23 amp-hours in one [strike:4c2cd8abf8]day[/strike:4c2cd8abf8]hour. To make it round, 24 amp-hours, *1.5 charge efficiency, *4 so the batteries don't complain about the fast recharge, comes to about 144 aH, or about 1.7 kWh. A single 24 aH battery, over the Internet without shopping around, costs $80 plus shipping and weighs 19.10 pounds. I'd need 6 of those batteries, and would need nearly 500 watts for 1 hour from the car to recharge it while driving.

    I know very little about cars, or the power available over various 12 volt "rails" (probably not the right word), but 40 amps constantly for 1 hour seems like a bit much to ask. Right?

    So basically, I shouldn't count on a bunch of toys being on and running 24x7 unless I'm willing to do some work to supply that power, like hand-carry 6 20-pound batteries in and out of the house every 2 days. (and perhaps replace those batteries every 6 months)

    The Prius is still an amazing vehicle, and (again) I'm still buying one for all of the other reasons. I think I had this mistaken idea that the high-voltage battery system used to power the vehicle was also available to power my goofy amateur projects, and the vehicle's automatic charge management would give me "free power" at a small hit to its already-amazing fuel efficiency.

    So I suppose, no matter how much electrical tape I have, I should leave the orange cables alone, huh? That much voltage and current capacity with no circuit breaker between me and the energy source does seem kinda dangerous...

    (edit to correct a mistake, above)

    --Michael Spencer
     
  4. Eisenson

    Eisenson New Member

    Joined:
    Jan 14, 2004
    142
    0
    0
    Location:
    San Diego, CA
    Vehicle:
    2004 Prius
    First, "rail" is a good term for it.
    Second, 40A at 12V = <500W = no problem.

    Still don't know why you'd need all that...

    If all you want is a mobile webcam, do just that. Camera (with built-in interface) to USB 2.0 to 120GB hard drive = less than 100W.
     
  5. bruceha_2000

    bruceha_2000 Senior Member

    Joined:
    Jan 2, 2004
    3,054
    301
    19
    Location:
    Northwest VT
    Vehicle:
    2018 Prius Prime
    Model:
    Prime Advanced
    SIX 24 aH BATTERY - look into deepcycles for RVs and boats. You can get MORE aH for LESS money and LESS total weight in a single deepcycle and you won't need to wire a bunch of batteries together.

    I like the concept of an outward looking camera, so I can get all those stop sign and red light runners on video, then I could send it to the police who could talk nicely to these people who endanger the rest of us.
     
  6. TonyPSchaefer

    TonyPSchaefer Your Friendly Moderator
    Staff Member

    Joined:
    May 11, 2004
    14,816
    2,498
    66
    Location:
    Far-North Chicagoland
    Vehicle:
    2017 Prius Prime
    Model:
    Prime Advanced
    Oh man, the number of times I've thought this. Like a Neighborhood Watch for the roadways. The only thing I could come up with was a handheld camcorder but that would make me the dangerous one trying to hold and aim and zoom and all that.
     
  7. Frank Hudon

    Frank Hudon Senior Member

    Joined:
    Jan 11, 2004
    4,147
    18
    0
    unless you intend to extenally recharge the batteries that you'll have to install, remember that the Prius charges the aux battery using gasoline to run the ICE to provide the power to do it. The aux battery is sized as it is to be the maximum need to start the car and will require a minimum of current from the A/C side of the HSD to handle it's demands. Add more battery capacity and draw it down and the longer the ICE will have to run to get it back to full charge. There is no free lunch. But your idea is cool.
     
  8. mspencer

    mspencer New Member

    Joined:
    Sep 4, 2004
    101
    0
    0
    Location:
    Council Bluffs, Iowa
    Thanks for all the great information!

    Hmm, I never thought of that: replacing the wimpy just-enough-to-start-the-car 12V battery with a large battery in the trunk, connected to the battery up front via thick cables. What kind of charge current does the Prius give that battery? Does it give that onboard battery the same kind of smart charge it gives the high-voltage system? If so, will it complain about the much-larger-capacity battery? Will it say "there's no such thing as a battery that fits in the compartment with capacity greater than X, and I've been charging at C/4 for that X for 5 minutes and haven't seen a voltage increase. PANIC!"

    I've never seen automotive batteries rated in Ah, just cold cranking amps. How do I find the right capacity of battery?

    Do I need to worry about reversing batteries, if I have a high-capacity 12V lead-acid battery in parallel with a low-capacity 12V of the same chemistry? Or is it only in series hookups that one strong battery could try to charge a weak battery backwards (after everything's been sufficiently depleted to drain the smallest battery), ruining it?

    Also, one problem with a single camera (unless it's one of those expensive HD cameras or something) is resolution: if someone hits me in the parking lot, but my first opportunity to see their license plate has them nearly a car's length away from me, their license plate may be represented by only, what, 20x10 pixels. That's not enough to read fine detail like that.

    Well, that's the whole point of this exercise: have the car somehow supply enough power to give me a platform to experiment with. Maybe somehow learn to detect when a reportable event has happened, and collect information intelligently and upload it somewhere. " I've just been stolen, and this is what the thief looks like. I am *here* right now." Mount communication stuff in a lockbox with its own (short-lived) internal power, with a sticker on the outside: "If you can read this, your picture is already on the Internet."

    (Or most likely, what'll really happen is I'll buy a few things, figure out this stuff is HARD to implement, and give up. I'm no hardware-hacking genius, I just think this stuff might be fun to play with.)
     
  9. bruceha_2000

    bruceha_2000 Senior Member

    Joined:
    Jan 2, 2004
    3,054
    301
    19
    Location:
    Northwest VT
    Vehicle:
    2018 Prius Prime
    Model:
    Prime Advanced
    You already have a problem with your design - the 12V is just behind the right rear wheel, no big cables to the front necessary
    You don't want an automotive starter battery, you want a deep cycle. Next time you are in Sears, look at the marine batteries. Given that the Prius never puts a starting load on the battery, I would be surprised if the stock battery is a standard starting battery (though I have no idea). Starter batteries are designed to have a big initial drain, followed by charging The engine is always running thus the alternator is always available to charge. Most sailboats you can spend a few nights on have 2 batteries, 1 with big CCA for starting the diesel and a (or bank of) deep cycle for running all the other loads. You NEVER connect "house" drain to the starter battery because it is a long swim home if there isn't any wind and you have drained the starter battery.
    Batteries in parallel will equalize which is why you put a diode between them so it won't happen. A bank of batteries in parallel should always be the same size.

    Series is voltage additive, parallel amp additive. Put 2 12 volts in series and you can throw your 12V camera in the trash. From a power point of view I can't imagine why you would want to connect the existing little 12V and a bigger one in parallel. If you wanted to have sufficient power for whatever 12V loads you might need ( not necessarily related to your specific project) I think a single larger battery would be a better choice. Again, I have no idea what the charging circuitry on the Prius will do.

    As I thought at Home Depot the other day when a guy asked one of the employees "What kind of wire do I use to wire my garage?" If you have to ask this question, should you be doing it??
     
  10. Frank Hudon

    Frank Hudon Senior Member

    Joined:
    Jan 11, 2004
    4,147
    18
    0
    when you put a diode in the line feeding the batterys you always get a voltage drop across the diode. Fact of life, the higher the load thru the diode the bigger the voltage drop so as the batteys charge you have to have the alternator voltage regulator sensing wire connected to the battey + teminal to get the voltage to the battery in the proper range to have it fully charged. 13.8-14.2 volts is normally where a 12 volt battery is when fully charge and in the Prius the voltage sensing is probably done in the converter that is attached to the inverter so you'll probably have to hack the wiring inside of it to take a voltage sensing feed back to the + terminal of the battery after the diode. Let us know how the converter hacking goes. Life and health insurance paid up?
     
  11. DaveinOlyWA

    DaveinOlyWA 3rd Time was Solariffic!!

    Joined:
    Apr 13, 2004
    15,140
    611
    0
    Location:
    South Puget Sound, WA
    Vehicle:
    2013 Nissan LEAF
    Model:
    Persona
    i think your anticipated power needs are a bit out of line.

    a pinhole camera has an 3 hour capacity on 4 "D" cells. battery packs lasting 96 hours on standby with 8 hours running time can be had in a unit that would fit in glove box easily. it would be recharged through the cigarette lighter. one in particular has motion detector on it for recording. after all, do you plan to record 24 hours a day?

    where would you store this? a VCR/camcorder with this capability would not be practical.

    suggest you go to a website that specializes in mini video cameras... not so much surveilance stuff although these could be used as such because of their size.... go to www.x-10.com for a starting place

    and if you dont want to tear up your new car, check out the wireless cameras. dont know how they would work around that rather large electric motor, but if bluetooth works, this should work too. it worked great at my house, i had 3 cameras hooked up for security purposes wired to the motion detector, it would automatically turn on the monitor and make a beep (be careful with this, can be VERY irritating if sensitivity isnt set right) if any motion was detected.
     
  12. mspencer

    mspencer New Member

    Joined:
    Sep 4, 2004
    101
    0
    0
    Location:
    Council Bluffs, Iowa
    Yeah, I hadn't given much thought to the specifics of the recording setup yet. I just figured if I had enough power to run a laptop or small PC I should be able to do just about anything. Now it seems brute force really is an option: I can put a massive battery bank where the starter battery goes, perhaps keeping the original battery as a backup in case I drain the deep-cycle batteries too much to start the car.

    I don't mind the ICE running longer to keep everything charged and happy, but (assuming my projected power consumption is realistic, which it may not be -- 12 watts constant drain, but 400 watt charge current for an hour a day to put it all back) will the car deliver as much charge current as I'm asking? Is it safe to charge those marine deep-cycle batteries at C or higher?

    (charging/discharging at C means enough current to equal the battery's capacity for one hour. An 18 amp-hour battery being discharged at C is supplying 18 amps, and will be dead in one hour. A 100 amp-hour battery being discharged at C is supplying 100 amps and will be dead in one hour. A charge current of C/4 is charging at one-quarter the capacity of the battery, which would in a perfect world charge the battery in four hours. (realistically, multiply by 1.5, so 6 hours) This C ratio thing is a good way to measure how quickly you charge a battery, because with most batteries if you double the capacity then you double the amount of current you can charge or discharge. Charging at C is brutal for some kinds of batteries, shortening their life and making them overheat or leak acid; but not a problem for other kinds of batteries. That's why I said I wanted to charge at C/4 before: it's a hefty charge but not too strong, and will fully charge a dead battery in 6 hours. I only have 1 hour to charge with, so my batteries had better be only 1/6th dead after 24 hours.)

    (I probably explained the above very poorly, so if it doesn't make any sense it's my fault, not yours.)

    Here's hoping my family doesn't read this: I think my real goals for this setup are:

    1) It must be safe -- no burning down the car, no causing accidents while driving.
    2) It must be an interesting toy. I may change my mind several times and redo things, and hopefully the system I put together will be flexible enough to allow that. Having lots of available power helps.
    3) It should eventually be an "install-and-forget" recording system I can forget about when I get bored with it, yet will still be there to protect me if someone scratches/dents my car in the parking lot or causes an accident while driving. (but we all know it'll probably be unplugged/in the house/malfunctioning when it's really needed)
    4) It would also be nice if it had some anti-theft use, reporting back to me (and sending data off-site somehow, perhaps via wireless) when someone uses the car without logging in first.
    5) Last, it would be nice if I built this in such a way that it didn't make my car look like some kind of science project. Wireless sounds like a good idea.

    Thanks again very much for entertaining this goofy idea.

    --Michael Spencer
     
  13. DaveinOlyWA

    DaveinOlyWA 3rd Time was Solariffic!!

    Joined:
    Apr 13, 2004
    15,140
    611
    0
    Location:
    South Puget Sound, WA
    Vehicle:
    2013 Nissan LEAF
    Model:
    Persona
    maybe you might want to check your local law enforcement setup. spendy though. the website i mentioned would give you all the hardware and software you would need for about $400 that would include 8 hours of recording time.