Skip to content

Sourcing hardware

You will need to source a range of parts to build your BODAQS data logger. A small selection of common tools is also required. Some parts are optional or have budget and premium options.

The printed circuit board (PCB) is custom-designed for this project. It is obtained by ordering it from a PCB fabricator or from someone else who has already done so.

Go to the ‘releases’ page in the BODAQS github repository here and download the latest PCB fabrication package. The package contains all the files you need to order an assembled PCB from JLCPCB.

First, create an account at JLCPCB (or log in if you already have an account). Then Select ‘order now’ from the top right of the home screen.

Select “Add gerber file” and navigate to the *_fab.zip file in the fabrication files package. When the file has uploaded, a picture of the PCB should appear in the box.

Scroll down to the bottom of the page, leaving the other settings unchanged. Click the ‘PCB Assembly’ slider ON. A set of new options should appear below. Leave these unchanged and click ‘next’.

A picture of the PCB should appear. Click ‘next’.

Select “Add BOM file” and navigate to the *_BOM.csv file in the fabrication files package. Select “Add CPL file” and navigate to the *-top-pos.csv file in the fabrication files package. Click ‘process BOM and CPL’.

You will be presented with the Bill of Materials and Component Placements. Click ‘next’ on each page.

Review the quote and select an appropriate product description (this is needed for shipping paperwork). Research/Education/DIY/Entertainment => DIY hobby circuit board is a good option. Select ‘save to cart’.

Select ‘secure checkout’ and complete checkout details.

Sparkfun ESP32 Thing Plus S3 development board.

Section titled “Sparkfun ESP32 Thing Plus S3 development board.”

Make sure you purchase the correct variant: there are a wide range of ESP32 development boards even within the Sparkfun range. The correct board is this one. These are available from hobby electronics shops around the world, or from major global electronic distributors like Digikey and Mouser.

These displays, based on an SSD1306 driver chip, are a commodity item and many vendors sell functionally equivalent versions. They do vary slightly in the physical dimensions of the board however, and some versions may require minor case modifications to install. This vendor is one of many selling the module the case was built around. If the vendor posts an illustration like the one shown here, it’s probably the same one. If you buy something different, don’t worry – it can probably be installed with only minor modifications.

This is another commodity item available from many vendors on AliExpress, Amazon and Ebay, like this one. Search for variations of “5 button membrane keypad” or “5 key matrix keyboard”.

The Li-ion battery is 18650 size, with JST-PH 2 pin connector. 18650 Li-ion cells are widely available as replacement parts from AliExpress, Amazon, Ebay and local vendors. For our purposes, all are equally good. However, make sure that:

  • The battery is an 18650
  • The battery’s capacity exceeds about 1000mAh
  • The battery comes with a 2-wire JST-PH connector. Some batteries are sold with JST-XH or SM-2P connectors, which are not the same and will not fit.

The exact variation doesn’t matter: it just needs the QWIIC connector on one end. You will be cutting it and soldering the other ends to the OLED display. Available from AliExpress, Amazon and Ebay, or from major global electronic distributors like Digikey and Mouser.

The BODAQS 4 logger has 6 external connectors: 4 analog inputs, one I2C bus and one connector for a handlebar-mounted switch. The connectors specified are DIN EN / IEC 61076-2-104 connectors, often referred to as M8 metal circular connectors.

  • The 4 analog inputs and 1 remote switch use male 3-pin connectors, Amphenol 8-03PMMS-SH7001
  • The I2C bus connection uses a male 4-pin connector, Amphenol 8-04PMMS-SH7001

These need to match the connectors. It is easiest to buy these as sealed cable tails and solder them to your sensor wires. There are many Amphenol options, or search for M8 connectors on AliExpress, Amazon or e-bay and look for something like the picture.

The logger case is 3d printed and comprises four parts: a top and bottom part and two end pieces. The case can be printed on any modern 3D printer.

If you have a 3D printer, or know someone who does, you can print the parts yourself. Otherwise you can almost certainly find a local business that will print the parts for you.

All the print files are available here. (The Fusion CAD model of the case is in the ‘f3z’ directory).

You will need the following printed parts:

  • A base (the lower half of the case). There are two variants of the base design. base.stl is designed to be fixed closed using brass heat-set inserts in the lower half of the case. This is cosmetically superior, but requires you to have the inserts. base_nuts.stlis to use standard 3mm hex nuts. This works just as well but doesn’t look quite so tidy.
  • A lid (the upper half of the case): lid.stl.
  • A top end piece (the end of the box that faces forward). This piece can mount up to four M8 connectors. The normal configuration is: two analog inputs, one I2C input, and one connector for a handlebar-mounted switch.Top end.stl Variations are available with one, two or three connectors Top end_*_connectors.stl
  • A bottom end piece (the end of the box that faces backward). This piece can mount up to two M8 connectors and contains the opening for USB-C connection to the logger. The normal configuration is two analog inputs.Bottom end.stl A variation is available with one connectors Top end_1_connector.stl
  • A plug to go in the USB connection hole. plug.stl. If you don’t wish to use this, tape also works.

Recommended material: PETG or PCTG, with or without carbon or glass fill. Virtually any material will work as the mechanical stresses on the case are low. If you are confident the logger will not be exposed to high temperatures, black carbon-filled PLA looks awesome. The plug is best printed in TPU, if you have it available.

Print orientation: for the case top and bottom, flat on their largest faces, with supports enabled. The print lid requires support for the cutouts in the front face, and for the screw holes. Everything else prints well without supports.

Support settings: tree-style supports work well. If you are a more advanced 3D printer user, the cutout areas benefit from using an interface layer of dissimilar material (PLA for PETG and vice versa), along with the following support settings:

  • Top z distance: 0
  • Top interface layers: 2
  • Top interface spacing: 0
  • Interface pattern: rectilinear

Printing cases with inlaid logo: If you have access to a multi-color 3D printer and your slicer software supports it, the easiest way to do so is to import the parts as STEP files directly into your slicer (the STEP files are in the ‘STEP’ directory). Once the files are imported, assign the logo inlays with the colors of your choice. The official BODAQS colors are teal for the spring and either white or black for the bar, depending on the background.

BambuLab-format project files are also available in the ‘3mf’ directory. all parts - one material.3mf has all the parts on a single plate - delete the base and ends variants you don’t need. Each project file has two build plates - one for the base variant that uses brass inserts, and another for the one that uses nuts.

all parts - three colors.3mf is actually set up to use four filments - three colors plus an interface material. It has the same items as the single-color project file but has alternate filament colors assigned to the logo inlays, interface material applied to support-interface surfaces, and the revised support settings described above.

The best starting set of sensors is two linear potentiometers (pots). These sensors change their resistance according to how far they are compressed or extended, which makes them useful for measuring suspension movement. Linear pots are available from a range of suppliers including major international electronics distributors, specialist suppliers of instrumentation, motorsport suppliers and manufacturers.

The most economical way to buy linear pots is on AliExpress. There are numerous options, but I personally use these items. Others report Miran KPM12 pots to be good value. When buying your linear pots, pay attention to:

  • Travel: Your pots must have more travel than what you are measuring. If in doubt go a size up, but no more than needed as longer pots can be harder to mount.
  • Physical dimensions: Especially diameter. Around 12mm is ideal. Larger diameter pots get harder to mount.
  • Mountings: Ideally the pot has spherical bearings (rose joints) at both ends
  • Resistance: You want pots with 2-10 k-ohm full-range resistance.

The following tools are Required or Recommended

Required You will be soldering pin headers into a PCB and short wires to connectors, so you will need a soldering iron suitable for electronics use and some solder around 0.8mm diameter.

Required You should get a small flush-cut set intended for electronics rather than a larger set intended for more general electrical work.

Required For fitting the case together. If you don’t have a decent set of allen keys, you can pick a set up from almost any hardware store

Recommended You can strip wire with side cutters if you are careful, or your teeth if you are a maniac, but these make it much easier.

Recommended For polarity & continuity testingm and fault finding. Even a basic model is sufficient for the needs of this project. Not needed if everything goes perfectly. (You’ll probably need one)

Recommended For heating shrink-sleeve. A match, cigarette lighter, or glossy print of the author (price on request) can be used instead if necessary.

In addition, you will need:

  • Some light-gauge (22, 24 or 26 gauge) hookup wire, preferably in four colors – less than a metre in total. You can get this from electronics hobby shops, online, or scavenge it from an old network cable.
  • 2.5mm shrink-sleeve for covering soldered joints
  • Silicone sealant, for waterproofing
  • 4 M3x16 socket-head cap screws and nuts to hold the case together
  • (Optional but recommended): a small section of thin, transparent rigid plastic for waterproofing the screen. I cut up an old visor for this.
QtyItemDigiKeyAliExpress
2Header strip pin for nav pad and UART
1SparkFun ESP32-S3 Thing PlusDigiKey
10.96” OLED display (128×64, SSD1306)AliExpress
15-key membrane keypadAliExpress
1QWIIC cable (50mm)DigiKeyAliExpress
1LiPo battery, 1000mAh+, 2-pin JST-PH
2Linear potentiometers (75mm and 200mm)AliExpress
5M8 back panel mount connector, 3-pin maleDigiKeyAliExpress
5M8 plug and cable tail, 3-pin femaleAliExpress
1M8 back panel mount connector, 4-pin maleDigiKeyAliExpress
1M8 plug and cable tail, 4-pin femaleAliExpress
4M3 x 12 socket head capscrew with nut
4(Optional) M3 brass heat-set insert