In continuing with my quest to automate my house, I want to have better temperature control of various rooms. My goal is to create a few digital thermometers connected to the nRF24 radios that I have started working with. I’m using an Adafruit Trinket microcontroller, a DHT11 temperature and humidity sensor, and an nRF24L01+ 2.4GHz radio. I wired together a quick prototype pictured below.
The Trinket has 5 pins:
– D0: SPI Clock to nRF
– D1: SPI Data Write to nRF
– D2: SPI Data Read From nRF
– D3: SPI Chip Select Bar to nRF (CSN)
– D4: Chip Enable to nRF (CE) \ Data Wire to DHT11
Notice how I had to overlap the 5th Trinket pin. The nRF was powered down in software in order to read from the DHT11. I learned several important things about programming with the Trinket. I’ll discuss that next time.