CrazyEngineers Forum

Turn The Screws!

Open your eyes, look in front, look at the back, look at any angle and you will see something that is an engineer's creation.

Engineers have been making things possible that others could only imagine. It perfectly makes sense to have a common place for engineers from around the world where they can share ideas, innovate, & help each other. Engineers are eternal, with the younger at 62 & the youngest at 17, the CEan gang consists of working professionals, students, entrepreneurs, CEOs, professors, geeks & nerds.

Need we say more? Click Here To Join The Gang!
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Electrical & Electronics Engineering
Reply

  #1 (permalink)
Old 10th July 2008, 12:40 PM
CE - Apprentice
 
I'm a Crazy Electrical and Electronics Engineer
Join Date: 24th June 2008
Location: India
Posts: 18
Default Embedded-Desktop Integration_VB6.0

Hello Everybody...

I’m trying to develop a standalone application using VB6.0 to test a PCB board using my Desktop. Details of the project are explained below..

Desktop should interface with target PCB through DB9 COMM Port.

PCB has RS485, 2-Wire connection and has a PIC Controller coded for accepting Modbus protocol.

The functionality should be like; the standalone application should send the Protocol data to the PCB through DB9 and Displays the feedback from PCB.

I know that DB9 Port in PC is RS232 Compatible. Do we need a RS232 to 485 Adapter for interfacing?

Is there anybody who worked in this kind of projects?

Cheers,
Karthik..
Karthik S is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)
Old 10th July 2008, 05:18 PM
CE - Apprentice
 
I'm a Crazy Electrical and Electronics Engineer
Join Date: 24th June 2008
Location: India
Posts: 18
Default Re: Embedded-Desktop Integration_VB6.0

16 views... But No reply...

Is that the question is silly or Complicated?

Let reply Buddies...
Karthik S is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 11th July 2008, 12:49 PM
CE - Apprentice
 
I'm a Crazy Electrical and Electronics Engineer
Join Date: 24th June 2008
Location: India
Posts: 18
Default Re: Embedded-Desktop Integration_VB6.0

Oh... Come on..

Anybody over there
Karthik S is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)
Old 11th July 2008, 06:05 PM
CE - Regular Member
 
koli's Avatar
 
I'm a Crazy IT Engineer
Join Date: 20th June 2008
Location: Mumbai
Posts: 52
Red face Re: Embedded-Desktop Integration_VB6.0

arthik,

I think the subject is misleading. I came to this thread thinking it is something to do about PC desktop, or similar issue.

I did a project on interfacing RS232 with several instrumentations when i was in college.

I think you will need a convertor. I see they are available
http://www.232analyzer.com/RS232-RS485-RS422-Serial-Converters/RS232-RS485-Converter.htm

I have no clue about RS485, sorry never worked with them.

Goodluck!
koli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)
Old 14th July 2008, 03:06 PM
CE - Apprentice
 
I'm a Crazy Electrical and Electronics Engineer
Join Date: 24th June 2008
Location: India
Posts: 18
Default Re: Embedded-Desktop Integration_VB6.0

Thanks for your inputs Koli..
The difference between RS485 and Rs232 is the reference voltage they work with. As you might know, RS232 takes GND as the reference but RS485 works on the potential difference between + and - lines. So that RS485 can travel more distance than RS232... I hope this help you....


Anyway, can anyboby tell me how can we receive data from the DB9.0 using VB6.0? This is like once we write the code "Mscomm1.input" we can read recent data coming in..
But I'm using a protocol where we need to store 12 byte data with odd parity..

Regards,
Karthik....

"Rather loose Money than Trust"
Karthik S is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 02:57 AM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.Ad Management by RedTyger