Lighted geofenced dog collar project help needed I have a project that I would like to make for Christmas and while I have never worked with Arduino before I am hoping people here can point me in the right direction.

I currently have two dogs that like to go out at night a lot. Currently I clip a small LED to their collars when they go out so I can see where they are.

I would like to automate this process by setting up an Arduino system to turn the dog collar lights on and off based on some type of geofencing (either connecting/disconnecting from wifi or bluetooth etc).

I was thinking I would do the following:


Get the smallest Arduino with Wifi.
Write a program that triggers a relay for onConnect? and onDisconnect? events.
Buy a lighted dog collar like this, sew the Arduino into it and hook the relay into the circuit.


What would be really helpful from the group is to know what to buy, and any reference projects that might be helpful on my way. I am a software engineer so I would prefer to stay away from as much custom hardware as possible and get the smallest setup possible for the project pre-made so I can just focus on software.

I am hoping to spend less than $25 per device, but I would pay more for smaller devices.

Thanks all!
I would suggest the following hardware for your project.

https://store.arduino.cc/arduino-mkr1000  

It has an integrated wifi module. If a wifi chip is attached to chip manually it will likely loose contact or sometimes be broken during movement.

Here are some tutorials to get you started:


https://www.hackster.io/charifmahmoudi/arduino-mkr1000-getting-started-08bb4a
https://www.pubnub.com/blog/2016-08-23-remotely-configure-your-arduino-mkr1000/
http://platformio.org/lib/show/299/WiFi101


Hope this helps.