Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 68

Thread: Psyko's 2007 Mustang

  1. Back To Top    #31
    Noob Psyko's Avatar
    Real Name
    Mark
    Location
    Tyler, TX
    Vehicle
    2007 Ford Mustang
    Posts
    195
    Join Date
    Jun 2014

    Re: Psyko's 2007 Mustang

    This is going to be less of an update and more of a road map for future updates as my free time permits.

    Center console media controls to get max ergonomics points and make my system easier to use day-to-day. I've had this idea for a sometime, but after seeing a couple cars a the USACI finals with something similar it sparked my interest. Unfortunately after doing some research a wired remote for an Alpine head unit is not as simple as a resistor ladder.

    Each command starts with a 8ms high(5v) and then 4.5ms low(0v). Then a series of high and low signals represented by 1's and 0's. I think I'm going to use a small arduino controller to interpret button presses and for now will just have volume up / down, and track up / down on momentary buttons.

    Not totally sure what components I want to use for this anyone have any ideas.
    Turns out counterfeit arduinos are a thing so going to get it from the source.
    Arduino Uno: hhttp://store-usa.arduino.cc/products/a000066
    Click image for larger version. 

Name:	UNO-front_1024x1024.jpg 
Views:	339 
Size:	79.0 KB 
ID:	4290
    Momentary Rocker: http://www.digikey.com/product-detai...SW311-ND/81509
    Click image for larger version. 

Name:	GRS-4023C-1300.jpg 
Views:	365 
Size:	75.9 KB 
ID:	4289
    One switch on the bottom left and one on the bottom right of the gear selector bezel. Could easily add double click or long press functions if I decide I want to do more later.
    Click image for larger version. 

Name:	index.jpg 
Views:	319 
Size:	156.9 KB 
ID:	4288

    3.5mm jack
    Sleeve -GND
    Ring - No Connection
    Tip - SIGNAL

    Known Alpine codes:
    (Start) 110101111101101110101011
    Vol Up 11011011110101101
    Vol Dn 01101101111101101
    Mute 10101101111011101
    Pst up 10101011111011110
    Pst dn 01010101111111110
    Source 10110111110110110
    Trk up 10111011110110101
    Trk dn 01011101111110101
    Power 01110111111010110
    Ent/Play 01010111111111010
    Band/prog 01101011111101110
    Pause 01010111111111010
    Band/ta 01101011111101110
    Defeat 01101111111011010
    Folder/memory up 10101011111011110
    Folder/Memory down 01010101111111110
    (End) 1010101
    I spent a little time and made a working program with a virtual arduino. I used a small resistor ladder so I could distinguish the different buttons. I made boolean arrays of each command I want then depending on the button pressed pass them to a function that outputs it to the HU with the delays.

    Example:
    boolean volUp[48] = {1,1,0,1,0,1,1,1, 1,1,0,1,1,0,1,1, 1,0,1,0,1,0,1,1, 1,1,0,1,1,0,1,1, 1,1,0,1,0,1,1,0, 1,1,0,1,0,1,0,1};

    output(volUp);

    //---------OUTPUT-----------------------------------------------
    void output(boolean signal[]) {
    //first send 8ms high
    digitalWrite(alpPin, HIGH);
    delay(8);
    // send 4.5ms low
    digitalWrite(alpPin, LOW);
    delayMicroseconds(4500);

    for (int i = 0; i <= 47; i++) {
    //send bit for 0.5ms
    if (signal[i] == 1 ) {
    digitalWrite(alpPin, HIGH);
    } else {
    digitalWrite(alpPin, LOW);
    }
    delayMicroseconds(500);
    // wait 0.5ms
    digitalWrite(alpPin, LOW);
    delayMicroseconds(500);
    }
    // send 41ms low
    digitalWrite(alpPin, LOW);
    delay(41);
    }
    Fiberglass mid bass enclosure this will most likely have to wait until the semester is over, but I would like to remove the back of my door cards enclosure and build a fiberglass box that will mount to the door frame to hopefully isolate the mid bass driver from the plastic door card. Not only will this kill some unwanted noise it should allow me to raise the high pass filter without it sounding like the door is going to come apart.
    Last edited by Psyko; 10-12-2015 at 12:01 AM. Reason: Pics

  2. Back To Top    #32

    Re: Psyko's 2007 Mustang

    Missed a chance to demo this, but I heard it was a greatttt sounding vehicle..

  3. Back To Top    #33

    Re: Psyko's 2007 Mustang

    Quote Originally Posted by Psyko View Post
    This is going to be less of an update and more of a road map for future updates as my free time permits.

    Center console media controls to get max ergonomics points and make my system easier to use day-to-day. I've had this idea for a sometime, but after seeing a couple cars a the USACI finals with something similar it sparked my interest. Unfortunately after doing some research a wired remote for an Alpine head unit is not as simple as a resistor ladder.

    Each command starts with a 8ms high(5v) and then 4.5ms low(0v). Then a series of high and low signals represented by 1's and 0's. I think I'm going to use a small arduino controller to interpret button presses and for now will just have volume up / down, and track up / down on momentary buttons.

    Not totally sure what components I want to use for this anyone have any ideas.
    Turns out counterfeit arduinos are a thing so going to get it from the source.
    Arduino Uno: hhttp://store-usa.arduino.cc/products/a000066
    Click image for larger version. 

Name:	UNO-front_1024x1024.jpg 
Views:	339 
Size:	79.0 KB 
ID:	4290
    Momentary Rocker: http://www.digikey.com/product-detai...SW311-ND/81509
    Click image for larger version. 

Name:	GRS-4023C-1300.jpg 
Views:	365 
Size:	75.9 KB 
ID:	4289
    One switch on the bottom left and one on the bottom right of the gear selector bezel. Could easily add double click or long press functions if I decide I want to do more later.
    Click image for larger version. 

Name:	index.jpg 
Views:	319 
Size:	156.9 KB 
ID:	4288

    3.5mm jack
    Sleeve -GND
    Ring - No Connection
    Tip - SIGNAL

    Known Alpine codes:


    I spent a little time and made a working program with a virtual arduino. I used a small resistor ladder so I could distinguish the different buttons. I made boolean arrays of each command I want then depending on the button pressed pass them to a function that outputs it to the HU with the delays.

    Example:


    Fiberglass mid bass enclosure this will most likely have to wait until the semester is over, but I would like to remove the back of my door cards enclosure and build a fiberglass box that will mount to the door frame to hopefully isolate the mid bass driver from the plastic door card. Not only will this kill some unwanted noise it should allow me to raise the high pass filter without it sounding like the door is going to come apart.
    Dude!, that sounds awesome...now, again,but in english

  4. Back To Top    #34
    Senior Member dejo's Avatar
    Real Name
    Jon/Jonnie
    Location
    Tyler, Tx
    Vehicle
    2007 Cobalt
    Posts
    407
    Join Date
    Dec 2013

    Re: Psyko's 2007 Mustang

    in english- he has a science project going on. hehe

  5. Back To Top    #35

    Re: Psyko's 2007 Mustang

    Quote Originally Posted by dejo View Post
    in english- he has a science project going on. hehe
    now THAT makes sense.

  6. Back To Top    #36
    Noob Psyko's Avatar
    Real Name
    Mark
    Location
    Tyler, TX
    Vehicle
    2007 Ford Mustang
    Posts
    195
    Join Date
    Jun 2014

    Re: Psyko's 2007 Mustang

    FedEx smartpost finally got around to delivering the other box with all the cool stuff in it. Here's what I've got so far.

    The plan is to get the Arduino, buck converter, and solder-able breadboard into the project box. The buck converter will be used to step down 12v power to the Arduino to reduce heat generated by the Arduinos onboard voltage regulator. Turns out this thing can get stupid hot if you just feed it 12v+ lol
    Click image for larger version. 

Name:	IMAG2370.jpg 
Views:	291 
Size:	1.13 MB 
ID:	4302
    With a little modification everything should fit nicely.
    Click image for larger version. 

Name:	IMAG2373.jpg 
Views:	299 
Size:	807.1 KB 
ID:	4303
    Testing the resistor ladder with the two rocker switches on the breadboard just outputting with println at the switch statement that determines what button is pressed.
    Click image for larger version. 

Name:	IMAG2374.jpg 
Views:	372 
Size:	1,020.0 KB 
ID:	4304
    Now I'm deciding if I want to add any extra functions say if a button is held for X amount of time. Thoughts?
    Click image for larger version. 

Name:	ProjectTest.JPG 
Views:	324 
Size:	165.3 KB 
ID:	4305

  7. Back To Top    #37
    Senior Member dejo's Avatar
    Real Name
    Jon/Jonnie
    Location
    Tyler, Tx
    Vehicle
    2007 Cobalt
    Posts
    407
    Join Date
    Dec 2013

    Re: Psyko's 2007 Mustang

    I still think the track up/down would work well as a folder up/down as well
    but should be cool. wish I wasnt out of town this weekend

  8. Back To Top    #38
    Noob Psyko's Avatar
    Real Name
    Mark
    Location
    Tyler, TX
    Vehicle
    2007 Ford Mustang
    Posts
    195
    Join Date
    Jun 2014

    Re: Psyko's 2007 Mustang

    Quote Originally Posted by dejo View Post
    I still think the track up/down would work well as a folder up/down as well
    but should be cool. wish I wasnt out of town this weekend
    May have gotten a little carried away but I can have up to 12 functions now single press, double press, and long press for each button.

    Single: Volume Down Volume Up Track Down Track Up
    Double: ? ? Folder Down Folder Up
    Hold: Mute ? ? ?

  9. Back To Top    #39
    Noob Psyko's Avatar
    Real Name
    Mark
    Location
    Tyler, TX
    Vehicle
    2007 Ford Mustang
    Posts
    195
    Join Date
    Jun 2014

    Re: Psyko's 2007 Mustang

    Found the time today to finalize the circuit and code and get it in the car.

    Single: Volume Down Volume Up Track Down Track Up
    Double: Mute Band(May Change this) Folder Down Folder Up
    Hold: Volume Down Fast Volume Up W/Delay Track Down W/Delay Play/Pause

    Click image for larger version. 

Name:	IMAG2379.jpg 
Views:	327 
Size:	1.14 MB 
ID:	4347
    Click image for larger version. 

Name:	IMAG2380.jpg 
Views:	334 
Size:	854.5 KB 
ID:	4348
    Click image for larger version. 

Name:	IMAG2381.jpg 
Views:	355 
Size:	1.21 MB 
ID:	4349
    Click image for larger version. 

Name:	IMAG2385.jpg 
Views:	328 
Size:	1.10 MB 
ID:	4350
    Click image for larger version. 

Name:	IMAG2386.jpg 
Views:	319 
Size:	891.8 KB 
ID:	4351
    Click image for larger version. 

Name:	IMAG2388.jpg 
Views:	335 
Size:	940.6 KB 
ID:	4352
    Click image for larger version. 

Name:	IMAG2388.jpg 
Views:	335 
Size:	940.6 KB 
ID:	4352
    Click image for larger version. 

Name:	IMAG2389.jpg 
Views:	319 
Size:	955.3 KB 
ID:	4353
    Click image for larger version. 

Name:	IMAG2390.jpg 
Views:	318 
Size:	1.17 MB 
ID:	4354
    Click image for larger version. 

Name:	IMAG2391.jpg 
Views:	321 
Size:	1.25 MB 
ID:	4355
    Click image for larger version. 

Name:	IMAG2392.jpg 
Views:	353 
Size:	1.13 MB 
ID:	4356

    Overall I'm super happy with it! It's crazy what it takes to send commands to Alpine head units but not a big deal and I think I ended up with a bit more functionality than a off the shelf steering wheel controller would have given me. Ended up not putting a kill switch in the car after playing around with it I decided it wasn't necessary.

    https://drive.google.com/file/d/0B48...ew?usp=sharing

  10. Back To Top    #40
    Owner BigAl205's Avatar
    Real Name
    Alan
    Location
    Hayden, AL
    Vehicle
    2018 Chevy Silverado Z-71
    Posts
    5,701
    Join Date
    Feb 2013

    Re: Psyko's 2007 Mustang

    That's slick!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back To Top