I was looking for a solution to connecting a bluetooth headset to the pi, and having GPS/GSM access along with a RTC onboard sounded pretty good, so I ordered a waveshare GSM/GPS/Bluetooth/whatever hat
. The shipping was reasonably quick even for ePacket from China (under a month IIRC?), and the build quality on opening up the package looks fantastic. It even came with an assortment of antennas and a snap connector that adapts the uFl port to a coax one, very handy if youre planning on removing the standard coax socket on the board for space reasons.
Im still slogging through a different project before I really dive into working on this, but my preliminary reading has been a bit confusing. The product page and the wiki page
dont directly mention what protocol the hat uses to communicate, although Id strongly suspect its UART based off of the Pi setup instructions. The board also contains a set of 8 exposed IO pins with pairs of pairs of pins labelled A (USB - SIM868, B (Pi - SIM868), and C(USB - Pi). (You can see it in this photo where the yellow connector seems to be bridging it?)
Id really like to be able to trim those pins down for space reasons, but Im unsure if theyre meant to act as some sort of switch that determines whether the sim module talks only over its onboard usb to uart port, or directly to the pi, or what.
Other than that, the setup seems like it should be fairly simple,the wiki
indicates that communicating with the device just involves setting up a serial connection like you would with any other serial device, and then exchanging a list of these at commands back and forth with the hat will get responses about GPS position, GSM data, whatever. OH1KK has started work on a script that automates some of this in bash, on github here
, although Im unsure how to start interfacing with the bluetooth functionality, will it automatically show up for the pi the same way that a bluetooth dongle will when plugged in?
Interested to hear some thoughts from others who are using or planning to use this hat.