1

Topic: Code Uploads but no Wifi or Bluetooth Generated on ESP-WROOM-32

I'm sure I'm doing something wrong here, but I'm not seeing it. 

Configured a project.  Generated the code.  Successfully uploaded the code to two separate ESP32 boards that work with other code,  but I'm not getting a Wifi access point nor Bluetooth (if I reconfigure it to use BLE) that any phone or computer can detect.  Generated code follows:


/*
   -- DeeDee Animation Test --
   
   This source code of graphical user interface
   has been generated automatically by RemoteXY editor.
   To compile this code using RemoteXY library 3.1.13 or later version
   download by link http://remotexy.com/en/library/
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                   
     - for ANDROID 4.15.01 or later version;
     - for iOS 1.12.1 or later version;
   
   This source code is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.   
*/

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// you can enable debug logging to Serial at 115200
//#define REMOTEXY__DEBUGLOG   

// RemoteXY select connection mode and include library
#define REMOTEXY_MODE__WIFI_POINT

#include <WiFi.h>

// RemoteXY connection settings
#define REMOTEXY_WIFI_SSID "ArtooDeeDee"
#define REMOTEXY_WIFI_PASSWORD "Animations!"
#define REMOTEXY_SERVER_PORT 6377
#define REMOTEXY_ACCESS_PASSWORD "Asteroids"


#include <RemoteXY.h>

// RemoteXY GUI configuration 
#pragma pack(push, 1) 
uint8_t RemoteXY_CONF[] =   // 119 bytes
  { 255,5,0,0,0,112,0,19,0,0,0,82,50,68,68,0,2,1,106,200,
  1,1,6,0,1,22,27,24,24,9,191,31,51,32,76,69,71,0,129,2,
  6,101,12,0,31,82,50,45,68,68,32,65,78,73,77,65,84,73,79,78,
  0,1,55,28,24,24,9,191,31,50,32,76,69,71,0,1,11,73,24,24,
  9,191,31,87,105,103,103,108,101,0,1,39,73,24,24,9,191,31,80,101,
  101,107,0,1,68,73,24,24,9,191,31,67,104,117,99,107,108,101,0 };
 
// this structure defines all the variables and events of your control interface
struct {

    // input variables
  uint8_t button_01; // =1 if button pressed, else =0
  uint8_t button_02; // =1 if button pressed, else =0
  uint8_t button_03; // =1 if button pressed, else =0
  uint8_t button_04; // =1 if button pressed, else =0
  uint8_t button_05; // =1 if button pressed, else =0

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0

} RemoteXY;   
#pragma pack(pop)

/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////

#define PIN_BUTTON_01 1
#define PIN_BUTTON_02 5
#define PIN_BUTTON_03 6
#define PIN_BUTTON_04 7
#define PIN_BUTTON_05 8


void setup()
{
  RemoteXY_Init ();
 
  pinMode (PIN_BUTTON_01, OUTPUT);
  pinMode (PIN_BUTTON_02, OUTPUT);
  pinMode (PIN_BUTTON_03, OUTPUT);
  pinMode (PIN_BUTTON_04, OUTPUT);
  pinMode (PIN_BUTTON_05, OUTPUT);
 
  // TODO you setup code
 
}

void loop()
{
  RemoteXY_Handler ();
 
  digitalWrite(PIN_BUTTON_01, (RemoteXY.button_01==0)?LOW:HIGH);
  digitalWrite(PIN_BUTTON_02, (RemoteXY.button_02==0)?LOW:HIGH);
  digitalWrite(PIN_BUTTON_03, (RemoteXY.button_03==0)?LOW:HIGH);
  digitalWrite(PIN_BUTTON_04, (RemoteXY.button_04==0)?LOW:HIGH);
  digitalWrite(PIN_BUTTON_05, (RemoteXY.button_05==0)?LOW:HIGH);
 
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay(), use instead RemoteXY_delay()


}

2

Re: Code Uploads but no Wifi or Bluetooth Generated on ESP-WROOM-32

Finally decided to turn on the serial monitor debugger.  Looks like the boards are constantly resetting.  Any idea why?

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4832
load:0x40078000,len:16460
load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc
[    0.026] Debug log started
[    0.026] Creating WiFi point: ArtooDeeDee ...
[  ets Jun  8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4832
load:0x40078000,len:16460
load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc


[    0.026] Debug log started
[    0.026] Creating WiFi point: ArtooDeeDee ...
[  ets Jun  8 2016 00:22:57
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4832
load:0x40078000,len:16460
load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc


[    0.026] Debug log started
[    0.026] Creating WiFi point: ArtooDeeDee ...
[  ets Jun  8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4832
load:0x40078000,len:16460
load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc

3

Re: Code Uploads but no Wifi or Bluetooth Generated on ESP-WROOM-32

This topic has been discussed before and not only on this forum. Some pins cannot be used because they are connected to internal modules of the ESP itself. Use only those pins that are actually brought out to the contacts of your board.

4

Re: Code Uploads but no Wifi or Bluetooth Generated on ESP-WROOM-32

Thank you for your response!  I figured it was something obvious that I was missing.  I'll give it a try again with different pins selected.