blue
Newbie level 1
i'm doing my final year project about "PC based programmable function generator" using PIC16F84A microcontroller. i need to generate 3 kinds of waveforms: square, sinusoidal & triangle. i also need to design and layout a Graphical User Interface (GUI) for the functions of the PC based function generator such as frequency, duty cycle and no. of pulses using Visual BASIC 6.0. To design a Pc based function generator, user will set the kind of waveform and key in the value of frequency, duty cycle and no. of pulses through GUI. The peak to peak amplitude is already set to -5v to 5v. Then, press a GENERATE button and the softwave will send command to the function generator board. The microcontroller in function generator board will generate the waveform. The limited and accurate waveform should be display through oscilloscope, for example, if users key in 100kHZ, 10 pulses and choose square waveform, they should obtain exactly 10 pulses of 100 kHZ square waveform. now i'm facing problems , i don't know want to use parallel port or RS232 port and also how to interface the port using Visual BASIC 6.0 and also no idea with my project yet if anybody have any idea or suggestion, please tell me, HELP!!!