| Electronic Components Datasheet Search |
|
PM9904BPD Datasheet(PDF) 6 Page - Sames |
|
|
|||||||||||||||||||||||||||||
PM9904BPD Datasheet(HTML) 6 Page - Sames |
|
6 / 22 page ![]() sames sames PM9904BPD 6/22 http://www.sames.co.za THE MICRO-CONTROLLER BOARD OVERVIEW This section describes the plug-in micro-controller board and should be read in conjunction with the evaluation software section, where basic metering software is described. The micro-controller’s software was developed according to this section. The board plugs into the evaluation module as described earlier in this application note. Keys Four keys are provided of which one is connected to the micro- controller’s reset pin. The other three are available to implement an HMI (Human Machine Interface) in the firmware; they’re labelled Up/Down and Enter on the printed circuit board. Rate outputs Two LEDs are provided for active and re-active energy respectively. These pulse outputs can be coupled to an opto- coupler via JP3/4 providing an output for external usage. This output-pulse selection is accomplished with a jumper on JP3/4 as follows: + Jumper on board’s outside edge = a ctive + Jumper on board’s centre pins = re -active + Jumper on board’s inside edge = not used Miscellaneous Connectors JP1 and JP2 are provided to ease debugging during code development, all relevant signals are available. J1 in conjunction with SK2 are the two plug-in points to the evaluation module, where SK2 is the SPI connector and J1 merely a stabilising holder. The micro-controller is programmed via SK1 using the controller’s ICSP (in circuit serial programming) capability, as described in the relevant MICROCHIP datasheet. If the intention is to program the board from MICROCHIP’s PICSTART-programmer a buffer needs to be inserted in the V line to boost the programmer’s output DD capability. An example of such a buffer is shown in Figure 8. Figure 8: Typical buffer circuit R5 1.2M R1 820K R3 100R R2 820K 2N3906 2N3819 0V >5V I / P O / P Hardware The schematic is presented in Figure 18. As can be seen the major elements are: + micro-controller, + eeprom, + keys, + rate LEDs / opto-isolated rate pulse output + and miscellaneous connectors. Micro-controller A PIC 16F876-20/so is used to generate the rate pulses, in this application the micro uses a 20 MHz crystal (X1). This device has 8kB Flash ROM (program memory) and 368 Byte RAM (data memory). Detail information on the device can be obtained in the appropriate MICROCHIP datasheet. EEPROM A 93C46 EEPROM provides storage for non-volatile data, such as calibration factors. This device has 1 kB space available or stated differently 128 x 8bit words. Figure 7: Micro-controller board 1 |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |