Search found 2 matches

by fullstackfool
Sun Mar 25, 2018 10:03 pm
Forum: ESP-IDF
Topic: 38kHz carrier signal - Sparkfun ESP32 Thing
Replies: 1
Views: 3703

38kHz carrier signal - Sparkfun ESP32 Thing

I used the following code to generate a 38kHz signal on a nano: // toggle on compare, clk/1 TCCR2A = _BV(WGM21) | _BV(COM2A0); TCCR2B = _BV(CS20); // 38kHz carrier/timer OCR2A = (F_CPU / (IR_CLOCK_RATE * 2L) - 1); pinMode(pwmPin, OUTPUT); Now I need to do the same on an esp32 and i'm not really sure...
by fullstackfool
Mon Mar 19, 2018 6:54 am
Forum: General Discussion
Topic: How to wire for IrDA ?
Replies: 9
Views: 18758

Re: How to wire for IrDA ?

Hi there,

I'm trying to get exactly this working with the Sparkfun esp32 Thing, but getting nowhere. It's sending the burst out from the IR, but it's junk data - i'm not sure the 38kHz carrier is being added. I know this is a little vague but have you any advice?