Author Topic: Any seggustion for make RGB Screen  (Read 4348 times)

0 Members and 1 Guest are viewing this topic.

Offline rozehTopic starter

  • Regular Contributor
  • *
  • Posts: 130
  • Country: 00
Any seggustion for make RGB Screen
« on: September 14, 2013, 12:01:35 pm »
Hi everybody
i want to make a screen like this:



or



or this:



but i confused, now. i don't know which MCU or processor is suitable?(AVR, ARM...etc(in other word, which is enogh for this job?)) i don't want to waste my money.
and please help me for make this screen. i think a 32*32 RGB is suitable for me. i don't know how can i play/show video/image in it.







Mark Twain — 'The two most important days in your life are the day you are born and the day you find out why.'
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Any seggustion for make RGB Screen
« Reply #1 on: September 14, 2013, 12:14:27 pm »
Step 1: find cheap chinese supplier for the panel
Step 2: browser TI website for suitable controller chippies, since they make a ton of IC's suited for big panels.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14786
  • Country: gb
    • Mike's Electric Stuff
Re: Any seggustion for make RGB Screen
« Reply #2 on: September 14, 2013, 12:17:22 pm »
Adafruit do some of these , with controllers and documentation.
You'd struggle to even buy the LEDs for the cost of these panels.
To get anything more than rudimentary displays you'll need an FPGA to generate the drive waveforms fast enough
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Online mariush

  • Super Contributor
  • ***
  • Posts: 5345
  • Country: ro
  • .
Re: Any seggustion for make RGB Screen
« Reply #3 on: September 14, 2013, 12:20:35 pm »
The videos you linked to should explain  but if you really want more technical stuff in something relatively easy to understand, you should look at this guy's led related videos :

https://www.youtube.com/playlist?list=PL0JWuCHXfJ2zXVRqFRFVq-lNt_xtCYMjx

---

Each pixel on those screens is a RGB led , which is basically 3 leds (red, green, blue).

By changing the amount of time a led stays lit, you can simulate various colors ... for example if all three leds are on, you get white, if you keep the red lit up half a second and half a second it stays off while the other leds stays on, you get a color close to this one.

So you can put several such rgb leds together and you have a row of pixels, then you can put several such rows to get a larger display.  Microcontrollers can drive lots of leds using shift registers, darlington arrays etc.

 
What microcontroller you need depends on what you want to achieve (how many colors, 256 colors, 16 bit, 24 bit, how many frames per second etc   ...
If you want just one microcontroller to process a larger amount of leds, you'll need one running at a higher frequency, maybe an ARM processor.
However, you could use a cheaper microcontrollers that each control just a small section, let's say 8x8 pixels or 16x16 pixels  and then use another microcontroller to send each such square the color information to show on that square.

As for how to send image to such thing, VGA, s-video, composite are all analogue signals relatively easy to decode (and there is plenty of documentation and code and examples out there if you only google for it) using microcontrollers so using a fast enough microcontroller it's possible to read something like 320x240 25 fps and display it using leds.
 

Offline rozehTopic starter

  • Regular Contributor
  • *
  • Posts: 130
  • Country: 00
Re: Any seggustion for make RGB Screen
« Reply #4 on: September 14, 2013, 12:21:05 pm »
Thanks mrflibble and Mike
FPGA! really? can i do this job by a STM32F103RET6?
Mark Twain — 'The two most important days in your life are the day you are born and the day you find out why.'
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Any seggustion for make RGB Screen
« Reply #5 on: September 14, 2013, 12:24:43 pm »
If you can do it with an STM32 would depend a bit on how big your panel is going to be. Smaller panels you can probably get away with an STM32 and use DMA to pump out the waveforms. For anything big I'd say it's fpga time.
 

Offline rozehTopic starter

  • Regular Contributor
  • *
  • Posts: 130
  • Country: 00
Re: Any seggustion for make RGB Screen
« Reply #6 on: September 14, 2013, 12:30:31 pm »
Thanks mariush,
i think the 25 fps,256 colors is suitable!(please say to me anything that i need!)

@mrflibble
32*32 RGB
just this size, now.
Mark Twain — 'The two most important days in your life are the day you are born and the day you find out why.'
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 9171
Re: Any seggustion for make RGB Screen
« Reply #7 on: September 14, 2013, 12:41:25 pm »
This shows you can get a 32x32 pixel 5mm pitch panel for around $37, and a slightly bigger 6mm pitch for slightly cheaper, $27:
http://asram.en.alibaba.com/product/850043433-218471447/16x16_32x16_32x32_pixels_waterproof_p10_outdoor_rgb_led_panel_full_color.html

Another price list here:
http://www.bradsprojects.com/forum/viewtopic.php?f=16&t=849

Making Adafruit's as usual 3-4x the going price...

Mike has a video on how to drive these types of displays too:


You *can* use your main MCU to generate the display bitstream, but a better solution especially for larger panels, and a good exercise in digital design, is to use SRAM and other ICs (or an FPGA) to create your own display controller.

25FPS and 32 x32 RGB means a minimum of 76800 pixels/sec for basic 8-colour (on-off for each subpixel) mode. Depending if the controller built into the panel has PWM or not, you may need to do dithering to gain additional colours.
« Last Edit: September 14, 2013, 12:45:30 pm by amyk »
 

Online mariush

  • Super Contributor
  • ***
  • Posts: 5345
  • Country: ro
  • .
Re: Any seggustion for make RGB Screen
« Reply #8 on: September 14, 2013, 12:51:38 pm »
watch the videos I linked to... without understanding how a microcontroller is able to turn on and off lots of leds there's not much you can do even if i tell you what you need. And even if I say what you need, i can't tell how to write code if you don't know how everything works, so watch the videos.

but basically it's rgb leds, shift registers, microcontroller, some resistors and capacitors, npm transistors or darlington arrays.

25 fps means you have 1000 ms / 25 = 40 ms  ... 40 ms is the time a microcontroller would have to turn on the leds and keep turning them on and off to simulate the specific color for that pixel in that 32x32 matrix, until the new frame comes.

256 colors means  8bits per pixel ... so let's say or 3 bits for red, 2 bits for green, 3 bits for blue

3 bits means 0 to 7, 0 being completely turned off, 7 being completely turned on so if you want to properly simulate a pixel, in those 40 ms each led from those 3 leds (red, green, blue) needs to be turned on and off at least 8 times, so that your eye sees that as a particular color. 
Then, depending on how powerful is your microcontroller you may only be able to turn on let's say 8 row of pixels at a time , so you have 40ms/ 4 sets of 8 rows = 10 ms to light up each row.  So now within 10 ms you need to flip the leds on and off at least 8 times, therefore the microcontroller needs to be fast enough to go through leds quite fast, at 10ms of time / 8 levels  = 1.25ms per led.
So the microcontroller must run at a frequency high enough to do all the math and stuff in less than 1.25ms.
« Last Edit: September 14, 2013, 12:53:43 pm by mariush »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->