RGJones wrote:Both Ideas are very good but I do want DIP switches because I don't have any clue what channel it would be on each time I use it. I might start designing a board with an onboard transfromer to power the relays and the chips so it will fit nicely in the fog machine. And Ben I will take you up on your offer of the code, I won't use it yet because I don't have anyting to put it on but I do want to see what a code looks like and yours is a great example. 😀Rob
Hi ben.. I'd de-dipswitched, but i hav'nt sold out on in feild programability... Channel number can be set in several ways..
(a) you can hard code it in the code.. urgh..
(b) you can write a channel number to the EEPROM at programming time..
or
(c) my module has an rs232 port, so you can plug in your pc, and set operational procedures including channel number.
ps: serial port is optional, the contrller will work with out it, if you want to save a dollar or to, and its not any use to you..
Rob, you might find that your fogger already has some low voltage DC in it.. have a poke around ( dont' get zapped! )..
Happy to give you some code as well, though mine is for a Pic16f688 ( now a variant of JEC's code, but overtime becoming its definite own flavor..
RGJones wrote:...I do want to see what a code looks like and yours is a great example.
Like I said my code is in PicBasic Pro and the compiler is $250. It doesn't create readable assembly but you are welcome to look through the PicBasic code.
