loading
10Instructables339,889Views255CommentsJoined March 22nd, 2013

Tell us about yourself!

Complete Your Profile

Achievements

100+ Comments Earned a bronze medal
10K+ Views Earned a bronze medal
  • Arduino - TFT display of bitmap images from an SD Card

    OK, great to hear about your success, thanks for the tip about FAT32 cards working.Hope your project goes well.Thanks.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library4 weeks ago
    Arduino TFT display and font library

    It should be compatible. Look at the graphicstest example and you will see the small changes needed to call up the library.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library2 months ago
    Arduino TFT display and font library

    I have not created any optimized libraries that support the HX8257D display :-(The Adafruit libraries have been written to provide generic support to as many Adafruit products as possible and have effectively been written to aid the sales of those products (would you buy a display if there was no supporting library?). Optimising for particular display+processor combinations would lead to lots of different hardware specific implementations that would need to be tested and managed. In practice a lot of users do not need a high performance, for example you might only look at a temperature reading on the display a couple of times a day once the project is built, so it depends what you want to do.

    OK, yes this RAM write coordinate frame rotation was considered and tried out but it complicates things at the rendering level and the compression benefits are small in the grand scheme of things (compared to the big improvement when using the RLE method. Also for some reason the "wiping" of text onto the screen seemed worse for visual appeal, which might seem counter-intuitive.I have used the RAM frame of reference rotation when rendering BMP images as they draw from the bottom up.I also had the intent of encoding anti-aliased fonts using a variant of the Run Length methods and using another flag bit plus a 4 bit pixel brightness. When rendering text you would then pre-calculate the 16 pixel colours based on the foreground and background colours, then the 4 bit value in the R...see more »OK, yes this RAM write coordinate frame rotation was considered and tried out but it complicates things at the rendering level and the compression benefits are small in the grand scheme of things (compared to the big improvement when using the RLE method. Also for some reason the "wiping" of text onto the screen seemed worse for visual appeal, which might seem counter-intuitive.I have used the RAM frame of reference rotation when rendering BMP images as they draw from the bottom up.I also had the intent of encoding anti-aliased fonts using a variant of the Run Length methods and using another flag bit plus a 4 bit pixel brightness. When rendering text you would then pre-calculate the 16 pixel colours based on the foreground and background colours, then the 4 bit value in the RLE values would be used to look up the pixel colour.For larger fonts yet another flag bit could be used for flagging a 8 bit or 16 bit encoded values, and yet another flag for embedded commands like swap colours, etc etcThough these possibiloities are all very interesting I only tend to work on stuff I need for my own projects, or if someone is paying me to do it!

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library2 months ago
    Arduino TFT display and font library

    Thanks for the feedback.Yes, I did consider that as characters have a lot of long vertical strokes, however the way the TFT's expect data is a raster scan in rows, so a horizontal encoding fits well with this scheme and allows characters to be streamed very quickly.Cheers

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library2 months ago
    Arduino TFT display and font library

    A character is drawn as a raster scan within a box size of the characters width and height. The RLE format is a byte, the top bit is a flag, the least significant 7 bits are a 7 bit number (0-127). If the flag is 1 then foreground pixels are plotted, if it is 0 the background pixels are plotted. The number of pixels to plot is the 7 bit number + 1.So, for example, the encoded sequence "0x81, 0x1F" means plot 2 pixels in foreground then 32 pixels in background.A user has sent me a Java app that does the RLE encoding of various font formats but I have not tried it yet. You could manually generate a single character using some squared paper and a pencil and replace the one in the above file.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library2 months ago
    Arduino TFT display and font library

    Hi, thanks for the feedback. Good luck with your project.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library2 months ago
    Arduino TFT display and font library

    If you are still interested then I have finally got around to porting the ILI9341 library to the NodeMCU! Performance is very impressive!You can find a copy of the library here:https://github.com/Bodmer/TFT_ILI9341_ESP

    View Instructable »
  • Bodmer made the instructable Arduino TFT display and font library2 months ago
    Arduino TFT display and font library

    Swap the Font7srle.c file for the one attached.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library2 months ago
    Arduino TFT display and font library

    Images of any significant size take up a lot of space so you would need to look at using an SD card to store them. I have an instructable that may help:https://www.instructables.com/id/Arduino-TFT-displa...

    It is not easy to add new fonts due to the way they are encoded for speed.I do plan to update the ILI9341 library soon to add in the Adafruit Free Fonts.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library6 months ago
    Arduino TFT display and font library

    Have you got the DS3231 connected and working with a library example?I have used the "DS3231_Simple" library so that is one I recommend:https://github.com/sleemanj/DS3231_SimpleOnce you have one of the examples running and talking to the DS3231 post back here.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library7 months ago
    Arduino TFT display and font library

    Hi, just noticed this has gone unanswered for a while...Unfortunately I can't help you on this occasion.I suggest you ask for help on the Arduino forum in the "Displays" section. On the forum describe the problem, post a link to the vendor of your display, and post photos of the front and back of your display, this will help folk identify which display driver is on your board and tell you how to get it running.TTFN

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library7 months ago
    Arduino TFT display and font library

    OK, thanks.In Arduino land a char is a signed value so it works OK. Since writing the library I have moved on to using different type designations like int16_t, uint16_t etc to make the code more portable and less compiler dependent.In later variants of the library I use Run Length Coding for the larger fonts so less FLASH is needed and also to speed up rendering on windowed plot area displays, but on an STM32 you probably are not bothered about that.Good luck with your project.

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library8 months ago
    Arduino TFT display and font library

    Yes, that is correct.See post here:http://forum.arduino.cc/index.php?topic=181679.msg...:-)

    View Instructable »
  • Bodmer commented on Bodmer's instructable Arduino TFT display and font library8 months ago
    Arduino TFT display and font library

    A character is drawn as a raster scan within a box size of the characters width and height. The RLE format is a byte, the top bit is a flag, the least significant 7 bits are a 7 bit number (0-127). If the flag is 1 then foreground pixels are plotted, if it is 0 the background pixels are plotted. The number of pixels to plot is the 7 bit number + 1.So, for example, the encoded sequence "0x81, 0x1F" means plot 2 pixels in foreground then 32 pixels in background.

    OK, glad to hear it is working. Good luck with your project.

    The screen in your eBay link does not have a touch controller fitted, nor is touch screen capability mentioned in the advert. Look at the back of the display, is the place for U1 populated with an integrated circuit?

    View Instructable »