I have been struggling to get my Raspberry Pi 3 to connect to Hologram on the 2G network using the Serial interface with a SIM808 and a SIM800 modem.
I’ve gone through and updated the Pi 3 to the latest distribution and installed the CLI and Python SDK for Hologram.
I’ve read many forums and pages regarding the Pi 3 and UART and the different settings:
- Update /boot/config.txt and set dtoverlay=pi3-disable-bt and enable_uart=1
- I’ve tried using /dev/serial0 and /dev/ttyAMA0 to communicate and I don’t get any errors on either interface but nothing is ever sent to my dashboard
I have both these devices and just can’t get either of them to communicate: https://www.amazon.com/gp/product/B079FP5287/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1 and https://www.amazon.com/gp/product/B079FN45FB/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1.
I guess what is confusing me is that it seems that it’s easy to run with a Hologram Nova but when trying to use either of these attached to the GPIO pins 15 (TX) and 16 (RX) it won’t run with the normal initialization code: cloud = HologramCloud(dict(), network=‘cellular’)
How could I specify /dev/serial0 instead of connecting to the USB modem like in all the examples and projects that I’ve seen? I think I have it if I can just figure out how to specify the serial port.
Been searching for a good article or resource but just keep hitting walls. I think I’m close but feel like I’m making things more complicated than they should be. Any help would be greatly appreciated!
Thanks so much in advance!