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.

PIC basic programming

Status
Not open for further replies.

eugenesiew

Member level 2
Joined
Oct 2, 2007
Messages
47
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,697
serin+hyperterminal

anyone know how do i interface the PIC with the hyper terminal using RS 232? what are the syntax for it or where can i get them? thanks... also, how do i tell the PIC to place an "enter/carriage return" key?
 

picbasic serin

Yes. Google it.
 

serin2 syntax

Chr(13) is Carriage Return and Chr(10) is Line Feed. These are ASCII values, but are also simply the numbers 13 and 10. The PC typically interprets RS232 as ASCII numbers. Just send 13 and 10, in that order, and you should have the equivalent of hitting the Enter on the keyboard.
 

    eugenesiew

    Points: 2
    Helpful Answer Positive Rating
serin2 pic pc

eugenesiew said:
anyone know how do i interface the PIC with the hyper terminal using RS 232? what are the syntax for it or where can i get them? thanks... also, how do i tell the PIC to place an "enter/carriage return" key?

simple...

use max232 ...

Regards,

Simran..
 

pic basic programming and projects

Hi,
Use Max 232 or an equivalent circuit
http://picprojects.org.uk/projects/simpleSIO/ssio.htm

Then configure the pic serial port baud rate.
USe Hyperterminal to communicate with pic.
For the enter/carriage it is in ASCII Table: 13 10

Regards.
 

    eugenesiew

    Points: 2
    Helpful Answer Positive Rating
pic basic programming

blueroomelectronics, i have only three months to complete it. What is worst, my supervisor is not providing any help to me also... I am totally on my own and besides that i still have three other subjects to study... erm, i understand that you have written many books on PIC, maybe you can give me the link to read what you have written... to help me understand PIC better... thanks in advance...

ohyea, does anyone knows the difference between SERIN and SERIN2? i read it from the melabs.com but i still dont understand the difference, they claim one is based on BS1 serin command while the other BS2 serin command.


also, anyone knows the difference between
output=driven or open and
conversion = true or inverted?
what are those for during SERIN/SERIN2?

thanks again, especially to
master_picengineer &
xorcise
 

serin2 picbasic

eugenesiew said:
anyone know how do i interface the PIC with the hyper terminal using RS 232? what are the syntax for it or where can i get them? thanks... also, how do i tell the PIC to place an "enter/carriage return" key?

Search the board, this had been discussed many times already.
 

the sms car tracking system picbasic project code

i have got it already... thanks anyway...
 

uso del flow pin del serin2

With SERIN you don't use handshaking but with SERIN2 you can use a flowbit for handshaking and your mode is coded
Code:
SEROUT2 DataPin{\FlowPin},Mode,{Pace,} {Timeout,Label,}[Item...]

where in SERIN the mode is direct
Code:
SERIN Pin,Mode,{Timeout,Label,}{[Qual...],}{Item...}
 

picbasic con hyperterminal

what s the flow pin for actually?
also i dont get wat u mean by coded and direct...
care to further elaborate..? thanks..
 

bs1 serin

hai u can also use mikroelekronica basic programming software + its tutorials try by google to download above with 'mikroelekronica' as key work in google search
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top