k64f lcd panel adafruit brands
I have been trying to initialise my Adafruit 7" TFT for some time but no matter what combination of programs and library"s I try I have only ever got a blank white screen at best.
I have been mainly using David Smarts RA8875 library https://os.mbed.com/components/RA8875-Based-Display/ and variations of it. Somebody has made a fork of it for use with the K64F"s but this still does not work. https://os.mbed.com/teams/FRDM-K64F-Code-Share/code/RA8875_KeyPadDemo/
This is Part 1 of a Mini Series. Manya has challenged herself to use the Adafruit NeoPixels (WS2812B RBG LEDs) with the Freescale FRDM-K64F board and the Kinetis SDK (see “Let’s play with Freescale FRDM-K64F“). I did a while back that with the FRDM-KL25Z board (see “NeoShield: WS2812 RGB LED Shield with DMA and nRF24L01+“). I used Processor Expert in my project (without the Kinetis SDK), and with this setup it is very easy. However, Manya wanted to do this with the Kinetis SDK and without Processor Expert. No surprise to me, she has found out that this setup with the Kinetis SDK and without the usage of Processor Expert is much more challenging (see “Not done yet!!“). I promised to Manya to give her a helping hand, so here we go! :-)
I’m starting here a mini series of articles how to use the FRDM-K64F board from Freescale with the Adafruit WS2812B LEDs (Adafruitnamed them ‘NeoPixels‘). I’m using the Freescale Kinetis Design Studio V3.0.0 (Eclipse based IDE with GNU ARM Embedded (launchpad)) with the Freescale Kinetis SDK. This first part covers how to set up the hardware.
The WS2812B logic level is 5V. As the FRDM-K64F board is using 3.3V, I need a very precise and fast (!) logic level shifter which translates the 3.3V to 5.0V, such as the 74AHCT125 or 74HCT245.
You need the following hardware:A Freescale Freedom board. I use the FRDM-K64F in this article. You can use any other board, but then you need to use potentially a different pin to talk to the LEDs.
A good 5V power supply, depending on the amount of pixels/WS28122 you are using. E.g. the 5V 10A from Adafruit (http://www.adafruit.com/products/658). Consider as well a power jack to screw terminal adapter (http://www.adafruit.com/products/368)
In the picture I use a USB breakout board (http://www.adafruit.com/products/1833) connector as power supply: that way I can power a few LEDs from my laptop USB port (up to 500 mA) without the need for an external power supply, or using a wall USB power supply (I have one powering up to 2 A :-)).
Every Adafruit NeoPixel Board uses GND, 5V and DIN (Data IN). Connect these lines to the circuit described above. Solder wires or use headers where applicable. The picture shows a 8×8 NeoPixel Matrix on the left and a 8 pixel board stripe on the right:
We stock a huge variety of displays for every project and microcontroller, including LCDs, TFTs, OLEDs, Paper displays and more. We also stock adapters and accessories for your traditional HDMI displays.
Want some retro appeal to your project? Check out our Nokia 5110 LCD display, or our range of classic 16x2 and 20x4 LCDs which come in a variety of colours.