+ All Categories
Home > Documents > Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino...

Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino...

Date post: 17-Jun-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
18
1 Thomas Ose OMS(re)Models 08/2018 Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts
Transcript
Page 1: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

1Thomas OseOMS(re)Models 08/2018

Arduino DCC Control

How do we use the ArduinoEcosystem for our DCC layouts

Page 2: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

2Thomas OseOMS(re)Models 08/2018

What Will be Covered• Quick Arduino review• DCC and DCC++ concepts• Arduino Hardware for DCC++• Arduino Software• Automating our scenes with Arduino• DCC++ demo• Automation Demo

Page 3: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

3Thomas OseOMS(re)Models 08/2018

Arduino Overview• Arduino is an open source computer

hardware and software company out ofItaly

• Original product was developed foreducation by offering a low costdevelopment product

• Rapidly grew into a DIY ecosystem with alarge product range and following.

Page 4: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

4Thomas OseOMS(re)Models 08/2018

Arduino Overview• “Arduino” commonly refers to the hardware

and software platform• The company also developed software to

ease the development (programming)process

• There are many components or shieldsavailable to address many sensing andautomation needs

Page 5: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

5

DCC Concept• Digital Command Control• Originally Developed by Lenz in Germany• NMRA Standard• Standard consist of 2 parts

• electrical• communication

• Many vendors have followed• Most have stayed with the standards

Page 6: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

6

DCC++ Concept• Open Source software and hardware

system• Follows the NMRA standards and

guidelines for DCC• Hardware specific• Runs on Arduino Uno or Mega• Requires an Arduino Motor Shield• Supports all gauges and handles about. 3

amp

Page 7: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

7Thomas OseOMS(re)Models 08/2018

DCC++ Hardware• DCC++ can use either an UNO or MEGA• We will use a Mega for our implementation

Page 8: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

8

DCC++ Hardware• DCC++ requires a motor shield to drive the

rail power• There are two types of shields available

– Arduino Motor Shield R3– Pololu Dual MC33926 Motor Shield

• We will use the Arduino Motor Shield forour implementation

Page 9: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

9

Arduino Motor Shield

Page 10: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

10

Motor Shield Modification

Page 11: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

11

DCC++ Software• The software is Open Source• The design concept consists of 2 modules

– DCC++ Base Station– DCC++ Controller

• The DCC++ Base Station is a combinationof the hardware and the software loadedon the Arduino

• The DCC++ design uses software ratherthan a throttle to control the Base Station

Page 12: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

12

DCC++ Software• The developers provide a controller

package that is very fundamental butrequires lots of modifications since it isintended for the developers layout

• JMRI is also supported and that is what wewill be using in our demo

• The demo keeps it simple by using theUSB port to access the Base Station.Other connection options are available.

Page 13: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

13

DCC++ Demo

Page 14: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

14Thomas OseOMS(re)Models 08/2018

Scene Automation• Uses Arduino Nano and WT588D Sound

Chip• Wired on custom boards• External signal for night time detection• Switched relay for larger number of LED• Power module 24v DC bus to 5v DC

• Controlled via DCC

Page 15: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

Thomas OseOMS(re)Models 08/2018

15

Scene Demo

Page 16: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

16Thomas OseOMS(re)Models 08/2018

Where to Buy• Arduino http://www.arduino.cc• SparkFun http://www.sparkfun.com• Adafruit http://www.adafruit.com• Amazon http://www.amazon.com• ebay http://www.ebay.com

• or you can order them from me

Page 17: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

17Thomas OseOMS(re)Models 08/2018

Thank You for your time

If you have any further questions you can reach me at

OMS(re)ModelsThomas Ose

[email protected](217) 483-4368

http://www.omsremodels.com

Page 18: Arduino DCC Control - OMS(re)models · 2019-03-18 · Arduino DCC Control How do we use the Arduino Ecosystem for our DCC layouts. Thomas Ose 2 OMS(re)Models 08/2018 ... • Runs

18Thomas OseOMS(re)Models 08/2018

Credits• DCC Library - NMRA

• DCC++ Library - Gregg

• WT588D Library - Thomas Ose


Recommended