Forum Replies Created
-
AuthorPosts
-
Thanks, @srgdamiano and @shicks! After working through the code, what seemed to work was actually placing the sensor sleep commands in my getdata() function. For whatever reason it didn’t work too well in the systemSleep function as it seemed to stall my sensors and not allow enough time to wakeup the sensors for reading. Still working on cleaning up the code, but will share for those that are interested once I get everything up and running!
Thanks for troubleshooting the code. Looking at it more…It works with one sensor but not with both on the same I2C hub. It seems that there is a problem when both grounds are connected to the hub with the sleep/RTC pin. I have tried multiple hubs/cables to no avail. Starting to think it is a conflict with one of the sleep functions/libraries because I can run 2 sensors on this hub just fine if I don’t have the sleep code.
It is sleeping all the time and not waking. No data is being saved or printed to the serial terminal.
Thanks! I worked through a couple of things, including your suggestions, and I still can’t get the logger to wake up… I know the switch works because if I set it to HIGH in the setup the board does come on and the sensors read/turn on without the sleep functions (and the RTC is functioning/correct). Do I need to have a wakeup function or something in the getdata() function for the sensors as well?
Awesome thanks!
Thanks for the help!
I ran into another problem as I think something happened and I blew a chip in the ADCP… I’m trying to determine if voltages were different. The RS232 and 485 chips in the ADCPs are 3.3V and I thought I had everything hooked up correctly to the right voltages, but I’m wondering if the Tx and Rx on the board are 5V output, or the TTL converter somehow pushes out 5V (the documentation on the converter is confusing).
Sorry for the confusion on the red, black and white wires, they were just leaders attached to the end of the cable I had – red=blue and black=orange and white=green.
Hi Sara,
Thanks for the reply and pointers! I bought an adapter, but I’m unsure if I’m hooking it up correctly. Would you mind looking at the attached pictures for reference? I’m unsure of how the converter takes in serial data and sends it to the Mayfly…
Attachments:
-
AuthorPosts