-->
Page 1 of 1

Add a Bluetooth board

PostPosted: Wed Oct 19, 2016 2:12 pm
by SlowBro
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.

Re: Add a Bluetooth board

PostPosted: Thu Oct 20, 2016 8:11 am
by SlowBro
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