Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 09:11 29 Mar 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Electronics : Wifi Alarm Module

Author Message
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 303
Posted: 06:33am 25 Feb 2021
Copy link to clipboard 
Print this post

Hi All

Trying to find a Wifi module that will do the following.
1:    Connected only to Power (when there is an Alarm)
2:    No cpu or pc attached.
3:    2.4 Ghz only.

The idea is that the module has it's own MAC address and can be setup to join
a network.(With a laptop)
The Network router will then issue an IP based on it's MAC address.

I don't need to communicate with any intelligent device, I just need to be aware
that it has powered up. (When the IP becomes "Live")

Saw some detail on a Micromite user in the usa using a wifi module (ESP8266),
but can't seem to find any examples of it being used as per my needs.

Your average Wifi door alarm could be adapted but range and making it weather proof
could be an issue.

The network currently has 24 TP-Link HS-100 smart switches and I have allowed for
another 8 Alarms. Theoretically I could use a relay and power another smart switch
for each Alarm, but that means converting low voltage dc to 240 vac with relays/contacts. I would rather just power a module.

Has anyone any experience in this area ?

Regards
Regards
Hervey Bay Qld.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 839
Posted: 10:52am 25 Feb 2021
Copy link to clipboard 
Print this post

Have a look at

Annex

It runs on the ESP8266 and could be made to do pretty much anything once it powers up.
It would connect to the wifi network and get an IP address, can even then send an email if desired.
Latest F4 Latest H7
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 303
Posted: 10:02pm 25 Feb 2021
Copy link to clipboard 
Print this post

Hi All

Many thanks for that.
It looks like quite a capable package.
Good to see it is my favorite language (Basic)
I have no problem donating to that kind of developer, as he/she has obviously done
a great job.

Have organised a board from Jaycar to play with.

Once again, Thank you for your time.
Regards
Hervey Bay Qld.
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 303
Posted: 09:28am 27 Feb 2021
Copy link to clipboard 
Print this post

Hi All

Just for completeness this was the easy solution.

Jaycar ESP8266 XC3802 $25
https://www.jaycar.com.au/wifi-mini-esp8266-main-board/p/XC3802
Micro usb port that became visible as ttyusb0 in Linux.

Of course the information is all geared to ArDuino and additionally is wrong as well.
Preset baud rate is 115200 N,8,1 and not 9600.
Set it up with a Linux Terminal program and sent AT commands followed by Cr/Lf.
It fires up with an IP as 192.168.4.1 on it's own name SSID.

Then by using these commands:
AT+WPS=1  enable station mode
AT+CIPSTA="192.168.0.25","192.168.0.1","255.255.255.0"     sets IP,gateway,Netmask address.
AT+CWJAP_DEF="My SSID Name","password"    sets new name & password.

That's it. Now every time power is applied, it is visible on my Network.
The router will also be set to the MAC address, so whenever I get a successful ping
from that device it is translated as an alarm in that particular zone.
Will test it on Sunday on site to see what distance I can get considering trees etc.

Didn't need Annex after all.

Hope this helps someone else in future.
Edited 2021-02-27 19:29 by Dinosaur
Regards
Hervey Bay Qld.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 2989
Posted: 12:40am 03 Mar 2021
Copy link to clipboard 
Print this post

  Dinosaur said  Jaycar ESP8266 XC3802 $25


Timeliness of delivery may have made all the difference to you, but $25 is quite a markup for an ESP8266 D1 Mini: $4.42AUD here
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 303
Posted: 02:24am 03 Mar 2021
Copy link to clipboard 
Print this post

Hi All

The board from Jaycar has the ESP8266 sub board mounted on a USB to TTL (CH340G)
main board.

Although that is not the board I will use in the field. Now I know it does what I want it to,I have bought 2 others which have an ipex Antenna plug on it ($16) which
allegedly gives 6dB improvement.
So all up with antenna $23.
Regards
Hervey Bay Qld.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 2989
Posted: 03:06pm 03 Mar 2021
Copy link to clipboard 
Print this post

  Dinosaur said  The board from Jaycar has the ESP8266 sub board mounted on a USB to TTL (CH340G) main board

Right. It's labeled "D1 Mini", same as I linked to, except that it has the female headers already soldered on.

ESP8266 D1 Mini with antenna for $4.86AUD here
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024