In this video, I show how to build and program a device that increments a counter each time a vibration switch is triggered. To complete this project, it is helpful, but not necessary, to have some basic understanding of electronics. This video is intended for novice hobbyists, hackers, DIYers, makers, etc.
In this video, I use a few different Arduino IDE sketches to program the STM32. The Arduino IDE sketches are available in my Google Drive:
https://drive.google.com/drive/folder...
Items need for this project:
STM32F103C8T6 Development Board
5611BH Common Anode 7-segment display (2 ea.)
USB to TTL Serial Converter (FT232RL)
Vibration Sensor, Wingoneer SW-420 NC
Buzzer CMI-9653S-SMT-TR
SPDT Slide switch 09.03201.02 (2 ea)
Transistor BC547B (3 ea)
Keystone Electronics Battery holder number 2468
Pelican Case 1010
Breadboard, resistors, LEDs, wire, solder, etc.
If you want to design a printed circuit board (PCB), like the one I used in the video, I suggest using ExpressPCB. You can use my file (LapCounter2.pcb) to order a board with the exact same layout, or you can design your own layout using the ExpressPCB software. You can find my file (LapCounter2.pcb) in my Google Drive.
Table of Contents
0:00 Introduction
1:00 Supplies needed
4:00 Soldering the STM32 header pins
5:05 Connecting the STM32 to the USB to TTL Converter
7:02 Get the Arduino IDE and set it up for the STM32
12:30 Power up the STM32
13:10 Upload Blink program to the STM32
16:30 Connect an external LED o the STM32
22:05 Connect the 7-segment numerical display
27:35 Add the second character to the display
37:25 Add the vibration sensor
44:05 Add the buzzer to the circuit
48:30 Solder components to the PCB
59:50 Conclusion
Watch video Lap Counter with STM32 and two 7-Segment Display Modules online, duration hours minute second in high quality that is uploaded to the channel Nathan Church 21 March 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,518 times and liked it 15 visitors.