How many SPI devices can I use on a LoPy?
-
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?
-
@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.
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