Jump to content
THIS IS THE TEST SITE OF EUROBRICKS!
THIS IS THE TEST SITE OF EUROBRICKS!

Kalindor71

Eurobricks New Members
  • Joined

  • Last visited

  1. What I have done is the following, use a powered up hub on the train to control it. Use an ESP32 to control the powered up hubs (I think up to 9 hubs can ben controlled like this). Use reed sensor to detect position/speed and connect those to a separate ESP32 to be able to send the input to the controller. Mattzobricks has all the software needed.....
  2. Kalindor71 posted a post in a topic in LEGO Train Tech
    Raspberry has just release information on a hat which has been developed in cooperation with lego. The hat has 4 connectors in the PUP configuration. Furthermore an technic plate will be released by lego on which to mount a raspberry. But the best news to me was in the Build HAT Serial protocol documentation... In appendix B a note is made for Passive ID Codes. ID 11 is supposed to be reserved for a system future actuator (train point). Seems we will be getting automated switch point in the near future again.... Info: Raspberry Pi hat: https://www.raspberrypi.com/news/raspberry-pi-build-hat-lego-education/ Serial Protocol: https://datasheets.raspberrypi.com/build-hat/build-hat-serial-protocol.pdf
  3. Had the same problem, what did it for me was to use another bluetooth device to upload the firmware. First I used a PC with an usb bluetooth dongle, next I used a laptop with embedded bluetooth device. For some reason, not all bluetooth devices (dongles) seem to have the capability to upload the firmware. After this upload, upload of the programs could be achieved with both bluetooth devices (both pc with dongle and the laptop). Hope this helps... Kalin
  4. Is it possible to communicate between two hubs (PU-devices) with pybricks (server-client)? I saw it is possible with two EV3 bricks, but it is unclear to me if this is also possible with two hubs.
  5. Is it possible to control PU hubs from a Prime hub using Python and if so can someone give an example ??
  6. Hi Aplcom, The Bluebricks software is very useful for designing your own layout. Unfortunatly there is no generating module, so you will have to do all designing yourself. Download for both program and duplo tracks can be found at Bluebrick. Kind regards, Kalin
  7. Hi Cosmik42, Is there a way to obtain the source code for this program so I can extend it.
  8. @Mr Hobbles I've downloaded your NodeJS code for controlling the Powered Up hardware. I tested it and it works well. Since I want to achieve something similar to what you did with the Maersk and Horizon Express on your movie, I installed the Boost color sensor and found it doesn't seem to work work for me, it doesn't register all colors. Also it seems to me the light emitted from the sensor is weaker than when it's connected to the Boost set, when connected to the Boost set it does register all colors as was expected. I've replaced the batteries, but to no avail. Can you shed some light (pun intended) on this problem ? I must admit it has been quite a few weeks since I last tested this. [Edit] I forgot to tell, I'm testing in quite low light conditions [/Edit] Furthermore is there a speed to detection ratio I need to consider for color detection ? E.g. 4 studs wide at speed 30 or something similar ? Kind regards, Kalindor
  9. And they are back up again....
Sponsored Links