Extract from: Robot. Head to Toe Magazine Volume 7 Dec 2010 Robotics requires knowledge and skill in both hardware and software. Yet, I always stress on hardware fundamental. As basic and simple as a 5V supply is, many embedded development failure
Recently Cytron is carrying another new ultrasonic sensor in stock which is called HC-SR04. Like others ultrasonic sensor, HC-SR04 uses sonar to determine distance to an object like bats or dolphins do. This sensor require an digital output (Trig) and input (Echo) pin to use it. We will show you the performance of this sensor by using Arduino. In order to make it easier, the HC-SR04 library in Arduino is also provided!
In this SSR-S108T02, you only need a voltage 3.3V-5V to switch on the AC load rated 125VAC. You can use the SSR-S108T02 to control a AC housing lamp, fans, solenoids, and valves. Please note that this only work for AC load. In this tutorial, i will use SK40C with 16F877A to switch ON and OFF of the AC lamp by using SSR-S108T02.