TM1637 LED Display Interfaced Using STM32 Microcontroller

  Рет қаралды 10,801

Useful Electronics

Useful Electronics

Күн бұрын

In this Tutorial, TM1637 LED driver is interfaced using STM32 microcontroller. The steps of building the interface from scratch and the used hardware are explained in details.
All codes and documents are shared in the link below.github.com/Use...

Пікірлер: 40
@marcingoab9144
@marcingoab9144 2 жыл бұрын
Too many people downloaded some library instead of watching this. I decided to use this video as a basis to create my own first driver for STM8. I even gave a table of truth to fill up to my wife as a puzzle and she had a bit of fun. Many thanks for the video.
@joelstyer5792
@joelstyer5792 Жыл бұрын
Nicely done. I watch a lot of electronics video just for fun to see how other people handle things and this has been the only one on the TM1637 that makes sense and is a logical approach to STM32 interfacing. I haven't sued the TM1637 yet but plan to just play with it sometime. I generally do my own display boards with HC595 or LV595 chips. Everything you explained is very close to how I would have approached driving the chip. And the explanation was clear and concise without being boring. I am impressed.
@usefulelectronics
@usefulelectronics Жыл бұрын
Thank you for the awesome feedback. I am happy that you find my content useful
@freedomwatcherKV
@freedomwatcherKV 6 ай бұрын
thanks for library man!
@JSC-4
@JSC-4 3 жыл бұрын
This went over my head, need to watch it a few times over, but great work!
@TuncayKandemir
@TuncayKandemir Жыл бұрын
very nice presentation, thank you. 👍👍👍
@tritranminh2808
@tritranminh2808 2 жыл бұрын
Thank you so much. It is really helpful.
@usefulelectronics
@usefulelectronics 2 жыл бұрын
Thank you!!
@shamelyazaw
@shamelyazaw 3 жыл бұрын
Thanks for the tutorial, well explained!
@usefulelectronics
@usefulelectronics 3 жыл бұрын
Thank you Shamel for the support !
@wnn8360
@wnn8360 3 жыл бұрын
3:55 LOL just loved the way of how u make something serious into something fun and lovely to watch 😸 Well done i have really enjoied watching this explanations 👏 I have also noticed that, this channel is so underrated for efforts that are putted on one single video. You deserve really more attentions. KEEP UP THE HARD WORK ✊
@usefulelectronics
@usefulelectronics 3 жыл бұрын
Thank you for you awesome feedback. What I want from this channel is to let people learn something useful. Comments like yours motivates me to continue.
@wnn8360
@wnn8360 3 жыл бұрын
@@usefulelectronics You are welcome 😽 Keep it up 🤙
@KosonTrachu
@KosonTrachu 3 жыл бұрын
Awesome tutorial, thank you.
@mertcelik539
@mertcelik539 3 жыл бұрын
awsome tutorial thanks.
@mertcelik9614
@mertcelik9614 3 жыл бұрын
it was useful for me. Thank you
@jony1305
@jony1305 10 ай бұрын
If you still remember that, can you explain why you check the ACK signal only after the 9th clock cycle, and not as recommended by the TM1637 datasheet after the 8th clock cycle? Is the DIO kept LOW by a TM1637 longer than stated in a datasheet (until the EndPacket) ? But nevertheless great job. Keep up the good work.
@mertcelik4307
@mertcelik4307 3 жыл бұрын
Thanks it's great
@MegaCrossfire007
@MegaCrossfire007 Жыл бұрын
Nice Job on this Video and your Library.
@sujalnayak6214
@sujalnayak6214 Жыл бұрын
Can you make a video on tm1629a driver please?
@Graham1904
@Graham1904 3 жыл бұрын
Enabling I2C in the communications module automatically sets the SDA and SCL pins but, more importantly, sets up the I2C module in the main.c
@usefulelectronics
@usefulelectronics 3 жыл бұрын
The communication protocol is not I2C since TM1637 doesn’t have slave address. The second thing is that the data transmission starts from LSB
@bahadrguven6268
@bahadrguven6268 3 жыл бұрын
why did you choose i2c in cubemx. You don't use i2c. Am i wrong?
@usefulelectronics
@usefulelectronics 3 жыл бұрын
I2C was not activated at all. SDO and SDI were the names of the used GPIOs for the display interface
@bahadrguven6268
@bahadrguven6268 3 жыл бұрын
@@usefulelectronics thanks a lot.
@TheDambo1
@TheDambo1 3 жыл бұрын
but on github there is no "library" - this is a complete example with cubeMX project - can you separate just TM1637 code in form of library and put this into another repository? And maybe link to example repository as submodule or just just separate library and example code to easier reuse this with just git pull?
@usefulelectronics
@usefulelectronics 3 жыл бұрын
Hi thank you for your feedback. Yes you are right. I will create a new repo to include TM1637 library.
@bahadrguven6268
@bahadrguven6268 3 жыл бұрын
Why are you checking the address in the command function?
@blahman442
@blahman442 3 жыл бұрын
Does it work for tm1640 (28 pin)as well ? What would be the changes ? Reading the datasheet.
@blahman442
@blahman442 3 жыл бұрын
It does not work properly. I changed C0 to 00 as per the datasheet. Yet, I see no result.
@usefulelectronics
@usefulelectronics 2 жыл бұрын
Hi Both ICs have the same working principle so the protocol is the same . The first thing that comes to my mind is to change the number of clocks peer packet.
@aonguyen50
@aonguyen50 3 жыл бұрын
Guy please, i want to affect to the registers of stm32 and dont use hall library, what should i do and. Ưhere i can find the project, thank you so much
@usefulelectronics
@usefulelectronics 3 жыл бұрын
Hi, You can use low level API instead of HAL library. Have a look at this. www.st.com/content/st_com/en/about/media-center/press-item.html/n3949.html
@sunofabeach9424
@sunofabeach9424 11 ай бұрын
> stm32 project > look inside > HAL
@GreenTech_SmartHome
@GreenTech_SmartHome 2 жыл бұрын
there is not complete example in your code. can you show some number on displays? and you point in this video to a function named tm1637_shift. there is not in TM1637.c
@usefulelectronics
@usefulelectronics 2 жыл бұрын
Hi, Apparently, the repository doesn’t have the last modifications I had done when uploading this tutorial. I will commit and push the last version of the code once I reach my old PC. tm1637_DisplayHandle function can print characters on the display depending on buffer data passed to it.
@GreenTech_SmartHome
@GreenTech_SmartHome 2 жыл бұрын
@@usefulelectronics thanks, how can i select each display and show a numbr on it? how can i flash dots?
@usefulelectronics
@usefulelectronics 2 жыл бұрын
@@GreenTech_SmartHome Remember the buffer I told you about, well this buffer can contain up to 4 characters an these characters will be mapped to your display depending on the data order stored in the buffer. I advise you to get your hands dirty with the library and get yourself familiar with the hardware.
@GreenTech_SmartHome
@GreenTech_SmartHome 2 жыл бұрын
@@usefulelectronics i wrote hell on displays when you told the function. i thought there is a way to select each displays and write number on it. as you are telling, i should write on all of them instantly. ok. how can i turn on tow dots? i want to show clock on it. so i have calculate time and there is parameters. now i want to show these parameters on it.
RGB LED Array Control Using STM32 Multiple ADC Channels With DMA
7:56
Useful Electronics
Рет қаралды 2,3 М.
STM32 MCUs Communicating Using RYLR998 LoRa Module
21:01
Useful Electronics
Рет қаралды 7 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 49 МЛН
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 975 М.
LED Displays with Arduino - 7-Segment & Dot-Matrix
44:43
DroneBot Workshop
Рет қаралды 208 М.
All About TM1637
8:58
Crazy Couple DIY
Рет қаралды 24 М.
Interface ST7920 GLCD with STM32 || Serial Mode || F103 || CubeMX || HAL
18:04
Create your own LARGE 7-segment LED display!
41:08
Playful Technology
Рет қаралды 60 М.
#1099 How I learned electronics
19:55
IMSAI Guy
Рет қаралды 1,3 МЛН
SM32 DC Motor Speed Control Using ULN2003 IC
9:16
Useful Electronics
Рет қаралды 5 М.
Can ChatGPT program a STM32?
9:53
Hanqaqa
Рет қаралды 34 М.
STM32 LoRa Module Long Range Test
12:22
Useful Electronics
Рет қаралды 12 М.
How to use 4-digit LED TM1637 display with Arduino
9:13
Mario's Ideas
Рет қаралды 45 М.