Search found 144 matches

by rayE
03 Nov 2017, 13:58
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

DVM = digital volt meter If you think 4 volts is OK for the ESP then go ahead, BUT make sure you have lots of spare of ESP modules :-) When the spec on a module specifies a MAXIMUM voltage then do NOT put more than that into it, otherwise the smoke will come out, simple design guidelines, no rocket ...
by rayE
03 Nov 2017, 13:10
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

Yes i checked your drawing, the TP board has NO VOLTAGE regulation, your drawing will WRECK a bare ESP module when the battery is fully charged. as for an INA board, iv never heard of it and NO IDEA what it is? Maybe do a little more homework before letting the smoke out of the ESP module :-) http:/...
by rayE
03 Nov 2017, 12:12
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

DANGER!!!!!!!!!!!!!!!! Where is the voltage regulator? 4.2 volts (a fully charged LiOn) WILL KILL a bare esp module (been there and done that :) unless your using a PCB with a vreg? Lots of detail missing out of your drawing?
by rayE
03 Nov 2017, 11:35
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

what is the I2C module?
by rayE
02 Nov 2017, 12:31
Forum: ESP Easy: Projects / Applications
Topic: Flow sensor reboots ESP E12
Replies: 26
Views: 19712

Re: Flow sensor reboots ESP E12

Just a thought, if the pulse counter device digital input from the flow sensor is configured as a D/O (in the device driver) that would cause current sink problems and probably reboots. Look at the horrible scope graphs previously presented?
by rayE
02 Nov 2017, 12:20
Forum: ESP Easy: Projects / Applications
Topic: Flow sensor reboots ESP E12
Replies: 26
Views: 19712

Re: Flow sensor reboots ESP E12

My setup:
v2.0.0-dev12

Device = Pulse Counter
I/O = CH5
Type = delta/total/time
Mode = Rising
Delay = 10s
by rayE
02 Nov 2017, 11:43
Forum: ESP Easy: Projects / Applications
Topic: Flow sensor reboots ESP E12
Replies: 26
Views: 19712

Re: Flow sensor reboots ESP E12

Hi Jacek, What value pull up resistor is on the flow sensor? i take it the capacitor is 0.1uF ceramic? I use this type which gives nice square waves with 3K3 + 0.1uF, works fine on a PIC BUT not with the pulse counter device, iv also tried a signal generator and it still constantly reboots, a firmwa...
by rayE
02 Nov 2017, 11:28
Forum: ESP Easy: Projects / Applications
Topic: Flow sensor reboots ESP E12
Replies: 26
Views: 19712

Re: Flow sensor reboots ESP E12

I will second that. My ESP12E has adequate decoupling and built on a PCB. It's been running non stop now for 3 weeks with a different application and no reboots. Start up the pulse counter device and it reboots at least every 30 seconds.
by rayE
02 Nov 2017, 08:49
Forum: ESP Easy: Software
Topic: ThingSpeak upate delay blocks system
Replies: 5
Views: 4478

Re: ThingSpeak upate delay blocks system

OOps, correction.
dev2.gif
dev2.gif (41.2 KiB) Viewed 4413 times
by rayE
02 Nov 2017, 08:45
Forum: ESP Easy: Software
Topic: ThingSpeak upate delay blocks system
Replies: 5
Views: 4478

Re: ThingSpeak upate delay blocks system

Sorry for the delay. My rules setup. I run these by sending event, SerialSend through the serial port, i guess you can run from a timer instead. //---------------------------------------------------------------------------------------------------------------------- on SerialSend do SendToHTTP 184.10...
by rayE
29 Oct 2017, 15:54
Forum: ESP Easy: Software
Topic: ThingSpeak upate delay blocks system
Replies: 5
Views: 4478

Re: ThingSpeak upate delay blocks system

I noticed this odd behavior as well. My fix was to NOT use a thingspeak controller. This is what i did. 1. sore the energy data in a quad dummy device. 2. Send the data with a SendToHTTP command. This can be set up in a rule that is triggered by a timer. If you want ill post the rules i use for my s...
by rayE
26 Oct 2017, 13:03
Forum: ESP Easy: Projects / Applications
Topic: Flow sensor reboots ESP E12
Replies: 26
Views: 19712

Re: Flow sensor reboots ESP E12

Hi,
I had the same problem, some others did not. Thread here. Hope it helps.
viewtopic.php?f=2&t=3647

Ray
by rayE
26 Oct 2017, 00:34
Forum: ESP Easy: Software
Topic: Dynamic Webpages
Replies: 3
Views: 3364

Re: Dynamic Webpages

I second a request for a WiKi write up on how to do this. This functionality will make ESP Easy totally AWESOME (more so than it is already) ;-)

Ray
by rayE
25 Oct 2017, 14:41
Forum: ESP Easy: Software
Topic: serial communication to MCU - EASY :-)
Replies: 2
Views: 3267

Re: serial communication to MCU - EASY :-)

I should have added that there are no devices set up for this, like dummy's or ser2net (tried all that but it was like rocket science for me) BUT you need to set the serial debug level to 2 or greater (check this, it may be 4?) so that the rule responses are passed out through the serial port.
by rayE
25 Oct 2017, 14:19
Forum: ESP Easy: Software
Topic: serial communication to MCU - EASY :-)
Replies: 2
Views: 3267

serial communication to MCU - EASY :-)

Hi All, Iv been on the ESP Easy uphill learning curve for around 2 weeks or so now. My main use for this firmware is the real nice web configurable front end. At the present moment im developing my own energy/utility monitoring sensors using the ESP module and a VERY low cost PIC processor that comm...
by rayE
24 Oct 2017, 02:53
Forum: ESP Easy: Software
Topic: IF statement on %eventvalue%
Replies: 16
Views: 12997

Re: IF statement on %eventvalue%

Thanks guy's, this works a treat :-)
by rayE
23 Oct 2017, 12:50
Forum: ESP Easy: Software
Topic: IF statement on %eventvalue%
Replies: 16
Views: 12997

IF statement on %eventvalue%

Hi, V2.0 I set up a rule as follows. on configFlowSensor do if [%eventvalue%] = 1 // Do something like set a GPIO output endif endon I send the following HTTP request. http://<your esp ip>/control?cmd=event,configFlowSenor=1 With the IF statement i get no response, without the IF statement it will s...
by rayE
22 Oct 2017, 22:37
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

Hi,
I went through the ESP8266 data sheet but cannot find any reference to the ADC input impedance? Looking through some posts on various forums it seems like the impedance is between 10 to 20 megs. So make R1 value high, 220K, it will waste less power from the battery :-)
by rayE
20 Oct 2017, 02:14
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

Hi, Here is a better calculator that lets you enter one of the resistor values. http://www.ohmslawcalculator.com/voltage-divider-calculator Vin = 4.3V Vout = 1.0V R1=18K (standard value) R2 =5454R For the calibration take a look at the ADC device, Im not sure how the 2 point cal works as iv not trie...
by rayE
19 Oct 2017, 07:00
Forum: ESP Easy: Projects / Applications
Topic: Frequency measurement with EasyESP
Replies: 10
Views: 12038

Re: Frequency measurement with EasyESP

Hi Olbi,
What firmware version are you using? i take it you had no problems with the esp rebooting?
by rayE
18 Oct 2017, 13:01
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

On the calc i used Vin max to be 4.3V and Vout to be 1V
by rayE
18 Oct 2017, 12:32
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

so take a standard value of 10k for R1, use the calculator and R2 is ~3k, http://www.ti.com/download/kbase/volt/volt_div3.htm so double the values to use less current. DO NOT GO OVER 20K for R1, otherwise you will get inaccuracy s on the ADC readings. Also bear in mind that the ADC input impedance w...
by rayE
17 Oct 2017, 13:02
Forum: ESP Easy: Projects / Applications
Topic: Frequency measurement with EasyESP
Replies: 10
Views: 12038

Re: Frequency measurement with EasyESP

Even /100 would give you a very poor resolution! as i said from my brief experiment when the pulse counter worked it looked to me like the minimum resolution is 1mS. So i would think divide by 1000 BUT the pulse counter looks like it still has a problem? maybe someone else with a frequency generator...
by rayE
17 Oct 2017, 11:31
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

This is how i do ADC signal conditioning (for a battery) on a PIC, works a treat and very stable.
by rayE
17 Oct 2017, 11:00
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

The input impedance of the ADC WILL vary during use therefore the potential divider network should be kept to sub 10K levels otherwise the input signal will vary a small amount and not give accurate results.
by rayE
17 Oct 2017, 10:38
Forum: ESP Easy: Projects / Applications
Topic: Frequency measurement with EasyESP
Replies: 10
Views: 12038

Re: Frequency measurement with EasyESP

I gave the pulse counter a try today. Set up as follows. My setup: v2.0.0-dev12 Device = Pulse Counter I/O = CH5 Type = delta/total/time Mode = Rising Delay = 10s I injected a 3.3V p-p 1Hz signal into the I/O pin. For the first minute or so it seemed to work, the time variable gave an accurate repre...
by rayE
17 Oct 2017, 03:08
Forum: ESP Easy: Projects / Applications
Topic: Frequency measurement with EasyESP
Replies: 10
Views: 12038

Re: Frequency measurement with EasyESP

Dont you just set up a pulse counter device and set it to be delta/total/time? iv not tried it but im presuming the delta value will be pulses per second?
by rayE
17 Oct 2017, 01:43
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

CAUTION..............because i have NEVER used the ESP ADC i assumed it's Vin range is 0 to 3.3V, according to this link it is 0 to 1V. Tripple check what it is before working out your potential divider. http://www.esp8266.com/viewtopic.php?f=5&t=5556&sid=a68de43234a8120336a7679c6f2a430c If ...
by rayE
17 Oct 2017, 01:31
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

Yes, for the charge status, remove LED and wire from the Anode side of LED to a D/I on ESP. I soldered a 5 pin SIL header to the PCB, bent the middle pin 90 degrees and soldered the wire link to the LED from this pin. This way to can unplug the PCB from your main PCB. Regarding the potential divider...
by rayE
15 Oct 2017, 11:24
Forum: ESP Easy: Software
Topic: assign task value to a quad dummy device field
Replies: 2
Views: 2141

Re: assign task value to a quad dummy device field

As a note! i do find the WiKi index page "lacking" in the ability to find specific information. Instead iv resorted to a google on the topic of interest.

But apart from that ESP Easy is SO NICE to use, well done guy's and gals :)

Ray
by rayE
15 Oct 2017, 10:23
Forum: ESP Easy: Software
Topic: assign task value to a quad dummy device field
Replies: 2
Views: 2141

Re: assign task value to a quad dummy device field

The answer is READ THE DOCUMENTATION :?

Code: Select all

on WiFi#WiFiLevel do                                //On the WiFi signal strength event
TaskValueSet 2,2,[WiFi#WiFiLevel]           //Assign the value to field 2 in task 2
endon                                                     //End rule
by rayE
15 Oct 2017, 05:02
Forum: ESP Easy: Software
Topic: assign task value to a quad dummy device field
Replies: 2
Views: 2141

assign task value to a quad dummy device field

I want to retrieve the WiFi level and assign this to one field of a quad dummy device. So i will set up a "sys info" task and un-tick the "send to controller" box. From my basic understanding i will then set up a rule that triggers once the "sys info" event has happened...
by rayE
15 Oct 2017, 04:45
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

My solution to posting data (multiple fields in one go) to thingpeak through the ESP serial port is here.

viewtopic.php?f=6&t=3642

Ray
by rayE
15 Oct 2017, 04:31
Forum: ESP Easy: Software
Topic: Dummy device and Thingspeak
Replies: 2
Views: 2910

Re: Dummy device and Thingspeak

Device settings for my thing speak 8 fields, 4 fields per dummy device.


Devices.png
Devices.png (30.7 KiB) Viewed 2892 times
by rayE
15 Oct 2017, 04:25
Forum: ESP Easy: Software
Topic: Dummy device and Thingspeak
Replies: 2
Views: 2910

Re: Dummy device and Thingspeak

Dummy quad.png OK figured it out with some tests. I did the following. 1. Flashed V2.0.0 firmware. 2. Set the controller to be Thingspeak. 3. Set a dummy device with a simulated quad_type_sensor, as in the attached screen grab. This now allows me to send parameters through the serial input on the E...
by rayE
14 Oct 2017, 13:47
Forum: ESP Easy: Software
Topic: Dummy device and Thingspeak
Replies: 2
Views: 2910

Dummy device and Thingspeak

Hi All, A question about the functionality of a dummy device used with the Thingspeak protocol, the dummy device has place for 4 values, each individual value can be assigned using the following code that i send in through the serial port. TaskValueSet 1,1,100 TaskValueSet 1,2,200 TaskValueSet 1,3,3...
by rayE
14 Oct 2017, 01:41
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

Thanks for the information. I will give it a try today :)

Ray
by rayE
13 Oct 2017, 13:10
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

Is this the direction i should be heading?

TaskValueSet Rules Set values on a Dummy Task device TaskValueSet <task nr>,<value nr>,<value/formula>
by rayE
13 Oct 2017, 10:59
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

I wrote a more detailed post but it seems to have vanished into the ether. A couple of other things i do with the TP board. 1. Remove the LED's as they are a total waste of power. 2. Change the current limit resistor to match the maximum output of your solar panel (see the TP4056 chip data sheet for...
by rayE
13 Oct 2017, 09:44
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

This is how i have set up Tools - Advanced
by rayE
13 Oct 2017, 09:37
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

OK, i made some progress on this today and did the following. 1. Flashed ESP Easy onto ESP-12E module. 2. Set all the basic settings to connect to my network. 3. Followed the instructions here to send data to thingspeak http://www.letscontrolit.com/forum/view ... f=4&t=1175 4. Set up a ser2net d...
by rayE
13 Oct 2017, 01:32
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

Hi,
Thanks for the quick reply. I can tailor the protocol to whatever ser2net wants so that is not a problem. I will look at the ser2net plugin and hopefully get something up and running.

Thanks for the pointer.
Ray
by rayE
12 Oct 2017, 14:50
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30827

Re: Solar Power Supply for ESP ??

Hi Vincen, I solar power some of my projects, this is what i do. 1. solar panel. 2. 18650 battery 3. TP4056 charger module. The solar panel is wired to the 4056 module Vin pads. The battery is wired to the B+ and B- pads. The +V pad is connected to a 3.3V, very low voltage dropout voltage regulator,...
by rayE
12 Oct 2017, 13:22
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

serial port send data to Thingspeak

Hi All, Im VERY new to ESPeasy so please excuse any stupid questions. I have a current prototype unit that consists of a PIC controller that is connected to an ESP 12E via the serial port. The PIC has a few sensors connected to it and sends this data to Thingspeak. Currently I use AT commands to acc...