MR2duino

the place to discus in car computers
The forum Administrator has chosen to advise you that this topic is 11 years and 1 month old and that you may wish to begin a new topic or use the search feature to find a similar but newer topic.
User avatar

Topic author
Marc2Turbo

MR2duino

Post by Marc2Turbo »

Hey all, I've been keeping this one quiet in case my grand plan turned out to be a lemon but.... today I finally managed to get everything syncing up and working with my carputer on the test bench.

This has been a massive undertaking and has required learning 3 new programming languages and countless hours of trawling through forums for the best solution.

MR2Duino is a fully featured EBC/Launch/IC Mist controller that is controlled from a flashAS3 frontend that is embedded in Centrafuse 4.

it uses exactly the same (if not better) PID algorithm as the top EBC's ,
defult state is N/O which means in the event of a solenoid failure the car will revert to stock boost, this setup also means that instead of bleeding air away from the wastegate it stops it all together, after lots of research this will increase spoolup as once the solenoid is energised the wastegate will not even partially open untill the PID becomes active
Fully closed loop operation
2 map sensors which average and throw up errors if they are mismatched by x amount,
it has multiple error checking including a last resort ignition cut for 2 seconds if it exceeds a set level for x milliseconds (to deal with spikes)
there is also a hard wired boost microswitch that will activate the cars own fuelcut in the event of an arduino failure.

The launch control works on exactly the same PID system but instead of bleeding air it interrupts the feed to the ignition coil,

all of this is running at a sample rate of 100Hz

mist is simply a button for a relay at the moment but will be incorporated with an IAT sensor for automatic soaking

In development:
Gear dependent boost scramble,
Flatshift with continuous turbo spooling,
Wheelspin/Traction control from launch (if it detects the abs sensors are rising faster than the speedo it will retard the ignition untill grip is regained.


every test I've run including using a large compressor the end result has been a solid hold with practically no drift and easily making the most of the 33Hz MAC solenoid.

I'm not quite ready to release any code yet but I have some pics of the flash front end.
The interface is still very much in development and is by no means the final design

this project has so far cost me less than £40 (apart from the car pc bit) and I'm anticipating a final cost of less that £70 with all the relays/mosfetts


ebc.png
ebc2.png
You do not have the required permissions to view the files attached to this post.
Last edited by Marc2Turbo on 13/04/13 8:59, edited 1 time in total.



chaos19810
Posts: 977
Joined: 29/09/11 18:00
Years of MR2 Ownership: 2
MR2's Owned: 3
Gender: Male
Location: Bury st edmunds
Been thanked: 1 time
Contact:

Re: MR2duino is finally in bench testing!!

Post by chaos19810 »

I like the look of this could use the inter cooler spray as a water meth spray controller?
Mr2 G limited (gt-s engine) broken but fun
Mr2 uk 156 bhp - in bits
Mr2 gt 170bhp - with the parents
http://mr2turbo.wordpress.com/
If its broken hit it with a hammer if its still broken get a bigger hammer
User avatar

Topic author
Marc2Turbo

Re: MR2duino is finally in bench testing!!

Post by Marc2Turbo »

Absolutely, you'd probably want a separate arduino nano or something triggered by the main one as you'd need more error checking and a rock solid failsafe, wouldn't want the pump stuck pumping water into the engine! Maybe a 3 way solenoid before the injector that when closed purges the built up pressure back into the tank and waits for pressure to build up before pulsing the injector. Anything is possible with these things, the next phase of my project is digital hvac controls so I can replace the heater unit with a head unit with rear aux in for the car pc.
User avatar

sinjen
Posts: 752
Joined: 13/11/08 20:45
Years of MR2 Ownership: 3
MR2's Owned: 1
Gender: Male
Location: Birmingham city centre

Re: MR2duino is finally in bench testing!!

Post by sinjen »

Seriously impressive mate, been wanting everything to be centrally controlled on my 2 via a touchscreen carputer, although I wouldn't know where to start.

:D
Cosmos Gen 4 3sgte - Finished...for now
User avatar

simon1
Posts: 177
Joined: 05/10/09 13:30
Years of MR2 Ownership: 7
MR2's Owned: 2
Gender: Male
Location: Newbury, Berkshire

Re: MR2duino is finally in bench testing!!

Post by simon1 »

well done with this project as i know from experiance that what you have done so far is a huge amount of work.
My MR2 MK2 REV2 Tubby
Image
210.7 HP, 208 LB/ft Torque, 1/4mile in 14.7023s and castle coombe lap of 1:41 :D
User avatar

Topic author
Marc2Turbo

Heater Controls

Post by Marc2Turbo »

Iv'e canned the boost/launch control aspects of this project in favour of a gizmo ms2 & WOTbox, I had a few failures on the bench and whilst i've ironed most of the kinks out I'm not happy to risk my freshly rebuilt CT26/Engine.

I'll still be using the arduino in the car to run the heaters and manage the intercooler misting so this is what i'll be concentrating on in this thread. the full project / source code can be found on my website (eventually) but i'll use this thread to keep people updated and maybe inspire some people!

so here's the design I've settled on for the heater controls:
hvac.jpg
I've taken the symbols from the stock controls and tried to keep a 90's feel whilst making it easy to use on a touchscreen.

everytime a setting is changed it is stored in non volatile memory which is read on boot up and then sent to the car-pc to sync the settings. the serial string for setting the Arduino is sent at every button press so i'm not constantly spamming the serial line.

the Intercooler misters will be handled in a popup screen when i get round to it!
You do not have the required permissions to view the files attached to this post.
User avatar

Protok
Posts: 2303
Joined: 31/07/06 1:00
Years of MR2 Ownership: 11
MR2's Owned: 4
Real Name: Red
Gender: Male
Location: Staffordshire

Re: MR2duino

Post by Protok »

Quick question: As far as I know there are 2 types of heater controls, am I to assume that this will only work with one type?
Red "Iron Guts" Protok
JAE '11 Food Eating Contest Champion
JAE '12 Food Eating Contest Champion
JAE '13 Food Eating Contest Runner-up
JAE '14 Food Eating Contest Champion
User avatar

shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: MR2duino

Post by shinny »

Protok wrote:Quick question: As far as I know there are 2 types of heater controls, am I to assume that this will only work with one type?
There's a physical component to the UK mkII controls, if that's what you're referring to?
User avatar

d-peg
Posts: 6729
Joined: 13/02/07 22:02
Years of MR2 Ownership: 13
MR2's Owned: 6
Real Name: Dan
Gender: Male
Location: Sandwich, Kent
Has thanked: 8 times
Been thanked: 4 times

Re: MR2duino

Post by d-peg »

Subscribed for updates, how-to's & kits for sale lol!
92 JDM Turbo - V8 Project Car - LINK
93 UK N/A - V6 SC Project Car - LINK
00 mk3 2zz - Driven Daily :D - LINK
It's not a party till I get my bum out
User avatar

Protok
Posts: 2303
Joined: 31/07/06 1:00
Years of MR2 Ownership: 11
MR2's Owned: 4
Real Name: Red
Gender: Male
Location: Staffordshire

Re: MR2duino

Post by Protok »

shinny wrote:
Protok wrote:Quick question: As far as I know there are 2 types of heater controls, am I to assume that this will only work with one type?
There's a physical component to the UK mkII controls, if that's what you're referring to?
I always thought it was the aircon vs non aircon. But effectively yes.
I cannot imagine this being able to work with the non aircon controls or am I wrong?

I am hoping I am wrong cause I really don't want to have to retro fit aircon controls.
Red "Iron Guts" Protok
JAE '11 Food Eating Contest Champion
JAE '12 Food Eating Contest Champion
JAE '13 Food Eating Contest Runner-up
JAE '14 Food Eating Contest Champion
User avatar

Topic author
Marc2Turbo

Re: MR2duino

Post by Marc2Turbo »

There is no reason that the pwm for the jdm air con version couldn't be swapped for a beefy servo, it's not an endgame :-)
User avatar

shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: MR2duino

Post by shinny »

Marc2Turbo wrote:There is no reason that the pwm for the jdm air con version couldn't be swapped for a beefy servo, it's not an endgame :-)
Indeed!

Protok, the aircon unit is on a seperate plug, so that's no issue. Imports have an auto setting that the UK cars don't, but again not exactly a show stopper :th:
User avatar

Protok
Posts: 2303
Joined: 31/07/06 1:00
Years of MR2 Ownership: 11
MR2's Owned: 4
Real Name: Red
Gender: Male
Location: Staffordshire

Re: MR2duino

Post by Protok »

shinny wrote:
Marc2Turbo wrote:There is no reason that the pwm for the jdm air con version couldn't be swapped for a beefy servo, it's not an endgame :-)
Indeed!

Protok, the aircon unit is on a seperate plug, so that's no issue. Imports have an auto setting that the UK cars don't, but again not exactly a show stopper :th:
Good to hear :D
Red "Iron Guts" Protok
JAE '11 Food Eating Contest Champion
JAE '12 Food Eating Contest Champion
JAE '13 Food Eating Contest Runner-up
JAE '14 Food Eating Contest Champion
User avatar

Topic author
Marc2Turbo

Re: MR2duino

Post by Marc2Turbo »

I'm sacking off the air con completely but it wouldn't be an issue to add 2 more relays and buttons, the donkey work is done now, it's just cut and pasting code for new additions

Quick Reply

   
The forum Administrator has chosen to advise you that this topic is 11 years and 1 month old and that you may wish to begin a new topic or use the search feature to find a similar but newer topic.

Return to “Carputers”