Nano Connect thermostat / temperature control

Hi,
Can anyone suggest MicroPython code for thermostatic control using an Arduino Nano RP2040 Connect?

The initial application is On/Off cooling control to drive 3.3v relays of ANC GPIO's. Code for an adjustable deadband of 0.6C or greater would be helpful.

UI at this point can be via Thonny or equivalent. Thoughts and/or code for UI on a phone or laptop would be appreciated.

No modulating / PID control. Heating or heating / cooling control also welcome.

Any thoughts on starting points?

You could ask the moderators to move your post to the RP2040 sub forum. Maybe you have better luck there.

In general, it might be useful to let people know whether you know the basics, have gone trough tutorials and examples and maybe start writing some code and ask people more specific questions. Otherwise you could just buy a product that does what you want.

You could start with a BME280 type breakout board from Adafruit or Sparkfun and play around with the examples to read temperature and maybe humidity.

Write some code and post a schematic of what you’re starting with and people here will probably give you a hand.

This BME280.py module works well:
https://github.com/robert-hh/BME280/blob/master/bme280_float.py

You'll probably need these imports for any code you write:

from machine import I2C
from bme280 import *
from utime import sleep

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.