An embedded multi-purpose Ethernet controller: Application a temperature / light sensing slave board


Description

In the goal of monitoring remotely temperature and light level, we made a board able to read 4 temperature sensors and 2 photodiodes. The slave microcontroller is a 8 bit 20 Mhz PIC16C74 from Microchip (let's use the acronym PIC for the rest of the document). Upon order form our Ethernet Board (EED), the PIC select which sensor to active thru a 8 position analog multiplexer (DG528 from Maxim) and convert the analog signal into a digital 14 bit wide signal thru the AD679 from Analog Devices. The data form the given sensor is sent back to the FIFO included in our EED. The SX52 sends back the result thru ethernet frame to the PC.


Overview : our EED board has now another piggy back board to measure temperature and light illumination.

This small telemetry application is very usefull in the sense that any temperature and light level can be monitored remotely. A PCB has been made for that purpose, and this PCB is mounted in piggy back to the EED board, as one can see in the next image :


The two boards : the EED, underneath and the sensors board in front. The PIC microcontroller is visible at top left, and the ADC at top right.

 


The two boards : the EED bottom and the sensors board at top. The SX52 is programmed by the means of SX-KEY and RS232.

 

The temperature sensor is a AD592, the photodiode, a 1 cm2 photodiode S2387-1010R from HAMAMATSU.

Hereafter, the schematic of this board:

The Pic16C74A is the slave microcontroller, the Analog to Digitial Concverter is a 14 bit AD679. The sensors are amplified, and an analog multiplexer DG528 select the sensor to be monitored thru a 3 bit address. The EEPROM serves to store the IP address of the device. The J4 connector allws this board to speak to the ethernet board.


Sensors PCB, PIC16C74A is top left, AD678 is to right.

 

The software

The software is able to monitor temperature and light level remotely (here more than 200m) over the LAN. This code was written with DELPHI 5.


Remote monitoring of temperature

 


C.CAVADORE and B.GAILLARD, August 2000