[Open_electroporator] Using Nathan's tim3_enable_tim1_tim2_tim5__tim1_shuts_down.py program

John Griessen john at cibolo.com
Fri Apr 21 22:48:44 UTC 2017


On 04/21/2017 05:39 PM, Nathan McCorkle wrote:
> Oh, you were changing the core frequency?

Yes, so it was an even divisible clock for the fastest possible time steps.

Maybe not needed any more with the changed transformer primary turns using higher volts at the input and lower amps
to get the same output.  The driving transistors seem better able to put out with the newer transformer primary turns number
and turns ratio.

Here's what I was using to set frequency:


# boot.py -- run on boot-up
# can run arbitrary Python, but best to keep it minimal

import machine
import pyb
pyb.freq(96000000)
pyb.main('hv_pulser.py')  # main script to run after this one


-- 
John Griessen
cibolo.com  Austin TX  building lab gear for biologists


More information about the open_electroporator mailing list