Blink LED example on oscilloscope

Moderators: mdrjr, odroid

Blink LED example on oscilloscope

Unread postby drganjoo » Fri Dec 09, 2016 12:28 am

I am new to the Odroid platform and wrote a small sample for blinking a LED every 500ms using the wiringPi. The code works but when I hook up an oscilloscope on the pin instead of a LED, I get the attached weird trace. The yellow trace is from the XU4 where as the same code running on the PI has the blue trace.

IMG_1352.JPG
(170 KiB) Downloaded 633 times


Am I missing something in the code or the way I'v hooked up the scope?
Attachments
hz.cpp
(278 Bytes) Downloaded 53 times
drganjoo
 
Posts: 3
Joined: Thu Dec 08, 2016 7:27 pm
languages_spoken: english

Re: Blink LED example on oscilloscope

Unread postby drganjoo » Fri Dec 09, 2016 1:48 am

This only happens if I've connected it to through the shifter shield. If I connect directly to the CON10, it works perfectly.
Attachments
IMG_1355.JPG
(181.18 KiB) Downloaded 629 times
drganjoo
 
Posts: 3
Joined: Thu Dec 08, 2016 7:27 pm
languages_spoken: english

Re: Blink LED example on oscilloscope

Unread postby odroid » Fri Dec 09, 2016 9:23 am

We will try to reproduce the issue soon.

BTW, did you capture the waveform without LED?
The max output current from the shifter-shield is only 4mA and it might not be enough to drive a normal LED.
User avatar
odroid
Site Admin
 
Posts: 25293
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Blink LED example on oscilloscope

Unread postby drganjoo » Wed Dec 14, 2016 4:12 am

Yes, I captured the waveform without any LED attached.
drganjoo
 
Posts: 3
Joined: Thu Dec 08, 2016 7:27 pm
languages_spoken: english

Re: Blink LED example on oscilloscope

Unread postby odroid » Wed Dec 14, 2016 9:11 am

I see. I think your shifter shield seems to have a hardware issue.
Did you buy the Shifter-shield from us directly?
Or from a distributor/reseller?

Please join this thread.
viewtopic.php?f=97&t=24862&p=171948&hilit=drain#p172211
User avatar
odroid
Site Admin
 
Posts: 25293
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID


Return to Hardware and peripherals

Who is online

Users browsing this forum: No registered users and 2 guests