Replies: 2 comments
-
There is a copy of the official LEGO docs here: https://philohome.com/pf/LEGO_Power_Functions_RC.pdf And this is the Pybricks class for using it: https://docs.pybricks.com/en/stable/pupdevices/pfmotor.html You can also have full control over the low-level sensor protocol using https://docs.pybricks.com/en/stable/iodevices/pupdevice.html
The protocol is specific to LEGO Power Functions, so I don't think it would work with 3rd-party products. |
Beta Was this translation helpful? Give feedback.
-
|
Lego infrared Remote Control protocol v1.csv Thanks a lot David, I should read it more the docs Based on Philo's document I have also attached an ms excel file (change extension csv by xlsx). Taking in count all variants we might have around 140 commands to manage either individual pins C1, C2 per two ports A and B or just combined for dc motor control. So with an IR receiver listening in 2 channels simultaneously about 280 actions to control up to 4 ports. May in the future shows up a new manufacture of IR receiver with i2c/uart outs to be connected to old units and new powerup range; allowing us to listen to the light instructions and use it like the original purpose of any other aim. Regards |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
In this page https://pybricks.com/learn/getting-started/what-do-you-need/ shows as one of the features of the 88007 >> Act as Power Functions 1.0 remote
How this works?
It is the same than a https://www.lego.com/en-es/product/lego-power-functions-ir-receiver-8884 or EV3 45509 receiver
If true, ...
Do you know the code in Philips Pronto format for available commands?
It would be nice for those that have smart phones with infrared emitters or remotes similar to the Philips Pronto 9600 to control the robot models (well simple things like move-front, stop, turn right, left, move back).
Can you update the help page
https://docs.pybricks.com/en/v3.5.0/pupdevices/colordistancesensor.html
explaining how to listen to external remote and have priority in responding to the controller request.
Or if it works in the other way, emulating an infrared sender https://www.lego.com/es-es/product/lego-power-functions-ir-remote-control-8885 or ev3 45544
It also would be nice, allowing to mix other micro controllers like the Edison v2/v3, into our robot models or just be evil and try to turn the TV off when your sister is seeing her favorite Netflix movie, moving your robot close enough in an undercover mission.
If none are possible, and is an error in the docs, please erase the line.
Regards
Salva
Beta Was this translation helpful? Give feedback.
All reactions