element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Upgrading A Christmas Train with Python and Raspberry Pi -- Episode 478
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 15 Dec 2020 7:28 PM Date Created
  • Last Updated Last Updated: 25 Dec 2020 8:24 AM
  • Views 3130 views
  • Likes 9 likes
  • Comments 11 comments

Upgrading A Christmas Train with Python and Raspberry Pi -- Episode 478

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
 

Unfortunately, not everything we buy off the shelf is as amazing as it appears. We found this with our Christmas Train. The options were throw it out, and mod it. I didn't really see that as a question...

 

For more information on setting up the RPI headless, head over to Episode 444:  Raspberry Pi 4 DVR  for more info, at around 7:15 in!

element14 presents
Upgrading A Christmas Train with Python and Raspberry Pi

element14 presents  | About David  |  Project Videos

  • pwm motor control
  • rpi hand wired hat
  • python
  • christmas train
  • david edwards
  • gpio palooza
  • e14presents_daveedwards
  • raspberry pi zero
  • raspberry pi
  • e14presents_davidedwards
  • train
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • airbornesurfer
    airbornesurfer over 4 years ago +2
    There is so much in this project to love: trains, Raspberry Pi, retrofitting toys with superfluous electronics, and--most of all--that PlayStation Christmas jumper! Also, remember the mantra: "It's okay;…
  • a531016
    a531016 over 4 years ago in reply to airbornesurfer +2
    Good point - the first, initial, not production, one step removed from a breadboard prototype...
  • ralphjy
    ralphjy over 4 years ago +1
    Very nice upgrade . I had an HO set when I was a kid. Your video got me wondering if those sets have now been upgraded with electronics. A quick look at the Lionel store shows some basic features controlled…
  • a531016
    a531016 over 4 years ago in reply to airbornesurfer

    Good point - the first, initial, not production, one step removed from a breadboard prototype...

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • airbornesurfer
    airbornesurfer over 4 years ago

    There is so much in this project to love: trains, Raspberry Pi, retrofitting toys with superfluous electronics, and--most of all--that PlayStation Christmas jumper!

     

    Also, remember the mantra: "It's okay; it's only a prototype." Yes, there's always room for improvement, but you gotta start somewhere and this was most excellent!

     

    Tally-ho, dude!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 4 years ago in reply to a531016

    A note on sockets. I just ordered some PCB motor controller boards. My first choice was sold out so I had to look at an alternate. I couldn't figure out for the life of me, why I hadn't gone with this board. It was cheaper and more compact. When I received the order I discovered why. The board chip was not in a socket! It was SMD. I try and not use these boards when I am prototyping just in case I have to replace the IC.

     

    I enjoyed the project. It is something I would think of myself.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • a531016
    a531016 over 4 years ago in reply to colporteur

    That's a very good point about using a socket. For some reason - at no point did it ocur to me as an option. You're quite right though, I had the clearance, so should have used one.

     

    At the end, I had the "motor test script" running. I was also using a shortened track that didn't have the magnet on it (the whole track doesn't fit on the table). That's just the nature of trying to record video with unpredicatable sound and motion happening, it's even worse at betraing continuity, showing where I make misakes and need to cut the video together.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 4 years ago

    Great project, I enjoyed the video.

     

    I would go with a socket for the IC install. Less risk of smoking something on the chip during installation.

     

    When the train ran at the end of the video I didn't hear or see your sequence. I was expecting some sound and the train to stop for the 20sec and then resume. Did it do that and I just miss it.

     

    I confess I was multitasking at some points.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • a531016
    a531016 over 4 years ago in reply to DAB

    Thanks DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • a531016
    a531016 over 4 years ago in reply to ralphjy

    Good question, I'd not thought of that. I am quite interested to get hold of a "digital" Scalectrix set, and see how they work too (both cars can race indipendently on the same track).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • a531016
    a531016 over 4 years ago in reply to kmikemoo

    There is definately scope for a much smaller controller, I'm just way more comfortable with Pi. I think a soft start with a delay is easily the best addition behind volume control!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Great project to put new life into an old train.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 4 years ago

    Very nice upgrade image.  I had an HO set when I was a kid.  Your video got me wondering if those sets have now been upgraded with electronics.  A quick look at the Lionel store shows some basic features controlled by either by a dedicated Bluetooth remote or Bluetooth app.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube