Jump to content

mjstephens

Eurobricks New Members
  • Posts

    4
  • Joined

  • Last visited

About mjstephens

Spam Prevention

  • What is favorite LEGO theme? (we need this info to prevent spam)
    Train
  • Which LEGO set did you recently purchase or build?
    60197

Profile Information

  • Gender
    Male

Extra

  • Country
    United Kingdom

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks so much, your idea worked perfectly and I have a far better understanding of the app now. I've attached a screenshot of it's of help to anyone else.
  2. Hello, I'd be grateful for help with Powered Up coding please. I'm using the colour and distance sensor 88007 fitted to the underside of a train. I've tested many different colour tiles using the report function and have settled on a small range of colours that return true readings. Unfortunately I still get false readings from other blank parts of my track, with yellow and blue falsely triggering actions when the tile doesn't exist in that location. I notice that the distance reading does seem reliable so a coloured tile placed on the track shows a 0 distance whereas the sleepers and track bed read 1 and 3/4 respectively. What I'd like to do with the code is have an action triggered only when, for example, the sensor reads a 0 distance AND blue at the same time. The closest I've come to making this work is the ForkJoin flow block but the sensor can read a false colour elsewhere on the track, then detect the correct 0 distance (on a different coloured tile) before it moves to the next block. Ideally the code would only progress once both colour and distance conditions are met simultaneously. If only one condition is met, the code should revert to a state where it looks for a new instance of the condition. I've attached a basic example of my code. Any help would be greatly appreciated
  3. Many thanks. I've ordered the sensor. Seems like a much simpler solution than I'd anticipated and that I could use different colours for different commands such as reduced speeds for corners. Appreciate the advice
  4. This is my first post so go easy on me! There seems to be some very comprehensive tech for automation but I want to start small, and cheap, before expanding my son's layout. Ultimately what I'd like to achieve in the first instance is a way to stop a train running through buffers. I'm imagining a sensor that detects the passage of a train before the buffer and sends a stop command to the unit. Alternatively, the train itself has a red light sensor that cuts power on approach. I have the 60197 train, lots of cheap Chinese track and the Powered Up controller. What do I need to buy to achieve this basic automation? Thanks in advance
×
×
  • Create New...