This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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...

  • 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

  • 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
    www.beyondlogic.org/.../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)

  • 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

  • "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!

  • 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