Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    How many SPI devices can I use on a LoPy?

    Scheduled Pinned Locked Moved LoPy
    spimax31855lopy
    2 Posts 2 Posters 1.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sjp770
      last edited by

      I'm looking at using 4x or 5x of these: Thermocouple Amplifier MAX31855 to connect to Type K temp probes. Just wondering if a LoPy would be suitable for the following use case:

      OLED Display with temps shown (button to display and 15 sec timeout to save power)
      MQTT connection over wifi when available
      eventually LoRa once I setup a gateway
      BLE for integration with a smartphone app.

      I saw the LoPy has 2x SPI but as im new to SPI im not sure how it works.. if I use two SPI pins across all boards then a normal digital IO pin per MAX31855 board?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @sjp770
        last edited by

        @sjp770 SPI is a bus system. In a star configuration you can connect several slave devices to one master, as long as the (capacitive) load is not exceeded. But you need a CS for each device. If D/C is needed, you may be able to share it. If devices have active feedback pins like an Alarm pin, that has to be connected too to a separate I/O.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom