This Post Reserved For Additional Images
Well everyone I had another hair brained idea![]()
I wanted to have steering wheel controls in my car but
1. I didnt want to modify the cars stock wiring
2. I was not able to safely route a wire up through my steering column to get to the control buttons.
Since I had 12v present inside the steering wheel I decided to go with a microcontroller and some $17 wireless modules from sparkfun. So not only can I wirelessly send button presses to the computer in the trunk I have endless possiblities for button combinations in the future. I could even add datalogging of sorts. So 2 microcontrollers and about 10 PCB's later I ended up with this.
The PCB on the top is a receiver board I created and the board on the bottom is of course the transmitter board. I used a PIC 16F628 for the transmitter board, because well I had one already and I wanted expansion for later on so with 1k of code space and i'm only using 1/3 of it I should be fine. The receiver is using a PIC16F458 which yes is way overkill for what it is doing right now. I will be downgrading it to a F628 when I get it.
The receiver board has a standard PC DB9 connector which i'll use to connect to my computer.
Here is a closeup of the transmitter board
Here is a picture of the steering wheel buttons I ordered from volvo.
This is the transmitter board with the PIC in it's socket and the TX module mounted.
just have to finish wiring everything up
there is a picture of the stock volvo pcb and the bottom of my board
And finally there is everything next to a quarter for a size comparison.
So thats pretty much all the hardware and it's pretty simple in operation, it just takes button presses and converts them to a standard serial output which I will program girder to respond to.
I will post pictures after I get everything installed in the car, even though you really will not be able to see anything after it's done![]()
肚子笑痛了
S60 Install
This Post Reserved For Additional Images
肚子笑痛了
S60 Install
i hate to say it Jerry but you done it again you flash git!
thanks![]()
肚子笑痛了
S60 Install
Jerry - slightly off topic but you seem to have your head in gear on these.
My radio control paddle is a 5 switch paddle. I was intending to hack it to a gamepad and use steveg's software but ive investigated the stock wiring and ive come up against a problem. My paddle is mounted on the wheel so I cannot run/hack extra wires in, it would twist around the wheel so I have to use the stock connection method (which is routed through the rotary coupler).
Instead of the paddle having a discrete wire for each press, its a 2 wire resistance bus for the whole paddle. This presents a different value at the 2 wires, from 0 Ohms to 1.6K depending on which switch is pressed. These resistances are obviously decoded at the radio since my factory manuals shows the wire pair just routes straight to it.
As you can imagine, this presents a problem interfacing to the switches on a USB gamepad. The only solution ive got so far is feeding a voltage into it and use a LM3914 to make a comparator circuit that I can maybe drive a relay bank with, triggered by whichever button is pressed but thats a bit of a long winded approach (albeit quite cheap).
I mean to get from the paddle to the computer im having to abuse the led display circuit to interface paddle to the pad circuit to plug into the pc and I was wondering if you had any ideas of a simpler way to read the resistances from the bus and convert them into on/offs that can be stuffed up the USB socket.
Bear in mind that im looking for a cheap solution and so far the pad would cost me a fiver and the IC and parts for the comparator would be perhaps another ten (plus a day trying to figure it all out, lol). Ive a feeling its probably the only way i can do it but I dont know unless I ask.... what do you think there Jerry? Im not interested in radio control or anything fancy as its all up front (pc, steering etc) just a simple wired link would do me- Id just like something simpler than adapting a comparator.
Thanks for reading.
There's a genius in Florida! Girder: under-used.. (I guess you're using Marks serial plugin)
Those PCBs look production ready. What are your plans (if any)?
I already use 16F628 in-car for Head unit command and audio, and start-up controller, so just post the binary and schematic!
Are you having to change steering wheel btw?
After the XM thing, I don't think so.so just post the binary and schematic
Nice job JC.. cool stuff. Boris
Honestly I didnt have any real plans for it, I just wanted to have some steering wheel controls. I will be happy to share the information on it though with anyone if they would like it. The PCB's are very generic and would work with pretty much any type of steering wheel buttons.Originally Posted by Tony G
I am going to put the code and schematics up on my website in a few days, I just need to clean all of the test routines and stuff out of the code
nope, thats the beauty of it, my current steering wheel is capable of holding these buttons, I just have to remote the cap that is there now and pop in my modified buttons.
肚子笑痛了
S60 Install
Originally Posted by thanatos106
I know, but we must let bygones be bygones
thanks![]()
肚子笑痛了
S60 Install
Mad Ad, you could possibly hook your analogue connections up to a joystick port and then use a joystick/HID plugin for girder?
I used to have my RC car reciver hooked up to a couple of servos turning Pots connected to my joystick port for very low tech way to play racing controls from ym bed using my RC car controller (i had a fully bling RC car setup so throttle curves came in handy in GP2)
Bookmarks