Search found 175 matches

by asuz
18 Aug 2022, 21:42
Forum: ESP Easy: General Discussion
Topic: Coin acceptor with relay project
Replies: 25
Views: 7523

Re: Coin acceptor with relay project

TD-er wrote: 18 Aug 2022, 21:40 Maybe others can help you first here as right now I'm working hard on other issues regarding ESP32 issues regarding the flash and sending data via HTTP (2 separate issues)
Thank you, I hope somebody help me
by asuz
18 Aug 2022, 21:15
Forum: ESP Easy: General Discussion
Topic: Coin acceptor with relay project
Replies: 25
Views: 7523

Re: Coin acceptor with relay project

I want to coin activated relay. Here is my project. LCD's first row type "please insert 3 coin" then if somebody insert 3 coin LCD's same (or second) row type "please push green button to start" then if green push button is pressed relay activated for 300 second by the way same (...
by asuz
18 Aug 2022, 20:51
Forum: ESP Easy: General Discussion
Topic: Coin acceptor with relay project
Replies: 25
Views: 7523

Re: Coin acceptor with relay project

OK, that's very simple indeed. https://i0.wp.com/miliohm.com/wp-content/uploads/2019/09/schematic.png You simply add some pull-up resistor between 3V3 and the "coin" pin. The "coin" pin should then be connected to a GPIO pin on the ESP. Please consult these tables to pick the ri...
by asuz
17 Aug 2022, 23:07
Forum: ESP Easy: General Discussion
Topic: Coin acceptor with relay project
Replies: 25
Views: 7523

Re: Coin acceptor with relay project

What voltage is there at the "coin" pin? Or is it a mechanical switch and if so, will it connect to GND or +12V? Sorry I am not familiar with that mechanism but can you look at that page "https://miliohm.com/coin-acceptor-or-coin-sensor-tutorial-with-arduino/" and help me. Someb...
by asuz
17 Aug 2022, 22:24
Forum: ESP Easy: General Discussion
Topic: Coin acceptor with relay project
Replies: 25
Views: 7523

Coin acceptor with relay project

Hello to all, I decided to make a coin acceptor relay board with nodemcu with your helps. I have a cheap chinese coin acceptor mechanism. There are Ground, coin and dc+12 pinout at hte coin mechanism. Which pins should I use at the nodemcu? Later I will connect an LCD to the nodemcu.
by asuz
07 Oct 2021, 23:17
Forum: ESP Easy: General Discussion
Topic: or gate IC
Replies: 3
Views: 4325

Re: or gate IC

Thanks ThomasB and TD-er both of you. I will do what you describe.
by asuz
07 Oct 2021, 00:12
Forum: ESP Easy: General Discussion
Topic: or gate IC
Replies: 3
Views: 4325

or gate IC

Hello all,
I need to combine 3-4 (maybe 2) motion sensors (hc-sr501)to the same input of the esp easy. I read something about or gate ic component, is there anybody advice me which or gate ic should i choose?
by asuz
20 May 2021, 12:30
Forum: ESP Easy: General Discussion
Topic: peer to peer, ESP-NOW
Replies: 8
Views: 6477

Re: peer to peer, ESP-NOW

TD-er wrote: 19 May 2021, 17:58 Enable the AP mode on one node and try to connect the other node to that AP.
Then you can send commands via HTTP on 192.168.4.1 (the IP of the node running with AP enabled)
Thank you
by asuz
19 May 2021, 16:04
Forum: ESP Easy: General Discussion
Topic: peer to peer, ESP-NOW
Replies: 8
Views: 6477

Re: peer to peer, ESP-NOW

Thanks for your effort, what are my alternatives to use instead of ESP_NOW between two nodemcu without access point?
by asuz
19 May 2021, 11:46
Forum: ESP Easy: General Discussion
Topic: peer to peer, ESP-NOW
Replies: 8
Views: 6477

Re: peer to peer, ESP-NOW

TD-er wrote: 19 May 2021, 11:26 I'm working on it, but it is not included in any released build yet.
Thank you, i will be around and wait your release :)
by asuz
19 May 2021, 11:15
Forum: ESP Easy: General Discussion
Topic: peer to peer, ESP-NOW
Replies: 8
Views: 6477

peer to peer, ESP-NOW

Hello,
I want to communicate between two nodemcu modul without access point. What should I use? Actually I read about ESP-NOW but cannot find anything how to install ESP-NOW to the nodemcu? Which firmware version should I use?
by asuz
27 Apr 2021, 20:26
Forum: ESP Easy: General Discussion
Topic: PCF8574 IO Expander rule help
Replies: 2
Views: 4231

Re: PCF8574 IO Expander rule help

Ath wrote: 27 Apr 2021, 17:40

Code: Select all

on sensor#State=0 do // Sensor activated
  pcfgpio,2,=![relay#State] // Flip relay
endon
Thank you very much, it works :)
by asuz
27 Apr 2021, 17:01
Forum: ESP Easy: General Discussion
Topic: PCF8574 IO Expander rule help
Replies: 2
Views: 4231

PCF8574 IO Expander rule help

Hi to all, I have a PCF8574 IO Expander that connected to Nodemcu. An IR Infrared Obstacle Avoidance Sensor Module (at picture) and a relay module is connected to the PCF8574 IO Expander. I want the relay to turn on once I show my hand to the sensor. I want the relay to stay on until I show my hand ...
by asuz
03 Feb 2021, 21:17
Forum: ESP Easy: General Discussion
Topic: relay rule help
Replies: 2
Views: 3639

Re: relay rule help

TD-er wrote: 03 Feb 2021, 20:34

Code: Select all

on Button1#State do
  if [Relay1#State]=0
    gpio,12,1
  else
    gpio,12,0
  endif
endon
You can change the names of Button1 and Relay1 to whatever you named your tasks.
Thank you very much.
by asuz
03 Feb 2021, 20:21
Forum: ESP Easy: General Discussion
Topic: relay rule help
Replies: 2
Views: 3639

relay rule help

Hi to all,
I have a relay that connected to GPIO-12 name is relay and an input switch (push-button) that connected to the GPIO-13 and name is switch. When I press the button, if the relay is closed, I want it turned on, and if it's on, I want it turned off. What should my rule be like?
by asuz
18 Jan 2021, 18:49
Forum: ESP Easy: General Discussion
Topic: Schedule reboot issue
Replies: 3
Views: 3703

Re: Schedule reboot issue

- Define a Dummy Device (on Task: 5 name=Reboot, variable: 1 name=Last, in my case) - Change your code like this: On Clock#Time=All,12:00 Do If [Reboot#Last]<>%sysday% TaskValueSet,5,1,%sysday% // Will survive a reboot, not a power-cycle Reboot EndIf EndOn NB: Untested! That fits my need, thank you...
by asuz
18 Jan 2021, 09:51
Forum: ESP Easy: General Discussion
Topic: Schedule reboot issue
Replies: 3
Views: 3703

Schedule reboot issue

I want to restart my nodemcu once a day. So i put a script like that. On Clock#Time=All,12:00 Do Reboot EndOn but each time esp reboot at that time it keep restarting for 1 minute because after restart it see that time is 12:00 again it restarts, that keep restarting until 12:01, how can i solve tha...
by asuz
22 Nov 2020, 23:52
Forum: ESP Easy: General Discussion
Topic: ESPEasy: Extending Wifi range through data routing between multiple ESPEasy units?
Replies: 14
Views: 11819

Re: ESPEasy: Extending Wifi range through data routing between multiple ESPEasy units?

TD-er wrote: 22 Nov 2020, 19:23 Not yet, but it is a feature that will be added as I'm working on it.
It is a rather extensive new feature, so I'm already working on it for a while so don't expect it this year.
Hopefully at the beginning of next year.
That would be a magnificent feature. :idea:
by asuz
08 Nov 2020, 23:25
Forum: ESP Easy: General Discussion
Topic: Widget suggestion
Replies: 4
Views: 7266

Re: Widget suggestion

TD-er wrote: 08 Nov 2020, 20:39 Would JSON or CSV formatted data be useful here?
See: https://espeasy.readthedocs.io/en/lates ... ht=csv#csv
Thank you, i will search how to use that reference.
by asuz
08 Nov 2020, 10:51
Forum: ESP Easy: General Discussion
Topic: Widget suggestion
Replies: 4
Views: 7266

Re: Widget suggestion

Have you tried out ESPEasy's built-in dashboard? Using a recent Mega release, browse this URL: http://DEVICE_IP/dashboard.esp You can also create your own custom HTML page and save it to the SPIFF file system. For example, I use ESPEasy to access my 3D printer. I wrote some html that exposes the da...
by asuz
08 Nov 2020, 00:19
Forum: ESP Easy: General Discussion
Topic: Widget suggestion
Replies: 4
Views: 7266

Widget suggestion

Is there any suggestion other than domoticz android app widget for display temperature data at my android phone?
by asuz
04 Nov 2020, 13:46
Forum: ESP Easy: General Discussion
Topic: IR Receiver data transformation to IR Sender
Replies: 5
Views: 7884

Re: IR Receiver data transformation to IR Sender

@asuz: Good to know you found what you needed. BTW, the log message you show is for IR SEND's data, whereas you were asking about converting the data from IR RECV. @TD-er: Oh, new feature. Appears to be hot and fresh out of the oven. Thanks for adding it (and for documenting it too). - Thomas Maybe...
by asuz
03 Nov 2020, 23:04
Forum: ESP Easy: General Discussion
Topic: IR Receiver data transformation to IR Sender
Replies: 5
Views: 7884

Re: IR Receiver data transformation to IR Sender

so how can i transform that value to the hex data to send it with my nodemcu's ir transmitter? ESPeasy has a string transform function (strtol). But it converts any base value to decimal, not the other way around. I suggest using an online decimal-to-hex convertor to determine the equivalent hex va...
by asuz
03 Nov 2020, 22:01
Forum: ESP Easy: General Discussion
Topic: IR Receiver data transformation to IR Sender
Replies: 5
Views: 7884

IR Receiver data transformation to IR Sender

Hello, There is a ir receiver device (VS1338B similar TSOP4838) and a ir transmitter led in the nodemcu. I can shutdown my samsung smart tv with sending <esp ip>/control?cmd=IRSEND,SAMSUNG,e0e09966,32 code. e0e09966 is my tv shutdown hex format command. I need to open smart tv web browser with sendi...
by asuz
30 Oct 2020, 23:54
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

[...] Done, thank you again. I learnt its working logic. :D Great! Not sure if it should be called "logic" as I personally find it quite counter-intuitive to a level of "and then it magically works". (not sure how to describe it anything else) Describe it however you want, but, ...
by asuz
30 Oct 2020, 22:30
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

On the sender side you also need to have the ESPEasy p2p controller and link it to the task you want to send via p2p. On the receiver end you need to have the task nr empty which you try to send. If you follow the steps on the docs page I linked, you should get it to work. Done, thank you again. I ...
by asuz
30 Oct 2020, 21:40
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Yes, use ESPEasy p2p for that. See: https://espeasy.readthedocs.io/en/latest/Controller/C013.html#c013-page Just make sure to have unique unit nrs (not 0, not 255) and use the same UDP port (8266 of course) among them in the same network. (and keep showing pictures :) ) Pictures not enough for you,...
by asuz
30 Oct 2020, 20:39
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

GPIO boot states are only acting on the internal GPIO's. If you need to set pins on the external GPIO's, then I would suggest to use rules. Thank you, it works very well. Last things i need to do is get temperature sensors value from other 2 esp easy and display them at that esp easy's LCD screen. ...
by asuz
29 Oct 2020, 18:13
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

I notice that P0 to P7 ports of the PCF8574 GPIO extender is always on after reboot of the nodemcu. How can i set the P0 to P7 ports always off after reboot, should i make a rule or set something at the GPIO boot states ?
by asuz
29 Oct 2020, 18:05
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Thanks to especially TD-er, Micha_he and my friend HACI for helping to make my dream project come true. Soon, i will record and publish here a video what the actually the project do and might be reference for somebody for a weekend project.

special thanks.jpg
special thanks.jpg (4.21 MiB) Viewed 49082 times
by asuz
29 Oct 2020, 13:47
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Can you test this build? https://www.dropbox.com/s/1qvgk9irw8qm2oi/ESP_Easy_mega_20201029_custom_IR_ESP8266_4M1M.bin?dl=0 If it is working, I will add a "normal_IR" build to the build environments. Thank you very much, i just install it but fully test i need to control TSOP4838 and ir IR ...
by asuz
28 Oct 2020, 23:41
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Setup PlatformIO + VScode and build a custom build... Or remind me again tomorrow morning and I will make one for you. Building by you is better for me i am not familiar that stuff and seems not easy for me doing in a short time i need time to improve myself in time. I will remind you tomorrow with...
by asuz
28 Oct 2020, 23:34
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

TD-er wrote: 28 Oct 2020, 23:32 I think you will need a custom build, as it doesn't seem to be an existing configuration using those.
How can i do that?
by asuz
28 Oct 2020, 21:35
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

2. No ! The led of the optocupler needs ~1.15V / 10mA. You can not remove the resistor. And the PCF8574 cannot drive +10mA. 3. Look at the IR-led datasheet. If it only needs 300µA, would be unusual, it could work ! In my opinion, there is no Led that works with 300µA. You need a additional transist...
by asuz
27 Oct 2020, 13:34
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

You can't connect the LED-anode to the output of the PCF8574, because it need more than 300 μA ! Better connect the anode of the LED (or LED oft the optocupler) to 3.3v, cathode to the ouput and switch with a low-output. Sorry, i am working that project for a while and my mind mixed, do not underst...
by asuz
26 Oct 2020, 23:53
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

You can't connect the LED-anode to the output of the PCF8574, because it need more than 300 μA ! Better connect the anode of the LED (or LED oft the optocupler) to 3.3v, cathode to the ouput and switch with a low-output. Sorry, i am working that project for a while and my mind mixed, do not underst...
by asuz
26 Oct 2020, 23:16
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Micha_he wrote: 26 Oct 2020, 22:23 Attention:

PCF8574 has:

300 μA at high-level (3.3V) and
25 mA at low-level (0V).
What is your suggestion can you explain a bit more? How can i use that informaiton at my circuit?
by asuz
26 Oct 2020, 19:54
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Have you tested using a LED and 220 Ohm resistor to check if the PCF does allow to draw the needed current for the LED? Do you know the voltage drop of the LEDs in the optocoupler? Thanks i will check LED and 220 ohm. What do you think about using level shifter to power the 4-Channel Opto-isolator ...
by asuz
26 Oct 2020, 15:07
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

I connect nodemcu to the PCF8574 modul then to the 4-Channel Opto-isolator IC Module but when I send the command <esp ip>/control?cmd=PCFGPIO,1,1 , I only measure 1 V between IN 1(IN 2, IN3, IN 4) and GND and it seems it doesnot enough voltage to trigger opto output side. When I measure IN 1(IN 2, I...
by asuz
23 Oct 2020, 10:52
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Understood. My electricity knowledge is not that great but basically your KVM will provide +5V and little switches need to be grounded to operate. You do want to command them remotely with a remote (existing or that doesn't matter ?). The IR led is for what though ? You have to pilot something else...
by asuz
23 Oct 2020, 10:37
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

You mentionned in your previous post a possible boot problem if you use 6 GPIOs of the Lolin. Is that the case or was it just precaution ? I was thinking about modify the KVM switch for that reason i need to use 6 GPIO at lolin. Also, what are those pads on the side of the Aimos ? I can't find the ...
by asuz
22 Oct 2020, 22:38
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Ath wrote: 22 Oct 2020, 22:18 It looks like the default I2C addresses for both PCF8574 and LCD2004 are 0x20, so you should change one of them, and as the PCF has jumpers you could move the A0 jumper to the other position, so it should be configured for 0x21 instead.
Thank you, i will try.
by asuz
22 Oct 2020, 21:48
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Well I think it isn't a bad idea here to use optocouplers to replace or override the switches. After all you don't know if the switches are connected to GND or Vcc and changing impedance may affect the operation of the KVM switch. You are right switches are connected to GND not Vcc so I realize tha...
by asuz
22 Oct 2020, 02:39
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

Re: USB KVM Switch modify project - 2

Is there anybody give me idea about the connection, if its ok or not?
by asuz
20 Oct 2020, 22:09
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50926

USB KVM Switch modify project - 2

A few months ago i started a project at the topic USB KVM Switch modify project . That project failed for the reasons I mentioned on that page. So i decided to start a new project with a new KVM. This time i bought a KVM with 4 selection button. That KVM circuit has a micro usb port with 4+1 (ground...
by asuz
20 Oct 2020, 20:34
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 9577

Re: Best choice for 6 GPIO connection

Grumpf wrote: 20 Oct 2020, 20:23 ..........
If I can be of any help, I'll be happy to.
you guessed a lot, and i will be share my project in a few minute later.
by asuz
20 Oct 2020, 20:03
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 9577

Re: Best choice for 6 GPIO connection

What are you going to control with the relays ? Also, unless your design is already made for reasons; it's best to tell us what is your project. What are you trying to accomplish ? Sometimes someone will come with a simpler way. Cheers! Basically, I already have a receiver and an ir led connected t...
by asuz
19 Oct 2020, 00:59
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 9577

Re: Best choice for 6 GPIO connection

Why not use a GPIO expander chip to control the relais? Those do not have to be switched very frequently so an expander is very well suitable for those. Should i need to use GPIO expander chip even if use tlp280-4 opto instead of relays? If yes what do yo suggest me for GPIO expander chip i had nev...
by asuz
19 Oct 2020, 00:15
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 9577

Best choice for 6 GPIO connection

I need to advice for connect one ir receiver (VS1838B) one ir led and 4 relay at same nodemcu. Which GPIO's should I use ?
by asuz
18 Sep 2020, 12:22
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project
Replies: 15
Views: 15015

Re: USB KVM Switch modify project

If you replace the current LEDs on the unit with the LEDs of the optocoupler, you don't need extra resistors. N.B. the same applies when you set the optocoupler LEDs parallel. There is however a big BUT here... Can you measure the voltage drop over the LED in the optocoupler? If this is a higher vo...