Getting Started with Spark Core and Photon by Simon Monk

Getting Started with Spark Core and Photon by Simon Monk

Author:Simon Monk
Language: eng
Format: epub
Publisher: Maker Media, Inc


Figure 5-6 shows a Photon plugged on top of a relay shield that is being used to turn any of the four relays on the module on or off. Note that one of the relays has an old-fashioned 12V electric bell attached to it. Figure 5-7 shows a simple web interface for controlling the relays.

Figure 5-6. Figure 5-6 Photon Relay and Electric Bell - Good and Noisy!

Figure 5-7. Figure 5-7. A Webpage for Controlling Relays

Parts

To build this project, you are going to need the following parts in addition to your Photon/Core.

Table 5-1. Parts Bin Part Description Appendix A code

Relay Shield Spark shield to control 4 relays M1

12V Power Supply 12V 1A Power supply Q1

J1 DC jack to screw adapter (female) H1



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.