Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 2.15 KB

README.md

File metadata and controls

32 lines (23 loc) · 2.15 KB

Working with FreeRtos and board ESP32

FreeRTOS is a real-time operating system kernel for embedded devices that has been ported to 35 microcontroller platforms. For more details Wiki

Implementation of CLI for ESP32 board. To use CLI connect to the UART2 `screen /dev/cu.cu.SLAB_USBtoUART`

Description:

t00 - oled display brightness is getting changed depending on the state of photoresistor. More light on photoresistor - less bright oled display and vice versa.

ezgif com-gif-maker (1)

t01 - simple CLI, which supports commands for led manipulation.
t02 - tehu command added to CLI. tehu - prints dht11 temperature/humidity sensor log. dht11 sensor is getting monitored every 5 seconds. Last 60 values are stored in RAM.
t03 - time(prints current time) command added to CLI. Implemented digital clock. When user turns on board, he/she should set current time with help of time set hh mm ss. Current time is also displayed on OLED display.
t04 - sound [on/off] command added. sound on - makes sound(noise:D) with help of DAC. Sound data is transmitted to DAC in DMA mode by I2S
creative - temperature, humidity and time are displayed on oled. CLI supports the following commands:

  • help
  • tehu - temperature and humidity log.
  • sound on/off - enables/disables sound(noise).
  • time set/alarm - setting time/alarm.
  • led on/off/pulse - turning on/off led; make led(s) pulsing.

Overview

ezgif-3-3998ca78c802

All tasks are made for esp32 on ESP-IDF framework. For more datails: https://docs.espressif.com/projects/esp-idf/en/stable/index.html