Search found 500 matches

by costo
07 Mar 2016, 15:00
Forum: ESP Easy: General Discussion
Topic: More Esp-12 Flashing problems
Replies: 102
Views: 95673

Re: More Esp-12 Flashing problems

- Cin = 100nF : from Vin (5v) to Gnd - Cout = 10µF : from Vout (3.3v) to Gnd Up to here I got my stable 3.3V !!!! And by the way, I could not get stability with the LD1117 3.3v regulator, and what is só confusing, is that their are different capacitor sizing plans on the web, the configuration I di...
by costo
06 Mar 2016, 02:54
Forum: ESP Easy: Projects / Applications
Topic: espeasy pir/ldr/rgb finds new home
Replies: 3
Views: 9833

Re: espeasy pir/ldr/rgb finds new home

ESPEasy is really just a device that sends values from sensors, connected to inputs, to a server. Outputting data on ESP-pins is only limited implemented. From a server or browser you have a few html commands to manipulate outputs. (GPIO, PWM, Pulse and Servo are the implemented commands) I think wh...
by costo
05 Mar 2016, 01:15
Forum: ESP Easy: Software
Topic: Status of relay switch not maintained after ESP Restart
Replies: 16
Views: 14077

Re: Status of relay switch not maintained after ESP Restart

simeonof wrote:Hi again,
I found a workaround about this problem ...
Interesting, but can you be more specific where to put those lines in the switch plugin ?
Because line 201 is different in different releases.

Would be good to see a few lines before and after these two lines so it is clear where to put them.
by costo
04 Mar 2016, 21:22
Forum: ESP Easy: Hardware
Topic: How many DS18B20 can be connected to an ESP01 ?
Replies: 7
Views: 9702

Re: How many DS18B20 can be connected to an ESP01 ?

Hi, Can anyone tell me how many DS18B20's in parallel can/will be supported using only 1 pin on an ESP01 ? In other words : how many will the software detect ? -ben Looking into the sourcecode of the Dallas plugin I see: byte devCount so the number of Dallas devices is counted with a byte and becau...
by costo
04 Mar 2016, 20:33
Forum: ESP Easy: General Discussion
Topic: What Is AWS IoT?
Replies: 3
Views: 5405

Re: What Is AWS IoT?

Bad idea to promote a closed source thing like AWS here in this forum.
by costo
04 Mar 2016, 20:25
Forum: ESP Easy: General Discussion
Topic: Feature Request: set I/O via MQTT / disable deep sleep
Replies: 12
Views: 11587

Re: Feature Request: set I/O via MQTT / disable deep sleep

@ tozett

Are you doing a commercial for AWS ?

I do not like to use a IOT server under control of an unknown entity.
My IOT server is a Raspberry Pi with Domoticz, 100% private. It can do everything I need and I can trust it because it is open source.
by costo
04 Mar 2016, 14:34
Forum: ESP Easy: General Discussion
Topic: Feature Request: set I/O via MQTT / disable deep sleep
Replies: 12
Views: 11587

Re: Feature Request: set I/O via MQTT / disable deep sleep

I do not know anything about MQTT.

I was thinking your problem is that the state of an output is not defined after a reset or wake_up after deep_sleep, because outputs may change during the reset process.
Apperently you are asking for something different, something that is not clear to me.
by costo
03 Mar 2016, 18:52
Forum: ESP Easy: General Discussion
Topic: Feature Request: set I/O via MQTT / disable deep sleep
Replies: 12
Views: 11587

Re: Feature Request: set I/O via MQTT / disable deep sleep

You can solve this with a supported hardware device. The MCP23017 is a 16 port I2C expander. http://www.esp8266.nu/index.php/MCP23017 If you reset the ESP the output states remain unchanged. Steady state current of this device is about 1mA (much lower than the the also supported PCF8574). So deepsle...
by costo
03 Mar 2016, 18:12
Forum: ESP Easy: General Discussion
Topic: help for wifi status led
Replies: 6
Views: 19142

Re: help for wifi status led

i have wired a wemos mini d1 as below and have selected in hardware settings wifi status led = GPIO 0. my problem is that the led stays on continuously even when the wifi is switched off. Untitled Sketch 2_bb.jpg Thanks GPIO-0 has a built-in pullup resistor. This makes the LED burn all the time, yo...
by costo
02 Mar 2016, 23:31
Forum: ESP Easy: Software
Topic: [Solved] ESP Easy R78: build from source code failed
Replies: 24
Views: 18696

Re: [Solved] ESP Easy R78: build from source code failed

Hi, Ok try the Arduino IDE, setup it and then a lot of errors. ````` Is it possible that until now there is case lower/upper errors in sketchs ? I will try on a windows if I find one or by flashing with the command you give, but I read it needs R80 for sonoff so firmware not in binary format yet. Y...
by costo
29 Feb 2016, 11:08
Forum: ESP Easy: General Discussion
Topic: Need some help with analog sound sensor.
Replies: 4
Views: 5856

Re: Need some help with analog sound sensor.

I'm using an analog sensor purchased from eBay http://www.ebay.com/itm/321898432751?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT . When I hook it up to the ADC pin. All I get is a 1024 reading. I tried using a direct reading from the analog pin out also via level shifter. Addition...
by costo
29 Feb 2016, 10:53
Forum: ESP Easy: Software
Topic: Are there any plans for simple BASIC rules in Easy ESP?
Replies: 14
Views: 20616

Re: Are there any plans for simple BASIC rules in Easy ESP?

I have an ESP-07 test rig running for a while, with a (opto isolated) 8-way relay board hooked onto it. Power fed by a pro lab bench supply, set to 5V, the ESP gets 3V3 through a level converter and a 470uF cap. As others reported too I experience multiple spontaneous resets a day, AND what the rea...
by costo
26 Feb 2016, 22:36
Forum: ESP Easy: Hardware
Topic: Gotmy w25q32 today :-)
Replies: 4
Views: 5130

Re: Gotmy w25q32 today :-)

asm7100 wrote:No just want to upgrade the EEProm to 4MByte :-)
It is real easy, bend two pins up so they are not soldered to the board and connect them with a wire to Vcc. The only thing you have to check is that you compile with the option DIO and not QIO. You do not have to cut any board traces.
by costo
26 Feb 2016, 18:26
Forum: ESP Easy: Hardware
Topic: Gotmy w25q32 today :-)
Replies: 4
Views: 5130

Re: Gotmy w25q32 today :-)

You do this mod ? http://smarpl.com/content/esp8266-esp-2 ... and-gpio10

Very easy to do when the flash chip is removed, it makes GPIO9 and GPIO10 fully usable, disconnects them from the flash chip.
by costo
26 Feb 2016, 18:01
Forum: ESP Easy: Software
Topic: Are there any plans for simple BASIC rules in Easy ESP?
Replies: 14
Views: 20616

Re: Are there any plans for simple BASIC rules in Easy ESP?

1 cloud services: The owner of the cloud-server is harvesting a database with: IP , SSID end Password of all users. A potentially dangerous situation. Just imagine the nightmare when the cloud-server gets hacked, the database leaked, or the cloud-service sold to another not trustable entity. Probabl...
by costo
24 Feb 2016, 12:46
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

I am wrong about you cannot use GPIO 1 & 3 for other purposes than I2C. You can connect a DHT sensor . Only hardware setting pinmode high or low is not possible in R80. So the espeasy fork on github is of no use anymore. edit: @ cherowly, what I did in that forked version is in the readme file o...
by costo
24 Feb 2016, 02:22
Forum: ESP Easy: Hardware
Topic: More as one ultrasonic sensor possible?
Replies: 3
Views: 4957

Re: More as one ultrasonic sensor possible?

I have played once with this ultrasoon sensor on a NodeMCU board. I connected the echo signal with a voltage divider to make it compatible to 3.3V 1K in series and 2K from ESP input to ground. The range of the HC-SR04 was not so great, about 4 meter. Accuracy was pretty good if the echo object had a...
by costo
24 Feb 2016, 00:10
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 209498

Re: IR Transmitter ?

Topic starter gave a link with 100ths of brands and 1000's of devices. I meant it is not realistic to put them all in a ESP plugin. :lol: A IR plugin which can send most protocols can be made if code's are given in HEX. On Github I see a IR library which about 15 different protocols. Even a learning...
by costo
23 Feb 2016, 21:05
Forum: ESP Easy: Projects / Applications
Topic: ESP more Easy with image files (?)
Replies: 29
Views: 23931

Re: ESP more Easy with image files (?)

QcVictor wrote: Type settings or any other command do nothing!, after each flash, I unplug -plug !
Do you have the monitor with setting: NewLine and CarriageReturn ?
In Arduino monitor at bottom of window: Both NL & CR
by costo
23 Feb 2016, 19:56
Forum: ESP Easy: Hardware
Topic: PCA9685 wiring
Replies: 11
Views: 11088

Re: PCA9685 wiring

Thank you, but it's a matter ESPEasy, the program depends on what mode will control the output. values: INVRT OUTDRV P.S. I have education in electronics and telecommunications. Needless to lecture me about the basics. :D That is why I suggested you try it first with one single LED to see how that ...
by costo
23 Feb 2016, 17:37
Forum: ESP Easy: General Discussion
Topic: More Esp-12 Flashing problems
Replies: 102
Views: 95673

Re: More Esp-12 Flashing problems

BertB wrote:Great. And I made a start. Look at hardware tips n tricks in the wiki. Just an idea.
I am writing a small piece about capacitors, that can be but inside that page. Will sent you that later today.

edit: I've sent you a P.M.
by costo
23 Feb 2016, 17:23
Forum: ESP Easy: Hardware
Topic: PCA9685 wiring
Replies: 11
Views: 11088

Re: PCA9685 wiring

costo: thx, of course I read it. But on the wiki is not mentioned involved LEDs. According to the datasheet it may be Fig 13., Fig 14. and Fig 15., on page 29. https://www.adafruit.com/datasheets/PCA9685.pdf Fig 13. and Fig 15. is not working for me. I understand your problem, it is not really ESPE...
by costo
23 Feb 2016, 16:20
Forum: ESP Easy: General Discussion
Topic: More Esp-12 Flashing problems
Replies: 102
Views: 95673

Re: More Esp-12 Flashing problems

BertB wrote:If you have something in writing, I can put it in the wiki together with some tips and tricks I gathered over the months.
I am working on this.
by costo
23 Feb 2016, 16:13
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 209498

Re: IR Transmitter ?

Not much chance to get this implemented in ESPEasy.
It would need an huge library of devices and commands.
Memory limitations I'm afraid.
by costo
23 Feb 2016, 16:03
Forum: ESP Easy: Hardware
Topic: More as one ultrasonic sensor possible?
Replies: 3
Views: 4957

Re: More as one ultrasonic sensor possible?

Try it out , nobody has done this before with ESPEasy as far as i know.

After that tell us what your findings are. :?:
I am curious.
by costo
23 Feb 2016, 15:54
Forum: ESP Easy: Hardware
Topic: PCA9685 wiring
Replies: 11
Views: 11088

Re: PCA9685 wiring

When you do a I2C scan you should see address 0x40 with something like "SI7021 Temp/Hum Sensor, INA219, PCA9685" as description.
After adding this device you can use this command to set one output at a time.
http://<ESP IP address>/control?cmd=pcapwm,<pin>,<Level>
by costo
23 Feb 2016, 15:41
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

At the current state of ESPEasy R80 you can only use I2C on the sonoff. GPIO 1&3 can be used for I2C but cannot be used as input or output. So you cannot attach a sensor like DHT11/22. As alternative you can use the forked version of R78, this version has fully functioning GPIO 1/3 (UART is swap...
by costo
23 Feb 2016, 15:28
Forum: ESP Easy: Hardware
Topic: OLED I2C
Replies: 43
Views: 37872

Re: OLED I2C

Ah, I've had stability problems when using the oled. Also using a nodemcu board. Had assumed that since the usb port i'm using provides 1A that would be enough... If you use a long USB cable and it has tiny wires you will have much loss in the cable. Voltage will have dropped already as it reaches ...
by costo
23 Feb 2016, 15:05
Forum: ESP Easy: Software
Topic: Revolutionary new UI for ESPEasy
Replies: 24
Views: 25291

Re: Revolutionary new UI for ESPEasy

A new user interface that better supports mobile/android devices would be welcomed.
The webgui as it is now is a bit awkward on small screens with touchscreen.
by costo
22 Feb 2016, 16:46
Forum: ESP Easy: Projects / Applications
Topic: [Retired] MiniESPEasy = ESPEasy for modules with limited I/O pins.
Replies: 16
Views: 21400

Re: MiniESPEasy = ESPEasy for modules with limited I/O pins.

Late last night when I looked in github, after the release of stable R78 I had not done that for some time, I found R80 the latest beta version. (Just had overlooked R79) To my joy I found a some nice new features. Included the long desired feature of I2C on GPIO 1&3 was included, so that makes ...
by costo
22 Feb 2016, 15:53
Forum: ESP Easy: General Discussion
Topic: ProMiniExtender
Replies: 27
Views: 39834

Re: ProMiniExtender

@ polluz, yes it is possible. ESPEasy can read Int values from digital and analog ports on the ProMini By changing the MiniProExtender sourceCode a little you can transfer all kind of integer values over the I2C bus. You have to know a bit of programming Arduino in C to do this yourself. I can only ...
by costo
22 Feb 2016, 13:40
Forum: ESP Easy: General Discussion
Topic: More Esp-12 Flashing problems
Replies: 102
Views: 95673

Re: More Esp-12 Flashing problems

hello tozett, everything I publish on this forum is public domain, so you can use my information without asking me . b.t.w. this weekend I had great troubles with my nodeMCU board. I had no replacement so i wanted to repair it. It was resetting after connecting to my WiFi and telling that I2C was in...
by costo
22 Feb 2016, 11:15
Forum: ESP Easy: General Discussion
Topic: More Esp-12 Flashing problems
Replies: 102
Views: 95673

Re: More Esp-12 Flashing problems

reset cause 2 = reset by reset pin. So this almost rules out reset caused by software, software errors usually results in reset by watchdog. Power supply problems can cause coupling to the sensitive reset input . Placing a small capacitor between resetpin and metal case of esp12 can prevent unwanted...
by costo
22 Feb 2016, 00:01
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

grz3 wrote:Hello,

what kind of GPIO are on this SONOFF device? I think GPIO13 is relay, what is button? or LED? is led GREEN/RED? thank you....

grz
As nietgiftig says : 12 is relais 13 is green led
If you have the sonoff without the 433MHz RF subboard then the button is connected to GPIO-0.
by costo
21 Feb 2016, 23:57
Forum: ESP Easy: General Discussion
Topic: More Esp-12 Flashing problems
Replies: 102
Views: 95673

Re: More Esp-12 Flashing problems

Thank you costo, since I read your comment on similar, I added them to design when I saw your previous post, have a 103 close to vcc and and, as well as at 5V power in, before reducing to 3.3v. Capacitor of 103, that means 10000 pF or 0.01uF. That is a small capacitor, not big enough for Vcc filter...
by costo
21 Feb 2016, 18:55
Forum: ESP Easy: General Discussion
Topic: More Esp-12 Flashing problems
Replies: 102
Views: 95673

Re: More Esp-12 Flashing problems

Does anyone know how t flash a ESP12E back to its factory state? I seam to have code in the flash that is not removed with flashing.... Does look like you have power problems. Resetting right after you have connected to your WiFi points to that is my experience. You must put some extra capacitors o...
by costo
21 Feb 2016, 14:19
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

For my information: Solder an header, connect it to a FTDi and use the switch on the board to bring it in a programming mode. Is this right sequence? And all without MAINS POWER. Another question, is it possible to save the original firmware? Right, use a USB/Serial device like the FTDI which can b...
by costo
21 Feb 2016, 14:02
Forum: ESP Easy: Projects / Applications
Topic: [Retired] MiniESPEasy = ESPEasy for modules with limited I/O pins.
Replies: 16
Views: 21400

Re: MiniESPEasy = ESPEasy for modules with limited I/O pins.

How about just using i2c devices like MCP23017 (2x8 I/o) and mcp3428 (4 channels adc 18 Bit) Only 2 pin to use. Also i2c O_led display and so on. Using I2C is a smart way to connect multiple devices to a small device like ESP-01. Also it is possible to use GPIO 0 and GPIO 2 as I2C_SDA and I2C_SCL, ...
by costo
21 Feb 2016, 13:38
Forum: ESP Easy: Projects / Applications
Topic: [Retired] MiniESPEasy = ESPEasy for modules with limited I/O pins.
Replies: 16
Views: 21400

Re: MiniESPEasy = ESPEasy for modules with limited I/O pins.

Offcourse flashing the ESP8266 is still done over the UART in flash-mode. When the flashed program starts up it swaps the UART pins, freeing these for other purposes. i only cheched the github readme, but is there a (hidden?) trick, to swap serial back gpio1/3 ? as fas as i understand, after flashi...
by costo
21 Feb 2016, 00:21
Forum: ESP Easy: Projects / Applications
Topic: [Retired] MiniESPEasy = ESPEasy for modules with limited I/O pins.
Replies: 16
Views: 21400

Re: MiniESPEasy = ESPEasy for modules with limited I/O pins.

I made a fork of stable version ESPEasy R78 on github : https://github.com/costonisp/MiniESPEasy It is meant for small boards like ESP-01 , ESP-02 and gadget boards like the Sonoff WiFi switch which have limited IO-pins. ... This makes it possible to free the Rxd and Txd pins from the UART and make...
by costo
19 Feb 2016, 01:49
Forum: ESP Easy: Software
Topic: Arduino Compile Error ESP Easy code[SOLVED]
Replies: 7
Views: 6492

Re: Arduino Compile Error ESP Easy code

Thanks Costo! I thought the other zip files were older versions of bin files. I should have taken the time to look and not make an assumption. It might be worthwhile to rename the zip files to something more descriptive. Rev_78_binfiles.zip Rev_48_sourcefile.zip etc I can understand the confusion. ...
by costo
18 Feb 2016, 17:34
Forum: ESP Easy: Software
Topic: Arduino Compile Error ESP Easy code[SOLVED]
Replies: 7
Views: 6492

Re: Arduino Compile Error ESP Easy code

https://sourceforge.net/projects/espeasy/files/

there is a ESPEasy_R78 zipfile which includes 3 binaries, the source code and all the needed libraries.
Do not use upgraded libraries or take the risk that you cannot compile,
by costo
18 Feb 2016, 17:07
Forum: ESP Easy: Projects / Applications
Topic: Install ESPEasy with a Mac, esptool.py
Replies: 2
Views: 11593

Re: Install ESPEasy with a Mac, esptool.py

Fatal exception (0): epc1=0x400ef278, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000 ? Fatal exception (0) >> illegalInstructionCause epc1=0x400ef278 >> Exception program counter. this points to an address above 1MB, looks like you are trying to write/read from an adress tha...
by costo
18 Feb 2016, 16:48
Forum: ESP Easy: Projects / Applications
Topic: [Retired] MiniESPEasy = ESPEasy for modules with limited I/O pins.
Replies: 16
Views: 21400

Re: MiniESPEasy = ESPEasy for modules with limited I/O pins.

Hi Costo, Nice work ! Could you provide binaries as the original R78 does (512 / 1024 / 4096) ? I cannot get your version compiled ..... :twisted: -ben Probably you have the wrong library somewhere. What is the errormessage you get ? But if you like I can sent it to you, if you sent me a P.M. I wil...
by costo
17 Feb 2016, 00:27
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

I've run several OTA updates to my Sonoff device without any issues. But you have to stick to some basic rules: 1) There must be enough room between the sketch and spiffs area to store the temporary download. With a 1 MB flash device, use 1M with 64 kb spiffs. This is the same as we're using for th...
by costo
17 Feb 2016, 00:12
Forum: ESP Easy: General Discussion
Topic: OTA with 1mbyte
Replies: 5
Views: 5833

Re: OTA with 1mbyte

Thanks to the info supplied by Martinus I succeeded in flashing back and forth between ESPEasy_R78_1024.bin and my own created bin file of the fork from github https://github.com/costonisp/MiniESPEasy . For easyness I had recreated R78_1204.bin and my own binfile both with the SSID and PASSWORD into...
by costo
16 Feb 2016, 12:10
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

I've run several OTA updates to my Sonoff device without any issues. But you have to stick to some basic rules: 1) There must be enough room between the sketch and spiffs area to store the temporary download. With a 1 MB flash device, use 1M with 64 kb spiffs. This is the same as we're using for th...
by costo
16 Feb 2016, 11:49
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

I'm glad I'm not the only one with the frustration that OTA is not very useable with 1meg hardware! In fact, I find that in addition to loosing all setting with ota, it usually renders the board unbootable until I reflash using serial.. If I flash the 1MB esp with the bin file provided by Martinis,...
by costo
16 Feb 2016, 11:41
Forum: ESP Easy: Hardware
Topic: ESP8266-14 supported?
Replies: 8
Views: 6826

Re: ESP8266-14 supported?

looks like an esp12x on an wemos pcb. cannot find important difference with my eyes to an esp14. there are nearly a bunch full of ESPs... http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family#esp-14 I see one important difference when I look at the esp-14 schematics as found on Google. Esp1...
by costo
16 Feb 2016, 00:35
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 906858

Re: New ESP gadget

What IDE-Tool settings did you use to complie ESP78 ? I've used 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 Are you sure you are powering the sonoff with 230 V after flashing it with a USB/Serial adapter? Beca...