Open therevoman opened 7 years ago
Did u refer the jumper setting available on GitHub doc folder . The board comes preloaded with the firmware. Only if u wish to modify the firmware u will need to set the appropriate jumper .
I have similar issue. However, I was unable to find which jumper settings need to be changed. I have factory piece with all jumper settings in it. I am using Arduino sketch to push the code. The 8-relay board does get detected.
https://github.com/armtronix/Wifi_eight_relay_board/tree/master/Doc Did u refer to this
@armtronix I did refer to the document, but it does not specify which jumpers to be removed.
Let me elaborate on the problem that I am facing. I plan to use Arduino sketch to control fan and lights.
Consider the customary HelloWorld, using Arduino sketch, on the ESP12S
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Hello World!!!!!");
delay(1000);
}
This code works perfectly fine on the single relay Wifi board. However, on the 8-relay board it fails with the exception
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
I strongly suspect its because of the jumpers. However, as specified earlier, the documentation does not specify what steps to be taken.
https://www.instructables.com/id/WIFI-Eight-Relay-Board/ You have to change the jumper settings to burn your code on atmega328p or on esp12E chkthe above link
P5 header jumpers are the one you need to understand and change according to the document to program esp or atmeg328p
@armtronix 👍 Thanks a million. This was really helpful. Changing the jumpers helped resolve the issue. It would be good to add that documentation here. As I have not raised this issue, I cannot close it.
hello, i do know if this thread is alive or not but i have doubt after filling all details.when i pressed confirm it says, Settings saved to eeprom and reset to boot into new settings. lets think i rebooted the device but how i will get ip address of board to open that link in browser.
You should not reboot it ,it automatically reboots .After it reboots if every thing that you have configured is correct (SSID, Password , HTTP mode ) than you will need to login to your router or use fring app (android phone) search for the device ip generally with the name espressif enter this ip on any web browser, you will be able see control gpio link on that page, click it so that it go to the gpio control webpage . If you have opted for mqtt than your will need to enter MQTT broker IP address and configure the topics accordingly. The commands for this mode are available here :https://github.com/armtronix/Wifi_eight_relay_board/blob/master/Arduino_Code/With_Virtual_switch/Wifi_8_Relay_board_virtual_switch_with_alexa_dynamicName/mqttFunctions.ino eg : R1_ON ---for ON, R1_OFF ---for OFF for the first relay
I recently purchased an 8 relay board from ebay. I was super excited as it has everything I need for my project. However, I cannot upload a sketch to the Atmega328. What version of the Arduino IDE is needed, and what do I select under "Tools"? i.e. board and programmer