You have no items in your shopping cart.

Subtotal: 0.00

PSoc 3 Development kit

The PSoc 3 Development kitis specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports FX2LP Programmer which is done through USB port.

Cypress 8051 core (CY8C3866), PSoc 3 Development kit is proposed to smooth the progress of developing and debugging of various designs encompassing of speed 8-bit Microcontrollers. It integrates on board CAPSENSE BUTTONS, CAPSENSE LINEAR SLIDER, UART, ADC, DAC, Relay, Buzzer, Seven Segment, Serial EEPROM, Temperature Sensor LM35, Matrix Keypad, Switch, LED, Stepper Motor Driver, Traffic Light Controller, RTC, LCD & GLCD Display to create a stand-alone versatile test platform. User can easily engage in Development in this platform, or use it as reference to application Development.

LED (Light Emitting Diodes)

Light Emitting Diodes (LED) is the most commonly used components, usually for displaying pins digital states. Typical uses of LEDs include alarm devices, timers & confirmation of user input such as a mouse click or keystroke.

Interfacing LED with CY8C3866

Figure shows how to interface the LED to microcontroller. As you can see the Cathode is connected through a resistor to GND & the Anode is connected to the Microcontroller pin. So when the Port Pin is HIGH the LED is ON & when the Port Pin is LOW the LED is turned OFF.





The PSoc 3 Development kit has eight numbers of point LEDs, connected with I/O Port lines (P0.0 – P0.7).

Pin Assignment with CY8C3866



 

Point LEDs

CY8C3866A lines

LED Selection

DIGITAL OUTPUTS

D17

P0.0

D18

P0.1

D19

P0.2

D20

P0.3

D21

P0.4

D22

P0.5

D23

P0.6

D24

P0.7

 



Circuit Diagram to Interface LED with CY8C3866





C Program to switch ON and OFF LED using CY8C3866

*********************************************************************************

Title : Program for running LEDs

*********************************************************************************

#include 

void main()

{

for(;;)

{

LED0_Write(1);

CyDelay(100);

LED0_Write(0);

LED1_Write(1);

CyDelay(100);

LED1_Write(0);

LED2_Write(1);

CyDelay(100);

LED2_Write(0);

LED3_Write(1);

CyDelay(100);

LED3_Write(0);

LED4_Write(1);

CyDelay(100);

LED4_Write(0);

LED5_Write(1);

CyDelay(100);

LED5_Write(0);

LED6_Write(1);

CyDelay(100);

LED6_Write(0);

LED7_Write(1);

CyDelay(100);

LED7_Write(0);

LED7_Write(1);

CyDelay(100);

LED7_Write(0);

LED6_Write(1);

CyDelay(100);

LED6_Write(0);

LED5_Write(1);

CyDelay(100);

LED5_Write(0);

LED4_Write(1);

CyDelay(100);

LED4_Write(0);

LED3_Write(1);

CyDelay(100);

LED3_Write(0);

LED2_Write(1);

CyDelay(100);

LED2_Write(0);

LED1_Write(1);

CyDelay(100);

LED1_Write(0);

LED0_Write(1);

CyDelay(100);

LED0_Write(0);

}

}