Aug 2, 2016
4-Digit Seven Segment Display TM1637 (8051)
TM1367 is a LED drive and keyboard scan controller but in this application I use it for driving 4 digits seven segment display. There are 4 wires connecting the display and the mcu:
Display - MCU STM32F103C8T6
GND - GND
VCC - 5V
DIO - Port A1
CLK - Port A0
It communicate with I2C protocol that's why the code has below procedures:
The example code init the mcu, init the TM1367 and then display integer counting from 0-9999 repeatedly. Get the code here.
I made MAX7219 for C51 but now I need it for STM32F103 too. The wiring is simple: MAX7219_CLK hooked up to PORTA0, MAX7219_...
The picture below is a P10 LED module. A module contains 16x32 single color LEDs, could be red, yellow, green, blue, white or purple. The co...
Simply a 0-24 mA signal generator using AT89C2051/4051, PCD8544 monochrome LCD (was used for N5110 phone), DAC7611 (12-bit 1-ch DAC), TL494...