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.
 

polymath

Full Member level 4
Joined
May 2, 2006
Messages
231
Helped
28
Reputation
56
Reaction score
4
Trophy points
1,298
Location
England
Activity points
3,113

    MathGeek

    Points: 2
    Helpful Answer Positive Rating

hugo

Full Member level 6
Joined
Dec 31, 1999
Messages
323
Helped
49
Reputation
98
Reaction score
23
Trophy points
1,298
Location
canada
Activity points
2,156
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:

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

    MathGeek

    Points: 2
    Helpful Answer Positive Rating

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

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top