Mikroe Click Relay module demo for NXP Freedom board (tested on FRDM-K64F)

Dependencies:   mbed

Simply Import this Program into your mbed compiler
Select Compile to generate the binary file
Plug the Mikroelektronika FRDM-K64F Click SHIELD on the top of your FRDM-K64F
Connect the Mikroelektronika Relay Click module in the Socket 1 of the Click SHIELD.

/media/uploads/GregC/click-relay_1.jpg

Drag n drop the frdm_Click_Relay_Example_K64F.bin into the mbed drive from your file explorer
Wait for download to complete
Press the Reset/SW1 button of your FRDM-K64F board to launch the program

There is two relays on the Mikroelektronika RELAY Click module

Relay1 should now switch On and Off with LED Red as indicator each time you press the SW2 button of your FRDM-K64F (see picture below)!!

/media/uploads/GregC/click-relay_2.jpg

Relay2 should now switch On and Off with LED Orange as indicator each time you press the SW3 button of your FRDM-K64F (see pictures below)!!

/media/uploads/GregC/click-relay_3.jpg

History

Mikroe Click Relay module demo for NXP Freedom boards (tested on FRDM-K64F) default tip

2016-04-26, by GregC [Tue, 26 Apr 2016 16:51:48 +0000] rev 1

Mikroe Click Relay module demo for NXP Freedom boards (tested on FRDM-K64F)


Freedom Seeed Grove Relay Example

2016-01-01, by GregC [Fri, 01 Jan 2016 16:33:29 +0000] rev 0

Freedom Seeed Grove Relay Example