Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - alank2

1
Bus Pirate Support / BPv4 1 wire not working for me
Hi Everyone,

I started out by updating to the latest bp package 6.1 firmware.

I've got a temp/humidity sensor from seedstudio (SEN51035P) that I was going to try to connect to.

I connected the 5V/GND/MOSI pins from the BP4 to it.  I enabled the power supply.  I enabled the pullups.  I used the e command to connect the pullup pin.  I went into the 1wire mode.  I tried to send a reset.  I've got it hooked to my scope so I can see what it does.

Sure enough it does send a 480us low pulse.  If I have the data line disconnected from the thermometer it works as expected.  I see the RESET and nothing else.

Here is where it goes wrong - if I hook the data line back up I can properly see the "Answer to Reset" from the device, but the BP doesn't see it.  It complains about "Warning: *Short or no pull-up”.

I can see a lot more traffic after this.  I issued a { 0x33 r:8 and the bytes read would change between executions even though the data on the scope looked the same.

Any ideas?

Thanks,

Alan
2
Project development, ideas, and suggestions / Input for my frequency counter questions...
Hi Everyone,

I've been working on a reciprocal frequency counter and all the digital work is done.  Here is a breadboard picture showing 80 Mhz (or near it!)  The top led to the right is the "MHz" indicator.



It is AVR based and automatically enables or disables a prescaler to handle frequencies from 0.5 Hz to 100 MHz.  It can give the same precision whether the signal is fast or slow unlike my old BK counter I've been using.

The question is about the front end.  I've tried various input circuits, I've tried biasing inverters, schottky inverters, etc.  I want the input to support even measuring mains voltages if possible.  The problem with the circuits I've tried is that they don't amplify enough to get down to 50mV signals.  I was thinking about trying an opamp or a very fast comparator next, but I don't see opamps/comparators usually mentioned in the searching I've done for frequency counter input stages.  What advice do you guys have?

Thanks,

Alan
3
Bus Pirate Support / My first time with the BusPirate (v4)!
Hi,

It sure beats my old method of writing code, compiling, flashing, checking the results, and repeating!!

I used it with a max7219 seven segment display driver and it worked great (SPI).

Really cool piece of hardware.

The SEEEDstudio buspirate probe grabber cable doesn't fit it because of the different header size though! :(

Thanks,

Alan
4
Client software / Trigger question...
Hi,

How would I set a trigger on a channel going high, but I want that channel to be low beforehand for a period of time?

Where is the source for say the SPI analyzer?  Can I download it and take a look at it?  Does it need to be compiled before I can change something and test it?

Thanks,

Alan
5
Client software / Client questions/ideas...
Hi,

I ordered an OLS yesterday and am anxiously awaiting its arrival.  In the meantime I've been checking out the latest jawi client (095b2) and it looks awesome.  Seriously jawi you have done some excellent work on this.  I think it looks very polished.

One question I have is why are there two places to select the device - Capture -> Device -> Pick one of 3 including a test device vs. Begin Capture -> Connection Tab -> Device Type.  Shouldn't this be a single option in either place?

Also, is there a way to make the arrows move left or right when looking at a capture?  The mouse can drag left and right, but the arrows don't work.  Similarly page up and page down to go an entire page left and right would also be cool.  Up/down could do the same as the mouse wheel, scroll up or down if there are too many channels to fit the window.

When you open the app, it doesn't remember the window size and location (and whether it was maximized or not), can this be remembered?

Zoom - can we go a level or two more?  It allows you to zoom to a level that is perhaps one sample = 10px, but why not a little more such as 100px if you really want to?

Cursors - If you zoom in to the maximum zoom and find a signal transition you are unable to put a cursor on it.  You can put the cursor before it and after it which I understand because you have to samples and you don't know between them where the signal changed, but this would make measuring a signal more of a pain with cursors because you have to remember to put both cursors right before it or right after it.  Why not allow the cursor to be put in the middle of a sample so it could be placed directly on the vertical line (or slant)?  This way you don't have to remember before or after...

The channel popup "Channel 5 | Time: 0.000s" will eat way at the vertical gray line that represents the trigger time.  It is as though the line isn't being redrawn when the popup moves.

I would really love to add a protocol analyzer to this!  I've been wanting to learn java and have been primarily a C/C++ developer for a long time.  I would like to do a HD44780 type analyzer since it is a protocol I'm familiar with.

Thanks,

Alan

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01222313600session_write_close ( )...(null):0
20.01252445192ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01252445968Database_MySQL->query( ).../DatabaseHandler.php:119
40.05802584704Database_MySQL->error( ).../Db-mysql.class.php:273