**broken link removed**First, a precision temperature-compensated reference and comparator circuit monitors the status of VCC. When an out-of-tolerance condition occurs, an internal power fail signal is generated which forces reset to the active state. When VCC returns to an in-tolerance condition, the reset signals are kept in the active state for a minimum of 250 ms to allow the power supply and processor to stabilize.
The second function the DS1232 performs is pushbutton reset control. The DS1232 debounces the pushbutton input and guarantees an active reset pulse width of 250 ms minimum. The third function is a watchdog timer. The DS1232 has an internal timer that forces the reset signals to the active state if the strobe input is not driven low prior to timeout. The watchdog timer function can be set to operate on
timeout settings of approximately 150 ms, 600 ms, and 1.2 seconds.
start:
setint %00001000,%00001000 ' activate H-interrupt on In3
rx: ' receiving routine
pulsout 0, 10
serin 1,n300,b1 ' awaits b1 data ..
if b1 = 1 then up
if b1 = 2 then down
low 4
low 2
goto rx
up:
high 4
low 2
pause 17
goto rx
down:
low 4
high 2
pause 17
goto rx
interrupt:
low 4 ' switch output 4 off
low 2 ' switch output 2 off
setint %00001000,%00001000 ' re-activate interrupt
return ' return from sub
end
tx:
b0 = 0
b1 = 0
main:
if pin1 = 0 then up
if pin2 = 0 then down
If b0 = 1 then main
b0 = 1
b1 = 0
serout 4,n300,(85,b1,b1,b1,b1)
pause 10
goto main
up:
b1 = 1
serout 4,n300,(85,b1)
b0 = 0
pause 10
goto main
down:
b1 = 2
serout 4,n300,(85,b1)
b0 = 0
pause 10
goto main
end
Kamilan said:Hey Bud,
I'm using two PICAXE 08M chips in the AXE092K school experimenter board, with the ZW3100tx and ZW3102rx chips from Jaycar.
I am powering the ZW3100/2 modules off experimenter board. works well.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?