Also note me using 4Mhz crystal with 22pF capacitors.
Video:
Download: Code n Files
electronic,circuits,diagrams,Projects-Design,electronics,hobby,kits,tutorials,schematics,hobbyists,
void USARTInit()
This function initializes the internal USART of the PIC18F452 microcontroller. This must be called before data can be sent or received.void USARTWriteByte(char ch)
Writes a byte of data to the USART.void USARTWriteString(const char *str)
This function will send a string of character to the serial port.unsigned char USARTReadByte()
Wait until a byte is received from USART/Serial Port and return the value read from the USART.Serial Communication |
Virtual Terminal of Proteus |
Telephone Line Operated LED Lamp |
Here is mine |
Pin | Function | |
1 | _MCLR/Vpp (programming voltage) | |
2 | Vcc(+5V) | |
3 | GND | |
4 | Data | |
5 | Clock | |
6 | LVP (low-voltage programming mode control) |
PICkit 2 clone |
USB b type connector |
Mobile Phone Battery Charger |
Introduction
The circuit in Figure 1 transmits 200MHz (-3dB bandwidth) video signals while stripping off the sync pulse and performing DC restoration. It is configured for a typical video cable driver application driving a double-terminated 75Ω load, where the EL8102 (IC3) is configured for a gain of +2 to ensure unity gain throughout.
Telephone Line Operated LED Lamp |
This power supply circuit uses a LM338 adjustable 3 terminal regulator to supply a current of up to 5A over a variable output voltage of 2V to 25V DC. It will come in handy to power up many electronic circuits when you are assembling or building any electronic devices. The schematic and parts list are designed for a power supply input of 240VAC. Change the ratings of the components if 110V AC power supply input is required.
DC Supply Voltage : ±25 V
Output Peak Current (internally limited) : 6 A
Power Dissipation : 70°C 30W
Operating Temperature Range : +70 °C
Storage and Junction Temperature : -40 to +150 °C
Operating Supply Voltage : 18 V
DC Supply Voltage : 28 V
Peak Supply Voltage (t = 50ms) : 50 V
Output Peak Current Repetitive (Duty Cycle 10% at f = 10Hz): 4.5 A
Output Peak Current Non Repetitive (t = 100µs) : 5.5 A
Power dissipation, (Tcase = 70°C) : 80 W
Junction Temperature : 150 °C
Storage Temperature : – 55 to 150 °C
Amplifier: TL081 Comparator: TL081 or CA3140
R can be almost any value greater than about 10k. Use a small (low impedance) loudspeaker as a microphone
This circuit must have a 5v regulated supply. This is provided by the 7805 regulator.
The circuit shown above should be sensitive enough to respond to a reasonably loud clap of the hands at a distance of about a metre from the microphone. If the microphone (loudspeaker) is not very close to the circuit board, use screened lead to connect it to the rest of the circuit. If you require greater sensitivity, you can add the simple pre-amp shown below.
The sensitivity of the circuit can be adjusted using the variable potential divider connected to the inverting input of the comparator. To set the sensitivity to maximum, connect a voltmeter to the output of the second amplifier and adjust the variable potential divider to the point which just takes the voltmeter reading to its lowest figure (zero for CA3140, about 1·5v for TL081).
Adding this pre-amp to the sound operated switch will make it very sensitive so keep all connecting wires as short as possible.
Source : http://www.saburchill.com/