Skip to content

Latest commit

 

History

History

assembled

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

A couple of working prototypes that don't look fancy but get the job done

Hardware is similar for both and it's mostly based on things I could easily find:

  • basic ESP32 DEVKIT board
  • BN880 (better as it has an active antenna) GPS or BN220 (cheaper)
  • Li-Ion battery
  • JST2.0 cables to connect battery to LiPo charger and LiPo charger to ESP32 power inputs (Vin, GND)

In one case, the unit is assembled within a left-over raspberry pi case (the transparent case helps in checking the light status) and a LiPo charger ( seedstudio LiPo Rider Plus charger (Why? The first LiPo charger I bumped into at MicroCenter while shopping with a couple of nice features such as fuel gauge) )

A recommended and supported ESP32 board is Wemos/LOLIN D32 Pro which has some benefits

  • integrated LiPo charger
  • more flash memory and PSRAM
  • SD slot builtin

This software runs on it (be sure to select it within the Arduino IDE or to use the tasks named 'lolind32pro' within PlatformIO or to select the right definition in include/bonogps_board_settings.h)

Integrated in seat cowl (with BN880) of a Ducati Panigale 959 with 3d printed base

The GPS antenna is underneath the very end of the tail, with minimal plastic over it and with the best clear line of sight of any other location on the bike.

A simple 3d printed board is used to hold all components in place

  • GPS: BN880
  • ESP32: Lolin d32pro
  • LiPo Battery (2000 mAh will last a full day of riding)
  • A small on/off button
  • A momentary button to serve as WiFi mode selection button (equivalent to BOOT on other ESP32 models)

Please note the battery holder is not stable, after several months of use it started randomly coming loose. A redesign of that part would be best.

Rendering of 3d model

959 rendering

Picture of installed model

959 3d printed base

3d printing

If you have different components, source files for Fusion3d are also available.

Schematics are simple:

  • a GPS serial connection TX+RX and its power
  • a on/off switch that disables power to the internal Lolin D32 Pro regulator
  • a momentary switch to act as WiFi mode selector, in lieu of a Boot button

schematic

Steps - here a video of how all pieces fit together

  • print the base board
  • print the battery slider
  • connect/solder the connector cables between esp32 and GPS (4 wires): VCC to 3V, RX to pin 0, TX to pin 4, GND to GND
  • connect/solder micro on/off switch and momentary button cables (leave cables open on the end towards esp32) (3 wires). The on/off connects GND to EN pin or it leaves it open, the momentary button connects pin 25 to GND
  • connect/solder the open end of cables for switches to esp32
  • mount the esp32 in place with 3 small screws (I suggest M1.7)
  • slide in BN880
  • connect the BN880 with its connector
  • use a zip tie or double sided tape or strong velcro to hold the battery on the battery slider
  • carefully slide in the battery slider and make sure it holds its place: this is delicate so make sure you don't break the support structures
  • connect the LiPo JST battery

.. and you are done! Don'f forget you need to store a base configuration on your GPS before it's ready for use (check GPS configuration)

Trasparent case (with BN220)

A small 650mAh battery gives ~ 4 hrs of autonomy, I repurposed one that was supposed to be used for a digital camera

Closed

Open

From the side

I used double sided tape to attach this on top of a back seat/seat cowl or to secure it inside the fairing: an example for a Ducati Panigale 959/1299 here below:

Inside