OLED Display Interface / SSD1306 / SH1106 / Flashforth

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 35

  • @simplelyf4072
    @simplelyf4072 Год назад

    Fun video.
    Merry Christmas and Happy Holidays to everyone here. Thank you 0033mer!

    • @0033mer
      @0033mer  Год назад

      Thank you! Merry Christmas to you and all the viewers.

  • @ShellacScrubber
    @ShellacScrubber Год назад +1

    Excellent stuff.Thanks Ken.

  • @LousyPainter
    @LousyPainter Год назад +3

    You make the best videos! Clear well explained and complete. Thanks!

  • @gregt58
    @gregt58 Год назад +1

    This is great! I have been looking for a way to do this in Forth for a long time.

  • @jamesbrown2163
    @jamesbrown2163 Год назад +1

    Thank you Mr 0033mer for all the wonderful videos and free downloads. I appreciate the effort you make in helping us understand how to interact with these fabulous electronics.

    • @0033mer
      @0033mer  Год назад +2

      You are very welcome

  • @CharlesdeMAGNEVAL
    @CharlesdeMAGNEVAL 8 месяцев назад


    Great Video, thanks a lot, where can we find the code you've done

    • @0033mer
      @0033mer  8 месяцев назад

      Link to the code is in the description box.

  • @parallax.propeller
    @parallax.propeller 7 месяцев назад

    Would the same work on a Prop P2 Tachyon (forth) and if so, how would you declare the pins

    • @0033mer
      @0033mer  7 месяцев назад

      Have not used a P2 but it is probably similiar to the P1, so check out how to setup the I2C port with these docs:
      docs.google.com/document/d/1bEH0DfGmu99M1SqCbmlzl991Ssv2J5m6XWmkJX0XSl8/pub

  • @Nebulorum
    @Nebulorum Год назад

    Do you have any hints on how to load such large programs into the SCAMP3? I use the screen util on my mac, but cut and paste sometimes does not work will.

    • @0033mer
      @0033mer  Год назад

      The Forth compiler is running on the microcontroller where you send code to it through the USB port. If you send code too fast for the compiler to handle, you will get errors. Find a serial terminal program where you can add character and line delays. TeraTerm running on Windows is what I use where you can add these delays. Check out this video that describes this technique, it is not the Scamp board but the principle is the same. ruclips.net/video/FAIOIACJY0w/видео.html

  • @tonypino2858
    @tonypino2858 Год назад

    Zo Die Zensor Reageerd echt Super Snel

  • @williamcorpening7250
    @williamcorpening7250 Год назад

    Thank you so much for your great, educational videos. You are the best!! Two questions - 1. I know the Scamp3 has FlashForth embedded and you have been using eForth (I think) on Arduino, in your opinion which is best? 2. I want to get a Scamp3 and try it, but the cost seems to be $30-40 per board compared to Arduino, STM32s, etc. at $4-8 per board. What justifies using the Scamp3?

    • @0033mer
      @0033mer  Год назад

      I started the Scamp3 video series as I was getting a lot of requests from viewers on how to program microcontrollers using Forth. Ths Scamp3 board has a PIC microcontroller running Flashforth with the addition of Forth support words for GPIO, ADC, UART, I2C with I2C scanner, SPI, PWM, onboard Temp sensor and 16 LED array. So if you think the support is worth the price you can get the Scamp3 board or download Flashforth (free) for the Nano or UNO and write your own support words for the protocols mentioned above. I had a website on how to write your own support words but there was little interest. The Scamp3 board is a good start for beginners. If you want a simpler Forth I have written Interactive Arduino. Here is a link to a video: ruclips.net/video/PY01_9dANd8/видео.html

    • @williamcorpening7250
      @williamcorpening7250 Год назад

      @@0033mer You said - " I had a website on how to write your own support words but there was little interest."
      Is that website still available? Where could I find it?

    • @0033mer
      @0033mer  Год назад

      The website was part of a local "Maker" club. After I informed them there would be no further support, they took it down. Early into the pandemic the Maker club also closed their doors.

  • @nil0bject
    @nil0bject Год назад

    good work

    • @0033mer
      @0033mer  Год назад

      Thanks for the visit

    • @nil0bject
      @nil0bject Год назад

      @@0033mer hey could you reply to @Analog Dude

    • @0033mer
      @0033mer  Год назад +1

      C is not structured to be Interactive. Forth is very good at controlling hardware using minimal memory.
      NASA uses it for this reason: www.forth.com/resources/space-applications/
      Users of Forth do not advertise, that is why I started my channel.
      You can use any language for direct address programming if you clearly understand the data sheet.

  • @AnalogDude_
    @AnalogDude_ Год назад

    Hi there, could you do the same in C, to be compatible with the Arduino IDE. never heard of this language. i'm using a pic32mx, original microchip Fubarino board.
    I'm trying to do the same currently, wanna use page addressing mode and do not really understand: Lower / higher Column Start Address (nibbles), Set Display Start Line.
    i have partially success, but the function that comes next goes on where the previous ended.

    • @nil0bject
      @nil0bject Год назад

      is there an existing arduino library that you can look at the code?

    • @AnalogDude_
      @AnalogDude_ Год назад

      @@nil0bject i got several and they all take the same approach, start from the upper left pixel (page) and upload a 512 or 1024 byte array to the device to draw (write) using horizontal addressing mode, if you do Page addressing you can save the 512 / 1024 byte array in you precious little ram space you have on a MCU.
      sure you can draw images if you want to in horizontal addressing mode, but being able to more the cursor around allows you save lots of ram, use a smaller array or no array at all. the SSD1036 display has 3 modes.

    • @AnalogDude_
      @AnalogDude_ Год назад

      @@nil0bject SRAM 2 KB (ATmega328P) for the Arduino Uno if you waste more than half for a display, that sucks.

    • @nil0bject
      @nil0bject Год назад

      @@AnalogDude_ right. i only use raspberry pi pico's, so I doubt I can help. Do the adafruit libraries do page addressing?

    • @AnalogDude_
      @AnalogDude_ Год назад

      @@nil0bject they all use the same method, easier to make grafix, accept for a guy that published a video on SSD1306 yesterday here, but he is using a language called Flashforth, he is doing what i want, but i can't really read that code. he posted his code online.

  • @johncatsoulis
    @johncatsoulis Год назад

    Very good, Ken. Thanks for a great video.