Re: [time-nuts] Thunderbolt/Arduino RS232 Interface Issue
Swap the tx and rx lines on the Arduino. Swap back to reconnect to PC. On Jun 3, 2015, at 10:51, Chris Albertson albertson.ch...@gmail.com wrote: In the RS-232 world devices are either DTE or DCE. You need one of each on each end of the line if using a normal straight cable.To connect two like devices you need a crossover cable (AKA null modem) From the sounds of it I'm guessing the PC is a DCE and the Arduino and Thunderbolt are both DTE. On Tue, Jun 2, 2015 at 9:38 PM, Dan Quigley d...@quigleys.us wrote: Hello, I'm integrating an Arduino (Due/Mega have tried both) with a surplus Thunderbolt and need some advice. The Thunderbolt is a known working unit (supplies 10Mhz to my HPSDR rig) and the serial interface works fine between it and a PC. I've read the coverage about this kind of integration (and some of the archived discussions on this board) and am employing a commercially available MAX232-based shield (RS232 V2) to handle the level translations. Just three lines (RX/TX/GND) are used. The MAX232 circuit is working, reliably passing data between the Arduino and a PC. With the Thunderbolt is connected to the MAX232 no data passes. Activity LEDs on the non-RS232 of the MAX232 circuit show no activity when the Thunderbolt is providing data, indicating the MAX232 is not performing the intended level translation. I've scoped the RX/TX lines coming from the Thunderbolt both when connected to the Arduino and not. There is a distinct difference. When disconnected, the pulses are about 10.3v and nice, crisp and square. Connected, the pulses are ~50% lower in voltage (4.1v) showing an exponential rise in voltage and trace noise. I'm pretty much stumped at the moment and wonder if anyone can offer a suggestion or thoughts on a direction to take. Thanks in advance, Dan Quigley (N7HQ) ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. -- Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] Thunderbolt/Arduino RS232 Interface Issue
Is the shield explicitly powered? It may be being phantom powered from the control lines when connected to the PC which are not present when connected to the Thunderbolt. David McGaw N1HAC On 6/3/15 12:38 AM, Dan Quigley wrote: Hello, I'm integrating an Arduino (Due/Mega have tried both) with a surplus Thunderbolt and need some advice. The Thunderbolt is a known working unit (supplies 10Mhz to my HPSDR rig) and the serial interface works fine between it and a PC. I've read the coverage about this kind of integration (and some of the archived discussions on this board) and am employing a commercially available MAX232-based shield (RS232 V2) to handle the level translations. Just three lines (RX/TX/GND) are used. The MAX232 circuit is working, reliably passing data between the Arduino and a PC. With the Thunderbolt is connected to the MAX232 no data passes. Activity LEDs on the non-RS232 of the MAX232 circuit show no activity when the Thunderbolt is providing data, indicating the MAX232 is not performing the intended level translation. I've scoped the RX/TX lines coming from the Thunderbolt both when connected to the Arduino and not. There is a distinct difference. When disconnected, the pulses are about 10.3v and nice, crisp and square. Connected, the pulses are ~50% lower in voltage (4.1v) showing an exponential rise in voltage and trace noise. I'm pretty much stumped at the moment and wonder if anyone can offer a suggestion or thoughts on a direction to take. Thanks in advance, Dan Quigley (N7HQ) ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] Thunderbolt/Arduino RS232 Interface Issue
Well... even after a cup of coffee, I still feel like doing a face plant. I would have sworn that I checked that... twice! Thanks to Tom Van Baak, Tom Harris and you Paul for responding so quickly. The electrons are now fine, I'm pushing bits around now. 73's, Dan (N7HQ) -Original Message- From: time-nuts [mailto:time-nuts-boun...@febo.com] On Behalf Of Paul Williamson Sent: Tuesday, June 2, 2015 11:05 PM To: Discussion of precise time and frequency measurement Subject: Re: [time-nuts] Thunderbolt/Arduino RS232 Interface Issue That sounds a lot like you have the Thunderbolt's TX pin hooked up to the RS-232 Shield's TX pin, which is what would happen if you tried to use the same cable that worked between the Shield and the PC or between the Thunderbolt and the PC. To connect the Shield and the Thunderbolt you might just need a null modem cable -- that is, one that swaps the RX and TX pins. -Paul KB5MU On Tue, Jun 2, 2015 at 9:38 PM, Dan Quigley d...@quigleys.us wrote: Hello, I'm integrating an Arduino (Due/Mega have tried both) with a surplus Thunderbolt and need some advice. The Thunderbolt is a known working unit (supplies 10Mhz to my HPSDR rig) and the serial interface works fine between it and a PC. I've read the coverage about this kind of integration (and some of the archived discussions on this board) and am employing a commercially available MAX232-based shield (RS232 V2) to handle the level translations. Just three lines (RX/TX/GND) are used. The MAX232 circuit is working, reliably passing data between the Arduino and a PC. With the Thunderbolt is connected to the MAX232 no data passes. Activity LEDs on the non-RS232 of the MAX232 circuit show no activity when the Thunderbolt is providing data, indicating the MAX232 is not performing the intended level translation. I've scoped the RX/TX lines coming from the Thunderbolt both when connected to the Arduino and not. There is a distinct difference. When disconnected, the pulses are about 10.3v and nice, crisp and square. Connected, the pulses are ~50% lower in voltage (4.1v) showing an exponential rise in voltage and trace noise. I'm pretty much stumped at the moment and wonder if anyone can offer a suggestion or thoughts on a direction to take. Thanks in advance, Dan Quigley (N7HQ) ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] Thunderbolt/Arduino RS232 Interface Issue
That sounds a lot like you have the Thunderbolt's TX pin hooked up to the RS-232 Shield's TX pin, which is what would happen if you tried to use the same cable that worked between the Shield and the PC or between the Thunderbolt and the PC. To connect the Shield and the Thunderbolt you might just need a null modem cable -- that is, one that swaps the RX and TX pins. -Paul KB5MU On Tue, Jun 2, 2015 at 9:38 PM, Dan Quigley d...@quigleys.us wrote: Hello, I'm integrating an Arduino (Due/Mega have tried both) with a surplus Thunderbolt and need some advice. The Thunderbolt is a known working unit (supplies 10Mhz to my HPSDR rig) and the serial interface works fine between it and a PC. I've read the coverage about this kind of integration (and some of the archived discussions on this board) and am employing a commercially available MAX232-based shield (RS232 V2) to handle the level translations. Just three lines (RX/TX/GND) are used. The MAX232 circuit is working, reliably passing data between the Arduino and a PC. With the Thunderbolt is connected to the MAX232 no data passes. Activity LEDs on the non-RS232 of the MAX232 circuit show no activity when the Thunderbolt is providing data, indicating the MAX232 is not performing the intended level translation. I've scoped the RX/TX lines coming from the Thunderbolt both when connected to the Arduino and not. There is a distinct difference. When disconnected, the pulses are about 10.3v and nice, crisp and square. Connected, the pulses are ~50% lower in voltage (4.1v) showing an exponential rise in voltage and trace noise. I'm pretty much stumped at the moment and wonder if anyone can offer a suggestion or thoughts on a direction to take. Thanks in advance, Dan Quigley (N7HQ) ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] Thunderbolt/Arduino RS232 Interface Issue
You have TX connected to TX? Swap your TX/RX connections and see if the levels improve. Tom Harris celephi...@gmail.com On 3 June 2015 at 14:38, Dan Quigley d...@quigleys.us wrote: Hello, I'm integrating an Arduino (Due/Mega have tried both) with a surplus Thunderbolt and need some advice. The Thunderbolt is a known working unit (supplies 10Mhz to my HPSDR rig) and the serial interface works fine between it and a PC. I've read the coverage about this kind of integration (and some of the archived discussions on this board) and am employing a commercially available MAX232-based shield (RS232 V2) to handle the level translations. Just three lines (RX/TX/GND) are used. The MAX232 circuit is working, reliably passing data between the Arduino and a PC. With the Thunderbolt is connected to the MAX232 no data passes. Activity LEDs on the non-RS232 of the MAX232 circuit show no activity when the Thunderbolt is providing data, indicating the MAX232 is not performing the intended level translation. I've scoped the RX/TX lines coming from the Thunderbolt both when connected to the Arduino and not. There is a distinct difference. When disconnected, the pulses are about 10.3v and nice, crisp and square. Connected, the pulses are ~50% lower in voltage (4.1v) showing an exponential rise in voltage and trace noise. I'm pretty much stumped at the moment and wonder if anyone can offer a suggestion or thoughts on a direction to take. Thanks in advance, Dan Quigley (N7HQ) ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
Re: [time-nuts] Thunderbolt/Arduino RS232 Interface Issue
In the RS-232 world devices are either DTE or DCE. You need one of each on each end of the line if using a normal straight cable.To connect two like devices you need a crossover cable (AKA null modem) From the sounds of it I'm guessing the PC is a DCE and the Arduino and Thunderbolt are both DTE. On Tue, Jun 2, 2015 at 9:38 PM, Dan Quigley d...@quigleys.us wrote: Hello, I'm integrating an Arduino (Due/Mega have tried both) with a surplus Thunderbolt and need some advice. The Thunderbolt is a known working unit (supplies 10Mhz to my HPSDR rig) and the serial interface works fine between it and a PC. I've read the coverage about this kind of integration (and some of the archived discussions on this board) and am employing a commercially available MAX232-based shield (RS232 V2) to handle the level translations. Just three lines (RX/TX/GND) are used. The MAX232 circuit is working, reliably passing data between the Arduino and a PC. With the Thunderbolt is connected to the MAX232 no data passes. Activity LEDs on the non-RS232 of the MAX232 circuit show no activity when the Thunderbolt is providing data, indicating the MAX232 is not performing the intended level translation. I've scoped the RX/TX lines coming from the Thunderbolt both when connected to the Arduino and not. There is a distinct difference. When disconnected, the pulses are about 10.3v and nice, crisp and square. Connected, the pulses are ~50% lower in voltage (4.1v) showing an exponential rise in voltage and trace noise. I'm pretty much stumped at the moment and wonder if anyone can offer a suggestion or thoughts on a direction to take. Thanks in advance, Dan Quigley (N7HQ) ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. -- Chris Albertson Redondo Beach, California ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
[time-nuts] Thunderbolt/Arduino RS232 Interface Issue
Hello, I'm integrating an Arduino (Due/Mega have tried both) with a surplus Thunderbolt and need some advice. The Thunderbolt is a known working unit (supplies 10Mhz to my HPSDR rig) and the serial interface works fine between it and a PC. I've read the coverage about this kind of integration (and some of the archived discussions on this board) and am employing a commercially available MAX232-based shield (RS232 V2) to handle the level translations. Just three lines (RX/TX/GND) are used. The MAX232 circuit is working, reliably passing data between the Arduino and a PC. With the Thunderbolt is connected to the MAX232 no data passes. Activity LEDs on the non-RS232 of the MAX232 circuit show no activity when the Thunderbolt is providing data, indicating the MAX232 is not performing the intended level translation. I've scoped the RX/TX lines coming from the Thunderbolt both when connected to the Arduino and not. There is a distinct difference. When disconnected, the pulses are about 10.3v and nice, crisp and square. Connected, the pulses are ~50% lower in voltage (4.1v) showing an exponential rise in voltage and trace noise. I'm pretty much stumped at the moment and wonder if anyone can offer a suggestion or thoughts on a direction to take. Thanks in advance, Dan Quigley (N7HQ) ___ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.