The idea behind the concept is simply the fact, that a adjustable PWM source would be handy. Hence the following definitions have been made:
As only a few in/outputs are needed, a controller out of the Tiny25/45/85 family seems to be appropriate. The schematic is shown below.
Besides two PWM outputs on timer OCR0A and OCR0B there are two ADC used:
The initial SW is written in BASCOM (tried to do in Android-C however it seemed to exceed quite quickly the available flash size), so Version 2 needs ~1.4kB (so a Tiny25 could be used).
For fuses make sure you run at 8MHz internal clock speed
I wanted to use my Lasercutter therefor I decided to build a plywood box. The box template has been modified according the attached plans and lasered on 4mm thick material. After assembly it looks like as follows
manual:
place the switcher to load 1 or load 2. Immediately the corresponding output DC will be controlled by the potentiometer. Switching to the other load will keep the first PWM output, will only the active one will be changed by the potentiometer position
remote:
Change the switch to middle position and set up your interface to 9600 Baud
sequence:
you have 2 seconds for sending a data byte, otherwise you have to restart the communication
command instruction: allowed characters are
data instruction: allowed characters are
The initial version is simply concentrating on the key functions
All Software is uploaded (and kept more or least updated) in GitHub https://github.com/TiSpace/PWMModule