To make the characterization of our biological system we develop a lighting device which can be controlled from a computer. The goal of this device is to create red and infrared pulses of which period and duration are fixed by the user in a computer interface.
The link between computer and the microcontroller is carrying through the serial port.
2. Printed circuit board
We design the printed circuit board with Kicad a free PCB design tool.
Here you can download the files of the circuit: Download
The following picture explains the different components used:
3. Microcontroller software
The microcontroller used is the Microchip pic 18F452 which is easily programmable in C language with MPLAB combined with C18 compiler.
Here you can download the hex file of the program: Download
And here are the source files of the soft: Download
4. Computer software
We develop the computer software in Visual C++. The following picture illustrates the software interface: