Introduction: Smart RimGuard

About: Hacker, maker and fixer on electrical, electronic and woodworking projects.

What is Smart RimGuard?

Automatically lowers both your wing mirrors while reversing and returns them to the initial position when finished parking. Now you can check how close you are to the curb and save your rims from expensive dents and scratches! As a bonus Smart RimGuard shuts both your windows when the ignition is turned off! So far it has been tested with no problems in some Peugeot cars but more compatibility will be added once I get the chance. Of course you need to adjust the instructions to your model.

Check the video for a quick demo.

Step 1: Components

  • 1 x Linkit ONE
  • 1 x 4 channel relay module @ 5V
  • 1 x cigarete lighter USB adapter (avoid cheap ones)
  • Jumper wires (male to female)
  • Some extention wires

Step 2: ​Remove Buttons Panel

Remove with a torx screwdriver the plastic cover. It is advised to use a plastic prying tool to avoid any damage.

Step 3: Connect Extension Wires to the Connector Plug

Flip the buttons panel and lower the lock lever releasing the plug.

Step 4: Pull Away the Plug

Pull away the plug

Step 5: With the Use of a Flat Screwdriver Release the Inner Lock of the Plug

With the use of a flat screwdriver release the inner lock of the plug.

Step 6: Slide Out the Internal Connector

Slide out the internal connector.

Step 7: Notice the Little Numbers on the Internal Connector. Each Wire Corresponds to a Number Ranging From 1 to 18

Notice the little numbers on the internal connector. Each wire corresponds to a number ranging from 1 to 18.

Connect a 20cm (8 inches) wire to each of the following wires: 1, 7, 8, 10, 12, 15 and 18.

Step 8: Program Linkit ONE

To make your life simpler, I have included the .ino file. You should know how to load this onto Linkit ONE :)

Step 9: In-car Installation

Connect reverse, ignition and +12V wires to Linkit ONE D10, D12 and D7 respectively. Use an additional relay to protect your board. See attached fritzing schematic with all the details.

Notice that each relay has a little help printed next to the terminal blocks. It shows which contact is connected when no trigger is applied (normally closed - NC) and which is not connected (normally open - NO). Spot the NO contacts.

Connect wires 1, 7, 8, 10, 12, 15, 18 from step 7 to the relay boards NO contacts in this manner:

Relay 1: wires 1 and 7

Relay 2: wires 8 and 10

Relay 3: wires 12 and 15

Relay 4: wires 12 and 18

Connect Linkit ONE D7, D8, D9, D12 to relay input 1, 2, 3 and 4 respectively.

Last but not least POWER!

Connect the +5V out from the lighter adapter to Linkit 5V IN and to the Vcc of the relay module.

Connect the - (ground or GND) out from the lighter adapter to Linkit GND and to the GND of the relay module.


Step 10: Test

Check all wiring again and again! Remember a silly mistake can cause great problems in a car, not to mention fire! Explain you connections to your duck. I'm not responsible if you break something. You have been warned :)

Turn engine on and engage reverse!


Arduino All The Things! Contest

Participated in the
Arduino All The Things! Contest