[ 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.1422277 [View]
File: 3 KB, 480x208, ircodes8.png [View same] [iqdb] [saucenao] [google]
1422277

How do I generate a modulated TV remote signal with my attiny85?
It needs to be precisely 38kHz, but only turn on at specific times.
I was thinking about using two timers, one running at 38kHz and other triggering periodically every 600us, so a 1 would be two ON periods of 600us followed by one OFF period of the same time, and a 0 would be one period ON and one period OFF.

Would combining two timers be a sensible idea? Is there a better way to send a 38kHz signal inside a longer one?

Pic related.

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