Fooling around with mBlock, here is a sequence of pulses easily coded (gui Scratch
like language, mBlock, drag and drop and configure, code then auto generated based
on blocks used and variable settings).
Reliably create fairly accurate pulses down to 1 mS, into years as well, and sequences,
repeating sequences, pulses depending on a V reading and/or triggers like external trigger.

Here is mBlock IDE, code automatically generated, shown in right hand window. Running on Arduino
UNO. I think I can squeeze this into an ATTINY as well.
Very complex sequences trivial to create, accurate (Arduino has xtal on board).
Note embedded triggers can be put in, like a voltage in a range or exceeding a
value. Or that AND a counter overflow, whatever. mBlock is free, Arduino UNO
or NANO < $ 5, easy to get started.
If instead of mBlock you use Snap4Arduino you can display interrogated Arduino
stuff like V measured or PWM / counter values on PC w/o having to write Python
for example.

Regards, Dana.
like language, mBlock, drag and drop and configure, code then auto generated based
on blocks used and variable settings).
Reliably create fairly accurate pulses down to 1 mS, into years as well, and sequences,
repeating sequences, pulses depending on a V reading and/or triggers like external trigger.

Here is mBlock IDE, code automatically generated, shown in right hand window. Running on Arduino
UNO. I think I can squeeze this into an ATTINY as well.
Very complex sequences trivial to create, accurate (Arduino has xtal on board).
Note embedded triggers can be put in, like a voltage in a range or exceeding a
value. Or that AND a counter overflow, whatever. mBlock is free, Arduino UNO
or NANO < $ 5, easy to get started.
If instead of mBlock you use Snap4Arduino you can display interrogated Arduino
stuff like V measured or PWM / counter values on PC w/o having to write Python
for example.

Regards, Dana.
Attachments
-
8.1 KB Views: 12
Last edited: