Jump to content

Recommended Posts

Posted (edited)

This is right now a hypothetical question, but I'm in process of designing two Powered Up locomotives that I want to run simultaneously.

Loco 1:  white 2ch PuP hub + large PuP motor.

Loco 2: same as above.

Option 1: Most convenient would be to use the specific PuP app Lego designed for the crocodile, but is it possible to use that app for "two crocs" simultaneously?

Option 2 would be to code a custom app ..can someone please share some screenshots of your program, if you have done that?

I'm merely looking for a simple speed control so I'd guess such coding should be easy....

 

Thanks in advance for any suggestions.

 

Edited by Selander
  • Selander changed the title to How do I control two PuP crocodiles simultaneously ?
Posted (edited)
5 hours ago, Selander said:

I'm merely looking for a simple speed control so I'd guess such coding should be easy....

 

You can use the PoweredUp App and  control via screen (sliders) or LEGO remote

http://www.werner-falkenbach.de/bricks/PoweredUp-Sliders.jpg
http://www.werner-falkenbach.de/bricks/PoweredUp-Advanced.jpg
http://www.werner-falkenbach.de/bricks/PoweredUp-Advanced-2.jpg
http://www.werner-falkenbach.de/bricks/PoweredUp-Loop.jpg

Edited by Lok24
Posted
32 minutes ago, Lok24 said:

You can use the PoweredUp App and  control via screen (sliders) or LEGO remote

Thanks @Lok24. So if I understand you correct, I need to write my own custom program ? 

I thought using the Lego PuP remote wasn't possible when using large motors....that it would only be a on/off full throttle ...?(!)

Posted
1 minute ago, Selander said:

Thanks @Lok24. So if I understand you correct, I need to write my own custom program ? 

Yes, I just added some links 

(can't  insert picture-URLs any more ???)

3 minutes ago, Selander said:

I thought using the Lego PuP remote wasn't possible when using large motors....that it would only be a on/off full throttle ...?(!)

Yes if you connect it with the hub.

But you can connect 2 hubs and the remote all three with the app.

Posted

@Lok24. Thanks for the links, I will study them carefully ! 🙌🤗

@Lok24. Is it also possible to just have one slider, but control both hubs simultaneously?

Posted
13 minutes ago, Selander said:

Is it also possible to just have one slider, but control both hubs simultaneously?

Sure, if you look at the "Loop" (which is the program) it uses three values:

Hub (HUB1)
Port (A)
Reference to the slider (1)

You should copy the entire program, then use HUB1 and HUB2, but as the reference to slider-symbol in both blocks reference to the "1"

 

Posted
1 minute ago, Lok24 said:

Sure, if you look at the "Loop" (which is the program) it uses three values:

Hub (HUB1)
Port (A)
Reference to the slider (1)

You should copy the entire program, then use HUB1 and HUB2, but as the reference to slider-symbol in both blocks reference to the "1"

 

Great, thanks a million 👍

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...