互联网上到处都是推挽式的文章,甚至在Habré上也是如此,但是人们不喜欢拿起烙铁,更不用说示波器了。
我将描述在arduino播放器的标准模块上组装的电路。
在这些设备中,仅需要一个测试仪(是的,甚至是DT-830),也需要一个烙铁,但实际上需要6点-连接发射器本身和变压器。
注意!本文包含针对电子产品和电子产品的暴力场面 ,
— , — welcome !
, , ? — L298N:
, 20 3 , .
, 50-60 40, !
— - ( 0-3), , ;-)
, "".
, :
:
- 50-60W 28/40
- Step-UP 100/150
- — — Atmega328P — Uno, Pro mini, Nano .., , ;-)
— :
, — , ( ).
, , .
-, ;-)
, 2(3) , , .
, ( ), -:
, step-up L298N.
? ( ), .
"" +-500 .
:
, (5VEN), .
( ) — .
, , , .
- , ( ~200V) .
step-up ( 12, 14)
, "" .
:
byte TP = 0b10101010; // Every other port receives the inverted signal
void setup() {
DDRC = 0b11111111; // Set all analog ports to be outputs
// Initialize Timer1
noInterrupts(); // Disable interrupts
TCCR1A = 0;
TCCR1B = 0;
TCNT1 = 0;
//OCR1A = 200; // Set compare register (16MHz / 200 = 80kHz square wave -> 40kHz full wave)
OCR1A = 285; // Set compare register (16MHz / 285 = 56kHz square wave -> 28kHz full wave)
TCCR1B |= (1 << WGM12); // CTC mode
TCCR1B |= (1 << CS10); // Set prescaler to 1 ==> no prescaling
TIMSK1 |= (1 << OCIE1A); // Enable compare timer interrupt
interrupts(); // Enable interrupts
}
ISR(TIMER1_COMPA_vect) {
PORTC = TP; // Send the value of TP to the outputs
TP = ~TP; // Invert TP for the next run
}
void loop() {
// Nothing left to do here :)
}
"OCR1A = 285;" 28, — +-15 .
, ( ) :
— , ( ) — — , ( — ) (, 2/3 — ) ( ~36)
, , , , .
, "" .
, OCR1A — .
step-up ( 48 ).
, , .
, , , , :
, , , — 101.
"", 27500 28000.
, , .
— , " ".
UPD!
, " ", ;-)
110, :
, , (50 45), :
, , :
, , HamsterTime,
, ,
— , :
嗯,超声波蜂蜜提取器(为此他与整个企业抗争)尚未解决。
成功的自制产品!
在所有方面,安德鲁