Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By SlowBro
#56789 Hey! I'm new to microcontrollers but I have some prior knowledge of electronics.

ESP8266 looks like a great controller but how do I add Bluetooth? Do I just wire an SPP-C or HC-05 to the TX/RX and use a pre-existing Arduino library or is there another recommended method?

I searched the forum and Google for my question but didn't find an answer, unless I just missed it.

Order placed on the boards but they haven't arrived yet. (Slow boat from China.) I'm thinking of using MicroPython but am open to anything else necessary. Goal is to build a Wifi-enabled chicken coop door opener.
User avatar
By SlowBro
#56836 On further thought, I realized these boards have a built-in access point mode so I'm going to use that and serve up a web page for configuration.

As a background, I thought I needed Bluetooth so that a smartphone could connect and program the Wifi password and such; but I'll just have a button that toggles on a programming mode that fires up the AP+STA mode. Then I'll direct the client to find the access point in their phone's list and go to http://192.168.4.1/ . After some time of inactivity I will have the board go back to STA mode on its own.

I still think this question would be good to have answered in the event I or someone else does want to add Bluetooth. Probably the best answer will be, "Buy an ESP32." :D