Pages: 1 [2] 3 4 ... 9   Go Down
Author Topic: Loop Back Test - Sticky?  (Read 27313 times)
0 Members and 1 Guest are viewing this topic.
Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think I like set #2 better, mostly because of step 2, which is missing in #1set and could be the cause of many comm failures because miswired external connections to pins 0 & 1.

Lefty
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8458
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I hope I'm not splitting hairs but this is for beginners.

Quote
Windows produces a device insertion tone
Not if sound is disabled.

I'd vote for #2.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12286
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think I like set #2 better, mostly because of step 2, which is missing in #1set and could be the cause of many comm failures because miswired external connections to pins 0 & 1.

Excellent point.  Thanks.

Anything else?

I hope I'm not splitting hairs...

That is one of my favourite cartoons!  smiley-twist  I miss Chuck Jones.  Moving on...

Quote
Windows produces a device insertion tone ... Not if sound is disabled.

If you (or anyone reading this) can think of a way to reword that step let me know.  I'm stuck with variations that are too wordy or difficult to read.

Quote
I'd vote for #2.

Thanks.

Anything else?
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8458
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That'll teach me to open my big mouth.

Yes you have to be careful it doesn't get so complex you need a flow chart. How about

Quote
5. Connect the board to your computer.  After a brief pause Windows will produces a device-insertion tone if sound is enabled.  Linux may or may not produce a device-insertion tone; an entry is added to the system log.
_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12286
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That'll teach me to open my big mouth.

Was it really that painful?

Quote
Yes you have to be careful it doesn't get so complex you need a flow chart.

That's what I was talking about.  My brain was flooded with ... What about no sound output device?  What if the volume is turned down?  What if the device is muted?  Must be sleep deprivation.

Quote
How about

Perfect.  #14 modified with the suggestion.


Anything else?
Logged

Copenhagen, Denmark
Offline Offline
Edison Member
*
Karma: 25
Posts: 1147
Have you testrun your INO file today?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

#2.

I amwas tempted to test this - I did not think baudrate was irellevant. But rather than voice  an uinformed opinion I tested - and now I know. With hindsight, obvious.

I will do the #2 doing exactly what it says. WIthout enganging too many brain cells (Nice evening here, dusk, beer in hand ... attached picture as proof)

Excellent instructions. I skipped one (by accident) and things did not work - then I did not skip it - and everything worked. It will be interesting to see if the sticky will have many false alarms for the same reason. And no, I cant think of any instruction to add to stop that from happening.

My only comment for possible improvment is that at point 8. If it does echo everything, then the USB/driver/chip is working

(edited this pst to reflect the test was done, rather than just intended)


* IMG_0445.JPG (143.08 KB, 480x640 - viewed 28 times.)
« Last Edit: August 04, 2011, 02:42:07 pm by Msquare » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
just learning the ropes.. err wires
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That'll teach me to open my big mouth.

Yes you have to be careful it doesn't get so complex you need a flow chart. How about

Quote
5. Connect the board to your computer.  After a brief pause Windows will produces a device-insertion tone if sound is enabled.  Linux may or may not produce a device-insertion tone; an entry is added to the system log.
_____
Rob

You may also like to add that under linux a new /dev/ttyUSB*  device driver will appear.

The reason is that on (at least fedora or redhat) linux  the 'messages' file is root only readable for security reasons.  where as the existence of a new device driver is something any user can check on.  Basically it is a more convenient thing for a user to look for.

Also note that users will need to be members of the right groups to enabled locking for serial communications. That is something that is noted in the web sites software installation and setup page. The step-by-step instructions however can just point to the right web page for that sort of detail.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12286
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

beer in hand

Looks exotic and foreign.  And tasty.

Quote
Excellent instructions.

Thanks.

Quote
It will be interesting to see if the sticky will have many false alarms for the same reason

With a few years of working technical support under my belt I can say beyond any doubt that there will be false alarms.

Quote
My only comment for possible improvment is that at point 8. If it does echo everything, then the USB/driver/chip is working

Excellent!  Every story needs a conclusion and mine was certainly missing one.

Post #14 updated...
http://arduino.cc/forum/index.php/topic,67509.msg504175.html#msg504175
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12286
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You may also like to add that under linux a new /dev/ttyUSB*  device driver will appear.

Appear where?

Quote
The step-by-step instructions however can just point to the right web page for that sort of detail.

Link please.

Thanks.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
With a few years of working technical support under my belt I can say beyond any doubt that there will be false alarms.

Ever read the story of a PC telephone support tech trying to get a person's PC working, it was hilarious, seemed it took over 30mins before the person managed to inform the tech that the building also had a total power outage along with the persons PC problem!

Not sure if it was a true story or not, but it was a great read.

Lefty
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12286
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


I have not read it but I can believe it's true!

One thing that used to drive me nuts... I'd go on a support call.  I'd arrive to find the computer connected to the hardware and the supposedly technically competent human grumbling over the keyboard.  They would get up, give me a rundown of what they had tried and leave.  I'd spend about an hour trying to troubleshoot the problem arriving at the conclusion that the cable was the culprit.  When the human returned I would ask, "where did you get this cable?"  The typical reply was, "I found it in a box of old cables.  It had the right connectors on the ends so it has to be the right one."
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12286
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Last chance.  Any suggestions...

Quote
1. Disconnect power from the board

2. Remove all connections and shields from the board

3. Force the processor to remain in reset by connecting a jumper from RESET to GND

4. Connect a jumper from the TX pin (Digital Pin 1) to the RX pin (Digital Pin 0)

5. Connect the board to your computer.  After a brief pause Windows will produce a device-insertion tone if sound is enabled.  Linux may or may not produce a device-insertion tone; an entry is added to the system log.

6. Start your favourite terminal application.  Serial Monitor will work fine.

7. Connect the terminal application to the serial port for your board.  The baud rate is irrelevant.

8. Send data by typing.  Everything you type should be echoed back.  To send data, some terminal applications, like Serial Monitor, require pressing the Enter key or clicking a Send button.  If exactly what you send is echoed back then the board passes the test.  This means that the host computer hardware driver, USB cable, and USB to serial converter are all working.

9. Shutdown the terminal application

10. Disconnect the board from the computer

11. Remove the two jumpers
« Last Edit: August 27, 2011, 02:39:17 am by Coding Badly » Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why the word Uno in step 4? Applies to all arduino boards, might confuse.

Quote
4. Connect a jumper from the TX pin (1 on the Uno) to the RX pin (0 on the Uno)

How about:

Quote
4. Connect a jumper from the TX pin (Pin 1) to the RX pin (Pin 0)

Or:
 4. Connect a jumper from the TX pin (Shield pin 1) to the RX pin (Shield pin 0)
Or:
 4. Connect a jumper from the TX pin (Arduino Pin 1) to the RX pin (Arduino Pin 0)


Lefty
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12286
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Why the word Uno in step 4?

Huh.  Good question.  Digging through my brain reveals... not much.   smiley-grin

I guess because I didn't know if pins 0 & 1 are RX & TX on other boards.  Is that consistent with Arduinos?  Is that consistent with compatible boards?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Why the word Uno in step 4?

Huh.  Good question.  Digging through my brain reveals... not much.   smiley-grin

I guess because I didn't know if pins 0 & 1 are RX & TX on other boards.  Is that consistent with Arduinos?  Is that consistent with compatible boards?


Yes, if you are talking about the AVR hardware UART channel, even on the mega it uses (shield) pins 0 and 1 for the Serial channel, where the other three hardware UART channels are in the pins 14 to 19.

You software guys crack me up, often.  smiley-wink

Lefty
Logged

Pages: 1 [2] 3 4 ... 9   Go Up
Jump to: