Connection board for MIP Reflective color LCD to FRDM-K64F (MIP Interface Board) is also needed
Pros&Cons
-
(good) very visible even in direct sunshine
-
(good) ultra-low power consumption
-
(good) backlight
-
(bad) very expensive ($170, Alternatives: $100~)
-
(bad) 8 colors only (but can use more colors with dithering)
-
Recommend if you don't think costs. Commercial products often uses a reflective LCD.
Alternatives:
- Aliexpress New LPM027M128B LPM027M128C LTPS TFT-LCD, LCM 2.7 inch 400X240 display
- WAHOO ELEMNT ROAM screen replacement: Protector panel is included.
- Digikey LPM027M128B: backlight cable is different from original
- LPM044M141: 4.4" color LCD
- Adafruit SHARP Memory Display Breakout: Alternative for MIP Interface Board. Replace monochrome LCD panel. Backlight control is not included.
Pros&Cons
- (good) very visible
- (good) ultra-low power consumption
- (good) not expensive ($45)
- (good) fast drawing
- (bad) no backlight
- (bad) 2 colors only
- Recommend if you think costs. I think it's better than PiTFT and E-ink displays.
PiTFT 2.4 (OBSOLETE)
Pros&Cons
Pros&Cons
- (good) very visible
- (good) ultra-low power consumption
- (bad) slow drawing
- (bad) no backlight
- (bad) 2 colors only
- PaPiRus ePaper / eInk Screen HAT for Raspberry Pi
- DFRobot e-ink Display Module for Raspberry Pi 4B/3B+/Zero W
UART modules with GPSd are recommended. I2C(Sparkfun qwiic or Adafruit STEMMA QT) modules are supported experimentally.
- UART, I2C(Sparkfun qwiic) and SPI
- an antenna is also needed
- stable and low power consumption
- recommended as of 2020/6.
- UART and I2C
- an antenna is also needed
- BMP390 and IMU(LSM6DS/LIS3MDL) are included
- best replacement for Enviro pHAT
- magnetic sensor is broken...? (All the two modules I have are not working properly.)
- UART and I2C
- an antenna is also needed with Gmm slice model. L80 slice model can use an internal or external antenna.
- MS5637(pressure) and IMU(BNO055) are included
- UART
- easy to get in Tokyo (buy at Akihabara)
- cheap and low power consumption
- Adafruit Mini GPS PA1010D
- UART and I2C(Adafruit STEMMA QT)
- PIMORONI PA1010D GPS Breakout
- UART and I2C
- UART
Adafuit circuitpython library is required or original drivers are available. Refer to learing page of each sensors.
If you use Sparkfun Qwiic or Adafruit STEMMA QT sensors, SparkFun Qwiic SHIM for Raspberry Pi is very useful for connecting sensors.
for altitude, grade, and total ascent/descent
The accelerometer is used for stop detection when using GPS. The magnetometer is used in compasses.
- LSM303
- LSM6DS: Accel / Gyro
- LSM9DS1: Accel / Gyro / Mag
- LIS3MDL: Mag
- BMX160: Accel / Gyro / Mag
- BNO055: Accel / Gyro / Mag / Euler / Quatenrion
- ISM330DHCX and : Accel / Gyro
- MMC5983MA: Mag
for auto backlight when using MIP Reflective color LCD
- Environment Sensor HAT
- BME280 (Pressure, temperature and humidity)
- ICM20948 (Accel / Gyro / Mag)
- TSL25911FN (Light)
- LTR390 (UV)
- SGP40 (VOC:volatile organic compounds)
This is essential for displays without buttons, like MIP displays.
- Button SHIM
- IO Expander (with MCP230009 and some buttons)
get battery percent, etc.
- available in eBay or aliexpress
- also need micro USB OTG Adapter : like adafruit adapter.
- youw own (over 8GB)
- SanDisk MAX ENDURANCE microSD™ Card is recommended if you use several years.
- SanDisk® High Endurance microSD™ Card is not compatible with Raspberry Pi OS Bullseye. See post1 and post2
- make a nice case if you can use 3D printer.
- Topeak SMARTPHONE DRYBAG 5" is easy to use. It is waterproof.
- If you attach the PiTFT directly to the Raspberry Pi Zero, you can use Topeak SMARTPHONE DRYBAG for iPhone 5 which is smaller than Topeak SMARTPHONE DRYBAG 5".
- On the other hand, if you want to put some sensors in, Topeak SMARTPHONE DRYBAG 6" is better.
Using many pHATs can be bulky, so it's best to use one pHat only. It's essential to make it compact.
Here are two assembly examples.
see hardware_installation_pitft.md as PiTFT(obsolete) example.
It's quite difficult, but the hardware configuration is better than PiTFT.
- top left: Raspberry Pi Zero WH
- top right: PiJuice Zero
- central left: Adafruit SHARP Memory Display
- center: GPS module
- central right: DFRobot BMP160(IMU) and BMP388(pressure and temperature)
- bottom left: Button SHIM
- bottom right: SparkFun Qwiic SHIM for Raspberry Pi
Connect the Raspberry Pi Zero to the display. Note that the connection between Raspberry Pi and SHARP Memory Display is different from the Adafruit tutorial.
Name | Raspberry Pi | SHARP Memory Display Breakout | MIP Interface Board |
---|---|---|---|
GND | IO25 | GND | CN1-4 |
VCOMSEL | IO11 | EXTIN | CN2-3 |
DISP | IO13 | DISP | CN1-9 |
CS | IO16 | CS | CN1-8 |
3.3V | IO17 | VIN | CN1-6 |
SPI MOSI | IO19 | MOSI | CN1-7 |
SPI SCLK | IO23 | SCLK | CN1-5 |
for backlight (MIP Interface Board)
Name | Raspberry Pi | MIP Interface Board |
---|---|---|
LEDPWM | IO12 | CN2-1 |
VBUS-5V | IO02/04 | CN3-5 |
BL2-CTRL | IO06/09/14/20/25/34/39 | CN4-3 |
Reference:
- https://pinout.xyz/pinout/io_pi_zero
- https://docid81hrs3j1.cloudfront.net/medialibrary/2019/03/JDI_MIP_LCD.pdf
- https://qiita.com/hishi/items/669ce474fcd76bdce1f1
Every time you connect, it is good idea to check the module with the sample program to make sure it works.
Connect the GPS module and Qwiic SHIM for Raspberry Pi.
Fix the parts with screws.
Finally, connect the battery for the PiJuice Zero.
Here is another example.
- Raspberry Pi Zero WH
- MIP Reflective color LCD module 2.7" w/ backlight (LPM027M128C)
- Adafruit SHARP Memory Display Breakout
- MAX-M10S Ultra Low Power GNSS receiver with SMA connector
- SparkFun 9DoF IMU Breakout
- ISM330DHCX(Accel / Gyro)
- MMC5983MA(Mag)
- SparkFun BMP581
- SparkFun Qwiic SHIM for Raspberry Pi
- Pimoroni Button SHIM
- ANT+ USB dongle
Attach the case to the handlebar and connect it to a battery in a top tube bag. There is no switch, so the pizero_bikecomputer will start the moment you connect the battery.