![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) | |
|
Quote:
8 pin DIP switches (4 switches) are more common also.
__________________
--- The days of the digital watch are numbered. --- |
||
|
|
|
|
|
(permalink) |
|
Nope, I want them to be bussed together, just because I said, so ok?
Oh wait, you got a problem with that buddy? Come on bring it on! Lets go! I found that 3 DIP Switches are cheaper than a 4 dip switch. It will still look good. |
|
|
|
|
|
|
(permalink) |
|
If you want bussed switches then a DP3T switch will do, more expensive than a dip though but nice for switching the MCLR stuff / project stuff. Cheaper yet would be a far more common DPDT switch on just RB6, RB7. Avoid using MLCR for anything but a reset / ICD connection, if you're desperate for that extra I/O line then use a larger PIC.
PS I've updated the Junebug Assembly Instructions on my site, some troubleshooting tips and corrected schematic & BOM plus the blinky LED program. Keep working with your programming Krumlink, you'll get the hang of it soon enough and then you can transplant a computerized brain into one of your robots. |
|
|
|
|
|
|
(permalink) |
|
I am using the mclr pin as a reset, by shorting it to ground. It should be here by next week. Bill if you want these boards for something, PM me and we can set up a deal
I will let you know how this one works. |
|
|
|
|
|
|
(permalink) |
|
Well I was working on a side project that has a small breadboard, a 40pin PIC (a few choices), 20MHz crystal (deselectable), USB optional, keypad / LCD using up ports D & E
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
The word you're looking for is "laboratory". http://dictionary.reference.com/browse/laboratory You spelled it right just below the first picture, in the Introduction. |
||
|
|
|
|
|
(permalink) |
|
Opps LOL. I'm still scratching my head on the introduction...
Looking at Krumlinks code makes me want to learn C18. Can you combine #pragma statements? Last edited by blueroomelectronics; 17th November 2007 at 04:38 AM. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
#pragma config WDT = OFF, OSC = INTIO67, LVP = OFF
__________________
--- The days of the digital watch are numbered. --- |
|||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
I just noticed you're using a three position switch for reset.
If you're worried about lockup then learn about the WDT. Edit here's a simple single sided PCB layout, try to avoid right-angles on traces if you can and lay it out on a grid. This grid is 0.5" ![]() Last edited by blueroomelectronics; 17th November 2007 at 05:29 AM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Mike |
||
|
|
|
|
|
(permalink) |
|
It was 4 bit, the trick was to only use port D & E (11bits) for both a 4x4 keypad & an LCD. 7 for the LCD + 4 for the keypad (using 4bits from the LCD too)
Of course I'd like to see your design Mike, that's a lot of stuff for only 12pins. |
|
|
|
|
|
|
(permalink) |
|
Bill,
Forgive me. I thought you were using up 16 pins but if you're doin' all that with 11 pins then there's no new tricks I can share -- you're already a 'Master'... I'll attach the diagram anyway for anyone who'd care to take a look. Regards, Mike |
|
|
|
|
|
|
(permalink) |
|
The RS pin as an input is pretty neat
I did have the LCD RW pin supported, I could put a jumper for a buzzer there... Edit: would a 4x4 keypad or a 3x4 with 4 LEDs be more interesting? Edit2: The Junebug / PK2 have a very handy UART mode... So goodbye serial port, it will have a USB connector. Something along these lines. ![]() Last edited by blueroomelectronics; 17th November 2007 at 03:21 PM. |
|
|
|
|
|
|
(permalink) |
|
I have given up on Octoparts for making a parts list. You can find the current list in spread sheet form at http://spreadsheets.google.com/pub?k...iD6BR8Q3aL5jVQ Parts numbers are shown for Digikey, Mouser, Newark, and a few from Jameco. We could expand that if anyone has about 50% or more of the numbers for another vendor. I understand that what I have is mostly US based suppliers. You can help change that if you are up to it. Still looking for numbers for FB1, VR1, and VR2.
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Junebug kit ready, (PICkit2 & tutor) | blueroomelectronics | Micro Controllers | 37 | 28th October 2007 02:47 AM |
| Assembly? | Marks256 | Micro Controllers | 43 | 28th July 2006 03:44 PM |
| Assembly compiler | Thunderchild | Micro Controllers | 4 | 12th March 2006 01:25 PM |
| Learning Assembly Programming Language | Johnson777717 | Micro Controllers | 4 | 22nd March 2004 02:00 PM |
| Assembly Language Question | Jeggyman | General Electronics Chat | 6 | 30th January 2004 09:53 PM |