[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1461063 [View]
File: 2.01 MB, 400x300, trafficlight.webm [View same] [iqdb] [saucenao] [google]
1461063

Here is a little silly traffic light controller I put together to learn some basics on STM8 microcontroller programming. The sequence begins with the press of a button.
The switch is de-bounced with an RC filter and a CD4049 NAND gate with schmitt-trigger inputs. The lights are controlled by 74HC164 shift register and CD40175 (quad)/74HC74 (dual) D-flip-flops.

Navigation
View posts[+24][+48][+96]