{"id":636,"date":"2020-04-27T14:40:57","date_gmt":"2020-04-27T14:40:57","guid":{"rendered":"https:\/\/justanotherelectronicsblog.com\/?p=636"},"modified":"2020-04-27T14:40:58","modified_gmt":"2020-04-27T14:40:58","slug":"driving-a-6464-rgb-led-panel-with-an-fpga","status":"publish","type":"post","link":"https:\/\/justanotherelectronicsblog.com\/?p=636","title":{"rendered":"Driving a 64*64 RGB LED panel with an FPGA."},"content":{"rendered":"\n<p>Browsing Ali-express is dangerous business. Before you know it you end up ordering strange things like a 64&#215;64 pixel RGB LED matrix. These matrices (called HUB75 or HUB75E) are meant for use for the big outside LED displays.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg\" alt=\"\" class=\"wp-image-650\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg 800w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay-300x300.jpg 300w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay-150x150.jpg 150w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay-768x768.jpg 768w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay-100x100.jpg 100w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay-336x336.jpg 336w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>There are several projects already involving these displays, but I wanted to do more FPGA stuff and this seems like a great excuse. A fast microcontroller can drive these displays. However, an FPGA is much better suited for this. The reason is that these displays do not have on board memory but need to be constantly refreshed to display an image. But when you get them up and running with an FPGA, the results are mighty fun<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/file1.gif\" alt=\"\" class=\"wp-image-664\" width=\"496\" height=\"483\"\/><\/figure>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">The RGB matrix<\/h2>\n\n\n\n<p>The RGB matrix just has 16 pins, with the pinout being as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"430\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-2.png\" alt=\"\" class=\"wp-image-651\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-2.png 723w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-2-300x178.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>It has 2 R, G and B pins, 5 address pins and 3 control pins (Clock, Latch and Blank). The display only shows 2 lines at any time, which is done to save pins most likely.  It&#8217;s controlled like this:<br><br>1. Select which line to display using the 5 address bytes, giving 32 lines to pick from.<br>2. Turn the display off by making the Blank pin high. This helps against glitches.<br>3. Clock 64 bits of data using the Clock pin and the RGB pins.<br>4. Toggle the Latch pin High -&gt; Low to load the data to the row.<br>5. Turn the display on by making the Blank pin low.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"180\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/matrix_wave-1.png\" alt=\"\" class=\"wp-image-653\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/matrix_wave-1.png 740w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/matrix_wave-1-300x73.png 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><figcaption>Or as a nice waveform for clarity.<\/figcaption><\/figure>\n\n\n\n<p>There are 2 R, G and B pins. If address 0 is selected, R0, G0, B0 write data to the first line and R1, G1, B1 write data to the 32th line. Address 1 for the second and 33th line, and so on. <br>But this just displays 2 lines. to show an image you need to write a line, wait a bit to display it, write the next line, and so on. For an acceptable image, 64 lines need to be written and shown every 1\/60s second, or faster for a nice frame-rate. To make it worse, when writing a line this way, LEDs are either off or on. With RGB this makes for 8 different colours to show, not exactly a pretty image.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">More colours<\/h2>\n\n\n\n<p>Getting more colours means PWMing the display. The only way to PWM this display is by writing a line a lot of times before going to the next line:<br><br>1. Shift data to a line as above<br>2. wait a bit of time<br>3. Shift the next value in the same line<br>4. wait a bit of time<br>5. repeat this N times, for 4 bit PWM 16 times, for 8 bit PWM 256 times.<br>6. Move on to the next line<\/p>\n\n\n\n<p>A way to make this a bit easier is to use<a href=\"http:\/\/www.batsocks.co.uk\/readme\/art_bcm_1.htm\"> Binary Coded Modulation<\/a> (BCM) With BCM, the process would be as follows<br><br>1. Shift data to a line<br>2. Wait x time<br>3. Shift the next value in the same line<br>4. Wait x*2 time<br>3. Shift the next value in the same line<br>5. Wait x*4 time.<br>6. Repeat N times, for 4 bit PWM 4 times, and for 8 bit PWM 8 times.<br>7. Move on to the next line<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Driving the matrix<\/h2>\n\n\n\n<p>The FPGA code can be fairly simple. Read data from a framebuffer and transmit to the RGB matrix. <br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"618\" height=\"156\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-5.png\" alt=\"\" class=\"wp-image-657\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-5.png 618w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-5-300x76.png 300w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><figcaption>Let&#8217;s assume the data to display arrived by magic for now<\/figcaption><\/figure>\n\n\n\n<p>To make displaying easier, I decided to organize the frame buffer memory in the format to send. Instead of the data being stored as RGB values, I split them out in 64 bit row data. This way, the Data transmitter block just needs to read data, clock it out and wait the required time.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"390\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/Memory-in-FB-1.png\" alt=\"\" class=\"wp-image-642\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/Memory-in-FB-1.png 440w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/Memory-in-FB-1-300x266.png 300w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><figcaption>This is for 4 bits of BCM, but an image for 8 would be a bit big.<\/figcaption><\/figure>\n\n\n\n<p>This way the FPGA code to transmit is a simple state machine. firstly, it fetches data. Secondly, it transmits it and waits the correct time before the next row can be send. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"544\" height=\"752\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-3.png\" alt=\"\" class=\"wp-image-655\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-3.png 544w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/image-3-217x300.png 217w\" sizes=\"auto, (max-width: 544px) 100vw, 544px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The code for this part can be found <a href=\"https:\/\/github.com\/riktw\/HUB75E_ICE40\/blob\/master\/Gateware\/src\/main\/scala\/mylib\/WishboneToRgbMatrix.scala\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Framebuffer problems<\/h2>\n\n\n\n<p>Of course, to display data you need to have data to display. The FPGA could generate this. For example, a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Mandelbrot_set\">Mandelbrot<\/a>  is something an FPGA could generate. But I wanted to see how it would look to display animated GIFs on it. In other words, I needed to get data from a PC to the FPGA.<\/p>\n\n\n\n<p>I am a fan of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Wishbone_(computer_bus)\">Wishbone bus<\/a>, it&#8217;s simple to use, free and there are plenty of examples and <a href=\"https:\/\/github.com\/litex-hub\/wishbone-utils\">tools<\/a> for it already. The framebuffer should have a Wishbone interface!<\/p>\n\n\n\n<p>I say framebuffer, but it&#8217;s much better to have two framebuffers. The display shows framebuffer X, while the PC sends data to buffer Y. After the data is transferred, the buffers are switched. The Wishbone bus just needs to have a command to switch the buffers. <\/p>\n\n\n\n<p>The framebuffer code deals with a few quirks. The Ice40 FPGA I want to use has plenty of memory. However, it is Single port memory. In other words, you can only read or write, not simultaneously. The memory blocks are also 16 bit wide and there are just 4 of them. On other words, with 2 framebuffers I can concatenate 2 to get a 32 bit wide buffer. This is not enough for the 64 bit rows. Therefor data is read in 2 cycles, lower 32 bits first, then the upper 32 bits. <\/p>\n\n\n\n<p>The framebuffer code can be found <a href=\"https:\/\/github.com\/riktw\/HUB75E_ICE40\/blob\/master\/Gateware\/src\/main\/scala\/mylib\/WishboneToRgbMatrix.scala\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A bit about SpinalHDL<\/h2>\n\n\n\n<p>If you look at the code, you will notice it&#8217;s not VHDL or Verilog, the two main FPGA languages. However, the code is written in SpinalHDL.  I have used <a href=\"https:\/\/justanotherelectronicsblog.com\/?p=543\">SpinalHDL<\/a> before and find it much quicker then VHDL\/Verilog. <\/p>\n\n\n\n<p>For example, adding a Wishbone bus and a register to write to to switch framebuffers is just a few lines:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">class WishboneFrameBuffer(config : WishboneConfig, debug : Boolean) extends Component {\n    val io = new Bundle {\n        val wb = slave(Wishbone(config))\n        \/\/Other IO not shown for clarity\n    }\n\n    val wishboneFactory = WishboneSlaveFactory(io.wb)\n\n    val brightnessReg = Reg(UInt(8 bits)) init (0)\n    wishboneFactory.driveAndRead(brightnessReg, 0)\n\n    wishboneFactory.onWrite(4)(frameBufferSelected := !frameBufferSelected)\n}<\/pre>\n\n\n\n<p>This block of code generates a wishBoneFactory and whenever data is written to address 4, it executes the code to toggle frameBufferSelected. <br>An 8 bit brightness register that can be written to and read on address 0 is also added. Brightness is controlled by PWMing the Blank pin. <mark class=\"annotation-text annotation-text-yoast\" id=\"annotation-text-43fe57dc-7cfd-4bfa-b510-b7c67189aea9\"><\/mark><\/p>\n\n\n\n<p>In conclusion, SpinalHDL continues to be fun to work with. I just wish the documentation was more up to date. Luckily the folks from SpinalHDL respond quickly on their <a href=\"https:\/\/gitter.im\/SpinalHDL\/SpinalHDL\">Gitter<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PC to Wishbone<\/h2>\n\n\n\n<p>Having the framebuffers connected to a wishbone bus is nice and handy, but you still need to get data in them. One of the reasons I chose for the wishbone bus is because of a small <a href=\"https:\/\/github.com\/litex-hub\/wishbone-utils\/tree\/master\/wishbone-tool\">tool<\/a> that runs on a PC and can talk to wishbone. It supports different protocols. For instance UART.  The wishbone-tool supports 32 bit data and 32 bit address and sends out data in a simple protocol:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"60\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/wb.png\" alt=\"\" class=\"wp-image-662\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/wb.png 560w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/wb-300x32.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/figure>\n\n\n\n<p>R\/W is 1 for write, 0 for read. For now I just implemented writes.<\/p>\n\n\n\n<p>On the FPGA side of things, I made a bus to wishbone converter that, at the moment, supports UART and SPI. The reason for SPI is that an FT2232H supports SPI up to 60Mhz, making for a simple and fast bus. It is also configurable for 8 or 16 bit address\/data instead of just 32. The reason for that is that I do not need 32 bit addressing, going for 16 bit makes data transfer quicker.<\/p>\n\n\n\n<p>This is all configurable in SpinalHDL. The Wishbone code can be found <a href=\"https:\/\/github.com\/riktw\/HUB75E_ICE40\/blob\/master\/Gateware\/src\/main\/scala\/mylib\/UartToWishbone.scala\">here<\/a>. However, the wishbone-tool only supports 32 bit address and data and does not support SPI, but that leads us to the next issue<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PC side of things <\/h2>\n\n\n\n<p>Whew, that was a lot of FPGA stuff. Time for some PC software to send pictures over. I have been doing some embedded stuff in Rust lately, and was happy I found an<a href=\"https:\/\/github.com\/geomatsi\/ftdi-embedded-hal\"> embedded HAL crate<\/a> for the common FT2232H and FT232H USB to whatever converters. Using this I can send data over via SPI at decent speeds. <\/p>\n\n\n\n<p>The PC side of things firstly reads in a BMP or GIF file, secondly converts it to the data format listed above and thirdly sends it over in chunks of 64 pixels. The code can be found <a href=\"https:\/\/github.com\/riktw\/HUB75E_ICE40\/tree\/master\/Software\/PC_To_FPGA\">here<\/a>.<\/p>\n\n\n\n<p>However, if the image is a GIF, it&#8217;s split in single frames and send over frame by frame, taking frame time into consideration. This of course allows for extremely useful things like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/file2.gif\" alt=\"\" class=\"wp-image-665\" width=\"440\" height=\"450\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The code contains a few hacks. For example, I have 2 FT232H things attached, so I gave one a different PID\/VID. Would you use the code, it should be changed back to 0x0403 0x6014. Moreover, error handling is finicky at best and it will just crash on an error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>This part of the blog has been purely software focused. However, the next one will be hardware focused, including a small custom PCB with an ICE40UP5K. A small preview:<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/IMG_4456-1024x720.jpg\" alt=\"\" class=\"wp-image-672\" srcset=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/IMG_4456-1024x720.jpg 1024w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/IMG_4456-300x211.jpg 300w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/IMG_4456-768x540.jpg 768w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/IMG_4456-1536x1080.jpg 1536w, https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/IMG_4456-2048x1440.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This has been a fun project working on. In my opinion, SpinalHDL and other newer HDLs like <a href=\"https:\/\/github.com\/m-labs\/migen\">Migen<\/a>, make FPGA development a lot easier and more fun. Having amazing <a href=\"http:\/\/www.clifford.at\/icestorm\/\">open source FPGA tools<\/a> also makes a real difference. I started prototyping on an Xilinx Artix FPGA and the same project synthesizes on FOSS tools in 20 seconds compared to several minutes in Vivado.  The entire project can be found on <a href=\"https:\/\/github.com\/riktw\/HUB75E_ICE40\">Github<\/a>, building it can be done with a simple Make command, no 20GB Vivado required :)<\/p>\n\n\n\n<p>I hope you enjoyed reading it and you can always buy me a <a href=\"https:\/\/ko-fi.com\/riktw\">coffee<\/a> if you did.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Browsing Ali-express is dangerous business. Before you know it you end up ordering strange things like a 64&#215;64 pixel RGB LED matrix. These matrices (called HUB75 or HUB75E) are meant for use for the big outside LED displays. There are several projects already involving these displays, but I wanted to do more FPGA stuff and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-636","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Driving a 64*64 RGB LED panel with an FPGA. - jaeblog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/justanotherelectronicsblog.com\/?p=636\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Driving a 64*64 RGB LED panel with an FPGA. - jaeblog\" \/>\n<meta property=\"og:description\" content=\"Browsing Ali-express is dangerous business. Before you know it you end up ordering strange things like a 64&#215;64 pixel RGB LED matrix. These matrices (called HUB75 or HUB75E) are meant for use for the big outside LED displays. There are several projects already involving these displays, but I wanted to do more FPGA stuff and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/justanotherelectronicsblog.com\/?p=636\" \/>\n<meta property=\"og:site_name\" content=\"jaeblog\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-27T14:40:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-27T14:40:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg\" \/>\n<meta name=\"author\" content=\"riktw\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"riktw\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636\"},\"author\":{\"name\":\"riktw\",\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/#\\\/schema\\\/person\\\/d77e39721321c4a472b49909a8f1982b\"},\"headline\":\"Driving a 64*64 RGB LED panel with an FPGA.\",\"datePublished\":\"2020-04-27T14:40:57+00:00\",\"dateModified\":\"2020-04-27T14:40:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636\"},\"wordCount\":1532,\"commentCount\":10,\"image\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/ebay.jpg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636\",\"url\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636\",\"name\":\"Driving a 64*64 RGB LED panel with an FPGA. - jaeblog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/ebay.jpg\",\"datePublished\":\"2020-04-27T14:40:57+00:00\",\"dateModified\":\"2020-04-27T14:40:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/#\\\/schema\\\/person\\\/d77e39721321c4a472b49909a8f1982b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#primaryimage\",\"url\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/ebay.jpg\",\"contentUrl\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/ebay.jpg\",\"width\":800,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?p=636#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Driving a 64*64 RGB LED panel with an FPGA.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/#website\",\"url\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/\",\"name\":\"jaeblog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/#\\\/schema\\\/person\\\/d77e39721321c4a472b49909a8f1982b\",\"name\":\"riktw\",\"url\":\"https:\\\/\\\/justanotherelectronicsblog.com\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Driving a 64*64 RGB LED panel with an FPGA. - jaeblog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/justanotherelectronicsblog.com\/?p=636","og_locale":"en_US","og_type":"article","og_title":"Driving a 64*64 RGB LED panel with an FPGA. - jaeblog","og_description":"Browsing Ali-express is dangerous business. Before you know it you end up ordering strange things like a 64&#215;64 pixel RGB LED matrix. These matrices (called HUB75 or HUB75E) are meant for use for the big outside LED displays. There are several projects already involving these displays, but I wanted to do more FPGA stuff and [&hellip;]","og_url":"https:\/\/justanotherelectronicsblog.com\/?p=636","og_site_name":"jaeblog","article_published_time":"2020-04-27T14:40:57+00:00","article_modified_time":"2020-04-27T14:40:58+00:00","og_image":[{"url":"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg","type":"","width":"","height":""}],"author":"riktw","twitter_card":"summary_large_image","twitter_misc":{"Written by":"riktw","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/justanotherelectronicsblog.com\/?p=636#article","isPartOf":{"@id":"https:\/\/justanotherelectronicsblog.com\/?p=636"},"author":{"name":"riktw","@id":"https:\/\/justanotherelectronicsblog.com\/#\/schema\/person\/d77e39721321c4a472b49909a8f1982b"},"headline":"Driving a 64*64 RGB LED panel with an FPGA.","datePublished":"2020-04-27T14:40:57+00:00","dateModified":"2020-04-27T14:40:58+00:00","mainEntityOfPage":{"@id":"https:\/\/justanotherelectronicsblog.com\/?p=636"},"wordCount":1532,"commentCount":10,"image":{"@id":"https:\/\/justanotherelectronicsblog.com\/?p=636#primaryimage"},"thumbnailUrl":"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/justanotherelectronicsblog.com\/?p=636#respond"]}]},{"@type":"WebPage","@id":"https:\/\/justanotherelectronicsblog.com\/?p=636","url":"https:\/\/justanotherelectronicsblog.com\/?p=636","name":"Driving a 64*64 RGB LED panel with an FPGA. - jaeblog","isPartOf":{"@id":"https:\/\/justanotherelectronicsblog.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/justanotherelectronicsblog.com\/?p=636#primaryimage"},"image":{"@id":"https:\/\/justanotherelectronicsblog.com\/?p=636#primaryimage"},"thumbnailUrl":"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg","datePublished":"2020-04-27T14:40:57+00:00","dateModified":"2020-04-27T14:40:58+00:00","author":{"@id":"https:\/\/justanotherelectronicsblog.com\/#\/schema\/person\/d77e39721321c4a472b49909a8f1982b"},"breadcrumb":{"@id":"https:\/\/justanotherelectronicsblog.com\/?p=636#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/justanotherelectronicsblog.com\/?p=636"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/justanotherelectronicsblog.com\/?p=636#primaryimage","url":"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg","contentUrl":"https:\/\/justanotherelectronicsblog.com\/wp-content\/uploads\/2020\/04\/ebay.jpg","width":800,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/justanotherelectronicsblog.com\/?p=636#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/justanotherelectronicsblog.com\/"},{"@type":"ListItem","position":2,"name":"Driving a 64*64 RGB LED panel with an FPGA."}]},{"@type":"WebSite","@id":"https:\/\/justanotherelectronicsblog.com\/#website","url":"https:\/\/justanotherelectronicsblog.com\/","name":"jaeblog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/justanotherelectronicsblog.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/justanotherelectronicsblog.com\/#\/schema\/person\/d77e39721321c4a472b49909a8f1982b","name":"riktw","url":"https:\/\/justanotherelectronicsblog.com\/?author=1"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=\/wp\/v2\/posts\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=636"}],"version-history":[{"count":22,"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=\/wp\/v2\/posts\/636\/revisions"}],"predecessor-version":[{"id":674,"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=\/wp\/v2\/posts\/636\/revisions\/674"}],"wp:attachment":[{"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/justanotherelectronicsblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}