Jump to content
 

Fun Town - Arduino and Wiring.


snitzl

588 views

Decided to cover this topic in a little more depth and detail after visiting one of my earlier blogs for some information, only to find it totally lacking in regards to the electric's and programming details for Arduino. Arduino is not something I work with everyday, the last time I tinkered was some 6 years ago in blog  'Funtown Micro Layout - Part 1', so this blog serves as a reminder to myself, for the next time I tinker. So began a re-investigation, what files did I use for programming previously, what was the name of that website I downloaded 'Arduino' DCC libraries and function decoder code from, where's that circuit diagram for connecting DCC to the 'Arduino' microcontroller board, the list goes on.

 

I didn't write any code for this project (just changed the decoder address), everything needed was downloaded free from :-
https://rudysmodelrailway.wordpress.com/software/

 

Rudy provided the DCC libraries and source code for the function decoder.  

 

int decoderAddress = 217; // 217 = Walls Module,Terraced Shops = 219,The Mart = 221, used for Building Lights.

01-FunTown-Arduino.jpg.6bd4d9523b5f61b07baaaa080153f099.jpg

02-FunTown-Arduino.jpg.4f8fed438f6d83b80b6c3b7566c3b655.jpg

03-FunTown-Arduino.jpg.bb8a92ed11a62011109e8bed74a91e69.jpg

04-FunTown-Arduino.jpg.c14fccb575694b2824b339e7dd5ea3b6.jpg

05-FunTown-Arduino.jpg.65b0a7aa6dc67dc82c589d78b4c635d0.jpg

06-FunTown-Arduino.jpg.94ffb7fe0ac50fa2579a76057f66a409.jpg

07-FunTown-Arduino.jpg.08dd60e854e84f9086e9d622064a5d1f.jpg

08-FunTown-Arduino.jpg.f875c3a7552dafdb167d85043ae77beb.jpg

09-FunTown-Arduino.jpg.51b785905846ddd9d851bb219ba41a42.jpg

10-FunTown-Arduino.jpg.9e8ad36219f769afaa8e3b0d0afd26de.jpg

11-FunTown-Arduino.jpg.dc2f4a123d50c4339b5e12ffad1dec8e.jpg

12-FunTown-Arduino.jpg.9ff1b01c2433c81e72e68c8ce19cdcba.jpg

13-FunTown-Arduino.jpg.0c10161a4f1e301ce7e75e729f6884f2.jpg

 

Thanks for Looking : Snitzl

 

Edited by snitzl
Re-Upload Lost Images

  • Like 6
  • Informative/Useful 1
  • Craftsmanship/clever 2

2 Comments


Recommended Comments

  • RMweb Premium

This is going to be really useful when I (eventually!) build my planned layout, which I want to give full lighting of buildings, etc. 

 

Thanks for providing so much clear detail.

 

Nick.

  • Thanks 1
Link to comment
  • RMweb Premium

Excellent attention to engineering detail Snitzl.  Those test probe pins take me back a long way to my days designing pcb test rigs. I should have acquired a lot more of them..... 

 

I tend to use warm white LED chips driven very gently, rarely more than a few mA. You do need more, but that seems to give a better spread of even light. 

  • Thanks 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...