The Remote Sensor and Control section is one of the daughter boards of the Modular Embedded Experimenter's PIC System (MEEPS).
The remainder of this document describes the subsections of the Remote Sensor and Control daughter board, configuration options, and variations from the requirements.
When U408 is installed the pins on this connector provide access to two of the unused signals from U408. The signals can be either inputs or outputs.
Components are mounted on both sides of the PCB and parts on the underside of the board are covered by the battery holder.
The prototyping section includes two surface mount locations for 8-pin parts such as the PIC12F675. At the top edge of the prototyping section (when the 40 pin connector is located on the left) are vias connected to the power (Vcc) plane. A similar set of vias at the bottom edge are connected to the ground (GND) plane.
The prototyping area is not visible on the schematic because there are no signal connections.
The Vcc and GND pins on the 40 pin connector are not connected to the GND and Vcc planes of the REMOTE PCB. This prevents accident connections between the 3.3v power supply on the REMOTE module an the CPU power supply. If you want to use the 3.3v REMOTE module power supply to power the CPU, then make the appropriate connections between the 40 pin connector and the Vcc and GND vias at the top and bottom edges of the REMOTE module.
Both processors use their internal clocks to reduce the component count. No external crystals or ceramic resonators are needed.
The microcontrollers are programmed, in-circuit, using MCLR, PGC and PCD pins available at J404. Connector J404 is a 6 pin modular connector suitable for connection to the MPLAB ICD2 debugger/programmer.
There is a blocking diode, D401, between MCLR and the Vcc supply so that high voltages (13v) on MCLR during programming will not damage other circuit components.
S401 allows signals GP0 and GP1 to be used as either I/O signals or programming pins. Depending on which sensor (U401 or U404) is loaded, the switch position for programming will be different. To program the procesor S401 should be place in the position that disconnects the sensor. S401 allows signals GP0 and GP1 to be used as either I/O signals or programming pins.
S401 is not needed when the U408 is installed.
The SHT71, U404, is a relative humidity and temperature sensor with a synchronous serial interface. The serial interface on the SHT71 is not an SPI or I2C interface. The clock signal, SCK, is connected to RA7, pin 18, on U408 and through switch S101 to GP1, pin 6, on U409. The data signal, DATA, is connected to RA7, pin 17, on U408 and through switch S101 to GP0, pin 7, on U409. The DATA signal is bi-directional, so RA6 (or GP0) will have to be switched from input to output as necessary to implement the STH71 communications protocol. Resistor R404 pulls the open drain signal from the SHT71 high when pin RA6 (or GP0)is configured as an input.
U407 is a 3-pin TO-92 1-Wire device such as the DS1822 or DS1821 temperature sensors. Some devices, such as the DS1822 but not the DS1821, can be used in a multi-drop 1-Wire bus. Connector J401 provides for off board expansion of the 1-Wire bus. The pinout for J401 is identical to the pinout for J202 on the Display and Basic I/O board.
1-Wire devices (U407 and any other devices connected to J401) are connected to signal RA4 on U408 and GP5 on U409.
ADXL202E, U401, is a dual-axis accelerometer. This device will measure accelerations up to 2G. The acceleration measurements are reported by pulse width modulation (PWM). The PWM signals are connected to RA1 and RA2 on U408 and, through switch S101, to GP0 and GP1 on U409.
The PWM period and the measurement bandwidth for U401 are set by R403, C402 and C403. With the values listed on the schematic (1.25 mega-ohms, and 0.47uf) the period and bandwidth are set for 10Hz operation.
Power for U401 is provided by setting signal RA0, of U408, high. This provides programmable control of the power to the ADXL202E. The data sheet for the ADXL202E provides details on how it can be operated in a power cycled mode to reduce the average power requirements.
If U408 is not installed, a jumper will need to be added to connect the power pin (pin 8) of U401 to Vcc.
U405 is limited to 5v operation, so it should probably only be used when the REMOTE board is used as a daughterboard for the MEEPS CPU.
U403 and U406 have antenna connections on the radio module. Antenna connections for U402 and U405 are provided on the REMOTE module (J402 and J403 respectively).
The power supplies for U308 and U304 are filtered by R405 and C404.
The RX and TX data signals are connected to the UART built into U408 (RB3 and RB4). This provides a simple asynchronous data path for testing, but is probably not robust enough for reliable RF communications. Other signaling conventions can be implemented in software with the RB3 and RB4 pins configured for general I/O.
U409 drives the TX data using GP2 and receives RF data on GP4.
The Requirements did not specify a prototyping section on this
board, but since one did not fit on the SENSOR module and there was
spare space on this board, it was fairly simple to add the
prototyping area.
$Date: 2008-10-21 19:17:34 $
$Revision: 1.5 $ $Source: /home/cvsroot/MEEPSTop/hardware/remote.html,v $ |
Contact me by email: jedunmire at gmail.com |