Hi all,
After looking through this forum for an answer. Most of what I have found to this question is dead links. Now that Ciseco aren't around anymore.
I still use many ERF modules. But have found the power consumption awful. Even while using the CTS pin. Which I initially thought would put the ERF into low power mode. But it doesn't in stock state.
I have picked up that it needs low power mode to be enabled in the ERF configuration setup. But also noticed that the URF/ERF Picaxe configuration wizard, does not allow low power mode for the URF. It is greyed out, while the module is connected. Why is that?
And why did Rev.Ed not include functions like - low power mode, RF power level and heartbeat LED change, into the ERF wizard setup?
So I entered the LOW POWER settings in the ERF config file and then uploaded it to a test ERF module. And now it would appear to be permanently asleep.
I would be happy if anyone else knows how to work around this. Even a new upload of the settings will not wake it up again, or a factory reset config.
Some questions are.
1) Does setting ATSM 1 or 2, then allow the CTS pin to enable and disable low power mode?
2) How do I get this thing to wake up again?
After looking through this forum for an answer. Most of what I have found to this question is dead links. Now that Ciseco aren't around anymore.
I still use many ERF modules. But have found the power consumption awful. Even while using the CTS pin. Which I initially thought would put the ERF into low power mode. But it doesn't in stock state.
I have picked up that it needs low power mode to be enabled in the ERF configuration setup. But also noticed that the URF/ERF Picaxe configuration wizard, does not allow low power mode for the URF. It is greyed out, while the module is connected. Why is that?
And why did Rev.Ed not include functions like - low power mode, RF power level and heartbeat LED change, into the ERF wizard setup?
So I entered the LOW POWER settings in the ERF config file and then uploaded it to a test ERF module. And now it would appear to be permanently asleep.
Code:
[color=Green];*****************************************************************************
;* Sleep pin enable
;*****************************************************************************
[/color]
[color=Black]Sleep_pin:
[/color][color=Blue]Sertxd ([/color][color=Red]"Setting Sleep mode"[/color][color=Blue]) [/color][color=Green]'enter command mode
; Set the frequency for required transmission baud rate
[/color][color=Blue]setfreq [/color][color=Black]baudFreq
[/color][color=Blue]pause [/color][color=Navy][b]1[/b][/color]
[color=Green]; Send the exit command mode sequence
[/color][color=Blue]serout [/color][color=Black]TX, baudRate, [/color][color=Blue]( [/color][color=Red]"ATSM2"[/color][color=Black], [/color][color=Blue]CR ) [/color][color=Green]'change power mode to "low to sleep"
; Wait for an OK response or timeout and go to 'Fail'
[/color][color=Blue]serin [PLAIN][[/PLAIN][/color][color=Black]timeout,Fail[/color][color=Blue][PLAIN]][/PLAIN][/color][color=Black], RX, baudRate, [/color][color=Blue]([/color][color=Red]"O"[/color][color=Blue])[/color]
[color=Green]; OK response received - Report success
[/color][color=Blue]goto [/color][color=Black]Okay[/color]
[color=Green]; NOT USED = ATSM ERR or 0
; LOW TO SLEEP = ATSM1
; HIGH TO SLEEP = ATSM2[/color]
Some questions are.
1) Does setting ATSM 1 or 2, then allow the CTS pin to enable and disable low power mode?
2) How do I get this thing to wake up again?