You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m working with SDI-12 both professionally and for personal projects. For business use, I’ve developed a bare-metal solution, but at home, I’m exploring more minimalistic sensor setups.
While testing with a PC-based SDI-12 terminal ( SDI12Term ), I’ve noticed that the software occasionally hangs. The loop() function still runs (I added a Serial.print('*') every second to verify), but it stops responding to any commands. I’m not deeply experienced with Arduino internals, but it feels like the interrupts might be getting stuck?
For reference, I put the boilerplate here: SDI_12_slave project ( SDI-Slave-Boiler ),
slightly modified to your Example 'h':
store the slave address in non-volatile memory.
added CRC handling for MC-commands.
These modifications work well, and feel free to incorporate them if helpful.
Hardware info:
Microcontroller: ATmega328p / Pin 7
No other peripherals in use.
Signal integrity looks fine on my scope.
Any ideas what might cause the terminal to become unresponsive? I’d really appreciate your insights.
Best regards,
Jo
The text was updated successfully, but these errors were encountered:
Hi there,
I’m working with SDI-12 both professionally and for personal projects. For business use, I’ve developed a bare-metal solution, but at home, I’m exploring more minimalistic sensor setups.
While testing with a PC-based SDI-12 terminal ( SDI12Term ), I’ve noticed that the software occasionally hangs. The loop() function still runs (I added a Serial.print('*') every second to verify), but it stops responding to any commands. I’m not deeply experienced with Arduino internals, but it feels like the interrupts might be getting stuck?
For reference, I put the boilerplate here: SDI_12_slave project ( SDI-Slave-Boiler ),
slightly modified to your Example 'h':
These modifications work well, and feel free to incorporate them if helpful.
Hardware info:
Microcontroller: ATmega328p / Pin 7
No other peripherals in use.
Signal integrity looks fine on my scope.
Any ideas what might cause the terminal to become unresponsive? I’d really appreciate your insights.
Best regards,
Jo
The text was updated successfully, but these errors were encountered: