Larry Bank

Members
  • Content count

    151
  • Joined

  • Last visited

1 Follower

About Larry Bank

  • Rank
    Elite member

Profile Information

  • Gender
    Male
  • Location
    Sarasota, FL
  • Interests
    optimization, classic gaming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Larry Bank

    Pushing the I2C SSD1306 OLED to its limits

    Thanks for the response. I took the path of least resistance and tested it on a Raspberry Pi Zero. On that platform I can edit the /boot/config.txt to change the I2C speed. It maxes out at 400Khz no matter what value you give it. That's fast enough to do decent animation: I wrote a blog post and shared the code on github: http://bitbanksoftware.blogspot.com/2018/05/practical-animation-on-i2c-ssd1306.html
  2. Larry Bank

    solved Pushing the I2C SSD1306 OLED to its limits

    Sorry for being thick, but exactly what does that entail? Just adding a "param" line to armbianEnv.txt?
  3. Larry Bank

    solved Pushing the I2C SSD1306 OLED to its limits

    I'm porting this code and my OLED animation to Armbian. It runs rather slow at 100Khz I2C speed. Has anyone found a way to easily change the I2C speed on Mainline kernel Armbian without doing a custom build?
  4. Larry Bank

    solved Display ili9341 on H5

    Are you able to use SPI_LCD + BB-CP in place of fbtft+fbcp?
  5. I wrote a blog post about speeding up drawing on the SSD1306 display by bit-banging the I2C protocol. The code is for Arduino, but it has useful info about my iterative process of optimizing code that some of you may find interesting: https://bitbanksoftware.blogspot.com/2018/05/fast-ssd1306-oled-drawing-with-i2c-bit.html
  6. Larry Bank

    solved Display ili9341 on H5

    Now I'm confused. Are you using SPI_LCD + BB-CP or fbtft + fbcp?
  7. Larry Bank

    solved Display ili9341 on H5

    I like your idea, but think it might be easier to make a separate document; people tend to just run make and not look any further. It might be better to add a parameter to the make to specify the board name and then it will print a quick message about the pin numbering. To connect multiple SPI displays is not a problem. What and how do you want to display information on them? My SPI_LCD library allows you to write code which draws directly on the display. Having multiple virtual framebuffers would probably cause some performance issues for the board.
  8. Larry Bank

    solved Display ili9341 on H5

    Glad you got it working. If you have a suggestion to make the documentation clearer for my library, please let me know.
  9. Larry Bank

    HX1230 LCD (96x68 monochrome)

    Thanks for sharing.
  10. Larry Bank

    HX1230 LCD (96x68 monochrome)

    If you don't mind, can you share what you would like do with them? I haven't figured out a specific use yet.
  11. Larry Bank

    HX1230 LCD (96x68 monochrome)

    Yes, I got them on AliExpress. The vendor took them down after I bought them, but said he is re-organizing his store and will have it ready on May 5th (not sure if that means he'll re-list the product). I've written a Linux and Arduino library to control it: https://github.com/bitbank2/hx1230 The challenge with this display is that the PCB/controller is configured only for a 3-wire SPI interface and doesn't work with standard SPI. I wrote code to "bit-bang" the SPI interface for both Linux and Arduino. The nice thing about it is that for pin-limited chips like the ATtiny85, you can control this with 3 pins.
  12. Larry Bank

    How to set framebuffer 16bpp in 1080p DVI

    Does anyone know how to do this with the "modern" kernel in the armbianEnv.txt file?
  13. I just received a couple of these inexpensive LCD displays ($1.82 each shipped). They are very low power and look good. I've got them working on Arduino and will now be converting the code to Linux. If anyone is interested in these, let me know. I'll edit this post to add the github link when it's ready.
  14. Larry Bank

    solved Display ili9341 on H5

    Let's chat about this tomorrow; it's going to take too long to resolve like this. You can reach me on direct message through Twitter (@bitbank). A couple of things to make wiring easier; 1) You don't need to connect the MISO line 2) You can tie the LED line to 3.3V 3) You can tie the CS line to GND The rest of your wiring looks fine unless there's a conflict with 22 (UART2 enabled) Did you select the NanoPi NEO GPIO table in spi_lcd.c before you compiled it?
  15. Larry Bank

    solved Display ili9341 on H5

    How did you wire LED/DC/RESET? The numbers you feed to SPI_LCD are the header pin numbers, not BCM/WiringPI numbers.