Forum Replies Created
-
AuthorPosts
-
Are you at least getting the data in decimal format before you convert it to hex, or are you saying you aren’t getting any response from the sensor?
Can you post the code for your sketch, or are you using the simple parsing example exactly as-is?
The shipment arrived a few days ago, I’ll be documenting the new hardware and finishing the changes to the website later this week and hopefully have them available in the shop next week.
Sorry you got some backwards cables and a bad header. I used to inspect all of the boards and cables closely before shipping them out, but in the most recent production run, the cables were sealed in a foil bag along with the adapter board, so we weren’t able to see them properly. You can fix the backwards polarity cables yourself. Just use a small pointy tool like the end of a pair of tweezers to gently lift up the small plastic tab that holds the crimp connector into the JST housing and the wire will come out. Do that for each wire, then simply insert it back into the housing in the right location and it will lock into place.
For the adapter board with the plugged header hole, most of the time you can just press down a little harder on the bee module and it will push the solder down and allow the rest of the header row to seat all the way down. If not, you can just use a soldering iron to heat that particular pin on the bottom of the header while pressing the bee module down. Once it’s seated, remove the heat and remove the bee module so it doesn’t cool and get stuck in the header. Wait a few seconds and then you can put the bee module back in the header and it should be seated properly. If not, repeat the soldering trick a few times. If that’s all too difficult, email me and we’ll arrange a replacement.
New Mayfly boards and cool new accessories will be here very shortly, still waiting for the shipment, and then we’ll need time to turn things around and get the shop restocked, but it should be very soon. We’ll be making a blog post soon about all the updates to the hardware and accessories in about a week or so, and then things should be ready for purchase shortly after that.
I haven’t used Thingspeak in a very long time, since we have our own data host at MonitorMyWatershed, so I don’t know the specifics about the connections, but I know a few other EnviroDIY members have used it, so maybe one of them can help out.
You shouldn’t have to use XCTU for anything, the modem setup part of the sketch programs the Digi module with whatever settings are necessary, based on what you’re trying to do in the sketch. You’re able to connect to the internet, otherwise the clock syncing function wouldn’t say that your RTC is on time, so I’m guessing your issue is with Thingspeak. Did you already register a channel with Thingspeak? If so, you need to put the details of that connection into the appropriate spots on line 201-206 of the sketch you posted above.
With such a small max signal of 200 mV, you’d definitely want to use the ADS1115. The default ADC range has a resolution of 0.1875 mV/bit, which is pretty coarse so you’d want to use a higher gain setting like 8 or 16. At gain 16, there’s a max input of 256 mV, and a resolution of 0.0078125 mV/bit. Just be sure the ADC input doesn’t see anything more than 256 mV or you risk damaging the ADS1115. Gain 8 might be safer and still has plenty of resolution.
The Mayfly can only read analog signals from 0 volts to 3.3 volts, so you’re not going to be able to read something that puts out 5 volts. But from what I can tell about that sensor from a brief look at the manual, it only outputs a maximum voltage of 10mv. You’re supposed to use it with a separate amplifier if you want to be able to read it with a basic ADC like the Mayfly. We typically use Apogee Instruments for quantum flux sensors because they have models with a 0v to 2.5v output range, which works perfectly with the Mayfly. We also use the auxiliary ADS1115 ADC on the Mayfly for 16-bit resolution instead of the coarse 10-bit resolution of the built-in ADC of the ATmega1284.
2021-07-21 at 4:43 PM in reply to: Help Please: MaxBotix Sonar MB7386 not creating data on SD card #15716Are you at least getting the ultrasonic sensor data to be stored on the microSD memory card but not on the website, or are you not getting any data from the ultrasonic sensor, even in the serial string that gets printed to the serial monitor after every reading?
-
AuthorPosts