antonvh / PUPRemote

Communication protocol over LEGO PoweredUP (PUP) for hubs running Pybricks
GNU General Public License v3.0
5 stars 2 forks source link

please clarify advantage of LMS-ESP32 over pybricks built-in support for xbox controller #21

Open m10d opened 4 months ago

m10d commented 4 months ago

Interested in your ESP device, but wondering what it brings to the solution beyond the direct connection Pybricks can manage on it's own with the xbox controller? Thank you.

antonvh commented 4 months ago

For xbox series x/s the advantage is that the controller remains paired, you don't have to pair everytime you run a program.

For other controllers the advantage is that they work. LMS-ESP32 supports all bluetooth controllers. Pybricks supports only Xbos series x/s.

m10d commented 3 months ago

Thanks for your reply. That makes sense, and it will justify the cost to let me use 8bitdo controllers i already have. Giving up the port is problematic - but i should be able to easily use the technic-compatible servos i have from an rpi project?

I am not finding an up to date answer on pybricks block-program integration. Is it trivial to use one motor/sensor daisy-chained to the LMS from pybricks on a technic hub? Multiple inputs/outputs on one LMS?

Last - i don't see any stl's online for a system or technic compatible case; are you aware of any?

Thanks!

antonvh commented 3 months ago

I'd like to help but:

There is no case, but the board has the exact dimensions and holes of a 5x7 technic frame.

m10d commented 3 months ago

I'd like to help but:

* I don't know what you mean with 'technic-compatible servos i have from an rpi project'

* I don't know what you mean with 'use one motor/sensor daisy-chained to the LMS from pybricks on a technic hub'

There is no case, but the board has the exact dimensions and holes of a 5x7 technic frame.

Sorry for the ambiguity. I was referring to the following:

really appreciate the effort you put in to answer these, thank you!

antonvh commented 3 months ago

Take a good look at this project: it has all the features you are looking for. In short: use pupremote, not uartremote.

https://www.antonsmindstorms.com/2024/04/06/robot-ball-kicker-project-building-a-lego-spike-prime-robot-with-openmv-vision/

antonvh commented 3 months ago

Limitation for multiple motors is current. The hub only supplies 1.2A, enough for max 4 servos.

m10d commented 3 months ago

Limitation for multiple motors is current. The hub only supplies 1.2A, enough for max 4 servos.

In the product page it says "optional buck controller" for powering hobby servos. I have these 4.8-6v servos https://www.aliexpress.us/item/3256803974452036.html similar to the product picture; obviously there is the overall current/power limit from the lego hub as you mention, but what is needed to run these directly from the LMS?

antonvh commented 3 months ago

Nothing extra is needed. The buck is included and you can run 4 of them from the lms.

Op do 13 jun 2024 18:18 schreef rom @.***>:

Limitation for multiple motors is current. The hub only supplies 1.2A, enough for max 4 servos.

In the product page it says "optional buck controller" for powering hobby servos. I have these 4.8-6v servos https://www.aliexpress.us/item/3256803974452036.html similar to the product picture; obviously there is the overall current/power limit from the lego hub as you mention, but what is needed to run these directly from the LMS?

— Reply to this email directly, view it on GitHub https://github.com/antonvh/PUPRemote/issues/21#issuecomment-2166140488, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACW5HARBX74YAIP6HRTQADZHHA5RAVCNFSM6AAAAABI3P32AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRWGE2DANBYHA . You are receiving this because you commented.Message ID: @.***>

m10d commented 3 months ago

Perfect, ordered several!