{"id":4542,"date":"2022-10-18T16:45:18","date_gmt":"2022-10-18T16:45:18","guid":{"rendered":"https:\/\/rodmilstead.com\/pt\/?page_id=4542"},"modified":"2022-10-18T20:10:21","modified_gmt":"2022-10-18T20:10:21","slug":"arduino-triggering-one-arduino-with-another-arduino","status":"publish","type":"page","link":"https:\/\/rodmilstead.com\/pt\/arduino-triggering-one-arduino-with-another-arduino\/","title":{"rendered":"Arduino: triggering one Arduino with another Arduino"},"content":{"rendered":"<p>Since Arduinos can&#8217;t multitask (do more than one thing a time) it&#8217;s useful to connect two Arduinos together.<\/p>\n<p>There are two Arduinos in this circuit.\u00a0 They are wired together. Each Arduino has its program installed.<\/p>\n<p><strong>There are two Arduinos in this circuit and program:<\/strong><br \/>\n<strong>Arduino 1 &#8211; the Leader<\/strong> &#8211; has the button\/input and triggers Arduino 2 &#8211; the Follower.\u00a0 The Leader can also have its own program to with outputs like LEDs, servos and sound.<\/p>\n<p><strong>Arduino 2 &#8211; the Follower<\/strong> &#8211; waits for the signal from the Leader Arduino.\u00a0 Once it receives that signal, the program on the Follower starts.<\/p>\n<figure id=\"attachment_4543\" aria-describedby=\"caption-attachment-4543\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2022\/10\/2022twoarduinosleaderfollower.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4543\" src=\"http:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2022\/10\/2022twoarduinosleaderfollower-300x197.jpg\" alt=\"two arduinos wired together\" width=\"300\" height=\"197\" srcset=\"https:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2022\/10\/2022twoarduinosleaderfollower-300x197.jpg 300w, https:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2022\/10\/2022twoarduinosleaderfollower-1024x673.jpg 1024w, https:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2022\/10\/2022twoarduinosleaderfollower-768x505.jpg 768w, https:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2022\/10\/2022twoarduinosleaderfollower-1536x1009.jpg 1536w, https:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2022\/10\/2022twoarduinosleaderfollower.jpg 1686w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4543\" class=\"wp-caption-text\">click for full sized image<\/figcaption><\/figure>\n<p><strong>Follow the links below to find the programs for the Leader and the Follower.<\/strong><\/p>\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/1YTwGPjydnD_ako7iHVdabbVP29t-Hczf\/view?usp=sharing\" target=\"_blank\" rel=\"noopener\">Arduino 1 &#8211; the Leader<\/a><\/p>\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/1pGXUHHY9d8EDsfRJwpp0qz6s7HFzFUcH\/view?usp=sharing\" target=\"_blank\" rel=\"noopener\">Arduino 2 &#8211; the Follower<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since Arduinos can&#8217;t multitask (do more than one thing a time) it&#8217;s useful to connect two Arduinos together. There are two Arduinos in this circuit.\u00a0 They are wired together. Each Arduino has its program installed. There are two Arduinos in this circuit and program: Arduino 1 &#8211; the Leader &#8211; has the button\/input and triggers &hellip; <a href=\"https:\/\/rodmilstead.com\/pt\/arduino-triggering-one-arduino-with-another-arduino\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Arduino: triggering one Arduino with another Arduino<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4542","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages\/4542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/comments?post=4542"}],"version-history":[{"count":2,"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages\/4542\/revisions"}],"predecessor-version":[{"id":4549,"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages\/4542\/revisions\/4549"}],"wp:attachment":[{"href":"https:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/media?parent=4542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}