TickTag, a tiny GPS logger with 3d printed case, LiPo battery and a 1 Euro coin for size reference

Tiny GPS Logger For The Internet Of Animals

[Trichl] has created a tiny GPS logger, called ‘TickTag’, designed as an inexpensive location tracking option for animal studies. The low cost, tiny form factor, and large power density of the LiPo battery give it the ability to track large populations of small animals, including dogs and bats.

The TickTag is capable of getting 10,000 GPS fixes from its 30 mAh cell. Each unit is equipped with an L70B-M39 GPS module controlled by an Atmel ATtiny1626 microcontroller and sports a tiny AXE610124 10-pin connection header for programming and communication. GPS data is stored on a 128 kB EEPROM chip with each GPS location fix using 25 bits for latitude, 26 bits for longitude, and 29 bits for a timestamp. Add it all up and you get 10 bytes per GPS data point (25+26+29=80), giving the 10k GPS fix upper bound.

To record higher quality data and extend battery life, the TickTag can be programmed to record GPS location data using variable frequency intervals or when geofencing bounds have been crossed.

Continue reading “Tiny GPS Logger For The Internet Of Animals”

A RPI HAT For Synchronized Measurements

A team from the Institute for Automation of Complex Power System (ACS) at RWTH Aachen University have been working for a while on the analysis of widely distributed power systems. In a drive to move away from highly specialised (and expensive) electronics platforms, they have produced some instrumentation designed to operate with the Raspberry Pi platform, and an open source software stack. They call the platform the SMU (Synchronised Measurement Unit.) The SMU consists of a HAT sitting on an RPi3, inside a 3D printed box that is intended to attach to a DIN rail. After all, this is supposed to be an industrial platform.

Hardware wise, the star of the show is the Texas Instruments ADS8588S which is a 16-bit 8-channel simultaneous sampling ADC. This is quite a nice device, with 200 kSPS throughput and a per-channel programmable front end, packaged in a hacker-friendly 64-pin QFP. What makes this project interesting however, is how they solved the problem of controlling the sampled data acquisition and synchronisation.

1-PPS and BUSY edges converted to levels, then OR’d to trigger the DMA

By programming the ADC into byte-parallel mode, then using the BCM2837 Secondary Memory Interface (SMI) block together with the DMA, samples are transferred into memory with minimal CPU overhead. An onboard U-Blox Max-M8 GNSS module provides a 1PPS (top of second pulse) signal, which is combined with the ADC busy signal in a very simple manner, enabling both sample rate control as well as synchronisation between multiple units spread out in an installation. They reckon they can get synchronisation to within 180 ns of top-of-second, which for measuring relatively slow-changing power systems, should be enough. The HAT PCB was created in KiCAD and can be found in the SMU GitHub hardware section, making it easy to modify to your needs, or at least adjust the design to match the parts you can actually get your hands on.

Continue reading “A RPI HAT For Synchronized Measurements”

Lawnmower Doesn’t Need A Base Station

A recent tour of an old WWII-era aircraft carrier reminded us how hard navigation was before the advent of GPS. It used to be the work of skilled people to sight the sun or the stars and use giant books to figure out a vessel’s position. Now you just ask your phone to listen to some GPS satellites and you have precision undreamed of with other systems. But GPS sometimes isn’t enough. Just using conventional GPS, you can locate yourself to a couple of meters. The new L5 band, which isn’t on all satellites yet, can get you to about 30cm. But if you need better — up to around 1 or 2 cm — you need to use special techniques lumped together as GNSS enhancements. [Viktor] wanted to have an Arudino -based lawnmower, but wanted to use more conventional GPS techniques along with ultrawideband (UWB) ranging tags.

Given that the ranging anchors are in the mowing area, we aren’t sure why the mower even has GPS other than to geofence so you can’t start autonomous operations until you are in range of the tags. The three anchors are placed in a triangle, so if the robot knows the distance to each tag it can use some math to locate itself inside the area quite precisely.

Continue reading “Lawnmower Doesn’t Need A Base Station”

Bringing Some Discipline To An SDR Transmitter

The proliferation of software-defined radio (SDR) technology has been a godsend for RF hobbyists. SDR-based receivers and transmitters have gotten so cheap that you’ve probably got a stick or two lying around your bench right now — we can see three from where we sit, in fact.

But cheap comes at a price, usually in the form of frequency stability, which can be prohibitive in some applications — especially amateur radio, where spectrum hygiene is of the utmost concern. So we were pleased to see [Tech Minds] tackle the SDR frequency stability problem by using a GPS-disciplined oscillator. The setup uses an ADALM-PLUTO SDR transceiver and a precision oscillator from Leo Bodnar Electronics. The oscillator can be programmed to output a rock-solid, GPS-disciplined signal over a wide range of frequencies. The Pluto has an external oscillator input that looks for 40 MHz, which is well within the range of the GPSDO.

Setup is as easy as plugging the oscillator’s output into the SDR’s external clock input using an SMA to UFL jumper, and tweaking the settings in the SDR and oscillator. Not all SDRs will have an external clock input, of course, so your mileage may vary. But if your gear is suitably equipped, this looks like a great way to get bang-on frequency — the video below shows just how much the undisciplined SDR can drift.

Like any good ham, [Tech Minds] is doing his bit to keep his signals clean and on target. His chief use case for this setup will be to work QO-100, amateur radio’s first geosynchronous satellite repeater. We’ve got to say that we hams living on the two-thirds of the globe not covered by this satellite are just dying to get a geosynchronous bird (or two) of our own to play with like this.

Continue reading “Bringing Some Discipline To An SDR Transmitter”

A GPS Frequency Standard For When The Timing Has To Be Right

A metrology geek will go to extreme lengths to ensure that their measurements are the best, their instruments the most accurate, and their calibration spot-on. There was a time when for time-and-frequency geeks this would have been a difficult job, but with the advent of GPS satellites overhead carrying super-accurate atomic clocks it’s surprisingly easy to be right on-frequency. [Land-boards] have a GPS 10 MHz clock that’s based around a set of modules.

Since many GPS modules have a 10 MHz output one might expect that this one to simply hook a socket to the module and have done, but instead it uses another of their projects, a fast edge pulse generator with the GPS output as its oscillator, as a buffer and signal conditioner. Add to that an QT Py microcontroller board to set up the GPS, and there you have a standalone 10 MHz source to rival any standard. Full details can be found on the project’s wiki, and the firmware can be found on GitHub.

Careful with your exploration of standard frequencies, for that can lead down a rabbit hole.

Around GPS In 100 Videos

Do you know what the IODC word in GPS data means? If so, great! If not, head over to see the 32nd of [Michel van Biezen’s] 100-part video series on GPS. You probably want to watch the other 31 videos before he gets too much further ahead of you, too. [Michel] reminds you of that professor you had in college who knows a whole lot about something. In fact, scanning his YouTube channel, he knows a lot about many topics ranging from optics, chemistry, kalman filters, and lots of electronics.

There is a dedicated playlist for the GPS videos dating back to 2016. So 32 videos in about six years. So you might have a little time to catch up.  While the first video is pretty introductory as you might expect, by the time you get to video 7 the topics switch to things like the C/A code, BPSK, and gory details of all the frame data, including the IODC word.

Continue reading “Around GPS In 100 Videos”

Machine Learning Does Its Civic Duty By Spotting Roadside Litter

If there’s one thing that never seems to suffer from supply chain problems, it’s litter. It’s everywhere, easy to spot and — you’d think — pick up. Sadly, most of us seem to treat litter as somebody else’s problem, but with something like this machine vision litter mapper, you can at least be part of the solution.

For the civic-minded [Nathaniel Felleke], the litter problem in his native San Diego was getting to be too much. He reasoned that a map of where the trash is located could help municipal crews with cleanup, so he set about building a system to search for trash automatically. Using Edge Impulse and a collection of roadside images captured from a variety of sources, he built a model for recognizing trash. To find the garbage, a webcam with a car window mount captures images while driving, and a Raspberry Pi 4 runs the model and looks for garbage. When roadside litter is found, the Pi uses a Blues Wireless Notecard to send the GPS location of the rubbish to a cloud database via its cellular modem.

Cruising around the streets of San Diego, [Nathaniel]’s system builds up a database of garbage hotspots. From there, it’s pretty straightforward to pull the data and overlay it on Google Maps to create a heatmap of where the garbage lies. The video below shows his system in action.

Yes, driving around a personal vehicle specifically to spot litter is just adding more waste to the mix, but you’d imagine putting something like this on municipal vehicles that are already driving around cities anyway. Either way, we picked up some neat tips, especially those wireless IoT cards. We’ve seen them used before, but [Nathaniel]’s project gives us a path forward on some ideas we’ve had kicking around for a while.

Continue reading “Machine Learning Does Its Civic Duty By Spotting Roadside Litter”