Thursday, June 23, 2011

PIC card EBASIC

It is a low cost card that gives you the enter the world of PIC with a number of qualities that enable us to practice with different levels of difficulty.


Features advice
* 16x2 character LCD with adjustable contrast.
* Control of the LCD backlight to practice with the PIC CCP module.
* I2C clock in real time with a rechargeable lithium battery and an LED.
* Two buttons on board.
* Two LED that can be controlled by the PIC.
* An adjustable resistance to test the ADC module.
* External connection for the port pin RA4 I2C and ADC or use other controls, relays, etc..
* One serial port to be used as RS-232.
* Port ICSP allows you to program the PIC directly on the map.
* Protection against reverse polarity of power and basic measures against interference.

Wiring diagram of the PIC EBASIC:



Some pictures of the final map:


Programming Exercises
Configuring ISP
Examples are done with the working environment of PIC Simulator IDE, and compiled with [BASIC (PSI) | Basic compiler].

We will install the PIC Simulator IDE, and configure your work environment as follows:

* In the Options menu, select the PIC16F88 (Select Microcontroller)
* Select the crystal frequency (Options -> Change Clock Frequency)
* Select the operating mode of the microcontroller (Option -> Configuration Bits)

All this is already set up for other occasions, but still every time you enter the PIC Simulator IDE check that the configuration bits have not changed because it is sensitive to certain changes.

Then you must indicate in which work in [BASIC (PSI) | Basic] or ASM (Tools -> BASIC Compiler)

No comments:

Post a Comment

Thematic Links :