QUT-Motorsport-Admin / QUTMS_SteeringWheel

GNU General Public License v3.0
1 stars 1 forks source link

Locate STM32 Libraries #4

Closed cwljohnson closed 4 years ago

cwljohnson commented 4 years ago

As per QUT-Motorsport/QUTMS_SteeringWheel_2020#1 , the new steering wheel will contain a small touchscreen lcd, specifically this one https://www.buydisplay.com/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board

So we're going to need a library to interface with this.

Additionally, there will also be two neopixel strips on the steering wheel board that will need libraries as well. NEOPIXEL STRIP TBA - check with electrical.

So see if you can locate some existing libraries we could be using for this

J-Hoskin commented 4 years ago

I'm new to displays but the options seem bleak for this display. Seems its aimed mostly at Arduino/Adafruit and Atmega MCU's, and any available libraries support that theme.

One option would be to run STMdunio on the board to make use of this display library for the board: https://github.com/jaretburkett/ILI9488

Same goes I believe for the libraries given at the bottom of the product pages: https://www.buydisplay.com/arduino-3-5-tft-lcd-touch-shield-serial-spi-example-for-mega-due https://www.buydisplay.com/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board

Unfortunately, all libraries are C++.

I'll continue the search tomorrow.

J-Hoskin commented 4 years ago

Not sure which NeoPixels are exactly going to be ordered but these libraries seem good.

Library for NeoPixels: https://github.com/mjmeli/MSP430-NeoPixel-WS2812-Library https://github.com/cpldcpu/light_ws2812

The timing of CPU clock could be a challenge with NEOpixels.

cwljohnson commented 4 years ago

Nice work!