Pages: [1]   Go Down
Author Topic: How to generate oscillator signal from arduino atemega328?  (Read 1663 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello and good day all, how to generate oscillator signal from arduino? I'm try to generate this signal to control high voltage transformer and triggering scr in dc-cdi circuit. Here my original Yamaha LC135 dc-cdi circuit that i re-trace from original board.


And i plan to replace the P89LPC915 with atmega328...


The RPM signal will be control the transformer and scr triggering..
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 509
Posts: 31452
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just use a PWM output set to 50% duty cycle. Once it is set going it continues.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank Grumpy_Mike, i able to get 240VDC, PWM pulse go to transformer oscillator control, but for trigger scr, should i used same PWM or i need to give new PWM with little high duty cycle?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 509
Posts: 31452
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well it is hard to follow that circuit because it is not a schematic but a physical layout, therefore I can't easly see what it is doing. It looks like an ignition circuit from a car or a strobe circuit.
So assuming you want the PWM for generating the high voltage then you need to fire the SCR only at the right point. Therefore that would suggest to me that you do not connect the SCR to a PWM output.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is dc-cdi from Yamaha LC135 that i draw back from original board, i try to replace the timing chip with arduino. Looking to the original process, pickup coil will send rpm signal in low ac signal and convert to digital first..

Then it will start giving hv circuit pulse and feed 400v capacitor. Then scr will flushed to ignition coil. I will draw in schematic and post it in here. Thank Grumpy_Mike for suggestion.
Logged

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 25
Posts: 1873
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As well as using pwm you can use the "blink without delay" from the examples.

Mark
Logged

Pages: [1]   Go Up
Jump to: