Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 16th June 2008, 02:54 PM   (permalink)
Default

With LA you want FWD. Faster, Wider, Deeper. For more samples you want it to be deeper, more memory.

The author has provided the source code. Upgrade the design to use a chip with more memory and speed. A port to an 18F chip should not be hard.

If the author has provided source code for the PC side interface you could add code to decode SPI, I2C etc.


Quote:
Originally Posted by skyrock View Post
i've build the simple L.A. in just a few days and it is working well. the little disappointment for me is that it doesn't have a software side buffer to save more data.

I figured even if the PIC doesn't have enough resource to store data in it, it could be done at PC side software to store down the data for later analysis. But there's no source code provided for PC side application, so nothing much can be done.

regards,
SKY
3v0 is online now  
Reply With Quote
Old 17th June 2008, 02:23 AM   (permalink)
Default

A logic analyzer using the PC's parallel port.

8 channels all that's need is a printer port and an OS that allows direct parallel port access. I think a Win98 machine would work best but I've gotten it to work with XP (with some timing glitches)
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Reply With Quote
Old 17th June 2008, 04:09 AM   (permalink)
Default

You can do it with win2K also. That is the OS I am running, and have P port routines somewhere. They are in vis basic though.

Last edited by Mikebits; 17th June 2008 at 04:11 AM.
Mikebits is online now  
Reply With Quote
Old 17th June 2008, 08:08 PM   (permalink)
Default

As far as i know, it will be always better to do the aquisition on a micro-controller or dsp before sending the data to the PC, (or send it in packets like in USB) because multi -tasking operating systems like window have, always had, and will allways (lol ) have difficulties to be precise with timing down to the micro seconds.
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline  
Reply With Quote
Old 17th June 2008, 11:10 PM   (permalink)
Default

That is only true if the multi tasking is preemptive or time sliced. In the case of win98 once a driver gets control it must give it up voluntarily. That is one of the reasons it was so easy to crash the 98 with driver code.

At least that is the way I remember it

Last edited by 3v0; 17th June 2008 at 11:11 PM.
3v0 is online now  
Reply With Quote
Old 18th June 2008, 12:09 AM   (permalink)
Default

There were definitly glitches in XP, if it were on 98 with no other software running and a minimal driver set it should be as fast as the processor can run it to a pretty fine accuracy.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Reply With Quote
Old 18th June 2008, 01:53 AM   (permalink)
Default

You want to make it real? Like 18 channels at 150MHz?

Digi-Key - 296-12489-ND (Texas Instruments - SN74V293-10PZA)


Last edited by Ubergeek63; 18th June 2008 at 01:53 AM.
Ubergeek63 is offline  
Reply With Quote
Old 18th June 2008, 02:04 AM   (permalink)
Default

80 pin TQFP, yeah, right up the hobbyists alley.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Reply With Quote
Old 18th June 2008, 05:31 PM   (permalink)
Default

I am building a logic analyser with the following criteria in mind:

1- Simple to build for average level hobyist
2- Uses few and cheap components (actually only 2 components: an AVR and a 232)
3- Able to do give the best results, given the two constraints above!

So, as Sceadwian says, yeah, it may not be in the scope of my project, but thanks anyway
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline  
Reply With Quote
Old 19th June 2008, 02:58 AM   (permalink)
Default

Ika, using Windows98 with a faster modern computer you will be able to blow the doors off a micro controller with logic analysis. Feed a good clock into it as well and you don't have to worry about timing issues, just quantization error, which you have to take into account for on a micro controller anyways. No components, free software just wire directly to a parallel port.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Reply With Quote
Old 19th June 2008, 06:33 AM   (permalink)
Default

Quote:
Originally Posted by Sceadwian View Post
80 pin TQFP, yeah, right up the hobbyists alley.
lol. What is the distance between pins on one of those, a couple butt hairs?
Mikebits is online now  
Reply With Quote
Old 19th June 2008, 10:56 AM   (permalink)
Default

Actually it is 0.5mm, I have soldered that and worse by hand on our production boards. I've even lifted adjacent pins and soldered mod wires to them.

SchmartBoard - The world's best circuit prototyping system

Makes it real easy, or if you are more sure of your soldering technique:

SchmartBoard - The world's best circuit prototyping system

That FIFO would make an 18 channel 150MHz analyzer simple. it runs continuously until 2^16 samples after the trigger event and any old USB peripheral micro can read the results out and send them to the PC.

Last edited by Ubergeek63; 19th June 2008 at 10:59 AM.
Ubergeek63 is offline  
Reply With Quote
Old 27th July 2008, 04:32 PM   (permalink)
Default

I'm keeping you guys informed of the progress..

I think the hardware and micro-controller part is finished once and for all (just for this first version )

The software is almost done, a beta version is coming out soon. I still have to write a little help (maybe it'll be online on my website though..), and allow users to export bitmap screen shots, and save/open data for later analysis.

I've been testing it all the week-end and it was a lot of fun playing with my brand new logic analyzer! i've posted some screen-shots of one testing session..

I'm not sure if the first beta version will incorporate decoding UART/SPI/I2C data buses..

Waiting for your comments!
Attached Images
File Type: jpg hard_test1.jpg (246.9 KB, 18 views)
File Type: jpg scana_soft_test1.jpg (135.0 KB, 16 views)
File Type: jpg scana_soft_test2.jpg (140.3 KB, 11 views)
File Type: jpg scana_soft_test3.jpg (81.4 KB, 12 views)
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/

Last edited by ikalogic; 27th July 2008 at 04:37 PM.
ikalogic is offline  
Reply With Quote
Old 27th July 2008, 04:56 PM   (permalink)
Default

Looking good
3v0 is online now  
Reply With Quote
Old 8th August 2008, 07:27 PM   (permalink)
Default

A first version of the LA is finally finished

find all detail here:
http://www.ikalogic.com/scanalogic_home.php

EDIT: can anyone please download the SCNALOGIC software, and tell me if it is working on his OS, as it is made under VB and i didn't include the dependencies and VB runtimes, as they are too big...
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/

Last edited by ikalogic; 8th August 2008 at 08:04 PM.
ikalogic is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Homebrew Logic Analyzer Marks256 Electronic Projects Design/Ideas/Reviews 4 1st August 2006 02:34 AM
USB logic analyzer patroclus General Electronics Chat 3 21st October 2005 07:51 PM
Logic Analyzer RonH General Electronics Chat 0 27th March 2005 04:59 PM
Logic analyzer RonH Electronic Projects Design/Ideas/Reviews 1 8th April 2004 03:34 AM
Logic analyzer Natasha125 Electronic Projects Design/Ideas/Reviews 1 2nd March 2004 03:14 PM



All times are GMT. The time now is 09:30 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.