shivachellam
Newbie level 6
how to interface vb(visual basic ) with pic microcontroller 16f877a, thank u for ur help,,,.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PIC877A has USART that can be used to connect to any devices using asynchronous serial data transfer (RS232). RS232 level converter chip is needed between PIC and PC.
Hi beeshyak,
Yes, you are right.
Sorry that I have misinterpret the question.
What shivachellam could be asking is can
VB codes communicate to a microcontroller.
Yes. A computer can talk to microcontroller through many means.
digital I/O, parallel port, serial port (RS232, RS485), Ethernet, WiFi.
for RS232, you can try searching for keyword "open com port"
for Ethernet/Network means, try searching for "TCP/IP" or "network socket port"
Almost any programming language can talk to a microcontroller,
because the limitation is not on the language.
It is the electronic hardware support that is important.
Nothing to do with the programming language.
If you are talking about could you write a VB code for microcontroller.
No. I have not seen any tool yet, to use VB programming on that microcontroller.
It is not impossible, just that no one wrote the tool yet, from what I know.
If there is a VB compiler for PIC16F877a, of course there is no problem.
I hope this would be clearer.
Best Regards,
Siong Boon
www.siongboon.com
Hi Experts,
i have searched a lot on internet but didnt find any proper answer.
can we display MS Excel data on seven segment display? any numeric value in MS Excel by any method?
Regards,
M. Mohsin
Hi Mohsin,
Yes it is possible.
You need to programming your own micro-controller to render/control
the data display. Micro-controller is like a mini size computer.
Hi siongboon,
Thanks for your quick response.
Yes i know i have to program microcontroller, my question is by which tool?
VB? C#? Java? Assembly or C?
Which tool is best to read data from Excel and to make it available on serial port of PC?
I have managed to access data form PLC and display on Excel.
Thanks and Regards,
M. Mohsin