webjack icon indicating copy to clipboard operation
webjack copied to clipboard

much higher success rate on USB power vs. 'noisy' AC adapter

Open jywarren opened this issue 8 years ago • 2 comments

Notes from my testing last night showed that a "wall wart" AC adapter created an audibly noisy signal from the Arduino, and a much lower success rate for 2-way communication.

We should add this (and workarounds) to the README

Hardware

What board, circuit/shield, and smartphone/laptop are you using?

Uno, SoftModem prebuilt shield, iMac with TRRS cable splitter.

The recorded sound is here: https://publiclab.org/system/images/photos/000/018/895/original/myRecording00.wav

Software

  • What Arduino sketch, web browser, and WebJack profile are you using?

Using webjack-firmata and this is important because some applications need the extra power an AC adapter offers, like stepper motor drivers: https://github.com/publiclab/webjack-firmata/issues/21

jywarren avatar Nov 28 '16 18:11 jywarren

ac_noise

Not sure if this is random noise. I expected to see some 50Hz ripples from the AC adapter, but it doesn't look like that. I'll watch out for an AC adapter to see if I can reproduce the behavior.

rmeister avatar Dec 03 '16 17:12 rmeister

Hmm, interesting. Does anything here stand out to you as unusual? It sounded kind of harsher and clipped, compared to the usual, in my headphones.

This kind of debugging reminds me of Forrest Mims Engineer's Mini Notebook: Science Projects:

tmp_18851-img_20161203_1342401718469037

jywarren avatar Dec 03 '16 18:12 jywarren