Skip to content

Latest commit

 

History

History
116 lines (62 loc) · 2.63 KB

Notes.md

File metadata and controls

116 lines (62 loc) · 2.63 KB

Notes

Brother label printer on Linux: https://github.com/HenrikBengtsson/brother-ptouch-label-printer-on-linux

For CAN: MCP251863 controller/ transceiver (See CANPico board)

https://github.com/kentindell/canhack/tree/master/CANPico

https://core-electronics.com.au/adafruit-picowbell-can-bus-for-pico-mcp2515-can-controller.html

https://github.com/LukePrior/Raspberry-Pi-Thermal-Printer

Firmata for Raspberry Pi Pico:

  • Use ConfigurableFirmata with zero changes
  • Board profile is "Arduino Mbed OS RP2040 Boards" -> "Raspberry Pi Pico"
  • Upload methd: UF2

Impressive 3D printed test jig run by a Raspberry Pi:

https://www.youtube.com/watch?v=iTLnJ0uIZIg

Firmata equivalent for RPi Pic:

https://github.com/MrYsLab/telemetrix-rpi-pico

Equivalent to Firmata:

https://abyz.me.uk/picod/py_picod.html

Config files using configparser:

https://stackoverflow.com/questions/19078170/python-how-would-you-save-a-simple-settings-config-file

https://www.geeksforgeeks.org/how-to-create-gui-applications-under-linux-desktop-using-pygobject/

Thermal camera for Raspberry Pi:

https://www.flir.com.au/developer/lepton-integration/lepton-integration-raspberry-pi/

Thea's tester:

https://twitter.com/theavalkyrie/status/1552714810038657025

https://github.com/wntrblm/Hubble

Capturing from Raspberry Pi cam:

raspistill -st -t 200 -o image.jpg

Process

Install Raspberry Pi OS 64-bit. Edit the settings:

  • Set hostname to tester(x).local
  • Set username to testomatic
  • Set password to something secret
  • Set WiFi credentials
  • Set WiFi country
  • Set locale
  • Enable SSH

Put SD card in Pi and boot it.

SSH to the pi:

Update system and install Vim:

sudo apt update
sudo apt dist-upgrade
sudo apt install vim

edit /boot/firmware/config.txt and find this line:

dtoverlay = vc4-kms-v3d

Replace it with:

dtoverlay = vc4-fkms-v3d

Elecrow 7" touchscreen setup: https://www.elecrow.com/rc070p-7-inch-1024x600-raspberry-pi-monitor-touchscreen-capacitive-ips-display-with-built-in-speaker-stand.html

copy printer-driver-pos_3.13.11_all.deb to machine

sudo dpkg -i printer-driver-pos_3.13.11_all.deb

Open printer preferences and enable network administration.

Use a browser to connect to https://tester.local:631

Add local printer.

Select the POS-80.

On the printer type page, select Make -> POS Select Model -> POS-80 (en)

Copy over test software directory.

pip3 install pytz
pip3 install esptool