RPi with an Oscilloscope and Java Embedded: Ready for Benchmarking

Houston, we have an oscilloscope!

Yes, through hard work and determination, well... actually through the luck of the donation of an old leftover logic analyzer with an oscilloscope module from the former SavaJe acquisition via Sun Microsystems, Inc., which is now here at Oracle, we now have a scope here in the office connected to our Raspberry Pi running Java Embedded technology! Woo-hoo!

I want to thank Gary C. and Vlad D. in their help tracking down this awesome (er, uh... a bit old) piece of electronic equipment. In a back storage closet somewhere in the darkest reaches of our Burlington, MA office, this logic analyzer with oscilloscope module from SavaJe days, sat collecting dust. But, luckily Gary remembered it was sitting there unused, when I asked if he knew if we had a scope in our group for some needed RPi/Java Embedded work. And, then Vlad and Barb helped ship it out here to California and the rest is history.

After dusting it off, plugging it in, and firing it up, it works!

What you see in the top photo is a computer screen grab of the oscilloscope output reading of the GPIO port signal from the Raspberry Pi with a Java Embedded app driving a Pulse Width Modulation (PWM) wave. And look, Ma, no native C programming involved!

We can go over this in detail in my future blog posts so that you can do this at home as well, as we benchmark how fast we can get Java Embedded to drive that GPIO pin signal (I'm hoping for > 5MHz, but what you see in the graph above is a signal driving a blinking LED, so don't get all hypercompetitive... yet). And, might as well compare it to C native, since everyone else does. :-)

Let the games begin...

Comments:

Great news! Looking forward for the next post.

Posted by Martin on March 06, 2013 at 03:26 AM PST #

Post a Comment:
Comments are closed for this entry.
About

Hinkmond Wong's blog on making Machine to Machine (M2M) and the Incredible Internet of Things (IoT) smarter with Java Embedded Technologies

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
2
3
4
5
6
7
8
9
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today