![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Bill, Do not recall if anyone has pointed this out. 1 C1 22uF 16V (must be at least 16V rated) is shown as 47 on schematic If you used Eagle the BOM, schematic, and board would all be in sync | |
| |
| | (permalink) |
| Ouch! I would get 22uf to 47uf, as it appears only to interact with the MOSFET grouping and a diode and the inductor, so it appears to be a coupling capacitor (forgive me if I used the wrong term) between some stuff. 22 to 47uf would seem acceptable? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
1 C1 22uF 16V (must be at least 16V rated)The parts list state the cap is 22uF and at least 16V The schematic says it is 47 and I imagine that means 47uF Neither place does it say 22uF-47uF and 22uF != 47uF. Maybe both will work but that is not what you have speced. | ||
| |
| | (permalink) |
| Then I'll change it in the document. Bad habit. Edit: the Junebug Assembly Instructions have an updated BOM & Schematic. Last edited by blueroomelectronics; 19th November 2007 at 02:07 PM. | |
| |
| | (permalink) |
| I know I should look this up first, but I am not motivated: can you run the Junebug as a debugger too? EDIT: Yes you can, Cool! I really like my inchworm+ it has been so good to me lately. No errors, no problems, perfect performance. Can the Junebug beat the all mighty Inchworm+? To set up the Junebug, all I have to do is to select PICKIT2? Bill, can I run the inchworm+ off a Unicorn kit? Last edited by Krumlink; 15th November 2007 at 09:14 PM. | |
| |
| | (permalink) |
| Yes, the Junebug works pretty much the same as the Inchworm+ but faster! The Inchworm+ can be mated to a Unicorn kit and would be about the same speed as Junebug. The only advantage is the Inchworm+ supports more high end PICs but that could change as the Junebug (PICkit 2) is catching up fast. Everytime Microchip releases a new MPLAB seems the PICkit 2 gets a firmware upgrade. Of course you can use the Junebug to play with the Unicorn but it's pretty advanced compared to the Junebugs 18F1320 tutor. I've seen the Unicorn turned into a simple GLCD scope. Having a spare PIC programmer is always handy. | |
| |
| | (permalink) |
| I am going to order the parts for the Junebug today. The C programming class was approved, so I was talking to him about getting some junebugs, once they become available. So far, my Junebug kit looks "interesting", as it has strange capacitors, a very oversized crystal, large 5mm LED's, very small buttons, thru hole individual resistors instead of the SIP resistors, and a diode sticking out of a solder hole way to far (the diode is a quarter of an inch in the air soldered Hey bill, if I send you a couple dollars in the mail (shipping), can I get a couple ferrite beads that you used? and for more money, can I get the inductor also? Thanks As for a kit idea for the junebug (don't know why you would need ANOTHER kit on it | |
| |
| | (permalink) |
| A strange thing to do with your Junebug would be programming its own 18F2550 for another one | |
| |
| | (permalink) |
| I was thinking of designing a board for programming a 18 Pin DIP, and I was wondering what are some features I should have on it? I want to fill this 5x2 or slightly small board up | |
| |
| | (permalink) |
| I just tried programming a 18F1320 with my Knight rider light (A lesson that I did myself from 3v0 It is in C for the 18F1320 Make sure you have header files and linker files for it Code: #include <p18f1320.h>
#include <delays.h>
#include <stdio.h>
#include <stdlib.h>
#pragma config WDT = OFF
#pragma config OSC = INTIO2
#pragma config LVP = OFF
#pragma config PWRT = ON
// define TESTS
#define byte unsigned char
#define int8 unsigned char
#define CMD 0x00
#define DATA 0x01
#define READ 0x01
#define WRITE 0x00
#define TRIS_ACT_LED TRISBbits.TRISB2
// TRISAbits.TRISA2
#define ACT_LED LATBbits.LATB2
// LATAbits.LATA2
void delay_10us(unsigned char t);
void delay_ms(long t);
void delay_10us(byte t)
{
int i;
for (i=0;i<t;i++)
Delay10TCYx(5);
}
void delay_ms(long t) // delays t millisecs
{
do
{
delay_10us(99); // not 100 to compensate for overhead
} while(--t);
}
void delay_us(long us)
{
long x = (us%1000)/10;
delay_ms(us/1000);
delay_10us(x);
}
void main (void)
{
int flip = 0;
long i,j;
//
// Set direction registers
//
//TRISA= 0x00;
//TRISB= 0x00;
TRIS_ACT_LED = 0; TRISA=0x00; TRISB=0x00;
//LAT0xA=0x00;
//LATB=0x00;
while (1)
{
//ACT_LED = 0;
//LATA= 0x00;
//The code below is what I did :) IT was really fun and easy once I learned HEX :D
LATB= 0x01;
delay_ms(1);
//ACT_LED = 1;
//LATA= 0xFF;
LATB= 0x02;
delay_ms(1);
LATB= 0x04;
delay_ms(1);
LATB= 0x08;
delay_ms(1);
LATB= 0x010;
//HEX was used here above and below :D
delay_ms(1);
LATB= 0x020;
delay_ms(1);
LATB= 0x10;
delay_ms(1);
LATB= 0x08;
delay_ms(1);
LATB= 0x04;
delay_ms(1);
LATB= 0x02;
delay_ms(1);
LATB= 0x01;
delay_ms(1);
}
} | |
| |
| | (permalink) |
| The MCLR on the 18F1320 is an input only. | |
| |
| | (permalink) |
| LOL I have no idea why it flashes when I program code into it Even so, should I keep an LED on it? It appears to not affect performance at all. What else should I add to my board? I want to get it into design by tomorrow at least. Just a few more things I would like to add would be more Status LED's, and some other stuff that will be helpful while debugging and programming. Last edited by Krumlink; 16th November 2007 at 12:25 AM. | |
| |
| | (permalink) | |
| Quote:
LATB <<= 1;
__________________ --- The days of the digital watch are numbered. --- | ||
| |
| | (permalink) |
| After thinking of things to add, this is what I came up with I am using U2 (6 pin DIP as a Switch because of its template MCLR has a data processing LED on it Last edited by Krumlink; 16th November 2007 at 03:59 AM. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Junebug kit ready, (PICkit2 & tutor) | blueroomelectronics | Micro Controllers | 37 | 28th October 2007 03:47 AM |
| Assembly? | Marks256 | Micro Controllers | 43 | 28th July 2006 04:45 PM |
| Assembly compiler | Thunderchild | Micro Controllers | 4 | 12th March 2006 02:25 PM |
| Learning Assembly Programming Language | Johnson777717 | Micro Controllers | 4 | 22nd March 2004 03:00 PM |
| Assembly Language Question | Jeggyman | General Electronics Chat | 6 | 30th January 2004 10:54 PM |