This is an old revision of the document!
(Versão 5.1)
O módulo de sensor incluí uma placa combinada de sensores, um filtro passa-baixo e sensores exernos.
Características:
Os sensores on-board podem ser ligados da seguinte forma:
| on-board notation | external notation | on-board sensor | microcontroller port |
|---|---|---|---|
| MIC | AD0 | Microphone | PF0 |
| LDR | AD1 | Light intensity sensor | PF1 |
| NTC | AD2 | Temperature sensor | PF2 |
| POT | AD3 | Potentiometer | PF3 |
Every sensor on the board is connected through the multiplexer, enabling to select between on-board sensor or external sensor which can be connected to the same port through the connectors. By default all on-board sensors are connected to the analogous inputs of the microcontroller (ADC0-ADC3). Multiplexer is controlled with the port PG0.
Low-pass filter can be composed between external analogous inputs 0-3 (PF0-PF3). Resistor and capacitor will be connected to the socket for building up the low-pass filter. By default a low-pass filter is composed for the channel 0 (PF0). Resistor value is 10 kΩ and capacitor value is 100 nF.