KanoComputing / community-sdk

Scripts, tools and libraries to help you to interact with your Kano Devices in your favourite programming language.
MIT License
31 stars 10 forks source link

Python - Export to Pixel Kit #17

Closed bi3mer closed 2 years ago

bi3mer commented 5 years ago

Is there anyway to export our Python code to the Pixel Kit instead of having to run it from our computer every time? If this is not possible with Python, can this be accomplished with the Javascript version? I saw #13 but didn't find it super clear.

Thanks in advance.

dcasati commented 4 years ago

same question here. is this possible at all ? @murilopolese

murilopolese commented 4 years ago

Hello there!! :B

Short answer: No.

With the official Kano firmware you’ll always be streaming data from your computer to the PixelKit (ridiculous, I know). You can “save animations” but you will be better off with the Kano App https://kano.me/us/landing/app for that.

Long answer: Yes. Replace the Kano Firmware with either MicroPython https://micropython.org/download/esp32/ or Espruino https://www.espruino.com/Download firmwares and you’ll have either python or javascript running on your PixelKit. This is probably the best thing you can do. (I recommend MicroPython)

The PixelKit is an ESP32 board and the “neopixel” array is hooked on pin 4. This should be all the info you need to hack your way!

If you are completely lost, I recommend my other attempt to give PixelKit some life beyond Kano App with Pixel32 firmware https://murilopolese.github.io/kano-pixel-kit-pixel32-docs/. There is an Instructable https://www.instructables.com/id/Flashing-MicroPython-on-Kano-Pixel-Kit/ on how to replace and recover the firmware and a few simple tutorials https://murilopolese.github.io/kano-pixel-kit-pixel32-docs/tutorials.

On Mon, 28 Sep 2020 at 22:10, Diego Casati notifications@github.com wrote:

same question here. is this possible at all ? @murilopolese https://github.com/murilopolese

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KanoComputing/community-sdk/issues/17#issuecomment-700282961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJBYU2TBMER2MR3EXNJYTSID3TXANCNFSM4HPRUCBA .