Analogue Sensor Ports

From Smart Box
Jump to navigation Jump to search

Pinout[edit]

5-pin 180° DIN socket
Pin Function
1 Analogue signal input
2 GND (0V)
3 VCC (+5V)
4 Sense signal output
5 Vref (+2.55V)

Analogue input[edit]

The expected analogue input on pin 1 is between 0V and Vref (+2.55V) which will correspond to a reading of between 0 and 255 in the SmartMove software.

Each unit on the analogue input can therefore be said to correspond to 1/100V.

Sense output[edit]

To identify the different types of Smart Sensor software on the Smart Box will drive the "Sense" pin 4 high approximately once per second. When the sense pin is driven high sensors should return a voltage corresponding to their sensor type to the Smart Box's analogue input. This can be implemented in your own sensors using an analogue multiplexer/demultiplexer (such as the 4053 IC) to switch between the sensor's output voltage when sense is low and the sensor's ID voltage when sense is high, e.g. produced by a trim pot between 0V and Vref.

Sensor IDs[edit]

There are 32 possible sensor IDs. The ADC reading mentioned in the table below is the minimum value that will cause the Smart Move software to identify a particular sensor, for example a humidity sensor can be identified with an ADC reading between 157 and 164.

Note that Smart Move 1.16 and Smart Move 1.18 have some different names for some sensors. If a space is left blank in the table then the sensor is treated as present but is labelled "SENSORA" to "SENSORD" instead of being renamed according to the sensor type.

ADC Smart Move 1.16 Smart Move 1.18
0 No sensor No sensor
5 mT
13 mm Temp
21 No sensor No sensor
29 No sensor No sensor
37 Temp Volts
45 Temp Temp
53 mA Volts
61 Sound Temp
69 Sound Sound
77 Sound PH
85 Pulse
93 Position Position
101
109
117
125 Light Light
133
141
149
157 Humidity Humidity
165 Sound
173 Light
181 Pressure Sound
189
197 PH Atmos
205 Light
213 User
221 Adaptor Adaptor
229 Lux Temp
237 Volts LGate
245 Wind
253 Temp Temp