Interactive electronics resource

Light Sense Kit Instructions

Build, understand and experiment with the Light Sense Kit. This resource brings the original kit material into the current MitchElectronics format with the schematic, circuit explanation, component and PCB information, construction guidance, troubleshooting and practical ideas where available.

Light Sense

Introduction

What is the SENSE range?

The SENSE Range are electronic kits that let you build your own module with sensing capabilities. Each module has the exact same dimensions, pin-out, and hole location so that modules can be interchanged depending on what needs detecting. For example, the Sound Sense is capable of detecting sound, while the Temp Sense uses a thermistor to detect the ambient temperature.

Unlike other sensing modules on the market, the simplicity of the MitchElectronics Sense Range makes them easy to modify, use in other circuits, and build. At the same time, the standardised 40mm x 20mm dimension is very easy to work with when creating enclosures and mounting a Sense board.

sense range

What is the standard pin-out for the SENSE range?

To make using the Sense Range as easy as possible, all Sense kits have a four pin connector that is identical for each device. Two of these pins are for providing power (VCC and 0V), and the other two are one digital output (that switches between VCC and 0V), and analogue output, which varies depending on the signal being sensed. For example, the Sound Sense produces an analogue signal whose amplitude increases with sound volume, while the Temp Sense produces a voltage that directly relates to temperature.

sense pinout

What is the standard dimension of the SENSE range?

To make sure that using the Sense Range is as simple as possible, all dimensions, hole sizes, and positions are identical across all modules. By doing so, modules can be swapped around without needing to change enclosures, screws, or mountings. At the same time, this standardisation also allows for modules to be stacked in frames which can also be convenient

The standard size for all kits is 40mm x 20mm, M2 holes (2mm diameter), a hole separation of 35mm x 15mm, and a hole edge spacing of 2.5mm.

standard size

Schematic

LIGHT SENSE

How does the light sense work?

The Light Sense comprises of a photodiode (D1), a comparator (U1A), and a non-inverting amplifier (U1B).

You may notice that in the circuit, the photodiode diode is in reverse bias mode meaning that under normal circumstances, it doesn’t conduct any electricity. When light falls onto the photodiode, it causes the photodiode to become conductive, and the resistance of the photodiode depends on how much light is falling on it.

Because the resistor R1 is in series with the photodiode, the result is a potential divider whereby more light falling onto the photodiode reduces its resistance, thereby reducing the voltage across the photodiode. The voltage across the photodiode is fed into both op-amps, U1A and U1B, which are configured as a comparator and a non-inverting amplifier respectively.

The comparator (U1A), has its non-inverting input connected to a potentiometer, which produces a voltage between VCC and 0V depending on its position. If the voltage across the photodiode is greater than the voltage from the potentiometer, the output of the comparator switches to 0V, indicating that the light level is lower than the trigger level defined by the potentiometer. If the voltage across the photodiode is lower than the voltage from the potentiometer, the output of the comparator switches to VCC, indicating that the light level is greater than the trigger level defined by the potentiometer. The output of the comparator is digital, and can be used to determine if the photodiode has detected a minimum level of light.

The non-inverting amplifier (U1B) has two feedback resistors, R2 and R3, which result in a gain of approximately 10, and this is used to amplify the weak signal produced by the photodiode. This output is analogue, and can be used to measure the amount of light falling onto the sensor.

Project ideas

Burglar Alarm

One such use for the Light Sense is as a trigger device for an alarm circuit. At night, when all the lights in a home are turned off, this module can stand guard looking for the tell-tale signs of a burglar looking for your hard-earned cash. The moment a torch light hits the sensor, the digital output can send a signal to an alarm system, and from there, can either set off a sounder, or even text you a message. burglar

Automatic Lights

If positioned towards the sky, this kit can be used to automatically turn lights on and off depending on whether it is day or night. The digital output of the sensor can be set (using the potentiometer), to trigger external lights when the ambient light level falls, and turn them off when ambient light levels rise. Such sensors are commonly seen on streetlights that use a photodetector on the top of their light to determine whether to turn off or not. streetlights

Lux Sensor

The analogue output of the Light Sense can be used as a lux reading whereby the brightness of a space can be determined scientifically. This is particularly important in photography, where light levels need to be carefully controlled. The output of the Light Sense can be connected to a microcontroller’s ADC, and several readings can be taken in known lux environments to create calibration data. lux

Try it yourself

Circuit simulation

What you need

Component List

ComponentQuantityPCB Reference
LM3581U1
8 DIP Socket1U1
Photodiode1D1
1KΩ Resistor1R2
10KΩ Resistor2R1, R3
100nF Capacitor1C1
10KΩ Potentiometer1RV1
4-Way Socket1J1
J11

Inspect the board

Interactive BOM

Not available in mobile view

Board reference

PCB & assembly

The PCB silkscreen and component references should be checked against the component list before soldering each part.

LIGHT SENSE

Before applying power

  1. Check every component against its PCB reference.
  2. Confirm the orientation of all polarised components and ICs.
  3. Inspect for solder bridges, unsoldered pads and clipped leads that could cause a short.
  4. Check that no loose wire or solder debris remains on the board.

Build with confidence

Construction tips

Recommended build order

A reliable way to assemble Light Sense Kit is to work from the lowest-profile components to the tallest. This keeps the PCB easy to access while you solder.

  1. Fit resistors, links and other low-profile components first.
  2. Fit small capacitors and diodes, checking polarity where applicable.
  3. Fit IC sockets and small semiconductors, observing the orientation markings.
  4. Fit larger capacitors, potentiometers, switches and other controls.
  5. Fit LEDs, connectors and the remaining taller components.
  6. Insert socketed ICs only after soldering around the socket is complete.
  7. Inspect every joint and check for solder bridges before applying power.

Electronics construction guidance

If you are new to kit construction, use the Soldering Guide alongside these instructions. Identify each component before fitting it and compare its reference with the component list and PCB silkscreen.

When it does not work

Troubleshooting

Nothing happens when power is applied

  • Confirm the supply is connected to the correct input and with the correct polarity.
  • Check that ICs, diodes, LEDs, transistors and electrolytic capacitors are fitted in the correct orientation.
  • Compare component values and positions against the component list and PCB reference.
  • Inspect for missed joints, dry joints and accidental solder bridges.

The circuit powers up but does not behave as expected

This kit is intended for light sensing module. If the output is stuck, unstable or outside the expected behaviour, use the schematic to trace the circuit a stage at a time rather than replacing several parts at once.

Check the components around the part of the circuit responsible for the output or timing first. A misplaced resistor, reversed semiconductor or poor connection can allow a circuit to power up while preventing it from operating correctly.

The circuit works intermittently

Intermittent behaviour is often caused by a marginal solder joint, a loose connector or a component lead that has not been fully soldered. Gently inspect the board with power removed and reflow any joint that looks dull, cracked or incomplete.

If the fault remains, compare the assembled board with the schematic and PCB reference one connection at a time.

Ready to test and experiment?

Feeling brave? Consider using different resistors Can be done to change the voltage output of the photodiode diode

Once the board is working, compare its behaviour with the schematic and the explanation above. Try changing only one input, control or permitted component value at a time so you can clearly see what effect that change has on the circuit.