Discussion in "8051 Discussion Forum" started by    chirag5    Sep 24, 2007.
Mon Sep 24 2007, 05:59 AM
Can u please tell me how to control 8051 microcontroller using VB6 or VB 2005. I want to communicate with 8051 using a graphical interface on a PC. The protocol i am using is MODBUS protocol.
I want to send a message to 8051 from the PC and then 8051 should transmit some data, which is already in its memory bank back to the PC.
Can u tell me where can i get any stuff regarding this. Or Can u help me?
Mon Sep 24 2007, 06:42 AM
chirag5 ,
i could certainly help u if u were using serial com port(RS232) for communication ....,
now since u r using MODBUS i beleive u should use a bitbanging code for modbus..
wait for my next post i'll send u a ref link
Mon Sep 24 2007, 06:53 AM
just check the above link ,
if u have not ,
hope u can convert c++ codes to vb.net
Mon Sep 24 2007, 06:55 AM
u can also download vb codes frm here :-)
Mon Sep 24 2007, 07:15 AM
well i prefer MSCOMM for VB communication with 8051 simple easy and fast to implement..
Mon Sep 24 2007, 07:31 AM
yes serial communication using vb is very easy to implement :-|
Mon Sep 24 2007, 07:50 AM
well yes but u dont use simple mscom port (serial) directly for
industry standard projects..
u have to use modbus if u want to implement somekind of tcp/ip
or other network protocol....
reason => it is faster if u want to send large blocks(chunk) of data.. :-)
Mon Sep 24 2007, 03:39 PM
yeah i know.. also it can be used for long distances.. RS485 is really good did you try googleing? you will surely get stuff..
instead of searching MODBUS, search for RS485 for alternative results...

well here are some reference links which can help you..

hope that will help you out
Tue Sep 25 2007, 02:13 AM
I am using RS485 as physical layer. If i directly connect the RS485 from the com port to 8051 and then transfer some messsage from the PC and Scan the ports of 8051 for serial recieving. Will it work?
Tue Sep 25 2007, 02:17 AM
where can i get some info about the code to be burned into 8051?

Get Social


Powered by e107 Forum System


Tue May 04 2021, 08:34 PM
Hi there! I could have sworn I've been to this site before but after browsing through some of the post I realized it's new to me. Anyways, I'm definitely glad I found it and I'll be book-marking and checking back frequently! check my score https://creditscorecheckn.com
Tue May 04 2021, 06:39 PM
What's up everyone, it's my first go to see at this web page, and post is really fruitful in support of me, keep up posting these types of articles. Best Credit Score https://creditscoresids.com
Tue May 04 2021, 01:13 PM
What's up to all, the contents present at this site are really remarkable for people knowledge, well, keep up the good work fellows. karma credit score https://getcreditscoreww.com
Tue May 04 2021, 09:49 AM
I like the helpful info you provide in your articles. I will bookmark your blog and check again here frequently. I am quite certain I'll learn many new stuff right here! Good luck for the next! check credit report https://creditreportuss.com
Tue May 04 2021, 06:28 AM
I am not sure where you are getting your info, but great topic. I needs to spend some time learning more or understanding more. Thanks for wonderful information I was looking for this info for my mission. monthly credit report https://checkcreditscore24.com



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 58, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123