Introduction: Smart Car Beam System

About: Technomentis is a venture to foster innovation and hands on learning for youngsters at formative ages. We explore, create, design, tinker and innovate at Explorato - our makers space.

Night drive becomes dangerous especially when the high beam of an incoming car distorts the driver's vision. This project is aimed at automatically switching off the high beam of a car when the car senses an incoming vehicle. In the absence of the incoming vehicle, the high beam is switch on. The sensing of the incoming vehicle is accomplished with a simple Light Dependent Resistor.

Step 1: Car 1: Components Required

  1. Intel Galileo Gen1 x 1
  2. USB cable x 1
  3. Power cord x 1
  4. 1 Kohm resistor x 1
  5. LDR x 1
  6. LEDs x4
  7. 470ohm resistor x 4
  8. M-M Jumper wires x 20
  9. M-F Jumper wires x 20

Step 2: Connecting LDR Sensor With Intel Galileo

LDR

LDR is expanded as Light Dependent Resistor. Depending upon the intensity of light projected to the surface of an LDR, it changes its resistance value. The value of resistance changes from few ohms under sufficient light condition to few Mega Ohms under dark conditions.

Circuit Connections:

  1. Connect one leg of the LDR to VCC (5V) on the Intel Galileo.
  2. Connect the other terminal of the LDR to the Analog pin 0 (A0) on the Intel Galileo.
  3. A 1Kohms resistor is also connected to one terminal of LDR which is connected to pin A0 as shown in the figure.
  4. The other terminal of resistor is connected to the ground of an Intel Galileo.

Step 3: Connecting the LEDs to the Intel Galileo

LED:

LED is Light emitting diode. The main function of Diode is that it allows the current to flow in one direction only.
The LED has two terminals:

  1. Positive Terminal: The longer leg of the LED is positive
  2. Negative Terminal: The shorter leg of the LED is negative

Circuit Connections:

  1. Connect the negative terminal of LED1 to the positive Terminal of LED 2.
  2. Connect one terminal of 470 ohm resistor to the positive terminal of LED1 and the remaining terminal of resistor to Pin no.13 on your Intel Galileo board.
  3. Now connect the negative terminal of the LED2 to the ground of your Intel Galileo Board.
  4. Similarly do the same for the other two LEDs (LED3 and LED4). Connect the resistor(470 ohm) to Pin no. 12 of the Intel Galileo board.

Step 4: Upload the Arduino Sketch

Step 5: Car 2: Components Required

  1. 470ohm resistor x 1
  2. LEDs x 4
  3. PCB x 1
  4. 9V Battery x 1
  5. 9V Battery Connector x 1
  6. Toggle Switch x 1
  7. Soldering Kit x 1

Step 6: Circuit Layout for PCB Soldering

  1. Connect 4 LEDs in parallel configuration.
  2. Connect the negative terminal of the LED to the negative of the 9V battery
  3. Connect the positive terminal of the LED to one terminal of the 470ohm resistor.
  4. Connect the other end of the resistor to one of the end pins of the toggle switch.
  5. Connect the positive of the 9V battery to the middle pin of the toggle switch.

Step 7: Reference Images for Construction