Repository navigation
Logbook
Raspberry Pi Zero WH as the microcontroller of choice
Waveshare R800C as the GPRS device of choice
Adafruit GPS Device or the SAM-M8Q for our GPS device
Battery choices pending, but ultimately we will probably use a LiPo battery given our desire for a decent amount of recharge cycles.
At this moment our software of choice seems to be Nextcloud PhoneTrack which is an addon app for nextcloud, which is an open source self-hosted Google Drive replacement. Benefits of this software are that it is easy to deploy, and is open source which means this section of the project doesn't immediately die if their project dies.
The Pi Zero will run a lite version of Pi-OS, which is a specialized Linux distro based on Debian
The R800C has a detailed documentation located here
Also using these guides:
this one by Jeff Geerling and this one by LozWorld
Jumpers will need to be soldered to the Pi to add the GPS on.
Method of pulling location from Pi and adding it to software is yet to be determined, although it will most likely end up being a python script.
Functionality needed to be tested:
The ability for our device to connect to the internet and be able to transmit data to its destination. This test can be achieved by a simple ping test, followed by a verification that said data made it to its destination. If the device can ping google.com, for example, it can successfully reach the internet.
The ability for our device to successfully determine its GPS coordinates and store them in a variable in preparation to be sent to the cloud software. This functionality is checked by having the program that pulls the GPS coordinates print them and have it practically checked against Google Maps to ensure map accuracy.
The ability for our device to take the GPS data captured and communicate it to our cloud software, NextCloud PhoneTrack. This test is completed by ensuring that the script is correctly taking the GPS data in the variable from the GPS test and transmitting it consistently to the remote server. This test can be completed by checking the software and ensuring that the coordinate data is being received and interpreted on the map.
Battery Capacity
Battery Capacity is more application specific, as some applications will not use a battery at all, however, in applications that will use a battery, ensuring that the battery does not drain quicker than the needed uptime in the application will be a good test to ensure that the needed battery capacity is present and available. This can be somewhat accurately predicted by observing the percentage loss over a period of time and using that data to predict how long the battery will last before needing recharging. The device should have predictable power usage given its consistent workload.
https://forums.raspberrypi.com/viewtopic.php?t=224355
At this point, configuration of network has used a combination of these microcontrollers and network interfaces:
Microcontrollers
- The Raspberry Pi 4 (Both running Pi OS)
- The Raspberry Pi Zero WH
and
Network Interfaces
*Waveshare R800C as a hat
*Waveshare R800C in a USB enclosure
*Waveshare 7670E as a hat with usb interface
The farthest we have gotten with successful configuration of any hat is with the 7670E connected to the headers and USB ports of the Pi 4, with it recognizing the interface but not connecting the the internet. The solution seems to be to configure the APN settings, however there aren't many guides including the AT commands for it, and the Pi's GUI network interface doesn't allow for configuration of the device, so more research has to be done.
We were unable to configure both the R800C and 7670E. The Pi recognizes the 7670E as a usable network interface but configuring it via QMI and AT commands appear unsuccessful. This difficulty has led us to choosing a different WWAN interface with increased documented compatibility with both Linux and the Pi. The one we picked is the Sierra Gobi, as I've used it in the past on Linux. Unfortunately, this means that we will have to run both of our interfaces over USB.