Contents

Cricket 2 - IOT Device

   Mar 27, 2023     2 min read

The original Cricket was a commercial project product made by the Things on Edge company based in Cambridge.

This device monitored it’s own battery, temperature, and had a few inputs for measuring other external parameters, this added to the flexibility, and allowed the device to be customised. It then transmitted this monitored information to a server computer using MQTT. The original device was simple to deploy, low cost, and had a good battery life.

The company produced two versions of the Cricket device but unfortunately went out of business. The version one device of theirs was configured via the internet and became unmodifiedable so was impossible to use for further development. Also some of these devices just stopped working!

The version 2 device could still be reconfigured via a mobile phone or similar device.

Both devices kept in use for a number of months while whilst I came up with the design for the Cricket 2 replacement board.

This project re-uses a PCB designed for a previous project of mine called Scheduler. The PCB quite suitable for this purpose, and has many extra inputs, and capabilities way beyond the design of the original Crickets.

IMG_20210107_124917

Original Cricket Module fitted in 115x90x55 case

Original Cricket

Shown below is the original Cricket IOT device produced by Things On Edge.

original Cricket

This device was simple to use, and ran for months on good AA batteries. The Things On Edge company went bust, and operating these devices without their support became impractical.

Cricket2 PCBs

This PCB was originally designed as a general purpose controller, as the boards were not being used they provided an ideal platform to perform the Cricket2 role.

Cricket2-Main-PCB-Front

Front View of PCB

Cricket2-Main-PCB-Back

Rear View of PCB

Design in more detail

The designed of Scheduler PCB gave much greater headroom for expansion over the original Things on Edge product.

The ESP32 processor module handles the control of the device. The hibernation mode of the ESP32 is used to conserve battery power. The hibernation is however quirky on the ESP32, and forces a program restart, and screws up any Wi-Fi connection established.

Because a program reboot is used, preserving parameters such as time is difficult, that is why an RV3028 RTC module is used, this also has a little non volatile memory.

The RV3028 RTC module is ultra-low-power ( ~100 nA), and highly accurate.

real-time clock breakout. The RV3028 RTC breakout is perfect for adding timekeeping to your project and, thanks to the tiny on-board battery, it’ll keep time when your device is powered off. Like all the best timepieces, it’s Swiss-made!

Some changes / additions have been made with this implementation

Lists

  • The LiFePO4 battery is used as it makes implementation easier And makes the 3 months battery life easier to achieve
  • The MQTT message system outputs a single JSON message, this is to make better use of battery life, and makes post p
  • Orange

This is Mr. Green Jekyll Theme, a simple theme built for Jekyll.

* Hello world! This is Freepoet