Showing posts with label Relay. Show all posts
Showing posts with label Relay. Show all posts

C Program Arduino Serial PIN control for Relay

Arduino Code for relay

  Turns given PIN (exmaple 12) on for a third of a second when receiving any input through serial connection
  Recommend not using PIN13 due to signals being sent to it durning startup


  To send signal to Arduino from computer (Linux):
  echo '1' > /dev/ttyUSB0 #as root

  Created By
  Kris Occhipinti
  June 19th, 2015
  http://www.filmsbykris.com

  License GPLv3
  http://www.gnu.org/licenses/gpl-3.0.txt

Solution: