OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Zaurus Oscilloscope, using commercial hardware
post Aug 24 2007, 03:43 PM
Post #1

Group: Members
Posts: 36
Joined: 29-March 05
Member No.: 6,732

This post is a trawl, to see whether there's any wider interest in an oscilloscope project I've been working on.

The project uses a digital scope manufactured by Syscomp - the DSO-101. It's a two-channel scope, which plugs into a USB port and uses the conputer as its driver and display. You can read lots more about it at Syscomp's web site.

What I've been doing is to port the host software to the Z.

I bought the scope in the first place in connection with a Morse-to-speech project (mentioned before in these forums). I liked the spec and the price, and I particularly liked the fact that the software that runs on the host is open sourced. The software is written in Tcl/Tk, and I've been porting the main functionality to C++/Qt.

The scope hardware is physically bigger than a Zaurus, but not by all that much, so I thought it would be neat to use the Z as a host and thus end up with a pocket-sized oscilloscope system.

I've now got the port working pretty much to my satisfaction (YMMV). The port doesn't have all the advanced features of the original software, but I think it does count as a workable system. My Zauri are still using their original Sharp ROMs, and the program should work on C1000/3000/3100/3200.

(Dis)claimer: When I first bought the scope, I was merely another customer for Syscomp. I then offered them a couple of contributions for the host software, and that progressed to the point where I became a beta-tester for them. From that, I discussed the idea of the Z port and they were immensely supportive, including supplying extra hardware for the purpose. From that, you'll correctly gather that I think these people are Good Guys. But I have no commercial relationship with them - this is an open source project, pure and simple.

Maybe this is just my private toy, but if anyone else would be interested, I'd be happy to share it.


Go to the top of the page
+Quote Post
Start new topic
post Sep 1 2007, 01:14 PM
Post #2

Group: Admin
Posts: 3,501
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149

cool! excellent work! I assume you're using the qtopia/qt toolkit, did you build the toolkit from scratch or did you find a verson for downloading?
Go to the top of the page
+Quote Post
post Sep 1 2007, 02:36 PM
Post #3

Group: Members
Posts: 36
Joined: 29-March 05
Member No.: 6,732

QUOTE(speculatrix @ Sep 1 2007, 10:14 PM)
cool! excellent work! I assume you're using the qtopia/qt toolkit, did you build the toolkit from scratch or did you find a verson for downloading?

Well, it's based around the Qt library, but almost all the widgets are hand-crafted (I invented a JWidget base class, which paints itself on a single parent QWidget). The reason was that I couldn't control the QWidget resize behaviour well enough: the widgets on the scope panel have to rearrange themselves in response to a change in the main window size (ie orientation), but when Qt issues the resize event it's already recalculated the window size from the current widget arrangement and I couldn't find a way around the problem. I'm sure it would have been possible with the right insight, but there you go. It did make life easier with the horizontal scroll bar and its drop-down cursors.

Which reminds me to mention that the horizontal scroll bar has a hidden feature. If you drag the thumb, it responds as normal. But if you start the drag in the trough, it gives a finer control. At high magnifications, that means you can still position the waveform accurately.

The project's cross-compiled from a desktop machine, basically using the instructions given at https://www.oesf.org/index.php?title=Compiler_Setup and with the downloads recommended there. I wrote a Tcl script to automate the build and the ipk generation.

I also had to incorporate a fixed-point arithmetic class, because otherwise the display update was much too slow, given the Z's lack of floating point hardware. Got the update time down from 114ms to 27ms that way.

Did you try running the program btw?
Go to the top of the page
+Quote Post

Posts in this topic
jfr   Zaurus Oscilloscope   Aug 24 2007, 03:43 PM
gsgmx   Sounds great, i might get one of these scopes too...   Aug 25 2007, 03:42 AM
jfr   QUOTE(gsgmx @ Aug 25 2007, 12:42 PM)The DSO i...   Aug 25 2007, 04:55 AM
Drake01   QUOTE(jfr @ Aug 25 2007, 07:55 AM)It does nee...   Aug 25 2007, 07:24 AM
jfr   QUOTE(Drake01 @ Aug 25 2007, 04:24 PM)Sounds ...   Aug 25 2007, 03:55 PM
Drake01   QUOTE(jfr @ Aug 25 2007, 06:55 PM)Thanks, Dra...   Aug 26 2007, 07:45 AM
pelrun   Wow, I think I need to start putting away some pen...   Aug 25 2007, 08:57 AM
aeazocar   jfr, Congratulations, this is a great project...   Aug 26 2007, 06:28 AM
boardboyd   Just to add, I'm in support of this project an...   Aug 28 2007, 08:43 AM
speculatrix   am definitely interested... in fact I talked to a ...   Aug 28 2007, 02:17 PM
jfr   QUOTE(speculatrix @ Aug 28 2007, 11:17 PM)am ...   Aug 28 2007, 03:46 PM
speculatrix   definitely very interested, whether the source was...   Aug 30 2007, 01:55 PM
Da_Blitz   mm, cant believe i missed this post, i am thinking...   Aug 31 2007, 01:53 AM
louigi600   I've been using on my x86 pc (with linux natur...   Aug 31 2007, 04:31 AM
Da_Blitz   xoscope is nice but it has its limits, mainly bien...   Aug 31 2007, 05:13 AM
speculatrix   QUOTE(Da_Blitz @ Aug 31 2007, 02:13 PM)xoscop...   Aug 31 2007, 08:20 AM
louigi600   A free audible band oscilloscope/spectrom analizer...   Aug 31 2007, 06:18 AM
louigi600   Hum ... I think it's more commonly known as ...   Aug 31 2007, 10:01 AM
speculatrix   hmm, it's been a long time since I did analogu...   Aug 31 2007, 12:01 PM
jfr   Ok, here's some further info on the project. O...   Sep 1 2007, 06:44 AM
Da_Blitz   not to mention the low freq cutoff is normally fai...   Aug 31 2007, 10:26 AM
speculatrix   cool! excellent work! I assume you're ...   Sep 1 2007, 01:14 PM
jfr   QUOTE(speculatrix @ Sep 1 2007, 10:14 PM)cool...   Sep 1 2007, 02:36 PM
speculatrix   QUOTE(jfr @ Sep 1 2007, 11:36 PM)I also had t...   Sep 1 2007, 02:56 PM
jfr   QUOTE(speculatrix @ Sep 1 2007, 11:56 PM)are ...   Sep 1 2007, 03:24 PM
speculatrix   I am wondering if anyone's done anything new f...   May 13 2008, 01:04 PM
Ragnorok   - Neat! I've been looking for a DSO to do...   Jun 29 2008, 04:10 PM
jfr   QUOTE(Ragnorok @ Jun 30 2008, 01:10 AM) 1...   Jul 20 2008, 02:39 PM
pelrun   Well the syscomp features adjustable pre and post ...   Jun 29 2008, 05:00 PM
Ragnorok   - Sorry for my slow reply. I have seventy differe...   Aug 28 2008, 10:36 AM

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st May 2018 - 06:30 AM