18F setup


Posted on Feb 6, 2014

The PIC18F4550 chip contains more features than the PIC16F including a module for USB communications. There is some added complexity. The first issue to resolve is which chip to order. The PICSTART Plus will program the 40 pin PIC18F4550-I/P chip. The PIC18F4550 chip has some variants such as the PIC18LF4550-I/P and the PIC18F4550-I/ML.


18F setup
Click here to download the full size of the above Circuit.

I don`t think these will work with the PICSTART Plus. The PIC18F4550-I/P is available from as part number 74K8623. Unless you love assembly language, you will need to obtain a compiler. The company mikroElektronika sells compilers and hardware for PIC development. The book Advanced PIC Microcontroller Projects in C includes a 2K limited version of the MikroC Compiler. I`m not sure what you can do with 2K on a PIC. I have not tried this compiler yet. There are open-source alternatives. I will spend more time on these later. There is a project called, SDCC at SourceForge. Here is a link to the article, Programming PICs in Linux using C with SDCC. Microchip provides a student/demo version of the MPLAB C Compiler for PIC18 MCUs. After 60 days of install, some of optimizations and support for extended instructions will be disabled. This is the compiler I used to learn about these chips. After installing the MPLAB C Compiler, there is some additional files you need to download from Microchip. Microchip provides a USB Framework: Microchip MCHPFSUSB v2. 1 Installer. zip. This framework provides an API for USB communications. The examples provided work with a demo boards. For some reason, I like to do things the hard way. So, I had to build from their examples. Section 2 of the data sheet details the oscillator configurations. Where the PIC16F84A chip had four oscillator configurations, the PIC18F4550 has 12 oscillator...




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Electronic potentiometer schematic
Switch-Mode Voltage Regulator
PBL3717A motor stepper driver circuit design electronic project
repair microcontroller circuit
Telephone Line Indicator
XR400
AM Transmitter
Arduino Controlled Sip-and-Puff
Speed differential negative feedback circuit
Dimming circuit using capacitance
Brush 6 channel camera power supply circuit MAX1566-1567



Top