Announcement

Collapse
No announcement yet.

4dpi-32-II brightness setting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lunardog
    replied
    Thank you Kimberly! It all works now. I can control display brightness! Very happy.

    Leave a comment:


  • Kimberly
    replied
    Hi! No worries!
    We already updated the software package link on the product page.
    If you have further questions, feel free to ask us.

    Best Regards,
    Kimberly

    Leave a comment:


  • lunardog
    replied
    Thank you, Kimberly!

    I'll try the software package you suggest ASAP.

    By the way, the datasheet link in the product is updated, but the software package link is still:
    http://www.4dsystems.com.au/download...35_v1.1.tar.gz (which relocates the user to 1.0.tar.gz)

    It might benefit everyone to update the product page with the new software package link to avoid confusion of versions...

    Leave a comment:


  • Kimberly
    replied
    Hi again!

    You might be using an outdated kernel package. You have to download the updated one. As stated in the updated datasheet, here's the link:

    http://www.4dsystems.com.au/download...34_v1.1.tar.gz

    I hope this helps!

    Best Regards,
    Kimberly
    Last edited by Kimberly; 17th July 2018, 11:12 AM.

    Leave a comment:


  • lunardog
    replied
    Hello Kimberly,

    Thank you for your help.

    I tried the command you suggested and this is the result I see:
    [email protected]:~ $ sudo sh -c 'echo 31 > /sys/class/backlight/32-hat-pwm/brightness' sh: 1: cannot create /sys/class/backlight/32-hat-pwm/brightness: Directory nonexistent There is no 32-hat-pwm in /sys/class/backlight.

    Is there a newer software package I should use?

    Leave a comment:


  • Kimberly
    replied
    Hi,

    Welcome to the forum!

    You can use this command to change the brightness of your 4DPi-32-II display:

    Code:
    sudo sh -c 'echo 31 > /sys/class/backlight/32-hat-pwm/brightness'
    This sets the backlight to 31%. You can vary its value by replacing the number in "echo 31" with a number from 0 to 100.

    Also, the datasheet you are using is already outdated. You can find the latest datasheet on its product page: https://www.4dsystems.com.au/product/4DPi-32/downloads.

    Best Regards,
    Kimberly
    Last edited by Kimberly; 17th July 2018, 11:16 AM.

    Leave a comment:


  • lunardog
    started a topic 4dpi-32-II brightness setting

    4dpi-32-II brightness setting

    I'm trying to change the brightness setting on a 4dpi-32-II display attached to a Raspberry PI Zero W

    I'm following this datasheet: https://www.4dsystems.com.au/product...heet_R_2_7.pdf

    1. I changed /boot/cmdline.txt to include 4dpi.pwm=1
    2. I reset the raspberry Zero, the display goes blank and doesn't light up at all.
    3. I ssh into the raspberry and try to follow this instruction: echo 80 > /sys/class/backlight/32-hatpwm/brightness
    But /sys/class/backlight/32-hatpwm doesn't exist.

    Instead, I can see /sys/class/brightness/4d-hats/ containing brightness, actual_brightness and max_brightness, among other files.

    max_brightness contains the value 31 and can't be changed.
    I can only change brightness between 0 and 31, but the display doesn't light up at all

    I tried writing to GPIO 18 using the gpio command, but no reaction from the display.

    Is my display broken or am I doing something wrong?

    Am I using the right software package?
    I downloaded this: http://www.4dsystems.com.au/download...35_v1.1.tar.gz
    Link is here: https://www.4dsystems.com.au/product/4DPi_32/

    edit: added links to the software package. And this message. And a typo.
    Last edited by lunardog; 15th July 2018, 02:02 PM.
Working...
X