Jump to content

Lok24

Eurobricks Counts
  • Posts

    1,240
  • Joined

  • Last visited

Everything posted by Lok24

  1. You need something to encode and decode the signals. DCC with arduino or ESP is availabe, both for encoding and decoding. Sure it is, as the right track meets the left track at some point(s). But you only separate the tracks at that point and then use some electronic to switch polarity within the backloop. Some boosters include that feature already. DCC can via the tracks locate the specific loco (RailCom) or the presence of any loco within a segment. So automation is only a matter of software.
  2. If you want control switches you energy, so you have to connect each switch with some kind if power supply. And DCC is just the idea of bringing information and power to the same two wires, requiring no special topology like bus or star. And you need a motor shiled for each switch, I fear
  3. And, most important to me, no knowledge about pybricks and how to handle. Agreed!
  4. We discussed that since a long time .... my program "AutoBox" which is already available does the following from the users point of view : -start the hub - connect remote - adjust speed of motors as desired - store value in the name of the remote - turn off hub and remote - start the hub again - connect remote - start motors with the stored speed Having the value(s) in the hub itself user could just start hub (without remote), and windmill or carousel would always start slow without damage. It's a very common use! A simple adjustable battery box. Or just add 1-x very different programs into the hub, select one of them via remote. So one could contribute flashed hubs for different use cases. i.e for all of the seven sets with C+ ? Please note that the number of users might be much greater than programmers....
  5. @David Lechner thanks, As I already mentioned I want wo store user-defines values in the name. That works fine with the remote, I use this feature already to set the motor speed to a predefined value when connected. Will this feature be implemented in the future or never? That would be important for me to know, cause two other projects would not work without that. Thanks for your efforts.
  6. This discussion has absolutely nothing to do with the topic "LEGO Trains 2022" Could that please be seperated into a special thread?
  7. Hi @David Lechner and Pybricks-Team, is there any (good) news about setting the name of the (city) hub within Pybricks code? With the remote it works fine! Thanks in advance!
  8. Thanks for explanation. But for stopping a train if there is another train in front you only need to control the second train itself, no need to send command to the leading train? I cannot imagine any scenario why trains should interact with each other.
  9. Hi, that's completety different, @Sano23 wants to add an ESP32 to each train to add sensors. Each train should be autonomous. (Whay should they communicate then?) @Kalindor71 uses 1 ESP to control up to 9 trains, this is what I showed here already. So @Sano23 could you please describe the desired architecure including all(!) HW-components? Interesting question!
  10. Hi, I think it has nothing to do with legoino. Have a look at ESP-NOW, but it's WiFi
  11. Hi all, please note: V 2.5 cannot be compiled any more, Use 2.6. instead (which does exactly the same) or change line 251 in line 2.5 to speed_limit, acceleration_limit, torque_limit = Motor(port).control.limits()
  12. Thanks! I thougt that there is an idea (circuit etc) to use the interface of the Spike prime distance sensor? What I'm looking for is a simple switch. What might happen if I disconnect ID1 or ID2 of any sensor (after it has once been connected to the hub)?
  13. Hi all, perhaps I missed any article here? Did anyone build his own sensor or modify an existing sensor? And how?
  14. Ah, good hint! So there is hope. But I don't expect something really new.
  15. which category would you expect? the "City" sets are all kown already, no train at all....
  16. Hi, yes I'm not working with ESP any more, cause interest in programming some "libs" was zero, and this issue was not successful: https://github.com/corneliusmunz/legoino/issues/38 I have a bunch of "useful" routines for that all, including webserver, read/write parameters and so on. As I saw you opend an issue, lets see what happens.
  17. Add two XL Motors with load to one port, that shoul stop on V1
  18. Sure. Speed is held global in v, look at line 200 function "drive", this is where motors are controlled Just add some if (v> 6) : remote.light.on(....)
  19. You can set this in lines 50/51 LED_A = Color.GREEN*0.3 # Remote Profil_A, color * brightness LED_B = Color.RED*0.5 # Remote Profil_B, color * brightness
  20. Really good work, thanks for sharing.
  21. This can be done via the "-" button, "Stop" is for emergency case.
  22. A brief discription or the topic of the video would be useful, THX
  23. Yes, there are lots a of possiblities. For DCC the most used alternative is WLAN. And many systems uses same kind of booster to genrate the signal, but controlling is via smartdevice. But for the LEGO trains it is very expensive.
  24. I see, otherway round. Good advise.
×
×
  • Create New...