The Board
The 4$ Dev Kit is based on Cypress CY8C4245AXI SoC, and have a User LED, Current Measurement header, Boot/User Switch, ~40 GPIO's, A usb to UART/I2C/SPI convertor with GPIO's all in a breadboard friendly Format.[Refer image above].
Ordering the Modules : You can order the Module directly from Cypress, Digikey or mouser
Cypress : http://www.cypress.com/?rID=92146
DigiKey : http://www.digikey.com/product-highlights/en/psoc-4-cy8ckit049-4xxx-prototyping-kits/52444
Mouser : http://www.mouser.in/new/Cypress-Semiconductor/cypress-cy8ckit-049-kits/
IMPORTANT NOTE : While ordering the Module Always order 2 or 3 modules. As these Modules work on UART Boot-loader and if you forgot to add a Boot-loader Module to the Design, you will need another kit to reprogram the previous Module.
2.1. Preparing the Board
For preparing the board you need couple of things,
1. Soldering Station
2. Flux and Soldering Lead
3. Long/ Short berg strip's 0.1" spacing (Standard headers) 22pins(2 nos.), 17pins(2 nos.), 7pins(4 nos.), 2pins(2nos.)
4. 90 Dig angled berg strip 0.1" spacing (Standard angled headers) 5pins(2nos.)
5. the Boards obviously (2nos.)
STEP 1 : If you have a long berg strip, you have to break them into the above mentioned configuration (22pins, 17pins, 7pins, 5pins(angled) )
STEP 2 : If you have standard Headers solder them as shown in the picture below:
I usually like to plug the board on to bread board and try to use both the Breadboard as well as the Pins for connecting me External components. So, If I want a pullup resistor, I use the breadboard but for an external module interface I try and use the pins directly
So, To do that Follow the Steps Below
STEP 2.1 : Insert the berg connectors opposite ways into the board as shown in the pic below.
STEP 2.2 : Solder the Berg Connectors on the board and, Remove the separator from the berg connectors as in the pic below.
STEP 2.3 : Insert the separator towards the Bottom of the PCB, with the notch towards the PCB. (As shown in the Pic above - the black part).
STEP 3 : If you want to use the USB to UART separately, then break the USB to UART section of the board from the body and solder 4pin berg connector 0.1" (standard/angled headers) on ether sides of the boards and you are done. Reference Images below,
STEP 4 : If you want current measurement on your device : the You have to remove the 0 Ohm resistor marked in white below, and solder a 2 pin berg connector marked by Blue. To power the board always short the 2 pin connector with a standard Jumper. To measure the current drawn, disconnect the jumper and contact the positive and negative wires of multimeter to the 2 pin connector.
Now we have prepared our board's for the Journey it's will go through
Installing the Software
We will go through the steps of installing the new software for the Kit. This kit is only supported on windows.
STEP 1 : Downloading the Files
Download all the necessary files from cypress servers :
Cypress PSoC Creator : CY8CKIT-049-42xx CD ISO (Creator CD) (For 42xx boards)
CY8CKIT-049-41xx CD ISO (Creator CD) (For 41xx boards)
Some Essential files : CY8CKIT-049-42xx Kit Only (Kit Design Files, Documentation, Examples)
CY8CKIT-049-41xx Kit Only (Kit Design Files, Documentation, Examples)
USB SDK and config : USB-Serial SDK Windows Installer & Configuration Utility
and also download the Quick start Guides and Reference Design Files if you wish.
All in one Link : http://www.cypress.com/?rID=92146
STEP 2 : Installing the Software
Mount the iso image and install the Software, PSoC Creator, PSoC Programmer, Bootloader Tool and etc. This process may take up to 30 min, so grab a coffee :P. Then install the USB SDK. Then finally extract the contents of the Essential files list to c:\psoc4\cy8ckit049_42xx\, you can choose any directory you like.
Step 3 : Unboxing of the KIT
This kit comes in a unique awesome eco friendly package with all the pin out's at the back, To unbox simply tear down the front. <Unboxing Video Coming Soon>
[Images are taken from Internet, Will upload my own Soon]
Step 4 : Testing that everything Works
The most easy step Connect the board to a computer's USB port/ Power bank and check the LED's Going off.
Some more tests,
TEST 1 : Open the "Cypress USB configuration utility" , Connect the Board (go-through the windows driver installer first time) , Click "Select target" option and click "connect". If you get the device details, i.e. you are able to see a new tab next to the Select Target tab that means the device is working fine.
TEST 2 : Dumping the Example code : Open PSoC Creator Software then you have to open the Bootloader Host Tool,
PSoC Creator -> File Menu ->Tool -> Bootloader Host
once done that browse c:\psoc4\cy8ckit049_42xx\CY8CKIT-049-42xx PSoC4 Proto kit\SCB_Bootloader_42xx\Bootloadable Blinking LED.cydsn\CortexM0\ARM_GCC_473\Debug\Bootloadable Blinking LED.cyacd file in the "FILE" dialog, Select the appropriate Kit in the "PORTS" view , make sure that the baud is set to 115200 and then hit the "Program" button (next to the File button). You will see the status bar going and within seconds you can see the LED on your board blinking. This means that all set to Go.
Cool StuFF
A Fade Example Demo I have dome using the on this Board LED and PWM.
Gurinder Singh Gill
Top Comments