<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Raising the Bridge...Automation with Arduino: Pin Count</title><link>/challenges-projects/project14/crazyarduinoautomations/b/crazy-arduino-automations-blog/posts/raising-the-bridge-automation-with-arduino-how-many-inputs-outputs</link><description>The comments posted from my initial blog entry got me to thinking. Did I size this correctly?
The bridge spans the Mainland to Island. At either end of the bridge is a gate, an area to halt the bus and warning lights flashing when the bridge is...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Raising the Bridge...Automation with Arduino: Pin Count</title><link>https://community.element14.com/challenges-projects/project14/crazyarduinoautomations/b/crazy-arduino-automations-blog/posts/raising-the-bridge-automation-with-arduino-how-many-inputs-outputs</link><pubDate>Sat, 08 Apr 2023 22:32:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:212dfff2-64c2-467c-a72b-7a32e934da29</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Just a passing thought but you don&amp;#39;t appear to have any input to tell you if a bus is already on the bridge at the point when the tug enters or leaves the turnaround. So far it is assumed that the bus is approaching the bridge with enough time to stop it and close the gate before raising the ramp and then the bridge. What happens though if the bus is just past the bus halt servo position when either the tug or turnaround sensor is triggered ? The bus will continue onto the ramp/bridge regardless.&lt;/p&gt;
&lt;p&gt;Are you just going to add a delay after setting the halt in order for any traffic to clear the bridge before closing the gates and lifting the ramp ?&lt;/p&gt;
&lt;p&gt;If it is a single lane on the bridge then there is the added issue of direction of travel of the bus, as you don&amp;#39;t want to halt a bus that has already entered the bridge when it finally reaches the far end. Similarly with the gate; the exit gate needs to remain open for the bus to exit the bridge.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25538&amp;AppID=411&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raising the Bridge...Automation with Arduino: Pin Count</title><link>https://community.element14.com/challenges-projects/project14/crazyarduinoautomations/b/crazy-arduino-automations-blog/posts/raising-the-bridge-automation-with-arduino-how-many-inputs-outputs</link><pubDate>Wed, 05 Apr 2023 14:25:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:212dfff2-64c2-467c-a72b-7a32e934da29</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;As well as the bridge raising/lowering warning sound, the sound module could also perhaps set off a couple of tugboat horn blasts as it approaches the bridge. This gives the chance to attract people&amp;#39;s attention to the fact that something of interest is about to happen over by the bridge so as they don&amp;#39;t miss the automation (or collision).&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25538&amp;AppID=411&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raising the Bridge...Automation with Arduino: Pin Count</title><link>https://community.element14.com/challenges-projects/project14/crazyarduinoautomations/b/crazy-arduino-automations-blog/posts/raising-the-bridge-automation-with-arduino-how-many-inputs-outputs</link><pubDate>Sat, 01 Apr 2023 15:27:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:212dfff2-64c2-467c-a72b-7a32e934da29</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I just made a personal discovery, that SG90 servos do not require the signal pin to be connected to an Arduino PWM pin for operation. The signal pin can be connected to any arduino digital pin.&lt;/p&gt;
&lt;p&gt;The pinout layout for this project has the signal pins of the servos connected to ~ PWM pins. At least that was what I thought was necessary when I was doing the design.&amp;nbsp;While researching code development I stumbled across this post&amp;nbsp;&lt;a id="" href="https://forum.arduino.cc/t/digital-or-pwm-pin-using-servo-h/546624"&gt;https://forum.arduino.cc/t/digital-or-pwm-pin-using-servo-h/546624&lt;/a&gt;&amp;nbsp;on the arduino forum.&lt;/p&gt;
&lt;p&gt;Who knew? I didn&amp;#39;t. I enjoy dabbling in this stuff but find my lack of knowledge slowing me down. Discoveries like this give me satisfaction but they also give me the feeling I&amp;#39;m the guy in the Studebaker in the first right hand lane, reserved for slower movers, on the information highway. If you happen to pass me give me a wave.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25538&amp;AppID=411&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raising the Bridge...Automation with Arduino: Pin Count</title><link>https://community.element14.com/challenges-projects/project14/crazyarduinoautomations/b/crazy-arduino-automations-blog/posts/raising-the-bridge-automation-with-arduino-how-many-inputs-outputs</link><pubDate>Wed, 29 Mar 2023 17:03:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:212dfff2-64c2-467c-a72b-7a32e934da29</guid><dc:creator>beacon_dave</dc:creator><slash:comments>2</slash:comments><description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;...Did I size this correctly?...&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If not,&lt;em&gt;&amp;nbsp; &amp;quot;You&amp;#39;re going to need a bigger bridge...&amp;quot;&amp;nbsp; [emoticon:c4563cd7d5574777a71c318021cbbcc8]&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I take it that no the bridge lowers briefly whilst the turnaround takes place then opens again once the turnaround is complete and the boat is ready to set sail ?&lt;/p&gt;
&lt;p&gt;How are you doing the logic with single switches either side ? Are you keeping track of the boat direction, toggling based on the current state of the limit switches,&amp;nbsp;or just toggling raise/lower each time you hit a switch and hope you don&amp;#39;t ever get out of sync ?&lt;/p&gt;
&lt;p&gt;Do you need to control the points motor so that the boat departs on the other track than it arrives on or does that rely on the railroad team ? I assume it is basically a loop track with a turnaround siding. Likewise, do you need to control the turnaround ?&lt;/p&gt;
&lt;p&gt;Does the LED signage need triggering when the bridge is closed to traffic ?&lt;/p&gt;
&lt;p&gt;Perhaps trigger some sea shanties whilst on the turnaround&amp;nbsp;[emoticon:96191f836ed544d089a3a9758ea6d76a]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt;&amp;quot;...You will have a fishy on a little dishy; you will have a fishy when the boat comes in...&amp;quot;&lt;/em&gt;&amp;nbsp;[emoticon:e45a7f66f0c548b29fe4386202996958]&lt;/p&gt;
&lt;p&gt;What&amp;#39;s that ? I&amp;#39;m banned from the model railroad club for life ?&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25538&amp;AppID=411&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>