Dillian  Electronic 

Write Guest Book    View Guest Book   

  Home | Projects | SoftwareLinks | School | Assignmentcopyright & disclaimer | quick Links | storage | IC


Electronic Projects 

I am sorry about the project materials still under documenting. I will try to combine all the materials in such a way that becomes fully a part. 

I am currently working for the 49MHz RF control devices, the transmitter will send the ascii character to the receiver, and the receiver will decode the ascii code then display it on the LCD and send the ascii to the PC via the RS232 terminal. I use Rx2 and Tx2 as the RC (radio control), the chip provide 5 bits for communication, it is forward/ backward/ leftward & rightward. I only use 2 bits as the serial communication, one for clock and other for the data. I found the data rate is very low, mostly because of the signal length/ modulation method adopted by the Rx2 and Tx2. The protocol for sending the ascii code was completed, and now focus on the antenna design, which can increase the transmission distance, but keep the same input power at the receiver and transmitter side. That means have a good antenna can maximize the efficiency of the RC.

 

PROJECT 1

       

Phase Lock Loop Frequency Synthesizer
The frequency synthesizer is not a frequency generator in the same sense as an oscillator, but is a frequency converter, which uses a phase-locked loop and digital counters in a phase-error feedback
system to keep the output running in a fixed phase relation to the reference signal. Output frequency stabilities are determined by the stability of the reference oscillator, which is typically a crystal-controlled oscillator circuit.
(click here for simplified fyp version, Umps Tutorial, Circuit Diagram, PLL program code, LPF program code)

PROJECT 2   
         

AT89C51/52 Programmer
(Click here for Program Code, Guide)

 

PROJECT 3

AT Keyboard Interface Converter
Provide the interface for the ATKeyboard, Mpu convert the keyboard scancode into ascii code and then transmit the codes through RS232. (Click here for Program Code, Keil Files )

 

PROJECT 4 Rom Rom Access
(Click here for circuit Diagram)


PROJECT 5 I2C Eeprom programming 


PROJECT 6 DS1620 Digital Temperature sensor
Interfacing the DS1620 via the comport, measure temperature form -55 to +125. This note introduces the software for interfacing a 8052 microcontroller to the DS1620 digital temperature sensor. The DS1620 communicates via a 3-wire serial digital interface. Software code is provide that reads the DS1620 temperature register and calculates high-resolution results.  (Click here for Program Code, Keil Files

 

PROJECT 7

MPU AD Converter
Using 2051 as an Analog to digital converter with 64 voltage steps.For low accurate AD-converter, 2051 is simple and less expensive. When using 2051 as an AD converter using ladder circuit method, the number of voltage step should be minimize. Fluctuation and difference voltage step will limit the number of voltage step, or make the many voltage steps meaningless. The application using 2051 analog comparator is better to measure the time interval when the voltage source from one starting voltage to one particular reference voltage. In this case several voltage step only used. (Click here for Program Code, KeilCFiles)

 

PROJECT 8 Frequency Counter
Using 89C51 as an Frequency Counter, count the pulses that trigger the interrupt pin in each second. After one second the timer overflow, then number of pulse represent the frequency of the trigger sources. (Click here for program code, Keil_Files )

PROJECT 9    

DTMF Transceiver
DTMF tone signal have many application, mainly target on the remote control or the data transmission. In this project I have demonstration how to build simple auto phone pickup/pickdown circuit and how to use the MT8880C as a DTMF Transceiver. Using the public phone line s a transmission medium, which is almost free, and exist everywhere. Although the tone transmission capacity is low, for many applications, however, is quite enough. (Click here for hardware Demonstration, DTMF Transmitter Circuit Diagram DTMF Receiver Circuit Diagram, Auto Hook circuit diagram, audio amplifier circuit diagram, Transmitter Program code, Receiver Program Code, Auto Hook Program Code, KeilCFiles, VB_Files, Exe_Files) 

 

PROJECT 10
               

RGB Color tone sensor

(Click here for Business Plan)

PROJECT 11 Magnetic Sensor

 

PROJECT 12
      

Automatic Phone pick up/Down
(Click here for Circuit Diagarm)

 

PROJECT 13

Audio Amplifier
(Click here for Circuit Diagarm)

 

PROJECT 14
    

LCD_Driver 16x2 HD44780
This is the function code used to modify the standard c function "printf" by replacing the function "putchar" to suit the LCD driver HD44780. By adding this file, LCD panel with a chipHD44780 can print out a string using the standard c function "printf". \n, \r, and roll down will be included. (Click here for Program Code   , KeilCFiles, UMPSDoc )

 

PROJECT 15
    

8051BoardwithLCD&Eeprom
A demonstration program of the LCD & Eeprom access. Memory storage device AT24C16 used to store the integer (Click here for Circuit Diagram, Program Code, KeilCFiles, PowerLogic Files)

 

PROJECT 16

Interfacing HD44780
User can type what they want using AT Keyboard. While the character is typed, both the LCD and PC screen will display what the user type. (Click here for Hardware Demonstration, Program Code, KeilCFiles, Circuit Diagram)

 

PROJECT 17
          

Infrared Distance Meter, Ranger Finder  
Explaining the usage of the electronic component, and how they work to make a infrared Rangefinder. This project mainly divide into 3 part; one is the oscillation circuit for the Infrared modulation, following is the receiver circuit and the last is the envelop detector circuit. After the 3 stages the output DC voltage is expected. This DC voltage represent the distance of the measured target object distance.
(Click here for circuit Diagram)

PROJECT 18 Ultrasonic Distance Meter, Ranger Finder (My partner Working on it! Already finish, i will ask him for publish his work if he is not mind )

PROJECT 19

Simple VB Basic Terminal Program
It is a a simple program target on demonstrating the connection between two communication 'port using Visual Baisc. When the program start it will establish the connection between two communication port. Print out the characters that receive from RS232 Port on Text Board and send the characters that the user type in. The Terminal is set to 9600 baud.
(Click here for program code, exe files, VB files)

 

PROJECT 20 AD converter with 8 channel Multiplexer
This program demonstration the usage of ADC0804, 8 bit AD converter and MC14051B, 8 channel analog Multiplexer. Using the function "int getADout (char sw)" to extract the analog voltage in digit 10-base form. Interfacing the analog switch MC14051B, then use AD converter to get the analogy voltage reading. The function switch the multiplex input first, then start AD conversation and return a 10-base integer value varies from 0-255, 8 bits.
(Click here for Program Code, Keil Files, Circuit Diagram , Logic Files)

 

PROJECT 21 Digital Transform Fourier Analysis
The program demonstrate the digital superposition of several harmonic signal. And plot the corresponding Fourier transform spectrums. Users can add the harmonic function to the input stream. When program start, it will perform sampling of the analogy input signal according the sampling frequency and the number of sample of the input. After x[n] is obtained, the further process is calculate the DFT F[k] of the input x[n]. Graphic in time domain and frequency domain spectrums will also be plotted. ( Click here for program code, Software Demonstration, computing DFT, full report, exe files, VB files )

 

PROJECT 22

Multi-Tasking
Multi-Tasking is important for real-time operation, eg. AI for robot, varies sensor detection, many control device. And this c program demonstrate the usage of implementing the multitasking jobs, from job 1 to 8. Each 50ms will execute the 1 job, therefore for job 1 to execute again. It is required to wait 7 jobs complete, that is 7x50ms.
(click here for Program code, keil_Files)

PROJECT 23 Timer2 usage
This program show how to use 16 bits timer2 as auto reload. when timer2 is overflow, TF2 is set and must be cleared by software.Register pair (RCAP2H, RCAP2L) are the capture/ Reload register for timer 2.
(click here for Program code, Keil_Files )

 

PROJECT 24

Servo Control (PWM)
The program demonstrate the how to generate a PWM pulse to control something. For example, servo motor. Timer0 will set to 2.5ms, and there will allocate. 8 jobs in timer0. the pwm control is in job1 and every 2.5ms*8 = 20ms will execute pwm pulse one. In job1, pwm pulse, it will raise the pwm control pin to high, then start timer2, when timer2 time up, it will immediately fall the pwm control. and generate a pwm pulse.
(click here for program code, Keil_Files)

 

PROJECT 25 Serial Port Interrupt 
Very often, 8051 will not have enough timer for the application. This program demonstrate how to use timer1 for like two timers. One for serial port and other for general purpose timer/ counter. User can press a key to disable serial port and use timer1 for other counting. When a keyboard key is press, timer1 will return to it serial port mode. That is when no entry, timer1 can free for other usage. When entry is coming, press any key to enable the serial input.. 
(click here for program code, keil Files)
PROJECT 26 Interrupt source code
provide the function for easier access the interrupt, or timer setting. (click here for program code, keil Files)
PROJECT 26 AT89C51 as a decoder of RF modules
For many remote applications, encoder/decoder pair IC always used for simpler design. This program provide the function same as RF decoder IC. Saving the cost for buying the encoder and decoder pair IC. Also, the transmission capacity, data rate should be higher, as we direct access the RF modules pair. Get the rf series byte data through the air and then export it to P1. The program is use the polling technique. Data protocol is asynchronous mode, that is 1 start bit + 8 bits byte data + 2 stop bit, total 11 bits.  (click here for Receiver program code, Receiver keil Files  Receiver circuit diagram)