Search found 11 matches

by bobslawblog
Tue Jan 25, 2022 3:38 am
Forum: Hardware
Topic: ESP32 NFC OOB Bluetooth pairing
Replies: 1
Views: 3674

Re: ESP32 NFC OOB Bluetooth pairing

For others that may be attempting the same thing. Perhaps including the following TI chip in the design to act as a dynamic NFC tag on one ESP32 device to send a random OOB BLE pairing code https://www.ti.com/lit/wp/sloy004/sloy004.pdf?ts=1643081701546&ref_url=https%253A%252F%252Fwww.google.com%252F...
by bobslawblog
Tue Jan 25, 2022 12:07 am
Forum: Hardware
Topic: ESP32 NFC OOB Bluetooth pairing
Replies: 1
Views: 3674

ESP32 NFC OOB Bluetooth pairing

I would like to add NFC OOB BLE pairing between two custom ESP32 boards. I do appreciate the fact that alternative ways exist to pair BLE but I am attempting to be interoperable with an existing solution that is already using BLE+NFC OOB tap pairing. I believe I can add an RC522 to serve as the NFC ...
by bobslawblog
Thu Jan 13, 2022 3:48 pm
Forum: ESP-IDF
Topic: RMT - carrier_level explained?
Replies: 5
Views: 4507

Re: RMT - carrier_level explained?

Potentially, you could mess with the duty cycle of the carrier signal. Lower duty cycle = lower power = less range. Thanks for your reply. Perhaps you are correct and the Range is duty cycle which I could easily manipulate from the SW interface in 10% increments. This just leaves me trying to deter...
by bobslawblog
Wed Jan 12, 2022 9:12 pm
Forum: ESP-IDF
Topic: RMT - carrier_level explained?
Replies: 5
Views: 4507

Re: RMT - carrier_level explained?

Thanks for the reply.

I was hopeful that I found a setting that would accomplish what I was after. You are correct, it does not do what I thought it did.

If any others have some advice on how to get great control over the emitter power level, I am all ears.

Thanks
by bobslawblog
Wed Jan 12, 2022 4:43 pm
Forum: ESP-IDF
Topic: RMT - carrier_level explained?
Replies: 5
Views: 4507

RMT - carrier_level explained?

I am using the RMT library to send IR signals for the MileTag2 protocol. The MilesTag 2 IR protocol is a series of pulses of this carrier wave beginning with a 2400 microsecond (µS) long pulse. This is followed by a series of pulses either 1200µS or 600µS in length, representing 1 and 0 respectively...
by bobslawblog
Mon Jan 03, 2022 2:35 am
Forum: Hardware
Topic: ESP32 and PAM8945 AMP
Replies: 1
Views: 3106

ESP32 and PAM8945 AMP

I am attempting to use the internal ESP32 DAC for 8bit mono audio output. The PAM8403 seems like overkill (stereo output) and it is much larger than the PAM8945. However, I can't seem to find any schematic examples of a PAM8945 anywhere on the internet other than the datasheet example. https://www.d...
by bobslawblog
Thu Dec 30, 2021 4:52 am
Forum: ESP32 Arduino
Topic: How to get more responsive sound effects???
Replies: 1
Views: 5765

How to get more responsive sound effects???

I am using an ESP32 to build a toy project. The toy has a shooting sound activated by a button/trigger (GPIO input). I am using this library and examples for some test code to see if I can get the performance or responsiveness I am looking for with the sound effects over I2S: https://github.com/schr...
by bobslawblog
Tue Dec 14, 2021 4:10 am
Forum: Hardware
Topic: Design Opinion Req: IR Receiver as an I2C slave
Replies: 2
Views: 3504

Re: Design Opinion Req: IR Receiver as an I2C slave

Awesome, thanks for the reply. Just for clarification, the objective isn't to do a TOA calculation. It is just to determine which quadrant received a properly encoded lens focused IR signal which direction in turn indicates direction. The master just needs to know which sensor was hit by which signa...
by bobslawblog
Mon Dec 13, 2021 1:20 pm
Forum: Hardware
Topic: Design Opinion Req: IR Receiver as an I2C slave
Replies: 2
Views: 3504

Design Opinion Req: IR Receiver as an I2C slave

I am thinking of using some ATTiny84's as I2C slaves for a series of sensor clusters with the ESP32 as the master. Part of those clusters include an IR Rx TSOP. The reason I am thinking of using the ATtiny and I2C is to simplify the cabling between sensors and also make them expandable to allow me t...
by bobslawblog
Mon Dec 13, 2021 12:43 pm
Forum: ESP-IDF
Topic: RMT IR Rx - Processing Ring buffer takes 1000ms each cycle even when empty
Replies: 3
Views: 3638

Re: RMT IR Rx - Processing Ring buffer takes 1000ms each cycle even when empty

Thanks so much for your response. I figured it out "sorta" right after my post. The problem was that my ring buffer size was set to "1000" so every time I saw the parameter value of "1000" in the xRingbufferReceive command I was making a bad assumption that the "1000" parameter was buffer size . In ...