Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test uploading firmware #153

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Test uploading firmware #153

wants to merge 2 commits into from

Conversation

chrisruk
Copy link
Contributor

No description provided.

@bitvijays
Copy link

Hi @chrisruk,

Hope you are doing well. Thank you for your amazing work on RPI Build HAT. Really much appreciated. I have a query on a different but related topic and I believe you might be the right person to help.

We want to do a project where we want to control Lego Prime Motor using the Opta PLC. As of now, we found out that Lego Kit uses LPF2 connector and Pin 3/4 are GND/Vcc3.3v. Probably to control the motor we need to work with Pin 1/2 as it mentions PWM.

We were looking for BuildHat Firmware as it might help us to understand how does BuildHat controls the motor and we can possibly replicate it using Opta PLC. However, it seems that the repo only contains the firmware.bin but not the low-level code.

Would it be possible for you to guide us in the right direction? Mainly, we want to control Lego motors using Opta and create a small project where we can show cybersecurity issues.

Let me know your thoughts.
Vijay

@dlech
Copy link

dlech commented Jul 30, 2024

FYI, Pybricks firmware is open source. You can find most of the motor control code here: https://github.com/pybricks/pybricks-micropython/tree/master/lib/pbio/src

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants