Notifications
Clear all

GPIO how to article  

  RSS
Jakub Dolezal
(@jakub-dolezal)
Member Admin
GPIO how to article

Hi,

We've created an article about the GPIO board, complete with examples. We'll be adding more examples to the article in the future.

If you have any questions, feel free to ask them here or in the comments section of the article.

Link to the article

We look forward to seeing your GPIO-based projects!

Happy printing and hacking!

 

Assembly manuals

/ Knowledge Base
The guy behind Prusa assembly manuals...

Posted : 11/09/2024 11:16 am
Fil4ment
(@fil4ment)
Trusted Member
RE:

In the article, it doesn't mention M260 or M261 (despite being in the screencaps), but those are both now supported in the firmware, thanks to rbuehlma's github contributions. Does the GPIO board not support those commands? Is it possible to use a separate microcontroller, configured as i2c slave, to receive those commands?

This post was modified 2 months ago by Fil4ment
Posted : 19/09/2024 2:03 pm
Martin Jeník
(@martin-jenik)
Member
RE:

Hi,

After the initial feedback and subsequent internal discussion, we have decided not to directly mention the M260 gcode in the article, although it is still supported by both the firmware and the board. Instead, we prefer to use a more straightforward setup for individual pins using the M264 gcode.

The M261 gcode is described in the article.

At this moment, I am not aware of the possibility to connect a separate microcontroller as an I2C slave, and I do not recommend it either. However, the GPIO hackerboard supports these M260 and M261 gcode commands.

This post was modified 2 months ago by Martin Jeník
Posted : 24/09/2024 10:50 am
Fil4ment
(@fil4ment)
Trusted Member
RE: GPIO how to article

Thanks for replying! I must have missed the M261. Sorry about that. Can you explain the reasoning for not mentioning/documenting M260? I'm guessing to limit the liability for someone doing something dumb with that command.

Posted : 24/09/2024 10:38 pm
jurassic73
(@jurassic73)
Estimable Member
RE: GPIO how to article

Thanks for this! Ordered my board and now I have to wait for it to show up... 🙂

Could you perhaps add an example of how to wire a button to input on the hacker board to control an output pin? Is this possible? Would like to do this to control some enclosure lights/fans via button.

Posted by: @jakub-dolezal

Hi,

We've created an article about the GPIO board, complete with examples. We'll be adding more examples to the article in the future.

If you have any questions, feel free to ask them here or in the comments section of the article.

Link to the article

We look forward to seeing your GPIO-based projects!

Happy printing and hacking!

 

 

MK3s / My IKEA Lack enclosure

Posted : 01/10/2024 2:58 pm
Share: