Search found 15 matches

by okite
23 Jul 2023, 14:18
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Repaired... on System#Boot do LoopTimerSet,1,10 GPIO,12,0 GPIO,13,0 //GPIO,14,0 DRV8833 OLEDCMD,clear OLEDCMD,on Endon //System#Boot on Rules#Timer=1 do //top loop OLEDCMD,on If %iswifi% !=0 And %isntp%=0 // connected but got no time, then reboot to get time reboot Endif If %iswifi%=0 and [DoorsStat...
by okite
23 Jul 2023, 13:03
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Thanks, as I tune it, I find how many I have to learn yet :-)
by okite
23 Jul 2023, 11:52
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

I tuned the code a little: on System#Boot do LoopTimerSet,1,10 GPIO,12,0 GPIO,13,0 //GPIO,14,0 DRV8833 OLEDCMD,clear OLEDCMD,on Endon //System#Boot on Rules#Timer=1 do //top loop if WiFi#Connected=0 and [DoorsStatus#open]=0 LongPulse,12,1,34 //open doors TaskValueSet 2,1,1 //doors open endif on WiFi...
by okite
21 Jul 2023, 19:54
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

When acting on a specific time of day, you need to make sure the time has been set. So you can check the system variable %isntp% This way you know you can rely on the system time. Thanks! I added on Rules#Timer=1 do if %isntp% = 0 reboot endif OLEDCMD,on //on Clock#Time=All,%sunset% do //will run a...
by okite
16 Jul 2023, 23:19
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Just keep in mind that acting on events for a specific time of day (e.g. sunrise/sunset) will only be triggered when the unit is running at that time. So maybe you also want to check the current state/time of day when the system boots (on system#boot do...) or when the system time is set. I probabl...
by okite
28 Jun 2023, 13:54
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Thanks for advice again! :idea:
by okite
26 Jun 2023, 13:01
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

OLED info screen:
OLED.jpg
OLED.jpg (223.78 KiB) Viewed 4050 times
by okite
26 Jun 2023, 12:53
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

"Final" WittyCloud rules; playing with OLED too. Test run on timer, real operation will use TD-er recommendation - sunset/sunrise Clock#Time (thanks!): on System#Boot do LoopTimerSet,1,10 GPIO,12,0 GPIO,13,0 GPIO,14,0 OLEDCMD,clear Endon on Rules#Timer=1 do OLEDCMD,on //on Clock#Time=All,%...
by okite
25 Jun 2023, 15:58
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Hi, thanks, I have found soulution for Tasmota, but I wanna use ESPEasy: https://github.com/arendst/Tasmota/discussions/10387
I changed rules struct, so I am approaching the end :-D.
by okite
24 Jun 2023, 09:53
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

TD-er wrote: 29 Apr 2023, 10:25 Not sure how long an ESP will last on AA batteries though.
You've right, minimal voltage for this setup with controller is 5,5V.

Thanks.
by okite
23 Jun 2023, 15:39
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Hi, I, finally, tested, motor runs, but pulse/longpulse not.
Probably must open GPIO for given time only once after change of the A0 change... I am playing with timer but not quite sure I understand the principle how to set timer for one time period once after state change...

Thanks
by okite
29 Apr 2023, 10:40
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Thanks a LOT!
I will test it. I intend to use photovoltaic panel + charger.

:idea: Thanks!
by okite
28 Apr 2023, 22:45
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Thanks! Original circuit has no limit switches, and add them to the hardware would be too complicated. I am newcomer to the Espeasy, so I thouhgt it would be possible just to set time period or number of revolutions to define movement. It seems to be more complicated. I have old "yellow" e...
by okite
28 Apr 2023, 13:08
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

Re: DRV8833 + ESP Easy

Its not stepper, its ordinary DC motor.
by okite
28 Apr 2023, 10:16
Forum: ESP Easy: Hardware
Topic: DRV8833 + ESP Easy
Replies: 25
Views: 4394

DRV8833 + ESP Easy

Hi, any experience with ESP Easy? Want to use it to control damaged (original circuit) pet doors with ESP8266.
Thanks for any advice.