PDA

View Full Version : HELP ME with this!! PIC18F442



sanguine
- 10th July 2007, 23:53
i'm given a final project that deals with PIC 18F442.
Well, actually we are taught by the school to learn how to use PIC 18F452 but the teacher gave us a PIC 18F442 to do some programming into the MPLAB ICD 2..this is really hard because i'm still a noob in programming and when the chip changes, the programming codes in the MPLAB IDE will change too!
So i need someone to help me with writing the program code and to get my way around the software: MPLAB IDE ver 7.50. Yea..and this is so brand new even my school lecturer isn't sure of a way to use it. OMG.



san~

skimask
- 11th July 2007, 00:42
i'm given a final project that deals with PIC 18F442.
Well, actually we are taught by the school to learn how to use PIC 18F452 but the teacher gave us a PIC 18F442 to do some programming into the MPLAB ICD 2..this is really hard because i'm still a noob in programming and when the chip changes, the programming codes in the MPLAB IDE will change too!
So i need someone to help me with writing the program code and to get my way around the software: MPLAB IDE ver 7.50. Yea..and this is so brand new even my school lecturer isn't sure of a way to use it. OMG.
san~

So far we know nothing about anything...except that you're using a chip that is out of date (but still completely usable)..
Don't know what your project is...
Don't know if you're actually using straight assembly, PBP, C, or whatever...
And as far as the '452 vs. the '442...
If you'd have done your homework, you might know that a '442 is nothing more than 1/2 of a '452...1/2 the flash, 1/2 the ram, same eeprom, same pinout.

sanguine
- 11th July 2007, 00:58
nahx...It's not tat i've not been doing homework. =D
The class only teaches us 452 and nothing else.
It's only a module so they did not equip us with much knowledge.
Moreover, my fyp lecturer gave us this 442 that i have practically no idea how to use it. My lab technician did not told me if its old either..
T.T

skimask
- 11th July 2007, 01:00
nahx...It's not tat i've not been doing homework. =D (Sure 'bout that?)
The class only teaches us 452 and nothing else.
It's only a module so they did not equip us with much knowledge.
Moreover, my fyp lecturer gave us this 442 that i have practically no idea how to use it. My lab technician did not told me if its old either..
T.T

Have you downloaded the datasheet for either the '452 OR the '442 from Microchip?

sanguine
- 11th July 2007, 01:36
haha..of course i'm sure bout tat!!
=)
well...i've not tried that yet..i only tried searching for websites that can help me with the programming of 442 source codes..

Pic_User
- 11th July 2007, 03:17
Hi sanguine,

About your project:
Describe what you want your project to do.
List what data sheets you have tried to read.
Post your code. As if it was for a PIC18F452 (use VB to put it in a “code box”)
Maybe someone could help translate it for the PIC18F442.
Post your schematic.
List any books or sites you are using for reference.

About your tools:
Which BASIC editor.
Which MELabs compiler; PICBASIC Compiler (PBC) or PICBASIC Pro (PBP)
Development board, printed circuit (wiring) board (PCB), Solder-less bread board.
Oscilloscope available.
Time available.

About your PIC:
Internal oscillator, crystal, resonator, external oscillator, speed
MCLR resistor, software disabled
Configuration Fuses (PIC Defines) Configuration Bits
Pull-up resistors
Capacitors; Vdd to Vss, on crystal to ground.
What is done with the unused pins.

-Adam-

sanguine
- 11th July 2007, 14:40
yep...i tried to do a write-up in another thread.
=D
thank you so much for your advice~

skimask
- 11th July 2007, 15:29
thank you so much for your advice~

The advice you got was directly proportional to the information we were given.

sanguine
- 11th July 2007, 15:55
oh...
i dun get it..proportional?

skimask
- 11th July 2007, 16:15
oh...
i dun get it..proportional?

Yep...
You gave us a generic 'project' with generic 'specifications'...
And you got a generic 'answer' with a generic 'what are you trying to accomplish'...