I built a device, with the help of this board, a year or so ago. It works, but now I would like to be able to vary two things: output amperage and duty cycle.
The picaxe is responsible for the duty cycle, so I think that to make it variable I could just read an input voltage controlled by a pot, right? I think I can control the output amperage the same way, in my one-size-fits-all mind.
Also, when you vary duty cycle, do you lenghten the time and keep the pulse width the same, or do you vary the pulse width within the same time frame?
This is a CES (Cranial Electrical Stimulation) device. It basically sends 1 mA from ear to ear at a 20% duty cycle, which is harmless and relaxing. However, there is some argument as to the optimal duty cycle, frequency, and amperage. The way it is set up now, the picaxe could alter the frequency and duty cycle. I think I would read an analog input with a pot controlling the voltage. Well, I would need two, I suppose.
On the output side of things, it should be fairly easy to use a pot to go from 1 mA to none. It would be nice to know where it is set, exactly, but then I might bust my $20 budget ;-)
It's just a picaxe08m and a few resistors right now, really. But it works great.
The picaxe is responsible for the duty cycle, so I think that to make it variable I could just read an input voltage controlled by a pot, right? I think I can control the output amperage the same way, in my one-size-fits-all mind.
Also, when you vary duty cycle, do you lenghten the time and keep the pulse width the same, or do you vary the pulse width within the same time frame?
This is a CES (Cranial Electrical Stimulation) device. It basically sends 1 mA from ear to ear at a 20% duty cycle, which is harmless and relaxing. However, there is some argument as to the optimal duty cycle, frequency, and amperage. The way it is set up now, the picaxe could alter the frequency and duty cycle. I think I would read an analog input with a pot controlling the voltage. Well, I would need two, I suppose.
On the output side of things, it should be fairly easy to use a pot to go from 1 mA to none. It would be nice to know where it is set, exactly, but then I might bust my $20 budget ;-)
It's just a picaxe08m and a few resistors right now, really. But it works great.