Friday 15 November 2019

Microbit Express 3.5(Controlling multiple trains)



A few weeks ago The Micro:bit Express got an upgrade with a new motor controller from 4tronix Read more here(link). Two weeks down the line I bought another one as I was so impressed with it. Now I have updated the code for the remote control to use the pins to allow independently remote control two separate Lego Trains. You can see a brief but shaky demo of this working below:


Again I have used MakeCode editor link

Below are the hex files for the two trains and the remote control.

Train 2 code link
Train 1 code link 
Remote controller link

You will need:

  •  Three Micro:bits
  • Two Lego Trains 
  • Two 4tronix motor controllers 
  • 2 6 volt battery packs to power the motor controller and the Micro:bits.

Basic info added(more detail to come)

Cya 

Chris


No comments:

Post a Comment