New ESP gadget
Moderators: grovkillen, Stuntteam, TD-er
New ESP gadget
I flashed ESP Easy R72 into this little fun box:
The switch is attached to GPIO-0
The relay is attached to GPIO-12 (active high)
The LED is attached to GPIO-13 (active low)
You have to solder a 4 pin header to the PCB to be able to upload the first build. After that you can use OTA because it has a 1MB flash chip.The switch is attached to GPIO-0
The relay is attached to GPIO-12 (active high)
The LED is attached to GPIO-13 (active low)
-
- Normal user
- Posts: 40
- Joined: 17 Nov 2015, 15:58
Re: New ESP gadget
Interesting item. I ordered some. Lets see.
As its possible to install espeasy, do you think its possible to connect more sensors like DS18B20 or light sensor to that little fellow?
As its possible to install espeasy, do you think its possible to connect more sensors like DS18B20 or light sensor to that little fellow?
Re: New ESP gadget
Almost impossible to build this yourself, but I wonder ... how safe is this?
Does it have some CE (not China Export) marking?
Does it have some CE (not China Export) marking?
Re: New ESP gadget
Almost impossible to build this yourself for that price, but I wonder ... how safe is this?
Does it have some CE (not China Export) marking?
Does it have some CE (not China Export) marking?
Re: New ESP gadget
On the link ManS-H gave https://www.itead.cc/smart-home/sonoff- ... witch.htmlBertB wrote:Almost impossible to build this yourself for that price, but I wonder ... how safe is this?
Does it have some CE (not China Export) marking?
you find images of the board from both sides, also the schematics of the device, RF + power.
http://wiki.iteadstudio.com/images/6/6b ... hmatic.pdf
Looks pretty decent in my opinion.
Re: New ESP gadget
It is very decent, but I worry about the isolation capabilities of the transformer used in the switch mode power supply and the flame extinguishing ability of the module.
Re: New ESP gadget
If you really worry about that you should never import something yourself from far away because you cannot trust those labels.BertB wrote:It is very decent, but I worry about the isolation capabilities of the transformer used in the switch mode power supply and the flame extinguishing ability of the module.
Re: New ESP gadget
You are right, but I am very careful and just wanted to warn you all for the potential dangers. I have carried too much safety tests to be careless.
Well, I would not add any extra sensor to this device that can be touched from outside, until it has been properly tested.
Better too careful than being badly injured or worse.
Well, I would not add any extra sensor to this device that can be touched from outside, until it has been properly tested.
Better too careful than being badly injured or worse.
Re: New ESP gadget
I ordered a few of these WiFi switches, they look safe to me, I do not worry about that too much.
My house has several ground fault switches, I believe the risk of injury is small, probably even smaller than injury by lightning.
I use common sense when connecting devices to the mains, I know about the destructive force of it.
My house has several ground fault switches, I believe the risk of injury is small, probably even smaller than injury by lightning.
I use common sense when connecting devices to the mains, I know about the destructive force of it.
Re: New ESP gadget
I've ordered a few of these and plan to flash with easyesp too.
Hope to use the gpio 0 for input (making sure it's not pressed during boot of course..
Hope to use the gpio 0 for input (making sure it's not pressed during boot of course..
Re: New ESP gadget
This board http://www.aliexpress.com/item/DIY-Smar ... 855543d3cecherowley wrote:I've ordered a few of these and plan to flash with easyesp too.
Hope to use the gpio 0 for input (making sure it's not pressed during boot of course..
is almost the same, there is an additional 315/433MHz receiver type RXC6 soldered in the board. This receiver is of a learning type and has 4 data_pins + VT_pin connected to the ESP8266.
So it seems there are at least 5 GPIO's easily available beside the UART Enough I/O connectivity i think.
Re: New ESP gadget
Better be careful experimenting with internal ports, as long as you don't know about the safety issues.
Re: New ESP gadget
You are right here. Some chinese manufacturers seem to care as little about human rights as they care about human safety.costo wrote:If you really worry about that you should never import something yourself from far away because you cannot trust those labels.
I'd just ordered one of these things out of curiosity. Not sure if I actually dare to use it...
But I've also seen some cheap USB charger devices at our local DIY store with official CE marking. These were so tiny that they can hardly be safe I guessed... Did not buy them despite the CE marking. So the DIY store imports them from china (where else...) and sells them. It probably means that we can held them responsible if things go wrong but then it's already to late I guess. And again, the 'chinese' won't bother...
Would actually be fun to send these "suspect" USB charger devices to the official certification test labs to get this investigated (and then contact the local reseller and confront them with the results...)
If I had funds similar to Bill Gates and the like, would be a nice additional hobby... And then sue the bastards who are willfully producing and reselling dangerous stuff...
Re: New ESP gadget
If I had funds like that ...
Some months ago I was involved with the testing of a HLK-PM1 module on the MySensors forum.
In the end, we had two delivered at the address of a guy in Denmark, owning a test rig to do some serious testing.
As destructive inspection already predicted, the module was found to be very good. The website http://www.lygte-info.dk, but I cannot find the report, so I can't show you.![Verrast :o](./images/smilies/icon_e_surprised.gif)
But check it if you want. I is very interesting.
In the mean time, a lot of cheap chargers were tested as well and some of them blew just like that.
Anyway ... Not knowing that Chinese stuff can be dangerous is one thing. But if you see a valid CE marking, you may trust that you have a device that will not try to kill you when something goes wrong (single fault condition). If one knows stuff is suspicious and one does not act upon that fact, that one, to my humble opinion, scores low on the scale of Darwin.
Now, safety is a relative thing. In this case, for instance, the gadget thing can be safe in the USA, because of the lower mains voltage, which is roughly half of that in Europe.
Furthermore, many devices are safe as long as you do not alter them. The gadget is probably one of them. So, probably okay to use it as is, but not okay to get access to the other pins on the ESP.
Here it is, the report:http://lygte-info.dk/review/Power%20Mai ... %20UK.html
And that is the last thing I will say about the subject.![Knipoog ;)](./images/smilies/icon_e_wink.gif)
Some months ago I was involved with the testing of a HLK-PM1 module on the MySensors forum.
In the end, we had two delivered at the address of a guy in Denmark, owning a test rig to do some serious testing.
As destructive inspection already predicted, the module was found to be very good. The website http://www.lygte-info.dk, but I cannot find the report, so I can't show you.
![Verrast :o](./images/smilies/icon_e_surprised.gif)
But check it if you want. I is very interesting.
In the mean time, a lot of cheap chargers were tested as well and some of them blew just like that.
Anyway ... Not knowing that Chinese stuff can be dangerous is one thing. But if you see a valid CE marking, you may trust that you have a device that will not try to kill you when something goes wrong (single fault condition). If one knows stuff is suspicious and one does not act upon that fact, that one, to my humble opinion, scores low on the scale of Darwin.
![Knipoog ;)](./images/smilies/icon_e_wink.gif)
Now, safety is a relative thing. In this case, for instance, the gadget thing can be safe in the USA, because of the lower mains voltage, which is roughly half of that in Europe.
Furthermore, many devices are safe as long as you do not alter them. The gadget is probably one of them. So, probably okay to use it as is, but not okay to get access to the other pins on the ESP.
Here it is, the report:http://lygte-info.dk/review/Power%20Mai ... %20UK.html
And that is the last thing I will say about the subject.
![Knipoog ;)](./images/smilies/icon_e_wink.gif)
Re: New ESP gadget
And how to verify this ?BertB wrote: ...But if you see a valid CE marking...
![Mr. Groen :mrgreen:](./images/smilies/icon_mrgreen.gif)
So we will never know....BertB wrote:And that is the last thing I will say about the subject.
![Lachend :lol:](./images/smilies/icon_lol.gif)
![Lachend :lol:](./images/smilies/icon_lol.gif)
Re: New ESP gadget
Not only USB chargers. Chinese Led_bulbs are famous for these hazards too. Replacing a bulb can make you exposed to the life mains. On YOUTUBE you can find many video's were dangerous Chinese appliances are demonstrated and dissectedMartinus wrote:But I've also seen some cheap USB charger devices at our local DIY store with official CE marking. These were so tiny that they can hardly be safe I guessed... Did not buy them despite the CE marking. So the DIY store imports them from china (where else...) and sells them. It probably means that we can held them responsible if things go wrong but then it's already to late I guess. And again, the 'chinese' won't bother...costo wrote:If you really worry about that you should never import something yourself from far away because you cannot trust those labels.
It is good that Ground fault switches are common.
If I had funds similar to Bill Gates and the like, would be a nice additional hobby... And then sue the bastards who are willfully producing and reselling dangerous stuff...
I have no illusions that super elitists like this man just care a tiny little bit about welfare, safety and privacy of common earthlings.
But I better be silent here about this sort of people before corporate-trolls come into this forum to teach us about the blessings of MS software and the generousity of the so-called philanthropists[/size]
![Beschaamd :oops:](./images/smilies/icon_redface.gif)
Re: New ESP gadget
Some more info about these boxes :
http://tech.scargill.net/itead-slampher-and-sonoff/
After reading this, i ordered a bunch !![Lach :)](./images/smilies/icon_e_smile.gif)
Billy
http://tech.scargill.net/itead-slampher-and-sonoff/
After reading this, i ordered a bunch !
![Lach :)](./images/smilies/icon_e_smile.gif)
Billy
Re: New ESP gadget
I do not understand, but please read what the main said about programming, connectivity to mains and frying.
(Sorry Martinus
)
(Sorry Martinus
![Knipoog ;-)](./images/smilies/icon_e_wink.gif)
Re: New ESP gadget
Itead studio also has another model of this WiFi swich for sale: https://www.itead.cc/im151116003.html for only $7.20.
It has a 433MHz selflearning receiver/decoder module on board type RXC6 which can decode the very common PT2262 (and EV1527) encoded RF-ASK signals.
Aside from the EFM8BB10F2g chip, all the components look pretty hackable.
As with the other device, without 433MHz module, the PSU is isolated from the mains, but the distance between the mains switching circuit and the low voltage DC parts looks relatively small (<2mm ?) as seen on the pictures, so probably this device will not receive CE approval. ( *** note)
Apparently I am attracted to dangers because I will use this device in my project. I also use USB chargers without CE approaval. Some people judge these devices as life endangering and they probably are when you take a bath or shower together with a device like this.
Use it at your own risk and always use common sense when handling devices that are (in)directly connected to mains.
Maybe I should mention that I'm used to work on TV's , the old-fashioned types that you do not see anymore, they had chassis often connected to one side of the mains, and a CRT with up to 30.000 volts on it.
edit:
No approval if you connect other devices to it that will have wires going out of the enclosure. If everything stays inside the enclosure it is not impossible that the device gets approval in USA/EU.
To program it it is wise to keep it OFF from the mains and feed the ESP with 3.3V over the programming interface.
I found another test/teardown of this device on this site: http://www.chet.ie/?m=201601
click on picture and again click on the picture will give you a very detailed picture of the board.
It has a 433MHz selflearning receiver/decoder module on board type RXC6 which can decode the very common PT2262 (and EV1527) encoded RF-ASK signals.
Aside from the EFM8BB10F2g chip, all the components look pretty hackable.
As with the other device, without 433MHz module, the PSU is isolated from the mains, but the distance between the mains switching circuit and the low voltage DC parts looks relatively small (<2mm ?) as seen on the pictures, so probably this device will not receive CE approval. ( *** note)
Apparently I am attracted to dangers because I will use this device in my project. I also use USB chargers without CE approaval. Some people judge these devices as life endangering and they probably are when you take a bath or shower together with a device like this.
![Knipoog ;)](./images/smilies/icon_e_wink.gif)
Use it at your own risk and always use common sense when handling devices that are (in)directly connected to mains.
Maybe I should mention that I'm used to work on TV's , the old-fashioned types that you do not see anymore, they had chassis often connected to one side of the mains, and a CRT with up to 30.000 volts on it.
edit:
No approval if you connect other devices to it that will have wires going out of the enclosure. If everything stays inside the enclosure it is not impossible that the device gets approval in USA/EU.
To program it it is wise to keep it OFF from the mains and feed the ESP with 3.3V over the programming interface.
I found another test/teardown of this device on this site: http://www.chet.ie/?m=201601
click on picture and again click on the picture will give you a very detailed picture of the board.
Re: New ESP gadget
Mine have arrived and sad to say that the circuit diagrams online do not match the actual unit so no gpio line broken out to the pads (only 4 pads not 5 pads).
So maybe use gpio 0 from the switch and the led (shorting the current limiter resistor) as the i2c pair?
So maybe use gpio 0 from the switch and the led (shorting the current limiter resistor) as the i2c pair?
Re: New ESP gadget
I have not received my order from Itead yet .cherowley wrote:Mine have arrived and sad to say that the circuit diagrams online do not match the actual unit so no gpio line broken out to the pads (only 4 pads not 5 pads).
So maybe use gpio 0 from the switch and the led (shorting the current limiter resistor) as the i2c pair?
But I wonder, does your board layout differ from the ones that you find on the web ?
When looking at the schematic for the first time I was thinking that E-D0,E-D1,E-D2,E-D3 were the same as D0,D1,D2,D3 but it is not like that.
Looking better I see that
The relais is powered by GPIO-12.
The 3-pin bicolor led (pin3) is connected to GPIO-13.
I have to wait till I get mine to do some more investigation and flash it with ESPEasy.
Re: New ESP gadget
Hi costo,
Yeah the board is different from the circuit diags found on the web...
Of course, could we change the espeasy code to disable the serial port and use those 2 lines for i2c? Is it just a software thing or do we need to put the esp chip in a different hardware mode to disable the uart?
Yeah the board is different from the circuit diags found on the web...
Of course, could we change the espeasy code to disable the serial port and use those 2 lines for i2c? Is it just a software thing or do we need to put the esp chip in a different hardware mode to disable the uart?
Re: New ESP gadget
I meant, does the board layout look like this?cherowley wrote:Hi costo,
Yeah the board is different from the circuit diags found on the web...
http://static.tweakers.net/ext/f/qBMHeJ ... u/full.jpg
or is it different?
The documentation of ESP8266 says that you can assign every software function to every pin that you choose.Of course, could we change the espeasy code to disable the serial port and use those 2 lines for i2c? Is it just a software thing or do we need to put the esp chip in a different hardware mode to disable the uart?
If you like to write your own application or modify the ESPEasy code you could change it in a way you can use GPIO-1&3 as I2C bus.
Maybe in a future relase of ESPEasy it is possible to use GPIO 1&3 as I2C bus, I have proposed that here: http://www.esp8266.nu/forum/viewtopic.php?f=4&t=711
At the moment, for me the easiest way to go seems a hardware hack/modification.
Looks like the board has 3 unused GPIO pins, GPIO 4,5 & 14 (pin 16,24 & 9 of the esp chip)
If you dare to do it you can solder 3 very tiny wires on those 3 pins, fix them with a blob of hot glue to the esp top, and solder them somewhere to the holes where the RF module can be placed.
Re: New ESP gadget
Yep the board does look the same as that picture ![Lach :)](./images/smilies/icon_e_smile.gif)
In the circuit diags it showed 5 pins in the header but only 4 in the actual board...
Ah, if the code only requires turning off the serial output and adding them to the drop down list i'll have a dabble![Lach :)](./images/smilies/icon_e_smile.gif)
![Lach :)](./images/smilies/icon_e_smile.gif)
In the circuit diags it showed 5 pins in the header but only 4 in the actual board...
Ah, if the code only requires turning off the serial output and adding them to the drop down list i'll have a dabble
![Lach :)](./images/smilies/icon_e_smile.gif)
Re: New ESP gadget
should be:Looks like the board has 3 unused GPIO pins, GPIO 4,5 & 14 (pin 16,24 & 9 of the esp chip)
Looks like the board has 4 unused GPIO pins, GPIO 2,4,5 & 14 (pin 14,16,24 & 9 of the esp chip)
About re-assigning GPIO 1&3 for I2C, I have tested it myself with wire.begin(1,3) and connected a OLED and that works fine, I did not test this setup with other I2C, especially talking, devices, but expect it will work.
These pins need to have the UART function when booting in flash mode, that is done automatically , when booting in normal mode they can be used as I2C. You just need to make sure that in the software the UART is not initialised, so NO Serial.begin and YES a wire.begin(1,3).
Re: New ESP gadget
Did yoy succeed ?cherowley wrote: Ah, if the code only requires turning off the serial output and adding them to the drop down list i'll have a dabble
I turned off the serial.begin initialisation in the source code but that did not disable the serial stuff.
Serial stuff is deeply embedded in the ESPEasy code, and it MUST be turned off completely before it is possible to use RX and TX pins for I2C bus.
I hope you will succeed in removing all the serial stuff from the code and can enable GPIO1&3 for other uses, that would make it very attractive to use the Sonoff WiFi boxes for ESPEasy.
Re: New ESP gadget
@ cherowley
I made a fork of ESPEasy and call it MiniESP .
https://github.com/costonisp/MiniESP
I have not received my sonoff WiFi switches yet but tested this program on several boards.
I believe it will work with the sonoff gadget, it disables Serial input/output and enables GPIO 1 & GPIO 3 for I2C.
I made a fork of ESPEasy and call it MiniESP .
https://github.com/costonisp/MiniESP
I have not received my sonoff WiFi switches yet but tested this program on several boards.
I believe it will work with the sonoff gadget, it disables Serial input/output and enables GPIO 1 & GPIO 3 for I2C.
Re: New ESP gadget
Morning Costo!
I haven't had chance yet to mod the code but looks like you've beaten me to it anyway!
If i get time today i'll grab yours and give it a go![Lach :)](./images/smilies/icon_e_smile.gif)
I haven't had chance yet to mod the code but looks like you've beaten me to it anyway!
If i get time today i'll grab yours and give it a go
![Lach :)](./images/smilies/icon_e_smile.gif)
Re: New ESP gadget
Today I got my sonoff switches, ordered them on januari 26.
The custom firmware that is flashed on it is stupid because you can not integrate it with home-automation software. It only works with a phone app and uses a external Amazon server.
So I soldered a 4 header on the board with gives me Vcc, Txd, Rxd, Gnd and connected a 3.3V USB/Serial interface to the unpowered sonoff switch.
With Arduino IDE I flashed ESPEasy on it and OTA updated that with my github fork and that gave me the I2C bus instead of a serial bus.
Connected a Barometer and OLED, connected the 230V AC and configured it.
![Image](http://static.tweakers.net/ext/f/1e642LZ4yrigQo2NRak1VnKi/full.jpg)
The device tab shows the I2C bus on Rxd and Txd
![Image](http://static.tweakers.net/ext/f/Yahmv8qmO8whdnEsmryfMbFN/full.jpg)
The 230V AC to 5V DC isolation does not look like it is made for or usable in medical intrumentation
The distance on the nearest points is about 1.5 mm.
But with carefull use and technical wishdom it can be made pretty safe.
The custom firmware that is flashed on it is stupid because you can not integrate it with home-automation software. It only works with a phone app and uses a external Amazon server.
So I soldered a 4 header on the board with gives me Vcc, Txd, Rxd, Gnd and connected a 3.3V USB/Serial interface to the unpowered sonoff switch.
With Arduino IDE I flashed ESPEasy on it and OTA updated that with my github fork and that gave me the I2C bus instead of a serial bus.
Connected a Barometer and OLED, connected the 230V AC and configured it.
![Image](http://static.tweakers.net/ext/f/1e642LZ4yrigQo2NRak1VnKi/full.jpg)
The device tab shows the I2C bus on Rxd and Txd
![Image](http://static.tweakers.net/ext/f/Yahmv8qmO8whdnEsmryfMbFN/full.jpg)
The 230V AC to 5V DC isolation does not look like it is made for or usable in medical intrumentation
![Mr. Groen :mrgreen:](./images/smilies/icon_mrgreen.gif)
The distance on the nearest points is about 1.5 mm.
But with carefull use and technical wishdom it can be made pretty safe.
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
Nice, have 5 pices waiting in China for transport (Yearly China Shutdown Time)costo wrote: The 230V AC to 5V DC isolation does not look like it is made for or usable in medical intrumentation![]()
The distance on the nearest points is about 1.5 mm.
But with carefull use and technical wishdom it can be made pretty safe.
Do not use it with an alcohol tester
![Erg Blij :D](./images/smilies/icon_e_biggrin.gif)
Re: New ESP gadget
Hiya costo,
I was trying to get a pir sensor working with it last night but no joy @ 3v..
Where are you picking 5v up from?
cheers!
I was trying to get a pir sensor working with it last night but no joy @ 3v..
Where are you picking 5v up from?
cheers!
Re: New ESP gadget
If the power cord is actually plugged in, I would not recommend this lab setup as general safe working practice.
You have to rely on a good working "Earth Leakage Circuit Breaker" or "Residual Current Circuit Breaker" if you touch some of the components.
We would like our community members to stay alive...
You have to rely on a good working "Earth Leakage Circuit Breaker" or "Residual Current Circuit Breaker" if you touch some of the components.
We would like our community members to stay alive...
Re: New ESP gadget
I used the 3.3V rail did not use the 5V rail.cherowley wrote:Hiya costo,
I was trying to get a pir sensor working with it last night but no joy @ 3v..
Where are you picking 5v up from?
cheers!
5 volt is available at the bottomside of the board where D4, the relaiscoil and the 3.3V regulator are located. No testpoint with 5V available so you have to solder a wire for that. Not really a attractive solution for a simple setup.
But offcourse you can do it. As long as you keep all electronics like your PIR, other sensors, switches, wires and the Sonoff itself inside a good isolated enclosure you can do that without the risk of endangering anyone.
I think also Martinus and Bert will agree that when done consious and within the guidelines of NEN 1010 and NEN 2012 it can be perfectly safe.
![Knipoog ;)](./images/smilies/icon_e_wink.gif)
Oh . . . . and do not forget to let anyone entering your home , sign a agreement in advance that they are aware of the dangers and do this at their own risk and that you will in no way be liable for damage or injury
![Geek :geek:](./images/smilies/icon_e_geek.gif)
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
received 5 switches early to my surprise
Thought the Chinese holiday would delay the shipment
Can somebody tell me what the best flash setting is
I flashed one with 1M(256K SPIFFS) and its working
(Just using the relay on pio 12)
But I'm not sure if I better go for 512, 128 or 64 K SPIFFS
Of course I want to OTA update after the first serial
Thought the Chinese holiday would delay the shipment
Can somebody tell me what the best flash setting is
I flashed one with 1M(256K SPIFFS) and its working
(Just using the relay on pio 12)
But I'm not sure if I better go for 512, 128 or 64 K SPIFFS
Of course I want to OTA update after the first serial
Re: New ESP gadget
I use these settings to generate a bin file that can be loaded (by OTA )into Sonoff, i didn't try other settings because this works well for me.NietGiftig wrote: Can somebody tell me what the best flash setting is
I flashed one with 1M(256K SPIFFS) and its working
(Just using the relay on pio 12)
Board : Generic esp8266
Flash size : 1Meg 256 K SPIFFS
Reset method: ck
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
Thanks, keep on using this setting myself then.costo wrote: I use these settings to generate a bin file that can be loaded (by OTA )into Sonoff, i didn't try other settings because this works well for me.
Board : Generic esp8266
Flash size : 1Meg 256 K SPIFFS
Reset method: ck
Re: New ESP gadget
this has got a long thread. (for this forum)
now with 4 pages. there seems some interest.
maybe time for the admins to take some basic information over to the wiki?
now with 4 pages. there seems some interest.
maybe time for the admins to take some basic information over to the wiki?
-
- Normal user
- Posts: 40
- Joined: 17 Nov 2015, 15:58
Re: New ESP gadget
The usual PIR-sensors from ali can be hacked to work with 3.3V. Maybe thats worth a try.cherowley wrote:Hiya costo,
I was trying to get a pir sensor working with it last night but no joy @ 3v..
!
Re: New ESP gadget
Ah that's what i was doing, thanks anywaysambassadoro wrote:The usual PIR-sensors from ali can be hacked to work with 3.3V. Maybe thats worth a try.cherowley wrote:Hiya costo,
I was trying to get a pir sensor working with it last night but no joy @ 3v..
!
![Lach :)](./images/smilies/icon_e_smile.gif)
Re: New ESP gadget
I have one of these and have soldered wires to all 4 pads. I am having issues uploading easy ESP to it though.
Can someone go into a bit more detail for me?
Can someone go into a bit more detail for me?
Re: New ESP gadget
Hi, what's the problem? Not flashing or doesn't run after flashing?jay_s_uk wrote:I have one of these and have soldered wires to all 4 pads. I am having issues uploading easy ESP to it though.
Can someone go into a bit more detail for me?
Re: New ESP gadget
Hi:
Do work the relay ?
Do work the relay ?
Last edited by TiNePaS on 15 Feb 2016, 01:47, edited 2 times in total.
Re: New ESP gadget
The problem is not flashing. I've used the 4 pads on the bottom of the board, but am I better off using the 4 through hole connections?cherowley wrote:Hi, what's the problem? Not flashing or doesn't run after flashing?jay_s_uk wrote:I have one of these and have soldered wires to all 4 pads. I am having issues uploading easy ESP to it though.
Can someone go into a bit more detail for me?
I've tried resetting the board at the point of upload etc but I'm not getting any where.
Re: New ESP gadget
jay_s_uk wrote:The problem is not flashing. I've used the 4 pads on the bottom of the board, but am I better off using the 4 through hole connections?cherowley wrote:Hi, what's the problem? Not flashing or doesn't run after flashing?jay_s_uk wrote:I have one of these and have soldered wires to all 4 pads. I am having issues uploading easy ESP to it though.
Can someone go into a bit more detail for me?
I've tried resetting the board at the point of upload etc but I'm not getting any where.
Hmm, you say the problem is not flashing yet you say you are not getting anywhere? Sorry, bit confused..
Re: New ESP gadget
Managed to get it flashed with easy esp.cherowley wrote:jay_s_uk wrote:The problem is not flashing. I've used the 4 pads on the bottom of the board, but am I better off using the 4 through hole connections?cherowley wrote:
Hi, what's the problem? Not flashing or doesn't run after flashing?
I've tried resetting the board at the point of upload etc but I'm not getting any where.
Hmm, you say the problem is not flashing yet you say you are not getting anywhere? Sorry, bit confused..
Have wired it into a lamp to test it out but the sonoff is up and down like a yoyo. I have no idea why. Am powering it off of the mains
Re: New ESP gadget
What IDE-Tool settings did you use to complie ESP78 ?jay_s_uk wrote: Managed to get it flashed with easy esp.
Have wired it into a lamp to test it out but the sonoff is up and down like a yoyo. I have no idea why. Am powering it off of the mains
Re: New ESP gadget
I've usedcosto wrote:
What IDE-Tool settings did you use to complie ESP78 ?
Board : Generic esp8266
Flash size : 1Meg 256 K SPIFFS
Reset method: ck
Still can't get it to stay alive longer than one or two pings
Re: New ESP gadget
Are you sure you are powering the sonoff with 230 V after flashing it with a USB/Serial adapter? Because the adapter cannot deliver the power for the WiFi to work, it will reset often.jay_s_uk wrote:I've usedcosto wrote:
What IDE-Tool settings did you use to complie ESP78 ?
Board : Generic esp8266
Flash size : 1Meg 256 K SPIFFS
Reset method: ck
Still can't get it to stay alive longer than one or two pings
About the flashsize, I believe 1M with 512kSPIFFS is the better option to use when you want to do OTA.
The best result I get is to upload the ESPEasy_R78_1024.bin file from http://www.esp8266.nu/downloads/ESPEasy_R78.zip
with the flashtool. From that version I update with the forked ESPEasy from here https://github.com/costonisp/MiniESPEasy to disable the UART on Rxd&Txd and enable GPIO1 and GPIO3 on these pins for I/O
It is a bit troublesome that you have to do all the settings from start again after a OTA update. Choose network on 192.168.4.1 and so on.
Or you must compile with SSID and PassPhrase into the sourcecode.
Who is online
Users browsing this forum: No registered users and 46 guests