Keil Logo Arm Logo

Discussion Forum

serial port interfacing

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
zubir mahmod
Posted
28-Jan-2007 03:43 GMT
Toolset
None
New! serial port interfacing

hai everyone...this semester i have a final project and i choose serial port interfacing using visual basic 6.0..so my problem is i did not know how to make a comm port setting using visual basic 6.0 and how to connect MAX232 with serial port...my output is led..so, anyone can help me...

Read-Only
Author
barry gordon
Posted
28-Jan-2007 06:24 GMT
Toolset
None
New! RE: serial port interfacing

Another final project! Try performing a little research. The best tool is Google.

google "visual basic serial port"
google "max32 serial port"

The first google yields many examples
The second google yield AN1797 by ST

Looks like your requirement are: 1) Write a program using VB. 2) Have a uP receive the data and 3) Output to a LED

Read-Only
Author
Asif Ali
Posted
28-Jan-2007 06:35 GMT
Toolset
None
New! RE: serial port interfacing

Hello Zubair.... are you sure that its your final year's project and you have to drive only LED ? well i am astonished .... i am student of B.E. and in my final year i have created whole system of MCUs...

Well can you send us full discription of your project .? and yes also try to find in GOOGLE like
MAX232 interfacing.

Try This
http://www.beyondlogic.org/serial/serial.htm

and one more thing... that Serial port is Serail so you have to use some technique just like "SERIAL IN PERALLEL OUT SHIFT REGISTER" or you can simply use some TTL ics just like 74LS168 (well not sure you can see it)

Read-Only
Author
Asif Ali
Posted
28-Jan-2007 06:43 GMT
Toolset
None
New! RE: serial port interfacing

And yes as barry said you can use MCu to let your LED work as you want .. but i think it might be little bit tricky... because you need to learn UART of MCu and also you have to work out on MCu's Pins with A language like Assembly or C.

Enjoy
Asif Ali

Read-Only
Author
Andy Neil
Posted
28-Jan-2007 08:51 GMT
Toolset
None
New! Off-Topic - VB is NOT a Keil tool!

"i have a final project and i choose serial port interfacing using visual basic 6.0"

It may have escaped your notice, but Visual Vasic is not a Keil product, and it will not generate code to run on any microcontroller.

So why are you asking about it in the Keil forum?
http://www.keil.com/forum/

Of course, VB is a Microsoft product - see
http://msdn.microsoft.com

And find a VB forum!

Read-Only
Author
erik malund
Posted
29-Jan-2007 14:28 GMT
Toolset
None
New! RE: Off-Topic - VB is NOT a Keil tool!

It may also have escaped your notice that the idea in a final project is that you make it.

too many certificates are mislabelled 'engineering' where the proper term would have been 'copying'.

Erik

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.