stooge
Well-Known Member
- Joined
- Apr 3, 2014
- Messages
- 3,153
- Reaction score
- 3,080
- Points
- 113
- Location
- wa
- Members Ride
- Turbo Alpaca
there are 2 DIY ways to control the electronic bi modal valve controllers using arduino.
one uses the factory type PWM and the other requires you to cut the controller open and modify it.
I just went with a simple momentary switch to toggle the valves but you could use a remote relay like TazzI mentioned or you could add a Bluetooth module to the Arduino project and use a mobile phone to toggle the valves if you are keen to play with your phone while driving.
one uses the factory type PWM and the other requires you to cut the controller open and modify it.
I just went with a simple momentary switch to toggle the valves but you could use a remote relay like TazzI mentioned or you could add a Bluetooth module to the Arduino project and use a mobile phone to toggle the valves if you are keen to play with your phone while driving.
you can control the valves using this Arduino pwm project and depending on the parts you use it will cost anywhere between $60 to $100.
Arduino script: bi-modal-pwm.ino - Pastebin
Zip archive: bi-modal-pwm.zip
you can use the online ide to compile the code here: Bi_modal_PWM - Arduino Create
you do have to make an account to use the online create and internet explorer does not work on that site anymore.
I used a nano board in the project
I used a fuse tap to get 12v ignition switched power from the fusebox above the battery
there is a unused bung under the battery tray that can be used to run the wires for the valve controllers
in the box
top
bottom
Needed parts:
1x https://www.jaycar.com.au/duinotech-nano-board-arduino-compatible/p/XC4414 - $29.95
1x https://www.jaycar.com.au/1k-ohm-0-5-watt-metal-film-resistors-pack-of-8/p/RR0572 - $0.55
1x https://www.jaycar.com.au/1-5k-ohm-0-5-watt-metal-film-resistors-pack-of-8/p/RR0576 - $0.55
1x https://www.jaycar.com.au/10k-ohm-0-5-watt-metal-film-resistors-pack-of-8/p/RR0596 - $0.55
1x https://www.jaycar.com.au/7812-12v-1a-voltage-regulator-to-220/p/ZV1512 - $1.85
1x https://www.jaycar.com.au/bc639-npn-transistor/p/ZT2179 - $0.95
1x https://www.jaycar.com.au/double-mini-blade-fuse-socket-wire-tap/p/SF5125 - $4.95
you can use any "momentary" switch you like
1x https://www.jaycar.com.au/ip67-rated-dome-pushbutton-switch-black/p/SP0656 - $4.95
Total for needed parts: $44.30
Optional parts:
1x https://www.jaycar.com.au/bulkhead-black-88-x-69-x-33mm/p/HB6075 - $3.75
2x https://www.jaycar.com.au/small-breadboard-layout-prototyping-board/p/HP9570 - $4.95
2x https://www.jaycar.com.au/2-way-pcb-mount-screw-terminals-5mm-pitch/p/HM3172 - $1.20
Total for all parts i used: $60.35
this total does not include the wire, you can source that pretty much anywhere you like used or new.
Plugs for controllers
if you want plugs for the valve controllers you can get these ones that john revill linked from aliexpress
according to the listing there are 4pcs in the lot so you will get 4 plugs in the one purchase.
1x: https://www.aliexpress.com/item/4pc...r-Meter-MAF-Connector-Socket/32850617234.html - $21.40
Total for all parts i used including the plugs: $81.75
Arduino script: bi-modal-pwm.ino - Pastebin
Zip archive: bi-modal-pwm.zip
you can use the online ide to compile the code here: Bi_modal_PWM - Arduino Create
you do have to make an account to use the online create and internet explorer does not work on that site anymore.
I used a nano board in the project
I used a fuse tap to get 12v ignition switched power from the fusebox above the battery
there is a unused bung under the battery tray that can be used to run the wires for the valve controllers
in the box
top
bottom
Needed parts:
1x https://www.jaycar.com.au/duinotech-nano-board-arduino-compatible/p/XC4414 - $29.95
1x https://www.jaycar.com.au/1k-ohm-0-5-watt-metal-film-resistors-pack-of-8/p/RR0572 - $0.55
1x https://www.jaycar.com.au/1-5k-ohm-0-5-watt-metal-film-resistors-pack-of-8/p/RR0576 - $0.55
1x https://www.jaycar.com.au/10k-ohm-0-5-watt-metal-film-resistors-pack-of-8/p/RR0596 - $0.55
1x https://www.jaycar.com.au/7812-12v-1a-voltage-regulator-to-220/p/ZV1512 - $1.85
1x https://www.jaycar.com.au/bc639-npn-transistor/p/ZT2179 - $0.95
1x https://www.jaycar.com.au/double-mini-blade-fuse-socket-wire-tap/p/SF5125 - $4.95
you can use any "momentary" switch you like
1x https://www.jaycar.com.au/ip67-rated-dome-pushbutton-switch-black/p/SP0656 - $4.95
Total for needed parts: $44.30
Optional parts:
1x https://www.jaycar.com.au/bulkhead-black-88-x-69-x-33mm/p/HB6075 - $3.75
2x https://www.jaycar.com.au/small-breadboard-layout-prototyping-board/p/HP9570 - $4.95
2x https://www.jaycar.com.au/2-way-pcb-mount-screw-terminals-5mm-pitch/p/HM3172 - $1.20
Total for all parts i used: $60.35
this total does not include the wire, you can source that pretty much anywhere you like used or new.
Plugs for controllers
if you want plugs for the valve controllers you can get these ones that john revill linked from aliexpress
according to the listing there are 4pcs in the lot so you will get 4 plugs in the one purchase.
1x: https://www.aliexpress.com/item/4pc...r-Meter-MAF-Connector-Socket/32850617234.html - $21.40
Total for all parts i used including the plugs: $81.75
this method is only really good if your valve controllers are stuffed(not responding to the pwm signal) or full of water like my first set were.
to control the valves this way you need to cut the controllers open and wire them up like this
using this method you will also need to unhook the spring on the valve mechanisms so the valves don't spring back open
once that is done you can use the information below
Arduino script: bi_modal.ino - Pastebin
Zip archive: bm_exhaust_mod.zip
I just used a leo board and a 4x relay board.
I used a fuse tap to get 12v ignition switched power from the fusebox above the battery
there is a unused bung under the battery tray that can be used to run the wires for the valve controllers
all wrapped up in a box and stuck to the top of the battery with velcro
Needed parts:
1x https://www.jaycar.com.au/duinotech-lite-leonardo/p/XC4430 - $29.95
1x https://www.jaycar.com.au/arduino-compatible-4-channel-12v-relay-module/p/XC4440 - $12.95
1x https://www.jaycar.com.au/double-mini-blade-fuse-socket-wire-tap/p/SF5125 - $4.95
1x https://www.jaycar.com.au/ip67-rated-dome-pushbutton-switch-black/p/SP0656 - $4.95
1x https://www.jaycar.com.au/jiffy-box-black-158-x-95-x-53mm/p/HB6011 - $4.45
Total for needed parts: $57.25
to control the valves this way you need to cut the controllers open and wire them up like this
using this method you will also need to unhook the spring on the valve mechanisms so the valves don't spring back open
once that is done you can use the information below
Arduino script: bi_modal.ino - Pastebin
Zip archive: bm_exhaust_mod.zip
I just used a leo board and a 4x relay board.
I used a fuse tap to get 12v ignition switched power from the fusebox above the battery
there is a unused bung under the battery tray that can be used to run the wires for the valve controllers
all wrapped up in a box and stuck to the top of the battery with velcro
Needed parts:
1x https://www.jaycar.com.au/duinotech-lite-leonardo/p/XC4430 - $29.95
1x https://www.jaycar.com.au/arduino-compatible-4-channel-12v-relay-module/p/XC4440 - $12.95
1x https://www.jaycar.com.au/double-mini-blade-fuse-socket-wire-tap/p/SF5125 - $4.95
1x https://www.jaycar.com.au/ip67-rated-dome-pushbutton-switch-black/p/SP0656 - $4.95
1x https://www.jaycar.com.au/jiffy-box-black-158-x-95-x-53mm/p/HB6011 - $4.45
Total for needed parts: $57.25
Last edited: