Pages: [1]   Go Down
Author Topic: Troubleshooting - Better way?  (Read 417 times)
0 Members and 1 Guest are viewing this topic.
Houston Area
Offline Offline
Jr. Member
**
Karma: 0
Posts: 68
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have two Arduino's connected together using  I2C (SDA & SCL) to pass data from one to the other. It's not working correctly.
I added serial output throughout the program so I can see what is going on with the variables and other data.
I have to plug in the USB in one Arduino to view the serial and then move it to the other to view that serial data which cause the program to pause etc...
I have tried two USB cables which saves me the trouble switching cables but I have to change the serial port.
I like to view both sketches running at the same time.

Is there a method or technique that I can use to view the serial output from both Arduino's at the same time or is this the best way.
Thanks
Randy
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Use hyperterminal or any other terminal and just open two instances, one with each port.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13705
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

View one Arduino with the IDE serial monitor and the other with a terminal program like putty.exe

Furthermore, read this one? - http://www.arduino.cc/en/Tutorial/MasterReader - ?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Worcester, MA
Offline Offline
God Member
*****
Karma: 3
Posts: 623
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you want,post your code and maybe we can help.
Logged

I2C GPS Shield

Checkout my Open Source GPS Tracker on Kickstarter

Houston Area
Offline Offline
Jr. Member
**
Karma: 0
Posts: 68
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks WayneIF

I will try and troubleshoot first. Part of the learning curve but I think it may be an issue with interrupts and calling a function to send a byte in the event procedure...not sure. Timming? Perhaps not an issues.
Logged

Pages: [1]   Go Up
Jump to: