11 years, 5 months ago.

how can i connect mbed to a vga port for sending data?

i am trying to make a wireless presentation system. in which one of mbed will be connected to laptop. and other will be connected to a projector. but the problem is that how can i configure mbed to the vga port of the projector.

7 Answers

11 years, 5 months ago.

Maybe something like this will help?

http://mbed.org/cookbook/uVGAII

That's instructions for a specific VGA breakout board, I am sure there are others too.

Dan

11 years, 5 months ago.

i want to avoid such adopters. is there any other way out?

11 years, 5 months ago.

http://www.ladyada.net/images/fuzebox/fuzeboxsch.png

this has a resistor network for vga creation, would this be what you are looking for? Check port C for red green and blue outputs.

11 years, 5 months ago.

thanks kelvin, but this circuit has only three outputs blue , green and red. where as the vga port has 15 in which we have syncronization pins as well. so what to do with them?

11 years, 5 months ago.

You can find info and libraries for directly driving a (monochrome) VGA from mbed on this page:

http://mbed.org/forum/mbed/topic/2459/?page=1

Note that in general processors like mbed/lpc1768 simply lack the performance and onboard memory to drive VGA (colour) displays and do some other useful work without any supporting hardware. I recommend you use the previously mentioned http://mbed.org/cookbook/uVGAII board or you switch to another processor.

11 years, 5 months ago.

Use a Gameduino (http://excamera.com/sphinx/gameduino/). I have done this and it works a treat. You need to connect it to the SPI pins of your mbed as follows:

  • mbed pin 5 (MOSI) -> Gameduino pin 11 (MOSI)
  • mbed pin 6 (MISO) -> Gameduino pin 12 (MISO)
  • mbed pin 7 (SCK) -> Gameduino pin 13 (SCK)
  • mbed pin 8 -> Gameduino pin 9 (SEL) You can use any mbed digital output pin you like for the SEL signal. Not only do you get VGA but hardware sprites with collision detection and stereo sound.

11 years, 5 months ago.

can i use the usb to rs232 converter and then rs232 to vga? would it work?