top of page

Forum Posts

Ivan B
Mar 20, 2021
In SW and Settings
Hi Angelo, Really love your project! Appreciate all the work you put into it. I would like to add in a second MCP3008 ADC in a configuration such as outlined here. I can't seem to see a setting for multiple devices on SPI in the hardware table. Having a look at the code around line 961 in HWcontrol.py, I guess its not implemented yet? From some quick googling, I believe all that this is something that can easily be added by doing something like: spi2 = spidev.SpiDev() spi2.open(0, 1) # chip enabling using spi0_ce1 spi2.max_speed_hz=spi_speed ... etc. for the second SPI device (but don't quote me on that as I don't really have any experience interfacing with SPI) Is this something that is on the plan to be implemented? Would be really great to be able to add more soil moisture sensors into my system. Thanks again for making this project 🌱 Ivan
0
4
118

Ivan B

More actions
bottom of page