Update v1.2
The LCD now shows if the current or future date is invalid.
I plan on adding improvements as this is something I have taken an interest in for myself.
For that reason, if you don't want to see future updates within this topic, I will start a new topic
I have added both FC9 and FC10 versions
Best tactic: count down clock
-
- Matrix Staff
- Posts: 2086
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 644 times
- Been thanked: 702 times
Re: Best tactic: count down clock
- Attachments
-
- Countdown clock v1.2 FC10.fcfx
- (38.38 KiB) Downloaded 600 times
-
- Countdown clock v1.2 FC9.fcfx
- (36.9 KiB) Downloaded 503 times
Martin
-
- Valued Contributor
- Posts: 1688
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 583 times
Re: Best tactic: count down clock
Me too!
Medelec35: brilliant flowcharts, I really got your trick.
Nice way too check if the time is valid.
I want to try my approach too and if I get it working I will share it too.
Thanks
-
- Valued Contributor
- Posts: 1688
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 583 times
Re: Best tactic: count down clock
Hi
One possible issue I see in your approach is the size of what you will be downloading, if you are attempting to download a page rather than a response string of sorts.
I think it far better to obtain the value(s) directly rather than attempting to parse a whole page.
I'll try and have a look at this later.
Regards
One possible issue I see in your approach is the size of what you will be downloading, if you are attempting to download a page rather than a response string of sorts.
I think it far better to obtain the value(s) directly rather than attempting to parse a whole page.
I'll try and have a look at this later.
Regards
-
- Matrix Staff
- Posts: 2086
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 644 times
- Been thanked: 702 times
Re: Best tactic: count down clock
Just a thought.
How about Something like Arduino uno, 4x20 display, and App Developer is used?
The App Developer can set the RTC with the correct time and date and it will set the future date.
Then no external keypad will be required, so the hardware is simplified to just Arduino Uno, LCD, and an RTC.
Alternatively, you can use any microcontroller and use USB to TTL converter.
How about Something like Arduino uno, 4x20 display, and App Developer is used?
The App Developer can set the RTC with the correct time and date and it will set the future date.
Then no external keypad will be required, so the hardware is simplified to just Arduino Uno, LCD, and an RTC.
Alternatively, you can use any microcontroller and use USB to TTL converter.
Martin
-
- Valued Contributor
- Posts: 1688
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 583 times
Re: Best tactic: count down clock
Hi
That website (and similar) have a statement in their headers that prohibits the use of scripts etc if they are transparent to the user, which is what you would most likely need. Premium versions may allow but that doesn't appeal to me.
There may be another site that allows you to send a string of sorts and receive back a reply string that you could parse.
Regards
That website (and similar) have a statement in their headers that prohibits the use of scripts etc if they are transparent to the user, which is what you would most likely need. Premium versions may allow but that doesn't appeal to me.
There may be another site that allows you to send a string of sorts and receive back a reply string that you could parse.
Regards
Re: Best tactic: count down clock
I've never used app developer because I read that it only works on Windows?
These days there are much more devices that use other operating systems (mobile devices).
Maybe I will have a try later but I'm not going to pay for this feature

Thanks! I think you are right.chipfryer27 wrote: ↑Sun Mar 26, 2023 4:09 pmThat website (and similar) have a statement in their headers that prohibits the use of scripts etc if they are transparent to the user, which is what you would most likely need. Premium versions may allow but that doesn't appeal to me.
There may be another site that allows you to send a string of sorts and receive back a reply string that you could parse.
Regards
The last things I tried gave me (same old) problems with the watchdog getting triggered on the ESP32, got to figure that out how I disabled this (think I've posted this on this forum somewhere), and when I try to receive the data, I got a 400 Bad Request Cache-Controle...no cache... error.
I've made some progress, but need to test more.
I agree that parsing a whole page is overkill, but I did that before so I tried to get back to a "proven" way.
I will try and find out another way to achieve this. But I will try and find a way via the internet.
Why use a connected device and not make use of it's capabilities

But thanks, both of you for the input.
Keep sharing input!

-
- Valued Contributor
- Posts: 1688
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 583 times
Re: Best tactic: count down clock
Hi
What device are you looking to use as the ESP has both BT and WiFi.
Just as an example, you could use a mobile "Terminal" program to connect to the ESP and set times etc. Not much different to an "app" really and takes away the need for push buttons. Or if using android it's relatively easy to create an "app".
Regards
What device are you looking to use as the ESP has both BT and WiFi.
Just as an example, you could use a mobile "Terminal" program to connect to the ESP and set times etc. Not much different to an "app" really and takes away the need for push buttons. Or if using android it's relatively easy to create an "app".
Regards
Re: Best tactic: count down clock
I have several ESP32 Wroom that I use for nearly everything.chipfryer27 wrote: ↑Mon Mar 27, 2023 7:30 amHi
What device are you looking to use as the ESP has both BT and WiFi.
Just as an example, you could use a mobile "Terminal" program to connect to the ESP and set times etc. Not much different to an "app" really and takes away the need for push buttons. Or if using android it's relatively easy to create an "app".
Regards
An easy way to change the time would be great, but right now I just stick with using an NTP server to read the time (later I can add a RTC).
As a "GUI" an app would be great, but don't know where to start (except using an Terminal app on Android). In the past I tried MIT App Inventor but I'd rather stick with FC for this while

And I never used the Bluetooth function in FC for the ESP32 so as less as possible new things at this moment.
I'm testing to calculate the difference Like Medelec showed me. Don't want to copy/paste (want to learn)

-
- Valued Contributor
- Posts: 1688
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 583 times
Re: Best tactic: count down clock
Hi
MIT I found not too difficult to get to grips with but I was only creating some basic stuff to get the feel. I don't think it would be difficult to build an app that connected to your ESP to update time, but of course you are like me in that "why bother" when "Terminal" can do it
One thing I do think FC/ESP/Terminal is useful for is doing away with a dedicated "keyboard" when creating FC charts. Why write code to capture text, move cursor to next position, move it back coz you made a mistake etc when your phone does this for free. Using FC I can have my android connect and send me whatever I need to input
I haven't yet played with ESP BT but I've used various BT modules connected to PICs and set parameters using Terminal for BT on android (we android users are quite spoiled when it comes to handy gadgets that work with everything
)
Regards
MIT I found not too difficult to get to grips with but I was only creating some basic stuff to get the feel. I don't think it would be difficult to build an app that connected to your ESP to update time, but of course you are like me in that "why bother" when "Terminal" can do it

One thing I do think FC/ESP/Terminal is useful for is doing away with a dedicated "keyboard" when creating FC charts. Why write code to capture text, move cursor to next position, move it back coz you made a mistake etc when your phone does this for free. Using FC I can have my android connect and send me whatever I need to input

I haven't yet played with ESP BT but I've used various BT modules connected to PICs and set parameters using Terminal for BT on android (we android users are quite spoiled when it comes to handy gadgets that work with everything

Regards