Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Visual Basic and PIC 16F628

Status
Not open for further replies.

MathGeek

Member level 3
Joined
Aug 16, 2005
Messages
67
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,806
pic16f628 + visual basic

I would like to interconnect my computer and 16F628 through RS232. I would like to turn output pins "high" and "low" using the computer. Eventually, I will move onto PWM, etc.

I will be using Visual Basic to program the PC interface.

I think I need max233.

How can I get started on this project? I have been searching for a week now, but I got no clear answer. My biggest problem is programming with assembly 16f628 to use USART.

Please help. Thanks.
 


    MathGeek

    Points: 2
    Helpful Answer Positive Rating
pic aan computer 16f628

MathGeek said:
I would like to interconnect my computer and 16F628 through RS232. I would like to turn output pins "high" and "low" using the computer. Eventually, I will move onto PWM, etc.

I will be using Visual Basic to program the PC interface.

I think I need max233.

How can I get started on this project? I have been searching for a week now, but I got no clear answer. My biggest problem is programming with assembly 16f628 to use USART.

Please help. Thanks.

Check this:

http://www.rentron.com/VisualBasic.htm
 

    MathGeek

    Points: 2
    Helpful Answer Positive Rating
16f628 example basic pwm

Thanks guys.

I am very close to figuring all this out.

I have few things obscure about Visual Basic.

if I write (for 2400 8N1)

Code:
MsComm.output = chr$(30)

what would be the actual physical out put out of RS232?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top