Author Topic: Microcontroller to video  (Read 9095 times)

0 Members and 1 Guest are viewing this topic.

Offline jaRONTopic starter

  • Contributor
  • Posts: 34
Microcontroller to video
« on: October 03, 2011, 06:33:48 pm »
Hi,
I working on a Microcontroller fan controller. It going to controll 15 fans. I like to have a lcd on it. I have foun a LCD Panel OSD070TN84 and I going to use the Digital View ALR-1400 for a driver board. What i need to know is how hard is to go from Microcontroller to video so it can come up on lcd and how.
 

Offline johnboxall

  • Supporter
  • ****
  • Posts: 663
  • Country: au
  • You do nothing, you get nothing.
    • Books, services and more:
Re: Microcontroller to video
« Reply #1 on: October 04, 2011, 12:15:03 pm »
Which microcontroller family are you going to use?
That ALR-1400 looks like mega-overkill. How about this:
http://www.4dsystems.com.au/prod.php?id=131
There are two versions. One has a serial interface, so you can drive it with almost any type of uC or even an Arduino. :)
There is also a different version:
http://www.4dsystems.com.au/prod.php?id=149
Which is programmed using its own language - with much more control over the graphics capabilties. The "4DGL" programming language is easy to use and well documented.
Food for thought.

Offline jaRONTopic starter

  • Contributor
  • Posts: 34
Re: Microcontroller to video
« Reply #2 on: October 04, 2011, 03:59:27 pm »
can that only run the lcd or can run the fans to
 

Offline joelby

  • Frequent Contributor
  • **
  • Posts: 634
Re: Microcontroller to video
« Reply #3 on: October 04, 2011, 04:52:26 pm »
It's just a VGA generator. You'll still need to knock up a separate fan controller, since the dual combination of video controller and fan controller has limited appeal in the wider market.

To drive something like the ALR-1400, you'll need to look at the number of I/Os it requires, the bandwidth, and the voltage levels and see if all of these are compatible with the microcontroller you're planning to use. It seems like this is a very ambitious project for you - perhaps you could start off with a far simpler 16x2 LCD and then once that's working, work up to more complicated things.

Graphical displays and touch screens are difficult to use with cheap, simple microcontrollers and are often the domain of embedded computers, unless you can find an interface board that abstracts display operations into a simple command protocol. These are typically quite expensive.
 

Offline jaRONTopic starter

  • Contributor
  • Posts: 34
Re: Microcontroller to video
« Reply #4 on: October 04, 2011, 05:03:46 pm »
 

Offline joelby

  • Frequent Contributor
  • **
  • Posts: 634
Re: Microcontroller to video
« Reply #5 on: October 04, 2011, 05:07:05 pm »
What sort of microcontroller were you planning to use? To use that, you'll need to generate VGA at one of the supported resolutions and implement a USB host to interface with the touch screen.
 

Offline jaRONTopic starter

  • Contributor
  • Posts: 34
Re: Microcontroller to video
« Reply #6 on: October 04, 2011, 05:24:42 pm »
I going to use the microcontroller 80C58 and i find this wedside. I do not know if i going to use the touch screen


http://courses.cit.cornell.edu/eceprojectsland/STUDENTPROJ/2005to2006/aml66/colorVideo/colorVideo.htm
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Microcontroller to video
« Reply #7 on: October 04, 2011, 05:40:59 pm »
I going to use the microcontroller 80C58

Not enough on-chip memory to hold the graphics elements you will need to fill your 7" 800x480 display with meaningful content.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline jaRONTopic starter

  • Contributor
  • Posts: 34
Re: Microcontroller to video
« Reply #8 on: October 04, 2011, 06:00:41 pm »
what microcontroller should i use or should i use memory chip
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Microcontroller to video
« Reply #9 on: October 04, 2011, 06:38:42 pm »
You should rethink that whole thing. This is not LEGO, where you just select parts from a shiny colorful catalog and they will all magically fit.

Plan it. Run the numbers. Think it through. What you currently selected just does not make sense.
  • An expensive but dumb 7" 800x480 graphics panel.
  • An expensive LCD controller board with DVI and VGA inputs.
  • A measly $1 8 bit micro with barely enough ompf to drive an intelligent display (that you don't have).
  • Visions of adding a touchscreen.

What do you really want? What do you really need to display? Do you want to play it big? Wouldn't small do instead? Wouldn't buttons do for input? And anyhow, 15 fans? Where is the driver hardware?
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline jaRONTopic starter

  • Contributor
  • Posts: 34
Re: Microcontroller to video
« Reply #10 on: October 04, 2011, 07:45:00 pm »
ok here is what i like to do is make one of a kind water cooling pc. That is why i need 14 fans. I have the driver hardware for the fans. I'm using IRFZ44 transistor and a Microcontroller. One transistor for 4 fans, One transistor for 4 fans, One transistor for 2 fans, One transistor for 2 fans, One transistor for 1 fan, and One transistor for 1 fan. Why I like to have the 7 in lcd so it can show the fans speed and the Temperature. I have new lcd for $72.00 and I not going to use a touchscreen. I looking it using the µVGA-II(GFX) or µVGA-II(SGC) and I get a new Microcontroller. I looking it the pic18f47j53 it has 120 kb flash on it .can you use a sd card on it?
http://www.ebay.com/itm/7-TFT-LED-LCD-Module-A-D-Board-VGA-2AV-Function-/190571437289?pt=BI_Electrical_Equipment_Tools&hash=item2c5ef15ce9#ht_4119wt_1037
 

Offline joelby

  • Frequent Contributor
  • **
  • Posts: 634
Re: Microcontroller to video
« Reply #11 on: October 05, 2011, 02:31:54 am »
Yes, you can use an SD card with most micro controllers including the PIC18F, as long as the voltage levels are compatible.

 

Offline jaRONTopic starter

  • Contributor
  • Posts: 34
Re: Microcontroller to video
« Reply #12 on: October 06, 2011, 07:14:39 am »
Ok I know I need more memory to run a lcd. But if I use sd card can I save memory by using Images off the sd card. So what I meen is I have a background and only the fans speed and the Temperature will update
 

Offline DrGeoff

  • Frequent Contributor
  • **
  • Posts: 794
  • Country: au
    • AXT Systems
Re: Microcontroller to video
« Reply #13 on: October 06, 2011, 07:34:12 am »
You could use something like this to run your display: http://microvga.com/
And maybe a pic18 for the I/O.
Was it really supposed to do that?
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: Microcontroller to video
« Reply #14 on: November 13, 2011, 12:06:33 am »
ok here is what i like to do is make one of a kind water cooling pc. That is why i need 14 fans. I have the driver hardware for the fans. I'm using IRFZ44 transistor and a Microcontroller. One transistor for 4 fans, One transistor for 4 fans, One transistor for 2 fans, One transistor for 2 fans, One transistor for 1 fan, and One transistor for 1 fan. Why I like to have the 7 in lcd so it can show the fans speed and the Temperature. I have new lcd for $72.00 and I not going to use a touchscreen. I looking it using the µVGA-II(GFX) or µVGA-II(SGC) and I get a new Microcontroller. I looking it the pic18f47j53 it has 120 kb flash on it .can you use a sd card on it?
http://www.ebay.com/itm/7-TFT-LED-LCD-Module-A-D-Board-VGA-2AV-Function-/190571437289?pt=BI_Electrical_Equipment_Tools&hash=item2c5ef15ce9#ht_4119wt_1037

Before you get started, I'd just like to say that your idea is ridiculous..  No matter how much "One-of-a-kind" it is, using 14 fans for any PC is totally stupid. 
A water cooled PC has two goals: better thermal transfer so you can perhaps overclock, and less fans for lower noise (just a pump and radiator cooling fan).
What you want is a bigger radiator, less fans, and the fans you do have should be big and slow. If your PC has 3-way SLI graphics or something like that, then
get rid of the fans, use GPU water coolers, water manifolds to spread the cool water to more hot parts, and like I said, a larger radiator.  Do the water flow and
 thermal calculations properly, and you'll see that you don't need 14 fans, but you need a good water distribution system and proper flow.

Also, a 7inch, $72,  800x400 color display is overkill to display fan speeds and temps.
 

Offline ivan747

  • Super Contributor
  • ***
  • Posts: 2046
  • Country: us
Re: Microcontroller to video
« Reply #15 on: November 22, 2011, 08:34:22 pm »
ok here is what i like to do is make one of a kind water cooling pc. That is why i need 14 fans. I have the driver hardware for the fans. I'm using IRFZ44 transistor and a Microcontroller. One transistor for 4 fans, One transistor for 4 fans, One transistor for 2 fans, One transistor for 2 fans, One transistor for 1 fan, and One transistor for 1 fan. Why I like to have the 7 in lcd so it can show the fans speed and the Temperature. I have new lcd for $72.00 and I not going to use a touchscreen. I looking it using the µVGA-II(GFX) or µVGA-II(SGC) and I get a new Microcontroller. I looking it the pic18f47j53 it has 120 kb flash on it .can you use a sd card on it?
http://www.ebay.com/itm/7-TFT-LED-LCD-Module-A-D-Board-VGA-2AV-Function-/190571437289?pt=BI_Electrical_Equipment_Tools&hash=item2c5ef15ce9#ht_4119wt_1037

14 fans!? Are you running NASA outer-space ballistic calculation software or something?  :o $100 is way too much for cooling your computer. Also it will make more noise than a construction site. An LCD like that is waaay overkill.  ;) You are going from raster graphics MCU up to VGA down to raster graphics again.

If you really insist on doing a controller like this, then get huge low-RPM fans and use a text based screen. Mount it on a drive bay with all the controller circuits so it looks like this:



That commercial kit is designed to be used with the parallel port of the computer, but the display was intended to be used by an MCU. It is a HD47780 based LCD. You can easily replace that ribbon cable on the right with your own LCD control circuitry and fan controller, if you want to buy the kit. Otherwise, you can take a drive bay cover and cut it so the LCD can fit, then add any controls and buttons you need.

The kit also seems to have some sort of fan controller, take a look (it's a spanish forum with lots of abbreviations used for chatting so don't expect Google to translate it properly): http://foro.noticias3d.com/vbulletin/showthread.php?t=245118


Just curious, what are you using to sense the temperature on the case and how will you control those fans?
Nice and clean. You may want to get a big microcontroller with lots of pins (specially PWM pins) to shine some LEDs, if you are into case modding.
« Last Edit: November 22, 2011, 08:49:59 pm by ivan747 »
 


Offline Hypernova

  • Supporter
  • ****
  • Posts: 655
  • Country: tw
Re: Microcontroller to video
« Reply #17 on: November 24, 2011, 12:52:40 am »
+1 For the Crystalfontz panels. I have used the 4x20 635 version and the UART interface takes away a lot of pain. Just set up printf and you are done.
 

Offline ivan747

  • Super Contributor
  • ***
  • Posts: 2046
  • Country: us
Re: Microcontroller to video
« Reply #18 on: November 24, 2011, 08:25:15 pm »
Here's a product selection tool from CrystalFontz. HyperNova is right: driving an HD47780 can be annoying sometimes, specially with line mapping. Serial should at least help in saving I/O lines. Also most MCUs come with hardware UARTs for driving serial lines, but only the high pin count devices come with parallel ports and it's an overkill to use them.

The ones that fit in modern 5.25" bays are the ones with buttons, they are nice but they can only be controlled with USB, so my suggestion is to get a 5.25" drive bay to 3.5" drive bay adapter and use the remaining space on it to add buttons and circuitry, but be careful not to short anything to the enclosure. The 3.5" drive bay LCDs are available in many colors and they include the mounting hardware.

https://www.crystalfontz.com/products/select_kit.html

If you ever finish this project, please let us know. It sounds like a cool mod, specially to me. I have done things similar to this in my quest to make a homebrew media center PC. It kinda worked, but in the end it was all done on a really tight budget (kind of a challenge) using parallel ports, serial ports, an old analog TV tuner card, Ubuntu and a media center software. I can show some of the stuff I have done, if you want to.

Best wishes,
Ivan
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf