Using picoScope 6.0 with DCC

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
Alger_P
Newbie
Posts: 0
Joined: Sat Jan 23, 2016 5:30 pm

Using picoScope 6.0 with DCC

Post by Alger_P »

I just received a new USB Picoscope for various hobby projects. I was happy to see that one of the serial decoders is for DCC. After setting up the scope to my command station I have been able to get preamble information using the software. Has anyone had any success extracting the data bytes within the packets? What settings work best for this?

Regards,
Al
dcc packet.png

alan
Site Admin
Site Admin
Posts: 195
Joined: Thu May 25, 2006 8:02 am

Re: Using picoScope 6.0 with DCC

Post by alan »

Hi,

Try using a longer timebase 10ms/div or longer to capture more data. Also increase the memory depth to much more than the 3k shown.

Which PicoScope do you have?

Regards
Alan

Alger_P
Newbie
Posts: 0
Joined: Sat Jan 23, 2016 5:30 pm

Re: Using picoScope 6.0 with DCC

Post by Alger_P »

Thank you for the quick reply. I tried all other time bases. The only two that were able to capture preamble data are 1 ms / div or 2 ms / div. The pre amble is only captured say 50% of the time. The model of my scope is 2204A.

Could it be a threshold problem? In the setup dialog, what do threshold 1 and threshold 2 correspond to? I have been using auto setup to determine these values.

Also here is another screenshot that show a valid complete DCC packet being capture but still the error reads Not enough data?
dccpacket2a.jpg
Regards,
Al

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Using picoScope 6.0 with DCC

Post by Martyn »

The 2204a is a low memory device, so we will need to use streaming mode to capture the data to the PC. To do this just use the following settings :-

Across the top
100ms/div x100 1MS

At the bottom
Single 50%

and then make sure that

Tools->Preferences->Sampling->CollectionTime is set to 100ms/div

The trace will now draw across the screen, which is zoomed at the trigger point so you can see the actual data, and hopefully you will have decoded data. You can move the trigger position, and zoomed area, around to make sure you see the full data packet.

If you still have difficulty please post a data file so that we can check the settings, File->Save
Martyn
Technical Support Manager

greg
PICO STAFF
PICO STAFF
Posts: 23
Joined: Mon Dec 16, 2013 9:09 am

Re: Using picoScope 6.0 with DCC

Post by greg »

Hi,

From your screenshot it looks like you are using PicoScope 6.10, there is a new stable version PicoScope 6.11 available with improved DCC decoding:

https://www.picotech.com/downloads

Regards,
Greg

Post Reply