Pages

Featured Posts

Friday, May 20, 2011

Simple Test Running LED




step 1). make Scheme on your project like the picture
setp 2). copy paste code listing program in BascomAVR


'// Simple Running LED
'// Using PortC as output


$regfile = "m8535.dat"
$crystal = 1000000
Config Portc = Output


Main:
Do
Portc = 00000001
Waitms 100
Portc = 00000011
Waitms 100
Portc = 00000111
Waitms 100
Portc = 00001111
Waitms 100
Portc = 00011111
Waitms 100
Portc = 00111111
Waitms 100
Portc = 01111111
Waitms 100
Portc = 11111111
Waitms 100
Portc = 00000000
Waitms 100
Loop


step 3). Compile Program ( click Program > Compile (F7) on BascomAVR )
step 4). Download to Your Microcontroller with ISP Programmer

High Voltage Pulse Generator Electronic Circuit



This circuit generates high voltage pulses from 230vac line voltage. The drive end's swing comparator circuit is invented by the creator of this page. The work end is derived from stroboscope trig supply circuit. All line voltage using circuits are inherently dangerous, and this is particulary so. Do not build it.
Specifications and schematic
Input voltage 230vac 50/60Hz
Output voltage -25kV pulse (T=200uS)
Output peak current -0,4A
Output pulse energy 0,3J
Average output power 15W
Trig event control at 180...270 deg.of phase

Operation
When powered up, the circuit generated fierce arc of 25mm length, between the coil secondary. The waveforms depicted in the schematic were observed. The output current was measured by letting the sparks ground via a 10ohm resistor, and measuring the voltage over the resistor with an oscilloscope. The trig event control was observed between ca.180...270 degrees of phase angle, by turning the 470K potentiometer. The sheet of paper placed between arc bursted immediately in flames.

Light Dark Sensor With Relay Circuit Using LM741


Above is a schematic diagram of an LM741 light/dark sensor circuit (from the excellent 741 Op-Amp Tutorial by Tony van Roon).The ECG128/NTE128 transistor stipulated can be substituted with any NPN transistor rated at sufficient gain and current for the chosen relay coil.

We have modified the schematic diagram above with the addition of a 220uF smoothing capacitor between the base of transistor Q1 and ground. Without this capacitor, the relay chatter (relay switching on and off many times per second) was terrible around the switch on/off light level. By adding the capacitor, relay chatter was completely eliminated.

According to the designer of this circuit, the relay will be closed only when "NO light falls on LDR1", however, in testing this circuit proved to work very well with the user able to adjust the potentiometer (P1) to automatically close the relay at whatever light level they chose. By swapping the postitions of the 10K resistor (R1) and the LDR (LDR1), the relay will be closed when the LDR is under light rather than under darkness. Therefore a device can automatically be switched off at nighttime.

Since this circuit still contains a relay we need to make some changes* to reduce the amount of power to make it more suitable for renewable energy powered low-current applications.

MOSFET BUZ902DP 400Watt Audio Power Amplifier


400Watt Audio Power Amplifier circuit with MOSFET BUZ902DP
If you like in the sound system or sound this circuit will should like you , This amplifier has two completely separate mono amplifiers with each channel has its own power supply to the order of zero channel crosstalk, a common phenomenon in amplifiers have the same food.
To view the full performance of each supply transformer should be evaluated at 40VAC – 0 – 40VAC at 640VA.
Unlike many models of capacitors is a reservoir to supply the peak currents, I prefer the power transformer in a much faster transient. BUZ902DP Although the specifications are rather modest,
if they can hear you now to experience a large reserve of power available and never any reason to worry that something to do than drive a large number of amplifiers aloud. You do not hear nothing but the truth without distortion at all levels, and I can assure you that this amplifier is required to provide the best features coupled.