I will have to relocate my little workshop – to be honest, using the „spare“ room in our apartment probably was not the most promising idea from the beginning on.

The 60 m² basement we have in our nursery would be perfect – if it wasn’t for the high humidity caused by the badly drained foundation. Storing hand tools is not a problem and we have done that for ages, but setting up my loved (…and heavily neglected) milling machine, which mostly is made of aluminum, might be careless.

*/snap, enough introduction.

After reviewing commercially available solutions (which were mostly in the range around 500.00 €), Robin and me decided to come up with something on our own.

Prerequisites were:

  • network connection via ethernet or wlan,
  • Connection of 2 sensors minimum (inside / outside)
  • actuation of 2 fans running at 230 V

Long story short, after half a Sunday of discussion (and breakfast…), we came up with development of a Pi-hat. The RaspberryPi makes the network connection incredibly straight-forward, plus we can run continuously run  R scripts for whatever fancy  statistics or plots  we are craving for. The PCB is currently still in the fab, feel free to get your own, I have made the project files publicly available. Probably wait a few more days, until we have confirmed that everything works as supposed

We decided to design the hat around its own micro controller, mainly because I am more experienced with μCs and C, than I am with RasPi and Python.

  • The hat runs on an ATMEGA238P TQFP@3.3 V / 8 Mhz.
  • Communication with the Pi is possible via Serial Port and I²C
  • Sensors are standalone devices, integrated via RS485 and Modbus RTU
  • The relay is an Omron G6D-1A-ASI with 5 V coil nominal voltage and 1250 VA switching capacity
  • It is triggered with a Panasonic AQY210ST PhotoMOS, interconnecting 5 V

Unfortunately, this is not enough for galvanic isolation, but I will address this issue in a future revision

Kategorien: AllgemeinElectronic

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert