Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 768 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 768 Bytes

blackboard-STC15

A firmware for STC15L2K32S microcontroller on Black Board T5 ESP-13

Use SDCC to compile

Use STC MCU ISP flash tool to programm

Install both sdcc and stcgal per instructions (or use distribution packages for sdcc)

make make install # will download to the MCU

What it supports for now:

  • STC15 UART (baudrate: 115200)
  • Reading on-board DHT11 values
  • One-wire communications (DS18B20 temp sensor) via P1.5 (pin 4 of 5-pin header)
  • I2C communications via pins 2 and 3 (SDA/SCL) of 5-pin header (tested with BH1750 light sensor)
  • Using PWM to flash on-board RGB LEDs
  • On-board beeper
  • On-board relay

TODO

  • 2nd UART to interface ESP chip