The microcontroller I’m using is the STM32F103 which uses the ARM Cortex-M3 processor for embedded systems.
More information is available on the olimex website:
http://www.olimex.com/dev/stm32-103stk.html(http://www.olimex.com/dev/images/ARM/ST/STM32-103STK-1.jpg)
It has two 12bit ADC's onboard for analog input signals, with the 3 timers we can enable/disable other input output ports up to 72MHz to get the square signal we need.
Only is it not a linear and above 1MHz the steps are very large so this kit is not usefull for the higher freqs. But from 0 Hz to 100 KHz it’s quite accurate. Another timer can be used to implement the gating functionality.
This moment I can start the controller and connect trough USB by using a laptop or PC to instruct it to activate a specified freq.
With a simple circuit we can pulse a mosfet and a transformer or limit the alternator output.
The ADC inputs can be used to check Transformer voltage output from feedback circuits or read water level or pressure in the cell but I first need to now what the voltages are or signals.
If you have questions I will try to answer them.
Did you also tried a self sustaining loop with the alternator?
I’ve read on this forum (Topic: How Stanley Powered His alternator) that Hydro used a 555 timing circuit to regulate this, how did you adjust it?