Electrical For discussions regarding wiring up electrical modifications such as radar detectors, brake light mods, power sockets, and driving lights in Cooper (R50), Cabrio (R52), and Cooper S (R53) MINIs.

Electrical Auto track mode and passenger window up

Thread Tools
 
Search this Thread
 
  #1  
Old 07-08-2018, 07:59 PM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
Auto track mode and passenger window up

I just wanted to share a project I've been working playing with off and on for the last two months. I've looked everywhere to buy Ian's Auto Up module but it looks like FES only sells in bulk.. so I decided to build my own. I purchased an arduino, breadboard, jumper wires, and a spare switch panel to get started. Today I finally got it working correctly - it disables DSC after 5 seconds, and it detects button presses less then a half second to activate auto-up on the passenger window. These were my two main goals for this project. But now that I know how all the switches are pinned and controlled, I can program any combination of switches. I think latching front fog lights would be cool. Any ideas what else would be useful?

Here's a quick video of it in action:
 
The following users liked this post:
Derek86 (11-28-2018)
  #2  
Old 07-08-2018, 10:21 PM
RB-MINI's Avatar
RB-MINI
RB-MINI is offline
6th Gear
iTrader: (1)
Join Date: Oct 2009
Posts: 2,398
Received 489 Likes on 408 Posts
Awesome!

Adding auto up for the driver’s side would be good for people who don’t have the ability or want to pay for someone to program the factory option.
 
  #3  
Old 07-09-2018, 08:36 AM
pnwR53S's Avatar
pnwR53S
pnwR53S is offline
6th Gear - NAM Hall of Fame
Join Date: Apr 2017
Location: soggy pnw
Posts: 3,967
Received 389 Likes on 356 Posts
Good to see a project like this.

What's your plan on how the connections to be done? Ian's is plug and play with connector, which is hard to do with off the shelf Arduino or other similar boards. You have done the easy part - ask why I know. If you are not planning for general consumption the least work approach is to just splice into the OE harness. I am reluctant to do that, for just these two niceties.

It would not be easy to latch the fog light and I infer you mean to override the BCM that you have to have the running lights on to turn on the head light. I don't see a point as if you turn on the fog light, you should have the running lights on, and the BCM programming already allows you to do that. For me Ian's module or a project like this only buys me the passenger side one touch up and the ability to opt-in the DSC/ASC.

If I were to bother with adding a module hack like this, it must have much more value-adds, like handling of critical vital signs or data logging capabilities. I don't mean to rain on your parade, but just remark on how I see it.
 
  #4  
Old 07-09-2018, 09:11 AM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
Originally Posted by pnwR53S
Good to see a project like this.

What's your plan on how the connections to be done? Ian's is plug and play with connector, which is hard to do with off the shelf Arduino or other similar boards. You have done the easy part - ask why I know. If you are not planning for general consumption the least work approach is to just splice into the OE harness. I am reluctant to do that, for just these two niceties.

It would not be easy to latch the fog light and I infer you mean to override the BCM that you have to have the running lights on to turn on the head light. I don't see a point as if you turn on the fog light, you should have the running lights on, and the BCM programming already allows you to do that. For me Ian's module or a project like this only buys me the passenger side one touch up and the ability to opt-in the DSC/ASC.

If I were to bother with adding a module hack like this, it must have much more value-adds, like handling of critical vital signs or data logging capabilities. I don't mean to rain on your parade, but just remark on how I see it.
Good points. I'm just making this for myself and a few buddies so I'm not too worried about appeasing the masses with advanced features - although I might just for fun. I can upgrade the software anytime I want if I leave the USB cable accessible. As far as installation, the switch panel and harness use a standard 2x9 header with 2.54 pin spacing. I was able to use a header and connector housing I had laying around to make a OEM-like connection just like Ian's module - no splicing needed. Right now I'm using a cable with connectors at the end, but I can get rid of it entirely just like Ian's later designs. What you see is just a breadboard mock-up. I'm already working on a miniature design on a printed circuit board using an arduino nano, then eventually just the atmega chip if I ever wanted to make more than just a handful. It will fit behind the switch panel no problem. I wanna get this in my Mini already!

For latching things like fog lights, I meant that they stay on during re-start. I can already control the front/rear fog as well as the locks. It's just a matter of writing some code to remember the last state, then either turning them on or keeping them off at start-up. I have my front fog lights on a separate circuit, so I might use that switch for something else.. maybe a garage door opener or to control my dash-cam.

This module only simulates what you can do on the switch panel, so it wouldn't have access to anything on the BCM or ECU directly. No logging capabilities possible. But I have been playing with an Arduino ICAN module to see what I can do with that - maybe intercept the steering control buttons. Not sure what else yet. I was just excited to get this working for now
 
  #5  
Old 07-09-2018, 09:12 AM
cornjuice's Avatar
cornjuice
cornjuice is offline
Banned
Join Date: Sep 2017
Location: NCAL
Posts: 442
Received 38 Likes on 36 Posts
my JCW has auto down/up.. but interestingly only works when the doors are closed. You cannot activate the auto up/down until the door is closed, then functions. **as well.. the FOB will only let the windows down..and cannot roll them up or close the sunroof either.



#miniQuirks
 
  #6  
Old 07-09-2018, 09:14 AM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
Originally Posted by cornjuice
my JCW has auto down/up.. but interestingly only works when the doors are closed. You cannot activate the auto up/down until the door is closed, then functions. **as well.. the FOB will only let the windows down..and cannot roll them up or close the sunroof either.



#miniQuirks
You can change that using NCSExpert! I don't recall the exact setting but it's in there - I enabled it on my driver side. This module will do that too.
 
The following users liked this post:
cornjuice (07-09-2018)
  #7  
Old 07-18-2018, 08:26 PM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
I finally got around to shrinking the project onto a prototyping board. I'm only using about 60% of the board.. once I trim it up it should only be about 2x2". I'm using pin and header connections to avoid building cables. I've use it on a few trips and so far no problems. Passenger auto up/down and disable DSC on startup are enable on this unit. I'll test this for a few weeks while I work on adding the driver side, then some programmable options either via switch combinations or using a wifi module like the esp8266 with an ajax web server.



Without harness attached



How it would look installed with harness (got it off ebay to ensure proper fit before installing on my mini)
 
  #8  
Old 07-18-2018, 08:40 PM
pnwR53S's Avatar
pnwR53S
pnwR53S is offline
6th Gear - NAM Hall of Fame
Join Date: Apr 2017
Location: soggy pnw
Posts: 3,967
Received 389 Likes on 356 Posts
I like your idea of using a proto board to avoid making a harness. Can you please show us the wiring side of the proto board?
 
  #9  
Old 09-17-2018, 09:54 AM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
Haven't updated this in a while. I'm pretty much done with this project and moved on to working on CANBUS based projects.

Functionality:
  • Single click - Driver and Passenger Up/Down
  • Double Click - Both driver and passenger automatic up/down at the same time (clicking once during movement stops both)
  • Automatic DSC/traction control off at startup
  • Automatic front/rear fog light when you turn on the headlight
All features can be turned on/off easily by holding door unlock (enable) and lock (disable) while clicking any button you want to enable. Example, hold door lock up + click driver window up once will enable driver side auto up. Double clicking driver up will enable dual mode up (driver + passenger auto up on double click). I gotta say the double click function is awesome to use

Here's a quick video showing dual up/down as well as single up/down. I also have a quick shot of my CANBUS shift light. I had the mount 3D printed and it came out pretty well. I have the RPM displayed on the LCD as well as other information such as automatic dimming(with headlight on) and a logging mode. i'm working on adding more data points with a bigger LCD screen. I think I can pretty much replace the tach completely

 

Last edited by socalva; 09-17-2018 at 09:56 AM. Reason: adding info
  #10  
Old 09-24-2018, 07:18 AM
Mereco's Avatar
Mereco
Mereco is offline
3rd Gear
Join Date: Nov 2015
Posts: 152
Received 17 Likes on 14 Posts
Originally Posted by socalva
Haven't updated this in a while. I'm pretty much done with this project and moved on to working on CANBUS based projects.

Functionality:
  • Single click - Driver and Passenger Up/Down
  • Double Click - Both driver and passenger automatic up/down at the same time (clicking once during movement stops both)
  • Automatic DSC/traction control off at startup
  • Automatic front/rear fog light when you turn on the headlight
All features can be turned on/off easily by holding door unlock (enable) and lock (disable) while clicking any button you want to enable. Example, hold door lock up + click driver window up once will enable driver side auto up. Double clicking driver up will enable dual mode up (driver + passenger auto up on double click). I gotta say the double click function is awesome to use

Here's a quick video showing dual up/down as well as single up/down. I also have a quick shot of my CANBUS shift light. I had the mount 3D printed and it came out pretty well. I have the RPM displayed on the LCD as well as other information such as automatic dimming(with headlight on) and a logging mode. i'm working on adding more data points with a bigger LCD screen. I think I can pretty much replace the tach completely

https://youtu.be/Pg-6tGpBL2Q
you should do a couple and sell them
 
  #11  
Old 09-24-2018, 02:20 PM
Paul's Avatar
Paul
Paul is offline
6th Gear
iTrader: (8)
Join Date: Mar 2005
Location: Seattle
Posts: 1,280
Received 17 Likes on 16 Posts
Awesome to see this! Any plans to release the arduino code (to Github, etc) and/or circuit layout?
 
  #12  
Old 10-20-2018, 05:08 PM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
I finally received my printed circuit boards. I soldered this one together pretty quickly just to make sure it worked - everything tested perfect on the bench. I'm gonna install it today and start putting some miles on it! I have two of the five boards spoken for already.. I might bring some to the next mini meet in SoCal if anyone's interested. Not sure if there's much of a demand for it so I'll wait and see before ordering more boards. Its been a fun process though, now I can start finalizing my CANBUS shift light.






 
  #13  
Old 11-13-2018, 10:47 AM
fourdrracer's Avatar
fourdrracer
fourdrracer is offline
2nd Gear
iTrader: (3)
Join Date: Oct 2006
Location: Meridian,MS
Posts: 57
Likes: 0
Received 0 Likes on 0 Posts
Hi Socalva. That is awesome with both windows going up simultaneously! I am definitely interested in purchasing one of these when you get enough folks interested. Any idea of the price?

Thanks,

Lee
 
  #14  
Old 11-13-2018, 03:32 PM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
I'll be making another batch.. here's v2. These are also firmware upgradeable, so new features can be added by uploading a HEX file via the USB port. I plan on adding support for right hand drivers soon. It'll swap the double up/down switch from the left side to the right.


AutoUpV2
 
The following users liked this post:
Derek86 (11-28-2018)
  #15  
Old 11-15-2018, 01:11 PM
Greg Eldada's Avatar
Greg Eldada
Greg Eldada is offline
1st Gear
Join Date: Sep 2018
Posts: 43
Likes: 0
Received 0 Likes on 0 Posts
I’m so so so interested in this! Please please please make some more if you don’t have any available! I’ll buy it right away!!
 
  #16  
Old 11-28-2018, 04:13 AM
Derek86's Avatar
Derek86
Derek86 is offline
6th Gear
Join Date: May 2007
Location: Gulf Coast FL
Posts: 1,305
Received 117 Likes on 103 Posts
I'm also interested in one, when you make the next batch
 
  #17  
Old 11-28-2018, 04:37 AM
smurfskier's Avatar
smurfskier
smurfskier is offline
1st Gear
Join Date: Sep 2018
Posts: 34
Received 0 Likes on 0 Posts
add me to the list for,the next batch as well please
 
  #18  
Old 11-28-2018, 08:57 AM
Revwillie's Avatar
Revwillie
Revwillie is offline
4th Gear
Join Date: Aug 2004
Location: Kensington, MD
Posts: 385
Received 3 Likes on 3 Posts
2 questions:
1) what's the buzzer do?
2) would you consider selling a kit? I'm always looking for soldering projects.

I have had an Ian Cull auto up circuit for several years but it has an odd side effect. the front fog light toggle and the drivers side window seem to interfere with each other.
for example, if I double up-click the window, the front fog lamps turn on or off. I like the idea of USB upgrades and the double auto-up!
 
  #19  
Old 12-03-2018, 12:49 PM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
Originally Posted by Revwillie
2 questions:
1) what's the buzzer do?
2) would you consider selling a kit? I'm always looking for soldering projects.

I have had an Ian Cull auto up circuit for several years but it has an odd side effect. the front fog light toggle and the drivers side window seem to interfere with each other.
for example, if I double up-click the window, the front fog lamps turn on or off. I like the idea of USB upgrades and the double auto-up!
Sorry, I must have missed this reply. The buzzer is used to confirm settings while you're programming the module. This way you ensure whatever setting you click was accepted by the unit. It doesn't beep other than that. I'm not sure why Ian's module would interfere with the fog light like that, they're totally separate pins. I suspect it may be a manufacturing fault where he accidentally joined two output pins together. All switches are on their own dedicated pins, so it would be difficult to control two functions accidentally. The driver side window open pin is #11 and the rear fog light pin is #12 / front #13 - so this scenario is possible.

I've thought about selling just the PCB and all parts to someone willing to solder it on their own, but until I simplify the design a little bit more, I'd probably advise against it. Troubleshooting any faults would require my schematics and a debugger I wrote to test all pins on my test bench. I wouldn't be able to guarantee reliability
 
  #20  
Old 12-03-2018, 01:12 PM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
I was able to complete units. I'll have 4 more ready as soon as I get more chips in. I'll contact those of you that messaged me with interest

 
  #21  
Old 12-10-2018, 11:12 AM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
I've uploaded two videos showing how to attach the module to the switch panel, and how to program the module.

Install

Programming

I can make a video showing how to remove the switch panel if needed.
 
  #22  
Old 12-14-2018, 05:35 AM
Derek86's Avatar
Derek86
Derek86 is offline
6th Gear
Join Date: May 2007
Location: Gulf Coast FL
Posts: 1,305
Received 117 Likes on 103 Posts
I received socalva's module in the mail earlier this week, workmanship and build quality look good. He sent it out quickly and the board was packed very securely for shipping.

I'm going to try to install it this weekend, carb rebuild progress and weather pending.
 
The following users liked this post:
socalva (12-17-2018)
  #23  
Old 12-14-2018, 08:20 AM
cooper48's Avatar
cooper48
cooper48 is offline
6th Gear
Join Date: Jul 2018
Location: DFW, TX
Posts: 2,019
Received 549 Likes on 446 Posts
ENDORSEMENT here: Solcalva used my MC40 for Beta testing a 2004 model. The module works fantastically and I can't say enough about the convenience it adds (especially the DSC cancel feature). I agree with Derek 86 -- the workmanship is super and it's a simple plug & play.
 
The following users liked this post:
socalva (12-17-2018)
  #24  
Old 04-09-2019, 06:00 PM
Derek86's Avatar
Derek86
Derek86 is offline
6th Gear
Join Date: May 2007
Location: Gulf Coast FL
Posts: 1,305
Received 117 Likes on 103 Posts
I apologize for the delay, I put my car in storage over the winter and just got the install done today. I got the unit from socalva back in December, but that's life sometimes.

I did the install and played with some programming this evening. The unit, as mentioned before, is well built. I found it easy to program following the above video tutorials. I found the installation tedious, but that is more a commentary on the Mini itself than socalva's work. I removed the switch panel, HVAC controls and head unit to complete the install, I would recommend following the same steps. The unit may be able to be installed by just removing the switch panel, but it was tight and I did not want to bend any of the pins on the switch panel or the socalva unit. I did have an issue when first installed where my passenger window "up" button did not function at all. I made sure the connections were snug on the switch panel and that resolved the issue. The unit fits nicely behind the switch panel and does not interfere in any way with the HVAC unit above it.

The unit programs and functions as advertised. It's really easy to change the programming, and I love all the options that I have now! I found that if I hit the switches too quickly, or do not correctly time my double click for both windows to function, the unit does not respond. To clarify, we are talking around a one second delay between functions. For example, if I double tap the driver's window switch to lower both windows, I had to wait for a moment once the windows were down before I could double tap to put them both back up. I do not consider this a problem, just a small learning curve. I also left the individual window auto down features disabled because my car is programmed for that function already.

I Iike the new functionality included with this board, and the easy to program instructions are a great feature. The fact that I can change any of the options quickly and without taking the unit out of the car is awesome. I'll enjoy not switching off my traction contol every time I get in the car! And double tapping a single switch to drop both windows is a pretty nice feature.

I'd recommend this to anyone looking for the functionality since the old auto up units are out of production. Works great and is easy to program, just budget a little extra time to complete the installation carefully.
 

Last edited by Derek86; 04-10-2019 at 06:05 AM.
The following users liked this post:
socalva (04-10-2019)
  #25  
Old 04-10-2019, 08:56 AM
socalva's Avatar
socalva
socalva is offline
1st Gear
Thread Starter
Join Date: Jun 2016
Posts: 40
Received 16 Likes on 12 Posts
Thanks for the reviews guys! I'm glad everyone's happy with the new functionality. Just a comment on the pause after rolling your windows up/down, it's because the module mimics a switch press for 6 seconds to ensure the window rolls all the way up/down. If you need to use the window within the 6 seconds, just click the switch in the opposite direction - that will always cancel the current sequence and enters a ready state to accept any new commands. I'll add this information to the functionality list
 


Quick Reply: Electrical Auto track mode and passenger window up



All times are GMT -7. The time now is 04:15 AM.