PROJECT 23 – Input/Output Example Using the RS232 Port Function This project shows how we can input and output serial data using the built-in C functions. In this example, the user is prompted to enter a character through the RS232 terminal. The program then finds the next character (i.e. increments the character by one) and […]
Continue reading…
Uncategorized
Temperature Projects:Digital Thermometer with Centigrade/ Fahrenheit Output
PROJECT 18 – Digital Thermometer with Centigrade/ Fahrenheit Output Function This project is similar to Project I7, but in addition the outputs can display the temperature in both Centigrade (oC) and Fahrenheit (oF). An SPDT switch is connected to bit 3 of port 3 and the output of this switch is normally held at logic […]
Continue reading…
Rs232 Serial Communication Projects
RS232 is a serial communications standard which enables data to be transferred in serial form between two devices. Data is transmitted and received in serial ‘bit stream’ from one point to another. Standard RS232 is suitable for data transfer to about 50 m, although special low-loss cables can be used for extended distance operation. Four […]
Continue reading…
Rs232 Serial Communication Projects:Output a Simple Text Message from the RS232 Port
PROJECT 22 – Output a Simple Text Message from the RS232 Port Function This project shows how we can interface our microcontroller to an external RS232 compatible device (e.g. an RS232 visual display unit, or COM1 or COM2 port of a PC) and send a text message to this device. The text message ‘THIS IS […]
Continue reading…
Temperature Projects:Digital Thermometer with High Alarm Output
PROJECT 19 – Digital Thermometer with High Alarm Output Function This project is similar to Project I7 but a buzzer is connected to the THIGH output of the DSI620 thermometer IC, via a MOSFET transistor. When the temperature exceeds a preset value the buzzer turns on and stays on as long as the temperature is […]
Continue reading…
Temperature Projects:Digital Thermometer With High and Low Alarm Outputs
PROJECT 20 – Digital Thermometer With High and Low Alarm Outputs Function This project is similar to Project I9 except that the DSI620 is programmed so that a buzzer connected to the TCOM output of DSI620 turns on when the temperature is equal to or greater than TH and it then turns off only when […]
Continue reading…
Temperature Projects:Using Analogue Temperature Sensor IC with A/D Converter
PROJECT 21 – Using Analogue Temperature Sensor IC with A/D Converter Function This project shows how we can connect an analogue-to-digital (A/D) converter IC to our microcontroller. In this project, an analogue temperature sensor IC (LM35DZ) is used and its output is connected to an 8-bit A/D converter (ADC0804). The temperature is then displayed every […]
Continue reading…
Temperature Projects:Using a Digital Temperature Sensor
PROJECT 17 – Using a Digital Temperature Sensor Function This project shows how we can interface a DSI620 type digital temperature sensor to our microcontroller. The ambient temperature is measured con- tinuously and then displayed in degrees centigrade on three TIL3II type alphanumeric displays. Positive temperature is displayed from 0oC toI25oC. Negative temperature is displayed […]
Continue reading…
Programming Microcontrollers In C:Internet Web Sites of Microcontroller Compilers
Internet Web Sites of Microcontroller Compilers The amount of microcontroller software available on the Internet is huge and there are many different example programs. Internet web sites of some popular 8051 family microcontroller compilers and other useful sites are given below. Further Reading The following books and reference manuals are useful in learning to program […]
Continue reading…
Programming Microcontrollers In C:Internet Web Sites of Microcontroller Compilers
Internet Web Sites of Microcontroller Compilers The amount of microcontroller software available on the Internet is huge and there are many different example programs. Internet web sites of some popular 8051 family microcontroller compilers and other useful sites are given below. Further Reading The following books and reference manuals are useful in learning to program […]
Continue reading…