-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new hardware approach #2
Comments
Wiring the thermocouple. More here: https://community.particle.io/t/max31856-example-for-particle/38385/4 and here: https://learn.adafruit.com/adafruit-max31856-thermocouple-amplifier/wiring-and-test |
For ambient sensor, library is here: https://github.com/adafruit/DHT-sensor-library Example code is here: https://github.com/jogleasonjr/particle-dht22/blob/master/particle-dht22.ino |
Here is an example of using that display - http://hamradiodesigns.com/index.php/hardware/150-w-dummy-load/ Code is available at the bottom of here - http://hamradiodesigns.com/index.php/content/ That code is using I2C on Arduino pins A4 and A5, per https://www.arduino.cc/en/reference/wire . On particle, this example uses D0 and D1. See OLED https://docs.particle.io/support/particle-devices-faq/i2c-faq/ Code for that example is at https://build.particle.io/shared_apps/5a1d9e5310c40e5c02001232 . It uses the |
This configuration uses a lot of pins because every external device is using a different protocol. SPI devices are available for all items. Nice overview of SPI here - https://www.analog.com/en/analog-dialogue/articles/introduction-to-spi-interface.html Devices each need their own CS pin, but share the other 3. Particle has built in spi support - https://docs.particle.io/reference/device-os/firmware/photon/#spi More here on using multiple SPI devices with particle - https://community.particle.io/t/spi-ss-and-more-than-1-spi-peripheral/14791/13 Here is an example of using native particle SPI support for the thermocouple board - https://community.particle.io/t/max31856-example-for-particle/38385 |
SPI pin mapping/ names: SCLK : SCK, CLK. from https://forum.pjrc.com/threads/24993-SPI-Data-in-out-naming-clarity |
SPI use of LCD backpack - https://learn.adafruit.com/i2c-spi-lcd-backpack/arduino-spi-use Looks like the library is not compatible with hardware SPI: "This library does not use the Hardware SPI library, which means you can use any 3 pins! However, if you are using the hardware SPI port (such as for Ethernet, WiFi, an LCD, etc. etc) you cannot share those pins with this LCD!" |
Display is not working. Was completely garbled. Adding reset wire led to top half working, but lower half is still garbled. This may be relevant: |
One wire temp sensors not reliable enough. Also clear that need battery and cell service.
Got the following:
Thermocouple
Ambient
Display
Particle
The text was updated successfully, but these errors were encountered: