1. Welcome to Tacoma World!

    You are currently viewing as a guest! To get full-access, you need to register for a FREE account.

    As a registered member, you’ll be able to:
    • Participate in all Tacoma discussion topics
    • Communicate privately with other Tacoma owners from around the world
    • Post your own photos in our Members Gallery
    • Access all special features of the site

Using power from unused cigarette lighter for switched 12V power source

Discussion in 'Audio & Video' started by leviathan, Mar 23, 2019.

  1. Mar 23, 2019 at 12:03 PM
    #1
    leviathan

    leviathan [OP] Active Member

    Joined:
    Feb 3, 2019
    Member:
    #281651
    Messages:
    26
    Gender:
    Male
    Raleigh, NC
    Vehicle:
    2003 Xtra Cab, 4x4 TRD 3.4L V6 manual transmission
    I removed one of the three cigarette lighter power outlets to make room for a USB/aux mount in the dash of my 2003 for a Pioneer head unit. (I used the one that originally had the cigarette lighter in it, not the two lower power outlets with the caps.)

    Question: Can I use the positive from that hookup to wire the switched 12V power source on this: https://mausberry-circuits.myshopify.com/pages/car-setup ? (The main power to the unit is coming from a direct battery connection.)

    Hooking a Raspberry Pi up through the Pioneer head unit as part of a modification of this project: https://digitalcommons.calpoly.edu/....com/&httpsredir=1&article=1232&context=cpesp

    Thanks!!
     
    Last edited: Mar 23, 2019
  2. Mar 23, 2019 at 3:22 PM
    #2
    destin_meeks

    destin_meeks I used to fix people's crappy stereos

    Joined:
    Jul 14, 2017
    Member:
    #223997
    Messages:
    3,939
    Gender:
    Male
    First Name:
    Destin
    Tuscaloosa, AL
    Vehicle:
    2017 SSM DoubleCab TRD Off-Road 4x4
    You sure can
     
    leviathan[OP] likes this.
  3. Mar 23, 2019 at 5:06 PM
    #3
    DVS4.0

    DVS4.0 Well-Known Member

    Joined:
    Aug 31, 2013
    Member:
    #111558
    Messages:
    163
    Gender:
    Male
    First Name:
    Dan
    Deep South Texas
    Vehicle:
    2013 4x4 SR5 DC
    Toytec coils, Bilstein 5100's, Freedom Offroad UCA, Pro Comps Wheels, Spidertrax, 33's, Memphis Audio
    +1 on that.
     
    leviathan[OP] likes this.
  4. Mar 23, 2019 at 5:11 PM
    #4
    leviathan

    leviathan [OP] Active Member

    Joined:
    Feb 3, 2019
    Member:
    #281651
    Messages:
    26
    Gender:
    Male
    Raleigh, NC
    Vehicle:
    2003 Xtra Cab, 4x4 TRD 3.4L V6 manual transmission
    Great, thanks!
     
  5. Mar 24, 2019 at 4:53 AM
    #5
    rob feature

    rob feature Tacos!

    Joined:
    Aug 10, 2011
    Member:
    #61468
    Messages:
    1,798
    Gender:
    Male
    Colorado
    Vehicle:
    2003 4x4 V6 X-Cab SR5
    Shocks. Pegs. Lucky.
    Fun project - would love to see the results if you pull this off!
     
    leviathan[OP] likes this.
  6. Mar 24, 2019 at 4:58 AM
    #6
    Exracer2

    Exracer2 Well-Known Member

    Joined:
    Dec 7, 2016
    Member:
    #204304
    Messages:
    1,516
    Gender:
    Male
    Colchester Ontario
    Vehicle:
    2017 TRD Off-Road Alpine White ACLB
    BRO grille, KICKER speakers, Key amp, Hideaway sub
    Do you have any PI experience or are you simply cut and pasting his code?
     
  7. Mar 24, 2019 at 5:21 PM
    #7
    leviathan

    leviathan [OP] Active Member

    Joined:
    Feb 3, 2019
    Member:
    #281651
    Messages:
    26
    Gender:
    Male
    Raleigh, NC
    Vehicle:
    2003 Xtra Cab, 4x4 TRD 3.4L V6 manual transmission
    I'm a data scientist. I know Python. His code is actually pretty clunky, a lot of hard coding. I'll clone his repo and use the general idea (libraries, ODB methods, etc) but I'll be writing a lot of it from scratch. Why do you ask? Have some ideas? :)
     
    Taco505 likes this.
  8. Mar 24, 2019 at 5:22 PM
    #8
    leviathan

    leviathan [OP] Active Member

    Joined:
    Feb 3, 2019
    Member:
    #281651
    Messages:
    26
    Gender:
    Male
    Raleigh, NC
    Vehicle:
    2003 Xtra Cab, 4x4 TRD 3.4L V6 manual transmission
    I'll post when it's installed and running (minimum build).
     
  9. Mar 25, 2019 at 2:54 AM
    #9
    Exracer2

    Exracer2 Well-Known Member

    Joined:
    Dec 7, 2016
    Member:
    #204304
    Messages:
    1,516
    Gender:
    Male
    Colchester Ontario
    Vehicle:
    2017 TRD Off-Road Alpine White ACLB
    BRO grille, KICKER speakers, Key amp, Hideaway sub
    Currently working on my own arduino project. Great thing about open source electronics / code is its open sourced. Bad thing about open sourced electronics / code is its open sourced.

    My biggest challenge so far is my understanding of code. I can cut and paste some stuff and tweak it a bit and learn what some stuff does. But other bits of code when it does or doesn’t work I am completely lost. Bought a bunch of books but some of it doesn’t get you much further than do this and that will happen. One of my frustrations was with delay timers. Everyone seemed to write how to do things with delay timers (which I already knew wasn’t the best way to code) and then later everyone said this isn’t the best way due to the whole program pausing for the delay. Why not touch on delays timers and then teach the right way to code right from the get go?

    Anyway I am building a motorcycle race tire temperature sensor device. I want 1-3 sensors per tire X 2 tires all displayed real time to an OLED display. I would like data logging capabilities eventually and GPS position logging. I also have 3 axis G force and 3 axis gyro’s that would be cool to add in the end. My issue so far is I am using I2C communication sensors and the IR temp sensors all come with the same addresses so I am going to have to try a multiplexer.

    I would love to take a course at the local university or college so I can learn the code properly but so far I don’t think they have any arduino type courses. If you want to help me understand or code I will pay.
     
    leviathan[QUOTED][OP] likes this.
  10. Mar 25, 2019 at 3:53 PM
    #10
    leviathan

    leviathan [OP] Active Member

    Joined:
    Feb 3, 2019
    Member:
    #281651
    Messages:
    26
    Gender:
    Male
    Raleigh, NC
    Vehicle:
    2003 Xtra Cab, 4x4 TRD 3.4L V6 manual transmission
    There are a lot of online courses for learning Python. Some of them are free!

    I'm happy to answer questions about syntax if you have them, but sometimes physical computing is hard to diagnose remotely.
     
  11. Mar 25, 2019 at 4:51 PM
    #11
    Exracer2

    Exracer2 Well-Known Member

    Joined:
    Dec 7, 2016
    Member:
    #204304
    Messages:
    1,516
    Gender:
    Male
    Colchester Ontario
    Vehicle:
    2017 TRD Off-Road Alpine White ACLB
    BRO grille, KICKER speakers, Key amp, Hideaway sub
    Just got a new book in the mail today. Beginning C for Arduino. So far it is good. It is explaining what each step and syntax means. So far it is all stuff I have a general idea about but I have picked up a few things already.

    My biggest challenge will be to figure out the code for the display and dive into the library end of things so I am not just bloating everything. Then I have to figure out how to run the multiplexer so I can run multiple identical IR sensors. I am sure this isn’t rocket science but like any new language at the beginning it is all Greek so I need to learn the language before I can write a novel. I am a millwright so while cutting and pasting has gotten me some success my brain wants to understand the mechanics better so I can build the best code for the job. Plus better code (more efficient / less bloat) may run on a more compact MPU board with less memory. In the end my hope is I can draw up my own board on Fritzing and have my own boards made with the multiplexer integrated and the OLED plugged in on top. I currently have a Mega2560, UnoR3 and a Nano so we will see which one I have to run in the end or which will be the basis for my board.


    So am I correct that the rPi is run in python language vs arduino C?
     
  12. Mar 27, 2019 at 8:43 AM
    #12
    leviathan

    leviathan [OP] Active Member

    Joined:
    Feb 3, 2019
    Member:
    #281651
    Messages:
    26
    Gender:
    Male
    Raleigh, NC
    Vehicle:
    2003 Xtra Cab, 4x4 TRD 3.4L V6 manual transmission
    I don't have any direct experience with Arduino. I use Raspberry Pi s primarily because they're essentially just a tiny Linux machine. (I use Linux on all my work and home machines, three cheers for open source!) I've got Pis all over my house. One wired to my fish tank, one wired to my home stereo as a media library, a retro gaming system built from another, etc.
     
  13. Mar 27, 2019 at 8:54 AM
    #13
    leviathan

    leviathan [OP] Active Member

    Joined:
    Feb 3, 2019
    Member:
    #281651
    Messages:
    26
    Gender:
    Male
    Raleigh, NC
    Vehicle:
    2003 Xtra Cab, 4x4 TRD 3.4L V6 manual transmission
    Moving forward with wiring for the Raspberry Pi. Ran everything under the center console and up into the bottom storage section. Waiting for the Mausberry Circuits car switch to arrive.

     

Products Discussed in

To Top