adonno / tagreader

Simple to build/use NFC tag reader, specially created for Home Assistant
https://adonno.com
GNU General Public License v3.0
1.13k stars 175 forks source link

Upgrading to esp32 #217

Open mathgim opened 1 year ago

mathgim commented 1 year ago

Hi! Do you think it is possible to buy a small esp32 and dismount your tagreader to replace the esp8266? My goal is to have a bluetooth proxy but I don't want to manage another device plugged into a power plug socket with a usb adapter. It's too much in my home now! So, I am trying to rethink of all my devices which are the ones that could do two things at once. What do you think?

gmbuell commented 1 year ago

FWIW I just did a build using a Lolin C3 Mini since it shares the same form factor as the D1. Only changes needed to the yaml were specifying the board and the LED pin (since the C3 Mini has a built in LED).

mathgim commented 1 year ago

woow! And it worked? So it does all the tagreader functionalities and besides oh that, you use it as a Bluetooth proxy?

lunarok commented 1 year ago

will be interested by this also

gmbuell commented 1 year ago

I don't personally use the Bluetooth proxy functionality but everything else works. I expect enabling bluetooth proxy would be as simple as adding those lines to the yaml config

mathgim commented 1 year ago

May I know how do you use the Bluetooth then? Out of curiosity as I am always looking for new use cases 😉

gmbuell commented 1 year ago

I don't use bluetooth.

As another note: the buzzer doesn't work right on ESP32-C3 boards on the current release of ESPHome. You need a patch which has been merged upstream but not released yet. You can use it with: external_components:

mathgim commented 1 year ago

Ok thanks. Why then haven't you used a classic D1 mini esp8266? Is there another difference apart from Bluetooth which I don't know?

gmbuell commented 1 year ago

No technical reason. I had some C3-minis laying around.

mathgim commented 1 year ago

Hello @gmbuell, Could you please give me the pinout comparison between the esp8266 D1 mini and the esp32 Cr mini? Not sure how to replace my esp8266 by an esp32. Thank you!!!!!!!

leinich commented 6 months ago

I documented my Pin Layout and adjustments to yaml here: https://github.com/leinich/tagreader @flouck