universal tft display motorcycle free sample

The new 10.25-inch TFT display debuts this year on BMW motorcycles. The display’s new dimensions show all relevant information at one glance without distracting the rider. Users decide on the content they wish to see on the screen, all of which can be controlled by the handlebar. The contents of a smartphone app, for example, are automatically adapted with mySPIN to show relevant information fitting the size of the motorcycle display. The split screen continues to show key indicators such as speed and warnings.

According to the Bosch survey nearly 90 percent of riders use their smartphone to prepare or follow-up on trips. One third puts themselves in great danger using their smartphone even while riding. Bosch has developed the smartphone integration solution mySPIN to make the usage of smartphone content safe and more comfortable. Available in the powersports segment since 2018 – this includes for example so-called all-terrain vehicles or personal watercrafts – in BRP vehicles, mySPIN now will be introduced in the motorcycle segment for the first time. Ducati will introduce it together with Bosch’s also new 6.5-inch connectivity display without the split-screen option. “We want motorcyclists to be able to access smartphone content in an integrated and easy way while riding their bike. With the mySPIN platform and integrated connectivity cluster, we have found the right way to do it”, says Vincenzo De Silvio, Research and Development Director at Ducati. From 2021, the solution will also be introduced by Kawasaki.

The rider gets access to a rich service offering via various motorcycle-specific apps. With partners such as REVER to download, track and share exciting routes with a community of like-minded riders, Genius Maps and Sygic to find the way to a nearby hotel or restaurant and Dash Radio1 for free premium digital radio, mySPIN offers an enhanced riding experience. The app portfolio is continuously expanded on a global basis.

As the leading supplier of motorcycle safety systems Bosch’s top priority for years is to make motorcycle riding safer, but the company also wants to offer riders to a more convenient and exciting experience. Connectivity between the rider and motorcycle and its surroundings plays a crucial role. One example is Help Connect. The digitally connected emergency call system for motorcycles enhances road safety by enabling the fast, automatic dispatch of rescue services in the event of an accident. A further proof of how Bosch is making motorized two-wheelers fit for the requirements of tomorrow’s mobility.

universal tft display motorcycle free sample

The TFT Display Shield Board (CY8CKIT-028-TFT) has been designed such that a TFT display, audio devices, and sensors can interface with Infineon"s PSoC 6™ MCUs.

The TFT Display Shield Board is compatible with the PSoC 6™ WiFi-BT Pioneer Kit CY8CKIT-062-WiFi-BT and the PSoC 6™ BLE Pioneer Kit CY8CKIT-062-BLE. Refer to the respective kit guides for more details.

universal tft display motorcycle free sample

There is a worrying trend thieves are now targeting TFT display screens which can be easily removed from unattended motorcycles. Mainly affecting certain BMW models, and costing upwards of £500 to replace, Nippy Normans have produced an anti-theft brace to protect valuable screens from opportunist thieves.

Made from stainless steel, the Anti-Theft Brace fits neatly around the TFT and bolts to stop it from being removed. It attaches to existing mounting points — no fiddly fitting kits or drilling required. It is powder-coated in black to blend in with the machine’s styling and protect against corrosion.

As you would expect, it’s precision cut and shaped so as not to obscure any of the information displayed on the TFT. It also features a built-in sun visor to help make the screen easier to read in bright light — often a problem with shiny, reflective TFTs.

TFT Screen Anti-Theft Brace is available for BMWs F850 Adventure, F900 R/XR, S1000 XR (2020-on), R1200GS LC/Adv and R1250GS/Adv. Included are required fixings. Prices start at just £49 (incl. VAT) and available from www.nippynormans.com

universal tft display motorcycle free sample

This is a graphics library for the family of small colour TFT displays based on the ST7735 and ST7789 driver chips. These are really nice displays; bright, colourful, available in a variety of useful sizes, and available at low cost from suppliers like Adafruit, AliExpress, or Banggood:

This library allows you to plot points, draw lines, draw filled rectangles, and plot text with an optional scale factor. I"ve included a demo histogram-plotting program that adjusts itself to fit each of the displays I"ve supported.

Unlike most other TFT display libraries this one doesn"t require a memory buffer, allowing it to be run on any processor down to an ATtiny85. The displays are SPI and require four pins to drive the display, leaving one pin free on an ATtiny85 to interface to another device, such as a temperature sensor. If you need more pins choose a larger chip, such as the ATtiny84; see Using the library with other AVR chips at the end of the article for information about how to convert the code for different chips.

I"ve published a library for a colour OLED display in a previous article: Colour Graphics Library. The main difference between the colour TFT displays and the colour OLED displays is that the TFT displays are not self-illuminating, and so need a backlight; they therefore have a slightly higher power consumption. However, they are exceedingly cheap, and they are available in larger sizes than the colour OLED displays.

This library will work with displays based on the ST7735 which supports a maximum display size of 132 (H) x 162 (V), or the similar ST7789 which supports a maximum display size of 240 (H) x 320 (V).

The display driver interfaces to the displays with the longer side as the vertical dimension, which is why the rectangular displays are usually listed with the longer dimension second. My library allows you to rotate the image for any desired orientation.

All the Adafruit breakout boards for these displays include level-shifting circuitry, so they will work with either 5V or 3.3V microcontroller boards. They also include an SD card socket, if that"s of interest to you. The Adafruit boards have pullups on the backlight and reset pins, so the display will work if you leave these pins unconnected.

The pullup resistor from the display"s CS pin is optional; it holds the chip select high to prevent the display from being affected by the ISP signals while programming the ATtiny85.

The different displays are catered for by six constants which specify the size of the display, the offsets relative to the area supported by the display driver, whether the display is inverted, and the rotation value; for example:

Note that on some displays you may also have to change the xoff or yoff value when rotating the display. For example, to rotate the image on the 240x240 displays by 180° use the settings:

To check or adjust the values for each display I ran this program, which draws a one-pixel border around the display area, and plots an "F" to show the orientation:

The ATtiny85 and other AVR processors supports toggling of one or more bits in a port, so provided you set all the pins to their disabled state at startup, for speed the display access routines can simply toggle the appropriate pins to enable or disable them.

The InitDisplay() routine first defines the four display pins as outputs, and takes the SCK, DC, and CS pins high (inactive). It then sends the essential configuration commands to the display.

The display memory stores 18 bits per pixel: 6 bits per colour. However, you can write to the display in three alternative modes, with 12, 16, or 18 bits per pixel. I chose the 16 bit mode, which assigns 5 bits to red, 6 bits to green, and 5 bits blue. It"s the most convenient one to work with as you simply send two bytes to define the colour of each pixel.

To clear the display the ClearDisplay() routine sends the appropriate number of zero bytes. The routine temporarily switches to 12-bit colour mode, which reduces the time to clear the display by 25%:

The library includes basic graphics routines for plotting points and drawing lines. These work on a conventional coordinate system with the origin at lower left. For example, on the 80x160 display:

My first version of PlotChar() plotted characters by calling PlotPoint() for each pixel. However, I then tried the following alternative approach which defines an area of the display using the CASET (Column Address Set) and RASET (Row Address Set) commands, and then sends a stream of the appropriate bytes to define the character. This turned out to be over three times faster!

14th January 2020: Tested the program with the Adafruit 1.3" 240x240 TFT display, and updated the program to correct a problem when rotating the image on that display.