View Full Version : Which is the best way to connect..
dtit
- 18th January 2005, 09:51
pi2pic when they are on same PCB and using two pins to communicate between them, and have one executing a task when reciving a message from the other pic.
ex. 16F877->16F628
message something like "do your B.0=1, B.1=1,value=168"
which method should a use, there are so many, read so much that it just confusing me more and more.
Luciano
- 18th January 2005, 15:47
Connect two Basic Stamps together in a Master-Slave arrangement.
Best regards,
Luciano
====================================
Nuts and Volts Magazine
Column #81, January 2002 by Jon Williams:
- - A Tale of Two Stamps - -
PDF file:
http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv81.pdf
Project code:
http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_V3.asp
mister_e
- 18th January 2005, 16:38
Both have internal USART. Connect TX from F628 to RX of F877, RX from F628 and TX of F877 together.
After that you can send a kinda *formated message* . something like that.
F628:
-----
HSEROUT [Var1,Var2,Var3]
F877:
-----
HSERIN [Var1,Var2,Var3]
Every VAR can be a specific task. You'll have to play with them with some IF THEN or SELECT CASE.
Luciano
- 18th January 2005, 17:33
Works also without USARTs. See my post with the example for Basic Stamp 2.
The Basic Stamp 2 commands "Serin" and "Serout" are similar to
the PicBasic Pro "Serin2" and "Serout2" commands.
(One optional pin is used for the flow control).
Luciano
dtit
- 19th January 2005, 10:02
I have some new things to test know
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.