Posted by dapj20 on Jan 14, 2019 in 80C31-SBC, Discrete-Circuits, Embedded-Systems
I had to once interface an high voltage circuit to PC, The uC had to communicate thru RS232--Comm port--Serial Port. Part of the 80C31 8051 SBC
delabs Technologies
Electronic Devices and Engineering Designs
I had to once interface an high voltage circuit to PC, The uC had to communicate thru RS232--Comm port--Serial Port. Part of the 80C31 8051 SBC
You must have read all the circuits and explanation on the other pages at delabs to understand this, as i cannot repeat the same thing as i have done it more than once already.
Digital Timers Counters and Clocks
The circuit is a 555 monostable, The push-switch is to trigger and generate a reset pulse for uC. The diode is for OR' ing later. The High will go thru the diode but the Low of 555 cannot drink any current as diode blocks.
This is the standard configuration on how to Interface a uC like 8051 to PC RS232 with MAX232A. The UART or Serial port was not present in 8049/8749 chips which were the ancestors of 8051/8031. Pages of code were needed to make a software UART in MCS-48. The 8051 integrated the hardware UART and short commands made it tick. The most important innovation which made uC popular was the C in 80C31. C is for CMOS. This made the chip work cooler and work on even batteries and small power supplies.
80C51, SBC, Firmware and Circuits
The 8749 and 8751 are the UV EPROM type of uC. With limited erase/write cycles. The FLASH revolution changed every thing, you could update firmware over a phone line modem. Even without Ethernet, the firmware could be updated by making every embedded device a node on the EPABX. Now TCP/IP and Wi-Fi makes it all very easy.
This circuit can be used as a low cost SRAM and Microcontroller or Microprocessor Battery Backup. All the diodes are 1N4148, The diodes prevent battery discharge back to power source. D8 gives a one way path to charge Battery thru R13 which limits current. D4 ensures a one way path of supply to chip when power is present. D5 is backup supply on power failure.
Microcontroller in Process Control
The chip a real time clock, RAM or Processor can be put to standby or sleep on power failure. If it is not a smart chip then make sure on power failure all outputs of chip are high impedance or floating. do not use any pullups or resistor dividers to Vbat, which is the supply to chip. There should be no leakage path from Vbat, decoupling cap of chip must be plastic.