Californiajoe
Full Member level 3
There is nothing special in my test circuit. My method is building inverter on protoboard. So far I have two chips on it. The first one is 16F877A and the second one is MC14053. I am using "Voltage Source Inverter" scheme, which was posted here so many tines, so there is no need to post it once again.
Take a close look to the MCU.
1. First you need power 5VDC (VDD and VSS) MCLR over resistor to VDD.
2. 20MHz xtal
3. From RB4 Green LED over resistor 470 to GND (STATUS of the inverter)
4. From RB5 Red LED over resistor to GND (STATUS of the inverter)
5. From RC0 LED over resistor to GND (OE signal)
6. From RC1 LED over resistor to GND (A/B signal)
7. From RC2 LED over resistor to GND (PWM signal)
8. First input is RA0. Take a trimer potentiometer for example 5k, conect start pin to GND, end pin to VDD and slide pin to RA0. This is the way, how to get analog voltage from 0 to 5V.
9. Connect all other inputs like the first one and yor simple test circuit is finished.
With rotating sliders on trimer potentiometers for every analog input you have to get correct values of voltage, which are already posted few posts back. Take a instrument for measuring of the voltage to be sure to get real values.
This is the simpliest way to get output signals which can be watched on the scope.
Regards
Take a close look to the MCU.
1. First you need power 5VDC (VDD and VSS) MCLR over resistor to VDD.
2. 20MHz xtal
3. From RB4 Green LED over resistor 470 to GND (STATUS of the inverter)
4. From RB5 Red LED over resistor to GND (STATUS of the inverter)
5. From RC0 LED over resistor to GND (OE signal)
6. From RC1 LED over resistor to GND (A/B signal)
7. From RC2 LED over resistor to GND (PWM signal)
8. First input is RA0. Take a trimer potentiometer for example 5k, conect start pin to GND, end pin to VDD and slide pin to RA0. This is the way, how to get analog voltage from 0 to 5V.
9. Connect all other inputs like the first one and yor simple test circuit is finished.
With rotating sliders on trimer potentiometers for every analog input you have to get correct values of voltage, which are already posted few posts back. Take a instrument for measuring of the voltage to be sure to get real values.
This is the simpliest way to get output signals which can be watched on the scope.
Regards