ATtiny13 – reading temperature and humidity from DHT11

This article shows how to make ATtiny13 to read temperature and humidity from DHT11 sensor and log this information using a Software UART. What you need is connect DHT11 DATA-pin to PB0 and RX-pin of USB to serial adapter to PB3 of ATtiny13. You also need to connect sensor to power supply (3.3V or 5V). Well, with a little code … Read more

ATtiny13 – clap clap switch

This project shows how turn ATtiny13 with sound detector module into smart Clap Clap Switch. The project has been designed to react on only double claps (clap clap – ON, clap clap – OFF). So, how it works? There is one pin for a MIC (digital output from sound detector module) and one pin for a … Read more

ATtiny13 – temperature logger using LM35 and Software UART

This project is about a simple temperature logging system using ATtiny13 and the Software UART. The system reads the temperature every second and shows it on the serial console (baudrate 19200, settings 8N1). The temperature is shown in °Celsius. LM35 has been used as the temperature sensor. Complete example code is on GitHub. LM35 Temperature Sensor … Read more

ATtiny13 – IR receiver / NEC proto analyzer

In this example we will make a project that uses standard IR remote control from your TV, audio system or other using NEC signal format, to receive and recognize address/command with AVR ATtiny13. Thanks to Software UART we will print received NEC address/command via serial console. Project has been tested with ATtiny13a @9.6 MHz, VCC=5V … Read more

ATtiny13 – IR remote to control LEDs (NEC proto)

This project allows control turn ON/OFF LEDs with IR remote control from your TV. The big part of the code shows how to decode a command and address of NEC protocol from IR signals using a cheap IR receiver. It’s worth to note that the algorithm which is responsible for decoding IR signals is nonblocking … Read more