Search found 16 matches

by stin88
08 Feb 2020, 11:13
Forum: ESP Easy: Software
Topic: Pulse counter - Is this correct settings for the signal?
Replies: 4
Views: 958

Re: Pulse counter - Is this correct settings for the signal?

thanks for all replies, i will use RISING with debounce of 56ms. https://i.imgur.com/Gr8K9Xe.jpg the counter works perfect.. now i need to read some more about using rules... I am not really comfortable using the rules but here you get a preview of what I am trying to achieve if there is someone who...
by stin88
02 Feb 2020, 18:07
Forum: ESP Easy: Software
Topic: Pulse counter - Is this correct settings for the signal?
Replies: 4
Views: 958

Pulse counter - Is this correct settings for the signal?

not sure about the settings... read some over here.. https://www.letscontrolit.com/forum/viewtopic.php?t=3476 i thought i could use the log to determinate how fast its going high between and low but thats not how the web-logging interface works.. but heres the signal i like to count (and seems to co...
by stin88
26 Jan 2020, 16:56
Forum: ESP Easy: Software
Topic: convert analog signal to digital using rules?
Replies: 3
Views: 983

Re: convert analog signal to digital using rules?

tried this code with no success On System#Boot do //When the ESP boots, do TaskValueSet 3,1,0 //set [DummyCounter#counts]=0 endon On DummyCounter#counts do if [feedback#state]<700 //if analog less than 700, add +1 to counter TaskValueSet 3,1,[DummyCounter#counts]+1 endif endon going to check for a s...
by stin88
26 Jan 2020, 14:07
Forum: ESP Easy: Software
Topic: convert analog signal to digital using rules?
Replies: 3
Views: 983

Re: convert analog signal to digital using rules?

using esp8266-12f chip.. this is my data.. https://i.imgur.com/blP1eFc.png trying to figure out how i can set rule to count 1 or 0 from the analog value and use another rule to set counter, cant find any example in docs about counters... on dummy#var1=1 do if [analogINPUT#value]<500 gpio,16,[dummy#v...
by stin88
26 Jan 2020, 12:29
Forum: ESP Easy: Software
Topic: convert analog signal to digital using rules?
Replies: 3
Views: 983

convert analog signal to digital using rules?

hi. i got a signal that goes from 2volt(high) to around 0,2v(low) in 10ms and repeats with a span around 50ms.. First i thought use a gpio but according to docs but the signal is to weak, got the suggestion to use a level shifter but im not sure how to pick the right one... so now im using the analo...
by stin88
08 Nov 2019, 17:16
Forum: ESP Easy: Software
Topic: custom firmware with DALI.ino
Replies: 0
Views: 3238

custom firmware with DALI.ino

Been testing out DALI with esp8266, works very good with the testcode published on arduino.cc. I am not finished with my own testcode but is it possible to include the testcode to espeasy? https://create.arduino.cc/projecthub/NabiyevTR/simple-dali-controller-506e44 or.. how can i, as newbie to esp82...
by stin88
21 Oct 2019, 20:53
Forum: ESP Easy: Hardware
Topic: code works on arduino, how do i program the esp or espeasy? :S
Replies: 8
Views: 5414

Re: code works on arduino, how do i program the esp or espeasy? :S

Hmm that's a strange schematic. What is connected to the DA pins? Lamps https://en.wikipedia.org/wiki/Digital_Addressable_Lighting_Interface i dont think it dosnt matter if i connect the transistor to +12 or -12 side due to Dali has a rectifier bridge inside it. As long as the ADC is connected to t...
by stin88
20 Oct 2019, 18:01
Forum: ESP Easy: Hardware
Topic: code works on arduino, how do i program the esp or espeasy? :S
Replies: 8
Views: 5414

Re: code works on arduino, how do i program the esp or espeasy? :S

this is the schematic-ish
Image

i needed to refine the v-divider for esp8266. The arduino code runs just fine now on esp8266-12e. :)
by stin88
19 Oct 2019, 19:00
Forum: ESP Easy: Hardware
Topic: code works on arduino, how do i program the esp or espeasy? :S
Replies: 8
Views: 5414

Re: code works on arduino, how do i program the esp or espeasy? :S

succeded to upload arduino code to esp, recalculate the v-divider, R1=1,1kohm and R=100ohm and i get 0,75voltage when esp is not power on, when i power on the esp8366, it gives me around 1voltage, why? :S
by stin88
13 Oct 2019, 17:19
Forum: ESP Easy: Hardware
Topic: code works on arduino, how do i program the esp or espeasy? :S
Replies: 8
Views: 5414

Re: code works on arduino, how do i program the esp or espeasy? :S

this is the setup to controll DALI (Digital Adressable Lighting Interface) using bc549C. It seems to work fine on arduino.
Image
by stin88
12 Oct 2019, 12:13
Forum: ESP Easy: Hardware
Topic: code works on arduino, how do i program the esp or espeasy? :S
Replies: 8
Views: 5414

code works on arduino, how do i program the esp or espeasy? :S

been working with this esp8266 flashed with espeasy and i can understand the simplicity. However, not been working so much with the flashing and programming this soc.... so, now i have been cheating and made my code work on my arduino, where do i start programming the esp8266 and with (maybe) easyes...
by stin88
08 Aug 2019, 20:50
Forum: ESP Easy: Hardware
Topic: Relay is able to turn ON but get stuck at OFF
Replies: 3
Views: 6750

Relay is able to turn ON but get stuck at OFF

i manage to turn it ON using this http://192.168.2.116/control?cmd=GPIO,2,0 and this is the setup https://robokits.co.in/bmz_cache/3/3d23544c74a506493b883c47e26c3146.image.1066x800.jpg https://i.imgur.com/kIAoYd9.png gnd to gnd vcc to 5v signal to 10kohm to gpio 2 its like it wont loose the connecti...
by stin88
30 Jul 2019, 21:09
Forum: ESP Easy: General Discussion
Topic: How do i PWM a sn754410 with espeasy?
Replies: 0
Views: 6041

How do i PWM a sn754410 with espeasy?

Not sure how i can archive back/forward/speed with espeasy interface. How can i controll one motor with this setup and with espeasy? https://www.instructables.com/id/Control-a-Zumo-Robot-Using-the-ESP8266/ read something about servo http://<ESP IP address>/control?cmd=Servo,2,2,45 but this isnt a se...
by stin88
30 Jul 2019, 20:43
Forum: Introduce yourself
Topic: Hello from sweden
Replies: 2
Views: 625

Hello from sweden

Hello, my name stina, live in sweden, umeå

using this chip to understand more about iot :)
by stin88
29 Jul 2019, 21:27
Forum: ESP Easy: Software
Topic: Newbie question: LDR
Replies: 3
Views: 7503

Re: Newbie question: LDR

nvm, wemos d1 mini got a voltage devider, Didnt know "Analog input of the ESP-chip can only read up to 1V (8bit Resolution= 1024 steps)" 3.3v --------- | 10kohm | |------------A0 | LDR | GND---------- A0 (input) --- | 220k | |----------ADC 100k | GND --------
by stin88
29 Jul 2019, 18:55
Forum: ESP Easy: Software
Topic: Newbie question: LDR
Replies: 3
Views: 7503

Re: Newbie question: LDR

How is your setup? im using 10kohm and a LDR, using the spec you providing and the one at the link, i get 65535.00 3.3v --------- | LDR | ------------ADC on esp8266 | 10kohm | GND---------- im still stuck on one analog value :( suggestions?