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

Remote Pins (picod) #67

Open
bsimmo opened this issue Jul 27, 2022 · 2 comments
Open

Remote Pins (picod) #67

bsimmo opened this issue Jul 27, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@bsimmo
Copy link

bsimmo commented Jul 27, 2022

I know it is early in your development, but in a similar way that gpiozero on the Pi can work remotely* with pigpio pin factory, E.g activate a gpio or motor from another Pi or PC.

In future it would be nice to do similar on the PiPico using the picod daemon. https://abyz.me.uk/picod/py_picod.html

@martinohanlon martinohanlon added the enhancement New feature or request label Jul 27, 2022
@martinohanlon
Copy link
Collaborator

I dont see this becoming a priority in the short or medium term. I would also question whether it fits with picozero aims of being lightweight, however time will tell.

I think a minimum pre-requisite for this would be a micropython module which supports remote access (which picozero can build upon rather than implementing it into picozero).

A key technical constraint is that picozero is a micropython module (i.e. its not a Python and wont run on a "computer") and its designed run directly on pico built using functions like timers and interupts which are hardware dependent.

@bsimmo
Copy link
Author

bsimmo commented Dec 21, 2022

Sorry for not getting back.
I think I miss-understood this module back then nor appreciate the limitation of memory (especially with the W variant now.)

It's a shame micropython cannot be run on a 'computer' Pi/Win or otherwise like circuitpython can, but anyway.

I guess what I was thinking is a Python3* version of picozero to run on a Pi/Win via Thonny for example. picod daemon running on a Pico to enable remote gpio access and then just write the program using your simplified picozero api and talk to any number of Pico's connected .
Not something for this version of picozero :-)
As for controlling other pico's gpio from a pico.. via picozero. that may be a bit too much :-)

  • or desktop implementation of micropython when I first wrote the idea.

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

No branches or pull requests

2 participants