Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 12th April 2008, 01:22 AM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default 3 Channel Logic Analyzer (PICkit2 / Junebug) like a HP LogicDart

As pointed out by FunnyNYPD the new PICkit2 2.50 software now includes a 3 Channel Logic Analyzer. Reminds me of the now very collectible and very cool HP LogicDart.

The 3 channel Logic Tool, excellent

HPs 3 Channel Logic Dart
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 12th April 2008, 06:00 AM   (permalink)
Experienced Member
petrv will become famous soon enough
Default

Hi Bill,

Nice ... I was thinking about using the Unicorn for a low-speed L.A. demo but then of course it would be necessary to write the software (for the micro and PC).

Petr
petrv is offline   Reply With Quote
Old 12th April 2008, 01:58 PM   (permalink)
Experienced Member
Pommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to behold
Default

If you download this then you should also download version 8.02 of MPLAB. This is a good thing anyway as they appear to have fixed a lot of the debug problems with the PK2. Now, step over and run to cursor work.

I've not played with the analyzer yet. Hopefully tomorrow.

Mike.
Pommie is offline   Reply With Quote
Old 12th April 2008, 02:15 PM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

Just playing with the Anaylzer and the Junebug. Not fully tested but I'm hoping it would make a simple IR data capture / viewer.
Code:
;*** Junebug IR Bridge, uses PICkit2 Logic Analyzer mode Ch1
;*** DIP-4 (TX) & 6 (IR) should be on, Trigger Analyzer on Ch1 "/"
    list    p=18F1320        
    include    <p18f1320.inc>
    CONFIG    OSC=INTIO2,WDT=OFF,LVP=OFF
    org    0h
    movlw   72h
    movwf   OSCCON        ; 8MHz clock
    setf      ADCON1        ; set all I/O to digital
    bcf     INTCON2,RBPU    ; enable PORTB input pullups
    movlw    b'11111101'
    movwf    TRISB        ; RB0 in, RB1 out
loop       btfss    PORTB,0
    bsf    LATB,1    
    btfsc    PORTB,0
    bcf    LATB,1
    bra    loop        ; loop forever
    END
Attached Images
File Type: png ir.png (4.1 KB, 16 views)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 12th April 2008 at 09:23 PM.
blueroomelectronics is online now   Reply With Quote
Old 12th April 2008, 07:26 PM   (permalink)
Experienced Member
nickelflippr will become famous soon enough
Default

Thanks for the update, that will definitely be useful. Microchip continues to build on the PicKit2, whats next?


A 3 channel software PWM.
nickelflippr is offline   Reply With Quote
Old 12th April 2008, 09:23 PM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

That lookslike servo PWM.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 13th April 2008, 02:23 AM   (permalink)
Experienced Member
nickelflippr will become famous soon enough
Default

Actually just an up and down loop for somes leds. The pulse time & period are too long for servos if you can see the bitty 10ms/div at the bottom. The analyzer seems pretty sensitive to pin loading? which in turn seems to effect the trigger. This caused the analyzer to lock up repeatedly.
nickelflippr is offline   Reply With Quote
Old 13th April 2008, 02:27 AM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

The 4.7K pulldowns on PGC & PGD might have something to do with it.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 13th April 2008, 02:42 AM   (permalink)
Experienced Member
nickelflippr will become famous soon enough
Default

Well I used channel 3 for the trigger. Also using the older style PicKit2 with the black button, so not sure even if these have the pulldowns. The fact that the load was a regular power hungry led "seems" to have been the issue. Tried external pulldowns for channels 1 & 2, but ended up disconnecting them and the leds for the posted screen shot.
nickelflippr is offline   Reply With Quote
Old 13th April 2008, 03:00 AM   (permalink)
Experienced Member
 
LabRat has a spectacular aura about
Default Brilliant timing Bill...

I just spent the last 2 hrs tweaking the IR demo code (via trial and error) to recognize one of my remotes. Then I log in and find the beautiful demo you set up for sampling the IR signal.

Fantastic!

LabRat is offline   Reply With Quote
Old 13th April 2008, 03:09 AM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

I've been playing with my silly remote collection for more of the day than I should. Such fun and thanks to Microchips marvelous little PICkit2 program.

The only one the IR doesn't see properly is my Rogers (Scientific Atlanta) cable box. I think it uses a 56KHz carrier.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 15th April 2008, 01:59 PM   (permalink)
Experienced Member
 
Funny NYPD has a spectacular aura about
Default

Quote:
Originally Posted by blueroomelectronics
As pointed out by FunnyNYPD the new PICkit2 2.50 software now includes a 3 Channel Logic Analyzer. Reminds me of the now very collectible and very cool HP LogicDart.

The 3 channel Logic Tool, excellent

HPs 3 Channel Logic Dart
Microchip also confirmed that you can use multiple PICkit2 to get more channels for logic tool.
__________________
Funny N., Au Group Electronics, USA, www.AuElectronics.com
Funny NYPD is offline   Reply With Quote
Old 15th April 2008, 02:18 PM   (permalink)
Experienced Member
 
LabRat has a spectacular aura about
Default

Wouldn't it make more sense to just extend the PICKIT2 code into a larger PIC, and massage the "Logic Tool" code accordingly?
LabRat is offline   Reply With Quote
Old 15th April 2008, 03:14 PM   (permalink)
Experienced Member
 
Funny NYPD has a spectacular aura about
Default

Good point, that require some work though.
Even the PICkit2 itself still has one more spare pin to hack for the logic tool.
__________________
Funny N., Au Group Electronics, USA, www.AuElectronics.com
Funny NYPD is offline   Reply With Quote
Old 15th April 2008, 03:15 PM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

Quote:
Originally Posted by LabRat
Wouldn't it make more sense to just extend the PICKIT2 code into a larger PIC, and massage the "Logic Tool" code accordingly?
Perhaps someday they will, but it would mean a new PICkit2 design. Between the simulator, debugger & logic tool you've got quite an arsenal of tools for the budding PIC guru.

Microchips high end ICE have scads of features but $$$, the PICkit2 2.50 Logic Analyzer & Logic Tool are amazing for the price.

Quote:
Even the PICkit2 itself still has one more spare pin to hack for the logic tool.
It's a 4 channel out, 3 channel in logic tool, there are no more connections. The VPP is output only. Perhaps it would make an interesting adjustable voltage out.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 15th April 2008 at 03:18 PM.
blueroomelectronics is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Junebug kit ready, (PICkit2 & tutor) blueroomelectronics Micro Controllers 37 28th October 2007 02:47 AM
New kit announcement, Junebug (PICKit2 & Firefly) blueroomelectronics Micro Controllers 39 15th October 2007 02:20 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



All times are GMT. The time now is 11:55 PM.


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