{"id":2233,"date":"2015-10-27T11:26:53","date_gmt":"2015-10-27T11:26:53","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=2233"},"modified":"2024-08-01T13:32:37","modified_gmt":"2024-08-01T12:32:37","slug":"backlight-control","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-hardware\/raspberry-pi-touch-display\/backlight-control","title":{"rendered":"Backlight Control-Hardware"},"content":{"rendered":"<p>We need the screen to remain blank (black) while the RPi boots so the nasty linux scrolling text isn&#8217;t seen as it would look awful for the product we&#8217;re using it in (it needs to startup with a product splash screen image once the RPi is ready to display it). The backlight on the display control PCB is controlled by an atmel device but currently is just on from the moment it powers up. \u00a0Here&#8217;s how to take control of it.<\/p>\n<h4>Raspberry Pi Touch Display (2022, 4.8)<\/h4>\n<p>The components aren&#8217;t marked on this PCB silkscreen, so there are no component IDs to quote.\u00a0 The same modification is being made as for early versions though, however the IC is in a new position and they now have a new RPi microcontroller in place of the Atmel. Measuring the voltage on the pin, it is now only 1.9V, but that will be due to the new microcontroller. The IC is still powered at 5V and will therefore still be fine with our 3.3V signal on the pin when we want to turn the screen on.<\/p>\n<p>Cut the track as shown an also scrape off an area of the solder resistor over the ground copper as shown:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3748 size-medium\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-a-300x281.png\" alt=\"\" width=\"300\" height=\"281\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-a-300x281.png 300w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-a-60x56.png 60w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-a-150x140.png 150w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-a.png 625w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Use a bit of flux on the copper ground area and solder a 10K 0603 resistor from it to the IC pin, to act as a pull-down on powerup (this design has removed the pull-down present in previous designs, presumably because the new microcontroller has one or drives the line fast enough at power on).<\/p>\n<p>Now connect the IC pin to a 3.3V IO pin of your own (one of the RPi IO pins is fine) using a wire.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3750 size-full\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-b.png\" alt=\"\" width=\"653\" height=\"542\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-b.png 653w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-b-300x249.png 300w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-b-60x50.png 60w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/touchscreenmod-4-3-b-150x125.png 150w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/p>\n<p>That&#8217;s it,\u00a0simply\u00a0drive the signal high (+3V3) to turn the backlight on. \u00a0With it low the screen appears totally black (as if off) and you can only see what it is doing if you shine a bright light at it.<\/p>\n<h4>Raspberry Pi Display V1.1<\/h4>\n<p>The IC U1 (device marking\u00a0TP53 on our board) is driving\u00a0the LCD backlight.<\/p>\n<p><a href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2358\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_a.png\" alt=\"rpi_touch_screen_v1_1_mod_a\" width=\"525\" height=\"465\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_a.png 525w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_a-300x266.png 300w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_a-60x53.png 60w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_a-150x133.png 150w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p>The resistor R4 pulls the signal down but the Atmel microcontroller is driving the signal high at +3.3V. \u00a0To control the signal externally simply cut the track coming off R4 to the via next to it (the line with the &#8216;X&#8217; below) to disconnect the Atmel signal. \u00a0Now\u00a0connect the U1 pin to a 3.3V IO pin of\u00a0your own (one of the RPi IO pins is fine) using a wire.<\/p>\n<p><a title=\"\" href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_b.png\" target=\"\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2359\" title=\"\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_b.png\" alt=\"rpi_touch_screen_v1_1_mod_b\" width=\"648\" height=\"440\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_b.png 810w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_b-300x204.png 300w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_b-60x41.png 60w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_touch_screen_v1_1_mod_b-150x102.png 150w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/a><\/p>\n<p>That&#8217;s it,\u00a0simply\u00a0drive the signal high (+3V3) to turn the backlight on. \u00a0With it low the screen appears totally black (as if off) and you can only see what it is doing if you shine a bright light at it.<\/p>\n<h4>Raspberry Pi Display V1.0<\/h4>\n<p>The IC U1 (device marking\u00a0TP54 on our board) is driving\u00a0the LCD backlight, by the looks of things constant current switch mode driving of it with a 1MHz\u00a0frequency via L1 etc.<\/p>\n<p><a href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2234\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_1.png\" alt=\"rpi_display_bakclight_hack_1\" width=\"589\" height=\"542\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_1.png 589w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_1-300x276.png 300w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_1-60x55.png 60w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_1-150x138.png 150w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/a><\/p>\n<p>The resistor R4 pulls the signal down but the Atmel microcontroller is driving the signal high at +3.3V. \u00a0To control the signal externally simply cut the track coming off R4 to the via next to it (the line with the &#8216;X&#8217; below) to disconnect the Atmel signal. \u00a0Now\u00a0connect the U1 pin to a 3.3V IO pin of\u00a0your own (one of the RPi IO pins is fine) using a wire.<\/p>\n<p><a title=\"\" href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_2.png\" target=\"\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2240\" title=\"\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_2.png\" alt=\"rpi_display_bakclight_hack_2\" width=\"504\" height=\"486\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_2.png 720w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_2-300x289.png 300w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_2-60x58.png 60w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/10\/rpi_display_bakclight_hack_2-150x145.png 150w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/a><\/p>\n<p>That&#8217;s it,\u00a0simply\u00a0drive the signal high (+3V3) to turn the backlight on. \u00a0With it low the screen appears totally black (as if off) and you can only see what it is doing if you shine a bright light at it.<\/p>\n<p>We only need to turn it off during boot but if anyone is feeling like a trawl and discovers what device\u00a0U1 is then please let us know in the comments below in case its handy for people who want to vary the brightness by using a PWM drive signal as its likely the IC will accept one but it would be good to know the recommended\u00a0drive requirements.\u00a0 Hopefully a nice and simple\u00a0software solution will appear from the RPi folks soon to avoid needing to do this, but for now it does the trick.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We need the screen to remain blank (black) while the RPi boots so the nasty linux scrolling text isn&#8217;t seen as it would look awful for the product we&#8217;re using it in (it needs to startup with a product splash screen image once the RPi is ready to display it). The backlight on the display [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[103],"tags":[],"class_list":["post-2233","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi-touch-display"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=2233"}],"version-history":[{"count":14,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2233\/revisions"}],"predecessor-version":[{"id":3752,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2233\/revisions\/3752"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=2233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=2233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=2233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}