home.social

#pythononhardware — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pythononhardware, aggregated by home.social.

fetched live
  1. Today's adventure in getting data from here to there...

    Two @pimoroni pico lipo 2XL W boards (@Raspberrypi RP2350B) with interconnected UARTs: 2 busio UARTs and 6 PIO UARTs each. @circuitpython asyncio code writing and reading each UART on each board:
    gist.github.com/anecdata/d65c5040bee6d4d99c666c8d1a0e9ad3

  2. Today's adventure in getting data from here to there...

    Two @pimoroni pico lipo 2XL W boards (@Raspberrypi RP2350B) with interconnected UARTs: 2 busio UARTs and 6 PIO UARTs each. @circuitpython asyncio code writing and reading each UART on each board:
    gist.github.com/anecdata/d65c5040bee6d4d99c666c8d1a0e9ad3
    #circuitpython #microcontrollers #PythonOnHardware

  3. The Pimoroni Pico Plus 2W (left) is the main microcontroller in this config, but it is getting power from the WIZnet W5500-EVB-Pico2 (right) via its WIZPoE-P1 module. The two Pico boards are attached via an @adafruit "Proto Doubler PiCowbell".

    The W5500-EVB-Pico2 can run it's own code independently, even talk to the Pico Plus 2W or other external devices (except for the pins needed for Ethernet).

  4. The Pimoroni Pico Plus 2W (left) is the main microcontroller in this config, but it is getting power from the WIZnet W5500-EVB-Pico2 (right) via its WIZPoE-P1 module. The two Pico boards are attached via an @adafruit "Proto Doubler PiCowbell".

    The W5500-EVB-Pico2 can run it's own code independently, even talk to the Pico Plus 2W or other external devices (except for the pins needed for Ethernet).

    #circuitpython #microcontrollers #networking #PythonOnHardware

  5. How to turn a $13 WIZnet W5500-EVB-Pico2 into a $5 Ethernet HAT.

    @circuitpython can use both native wifi and Ethernet with this config, power and data with only an Ethernet cable (plus data over wifi).

    The W5500-EVB-Pico2 is essentially just being used as an SPI Ethernet peripheral to the Pico Plus 2W (and to power the Pico Plus 2W).

  6. How to turn a $13 WIZnet W5500-EVB-Pico2 into a $5 Ethernet HAT.

    @circuitpython can use both native wifi and Ethernet with this config, power and data with only an Ethernet cable (plus data over wifi).

    The W5500-EVB-Pico2 is essentially just being used as an SPI Ethernet peripheral to the Pico Plus 2W (and to power the Pico Plus 2W).

    #circuitpython #microcontrollers #networking #PythonOnHardware

  7. Combine to make an Ethernet + Wi-Fi microcontroller config, optimizing for: performance, flash, RAM, u.FL, PoE, small size, and low cost. Not necessarily in that order. ;-)

  8. Combine to make an Ethernet + Wi-Fi microcontroller config, optimizing for: performance, flash, RAM, u.FL, PoE, small size, and low cost. Not necessarily in that order. ;-)

    #circuitpython #microcontrollers #networking #PythonOnHardware

  9. On the road with just a phone and a @circuitpython device?

    You can use your phone as a hotspot, auto-connect to it from the CircuitPython device, and use Web Workflow to access files and the serial console. Just a little pre-planning: edit the settings.toml file with the hotspot credentials.

    gist.github.com/anecdata/bddc2

  10. On the road with just a phone and a @circuitpython device?

    You can use your phone as a hotspot, auto-connect to it from the CircuitPython device, and use Web Workflow to access files and the serial console. Just a little pre-planning: edit the settings.toml file with the hotspot credentials.

    gist.github.com/anecdata/bddc2
    #circuitpython #microcontrollers #networking #PythonOnHardware

  11. In another episode of
    "It's not April Fool's Day, but..."

    Introducing: SSIDNet™️

    #1 ESP32-S3 (@adafruit QT Py) using @circuitpython, creates series of Wi-Fi Access Points with SSIDs that are obfuscated partial messages

    #2 ESP32-S3 receives SSIDs w/ wifi Monitor mode, recomposes messages

    Simple protocol assumptions: messages and fragments are sent in order, SSIDs have a 4-byte header, a 4-byte CRC is appended to the last fragment

  12. In another episode of
    "It's not April Fool's Day, but..."

    Introducing: SSIDNet™️

    #1 ESP32-S3 (@adafruit QT Py) using @circuitpython, creates series of Wi-Fi Access Points with SSIDs that are obfuscated partial messages

    #2 ESP32-S3 receives SSIDs w/ #CircuitPython wifi Monitor mode, recomposes messages

    Simple protocol assumptions: messages and fragments are sent in order, SSIDs have a 4-byte header, a 4-byte CRC is appended to the last fragment

    #microcontrollers #networking #PythonOnHardware

  13. Mis-using CAN Bus to send random-length strings of Emoji from an @adafruit QT Py ESP32-S3 with CAN Bus transceiver to an Adafruit Feather RP2040 with CAN Bus FeatherWing, using @circuitpython 8 (baudrate=500_000, 6 bytes per CAN message)

  14. Mis-using CAN Bus to send random-length strings of Emoji from an @adafruit QT Py ESP32-S3 with CAN Bus transceiver to an Adafruit Feather RP2040 with CAN Bus FeatherWing, using @circuitpython 8 (baudrate=500_000, 6 bytes per CAN message)

    #microcontrollers #networking #PythonOnHardware #circuitpython

  15. V2 Axolotl tank monitor powered by the #Pimoroni Badger W and #MicroPython is up and running! Now publishing it’s status to #HomeAssistant via #MQTT (#PythonOnHardware #RaspberryPi ). I still have some tweaking of the visuals and code effficiencies to make but it’s working as intended! Looking forward to using this to drive some automations (primarily controlling the chiller during the summer months!)

  16. V2 Axolotl tank monitor powered by the #Pimoroni Badger W and #MicroPython is up and running! Now publishing it’s status to #HomeAssistant via #MQTT (#PythonOnHardware #RaspberryPi ). I still have some tweaking of the visuals and code effficiencies to make but it’s working as intended! Looking forward to using this to drive some automations (primarily controlling the chiller during the summer months!)

  17. The CircuitPythonukiah I sent my parents looks so good in their house! They were able to connect it to Wi-Fi and everything! github.com/tekktrik/CircuitPyt

  18. Hey there, ! Quick question: with an PyBadge I can get the board down to ~4ma in deepsleep with ... is that typical? Or can it get down any lower?

  19. Hey there, #MastoMakers! Quick question: with an #adafruit PyBadge I can get the board down to ~4ma in deepsleep with #circuitpython ... is that typical? Or can it get down any lower?

    #PythonOnHardware