Part Two on how to easily add sensors, and outputs to your DCC++ Bast Station. In this first video, we covered adding the sensors and outputs directly to the base station through the serial monitor in the Arduino sketch. In this video we will cover how to accomplish the same in JMRI. This method is a little bit easier.
These values are not entered into the sketch, but stored in the EPROM on your Arduino device. In this case it's a Mega 2560.
I'm using a Sunfounder Mega, DF Robot Sensor Shield, and a Deek-Robot motor shield. These are all generic devices that can be purchased for under $30. There are links om my Amazon/Arduino Projects page, but they can be purchased cheaper through DF Robot & AliExpress.
Sensor Shield:
https://www.dfrobot.com/search-mega%20sensor%20shield.html
Deek Robot Motor Shield:
https://www.ebay.com/itm/L298P-Shield-R3-DC-Motor-Driver-Module-2A-H-Bridge-2-way-For-Arduino-UNO-2560/310787745501
S U P P O R T THIS C H A N N E L
Membership:
https://www.youtube.com/channel/UCE1TsLOIG2wxBZ7fe8512qw/join
Patreon: https://www.patreon.com/TomKvichak
Amazon Link:https://www.amazon.com/shop/tomstrainsandthings
PayPal : https://paypal.me/tomstrainsandthings
CONTACT INFORMATION:
[email protected]
http://tomstrainofthought.com/
#tomstrainofthought
#arduino
#dcc_ex
Disclaimers: all opinions are my own, sponsors are acknowledge.
Intended for viewers over the age of 14