Search found 1062 matches

by chipfryer27
Wed May 01, 2024 5:34 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 262

Re: WiFi alarm

PS

I'd need to check the procedure to actually connect, it's most likely more than just connect :)
by chipfryer27
Wed May 01, 2024 5:20 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 262

Re: WiFi alarm

Hi

Perhaps overthinking?

Maybe just use the "connect" macro within the component macro to connect to your chosen site. This will return 0 if unsuccessfull or 1 if all good?

Regards
by chipfryer27
Tue Apr 30, 2024 6:32 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 262

Re: WiFi alarm

Hi

I think in a previous project you successfully grabbed "200 OK" or such like. Principle is the same, just choose a website that's likely to be available and of course even "400" is valid as the server has responded with it.

Regards
by chipfryer27
Tue Apr 30, 2024 4:10 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 262

Re: WiFi alarm

Haha The problem with setting to only use data over WiFi is I will forget when out and then wonder why I have no internet. I have done the same. When abroad I use another phone with a local SIM and this acts as a hotspot allowing my UK phone / PC / whatever to access and I keep "data off" on my UK p...
by chipfryer27
Tue Apr 30, 2024 3:46 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 262

Re: WiFi alarm

Hi As you rightly state, just because you have a WiFi signal it doesn't mean you have internet connectivity. Some phones have a setting that you can choose to only use "data" over WiFi so that would be an obvious choice, with you having to change a setting to allow mobile data if required. Have a lo...
by chipfryer27
Sun Apr 28, 2024 4:22 pm
Forum: Feature Requests
Topic: can you add an LoRa SX1278 module?
Replies: 17
Views: 1783

Re: can you add an LoRa SX1278 module?

Hi

Link just takes you to a Chinese website offering everything but the book....

Regards
by chipfryer27
Sun Apr 28, 2024 11:26 am
Forum: General
Topic: 9bit UART - Arduino Mega 2560
Replies: 9
Views: 243

Re: 9bit UART - Arduino Mega 2560

Hi

Add the UART / RS232 component found under Comms.

In the component properties you will find an option called Data Bits which can change bits being sent (I think it's 7 / 8 / 9).

Regards
by chipfryer27
Fri Apr 19, 2024 9:37 pm
Forum: General
Topic: RS232 Wireless help!
Replies: 12
Views: 1231

Re: RS232 Wireless help!

Hi Jorgen Sorry to brief I will try and respond more later. You loop checking for incoming data on the Rx, but this approach is prone to missing activity if the data arrives whilst you are busy elsewhere. My suggestion would be to include a Circular Buffer and an interrupt set for RxInt to capture a...
by chipfryer27
Wed Apr 17, 2024 8:11 pm
Forum: General
Topic: RS232 Wireless help!
Replies: 12
Views: 1231

Re: RS232 Wireless help!

Hi

In this post I used BT modules but as they use the UART too, the principals are the same. If the CB receives the required string then a LED toggles.

https://www.matrixtsl.com/mmforums/view ... 17#p107317

Hope this helps.

Regards
by chipfryer27
Wed Apr 17, 2024 8:05 pm
Forum: General
Topic: RS232 Wireless help!
Replies: 12
Views: 1231

Re: RS232 Wireless help!

Hi Jorgen Need to check up on HC12, but assuming you have it working you could setup an interrupt (RxINT) to capture the received information and store in a Circular Buffer. Once in the buffer it's very easy to either search for the required info (parse) or "LookFor / WaitFor" the required info. I'v...