Hi,
I am currently working with the DFrobot Bettle board (no bluetooth)
and I have it connected to the ESP8266 WiFi module. I can upload the
sketch via the Arduino IDE and run it successfully with the USB cable
connected to the PC. I am basically using Serial (Rx and Tx) to send
commands to the ESP8266 within the sketch.
However, when I want to use the setup without the USB cable (i.e. by
just having the two boards connected to an external power supply),
then nothing happens. It seems as if the Beetle board is just sitting there.
I followed the Arduino FAQ where it says:
"Why doesn't my sketch start when I'm powering the board with an
external power supply?
Because the RX pin is unconnected, the bootloader on the board may be
seeing garbage data coming in, meaning that it never times out and
starts your sketch. Try tying the RX pin to ground with a 10K resistor
(or connecting RX directly to the TX pin)."
But unfortunately, I am not sure if I can connect Rx to ground via a
resistor, because I have Rx connected to the Tx of ESP8266 for the serial
communication purposes.
I m basically not sure how to run the DFrobot Beetle microcontroller
board (connected to ESP8266) without the USB cable to the PC.
Any help is most welcome.
(If you need any more information than this, please let me now, I ll be happy to provide it)
Adi