DSO nano bug? >85V coming out of Seeeduino MEGA!

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
pvancorenland
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Mon Aug 09, 2010 12:08 am

DSO nano bug? >85V coming out of Seeeduino MEGA!

Post by pvancorenland » Mon Aug 09, 2010 12:35 am

I have a weird problem. I am using a seeeduino MEGA, which is functioning as it should as far as I know.
When I toggle pin 52 up and down using direct writes to PORTB, I get a nice and clean signal out of my DSO nano (square wave at some frequency).

When I run the program below, the waveform on the nano has a frequency of 977Hz (as expected), but the signal has a very sharp rising edge, and a very slow exponential delay. So far so good, but the real problem is that the peak of the waveform is over 85Vpp!! (I can't zoom out more than 10V/Div).

I am using firmware 2.21 (the original one gave the same signature), teh gnd connection of the nano is connected to the Seeeduino gnd, and the signal is connected to pin 52. There is no difference whether the nano runs on USB power or on batteries.

Here's the program. It uses the library from http://www.arduino.cc/playground/Learning/TLC5940
=========================================
#include "Tlc5940.h"

void setup() {
Tlc.init();
Tlc.clear();
}

void loop() {
Tlc.set(4,0);
Tlc.update();
}


=========================================

dnordenberg
Kindergarten
Kindergarten
Posts: 92
Joined: Sun Jan 31, 2010 6:29 pm

Re: DSO nano bug? >85V coming out of Seeeduino MEGA!

Post by dnordenberg » Mon Aug 09, 2010 6:48 am

Sounds like maybe the nano is in x10 mode, maybe 8,5V is more correct? It shouldn't do that by default. Do you have something else to measure with like another osciloscope?

pvancorenland
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Mon Aug 09, 2010 12:08 am

Re: DSO nano bug? >85V coming out of Seeeduino MEGA!

Post by pvancorenland » Mon Aug 09, 2010 11:37 pm

I don't think that it's a 10X problem. When I bit-bang the output with the same setting on the nano, everything looks fine (in 1V/div, 2V/div and 10V/div).
I verified that the issue exists on both the Seeeduino as well as the Arduino MEGA.
When I look at it on a different scope, I get the attached waveform (1V/div, 200us/div, same as DSO nano)
Attachments
Mega_waveform.png
Mega_waveform.png (45.33 KiB) Viewed 2962 times

Post Reply