-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2019-easy-bee-counter modify with SD and SIM800 bug #13
Comments
hmmmm... do you think it is related to writing to Serial1? try writing to Serial1 in setup and see if that works. Serial1 pins are free and should work. As an aside, did the SD card work? The MISO, SCK lines are tied up writing to the shift registers. Apparently the shift registers I choose (the ones everyone uses) are not true SPI devices and don't work as expected when you pull the chip select HIGH... So you can't share the SPI with another device (like the SD card)... but maybe it worked for you? Here's a little more information about this issue... I would initialize the SIM800L module in setup if possible... Make sure you're not blocking the code and the delay statements are not 'hard delays', that is, write to the module at intervals in line 625, make sense? `if (millis() - previousMills > intervallo ) { Serial1.println("AT+CPIN?"); |
Hi , |
Hi,
very good job!!!!
I am a italian beekeeper technician, and also an electronic one…., I collaborate with an association of beekeepers, I have realized your beautiful project to monitor the depopulation of hives due to the use of insecticidal products on crops.
As per your project, I used the Feather M0 with SD card as there is no wifi signal for data transfer in the stations in my areas.
I modified the sketch with the data saving function on SD and it works fine, now I wish I could use the data transfer on the thingspeak site using the SIM800L card (I did the tests with Arduino and a DTH22 sensor and it works fine).
I connected the SIM800L on the Rx Tx port of the Feather by activating the serial1,
I then modified the sketch, created by you, to use the SIM800 and when compiling it does not report any errors, the AT commands do not give any errors but the bee count does not work it seems that it is blocked by the sim800 protocol. Commenting on lines 706 to 775 the counter works but clearly not the SIM800L.
Some idea ??
Thank you
bee_counting_0907_davide_ok_rtcM0_sim800_ver5.zip
The text was updated successfully, but these errors were encountered: