Jump to content

ARDUINO project

I'm planning on making a mail notifier for my mailbox. When I get a letter, I get a notiflication to my phone. I'm planning on using an ARDUINO with a motion detector, but I dont really know if it will work, and I'm very inexperienced with programming. Any tips on wich ARDUINO to use and if there are any existing guides on how to do it.

Link to comment
Share on other sites

Link to post
Share on other sites

Since you'll probably want some kind of internet connectivity, an esp would be a better fit for this project, be it an esp8266 or an esp32. You would also need to power everything up, be it with a battery or some wiring that you manage to get into your mailbox.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

Given the fact that you are likely going to have to implement big protocols like TLS1.3, I'd suggest a Raspberry Pi Zero W, or one of those Chinese alternatives like Orange Pi 2G-IoT.

As of actually programming it, you can use your favorite language that is available on Linux - C++, Java, Python, Node.js, even Swift.

The Fruit Pie: Core i7-9700K ~ 2x Team Force Vulkan 16GB DDR4-3200 ~ Gigabyte Z390 UD ~ XFX RX 480 Reference 8GB ~ WD Black NVMe 1TB ~ WD Black 2TB ~ macOS Monterey amd64

The Warship: Core i7-10700K ~ 2x G.Skill 16GB DDR4-3200 ~ Asus ROG Strix Z490-G Gaming Wi-Fi ~ PNY RTX 3060 12GB LHR ~ Samsung PM981 1.92TB ~ Windows 11 Education amd64
The ThreadStripper: 2x Xeon E5-2696v2 ~ 8x Kingston KVR 16GB DDR3-1600 Registered ECC ~ Asus Z9PE-D16 ~ Sapphire RX 480 Reference 8GB ~ WD Black NVMe 1TB ~ Ubuntu Linux 20.04 amd64

The Question Mark? Core i9-11900K ~ 2x Corsair Vengence 16GB DDR4-3000 @ DDR4-2933 ~ MSI Z590-A Pro ~ Sapphire Nitro RX 580 8GB ~ Samsung PM981A 960GB ~ Windows 11 Education amd64
Home server: Xeon E3-1231v3 ~ 2x Samsung 8GB DDR3-1600 Unbuffered ECC ~ Asus P9D-M ~ nVidia Tesla K20X 6GB ~ Broadcom MegaRAID 9271-8iCC ~ Gigabyte 480GB SATA SSD ~ 8x Mixed HDD 2TB ~ 16x Mixed HDD 3TB ~ Proxmox VE amd64

Laptop 1: Dell Latitude 3500 ~ Core i7-8565U ~ NVS 130 ~ 2x Samsung 16GB DDR4-2400 SO-DIMM ~ Samsung 960 Pro 512GB ~ Samsung 850 Evo 1TB ~ Windows 11 Education amd64
Laptop 2: Apple MacBookPro9.2 ~ Core i5-3210M ~ 2x Samsung 8GB DDR3L-1600 SO-DIMM ~ Intel SSD 520 Series 480GB ~ macOS Catalina amd64

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, maxtch said:

Given the fact that you are likely going to have to implement big protocols like TLS1.3, I'd suggest a Raspberry Pi Zero W, or one of those Chinese alternatives like Orange Pi 2G-IoT.

As of actually programming it, you can use your favorite language that is available on Linux - C++, Java, Python, Node.js, even Swift.

You can have SSL/TLS on an ESP8266/32 without much hassle for a fraction of the cost of a rpi.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
On 1/25/2020 at 8:16 PM, igormp said:

You can have SSL/TLS on an ESP8266/32 without much hassle for a fraction of the cost of a rpi.

The specific board I mentioned, Orange Pi 2G-IoT, has a price tag between ESP8266 and ESP32, comes with both built-in Wi-Fi and cellular, and runs Linux. Built-in cellular would be a big bonus if you don't expect Wi-Fi to be available at all times, or you want to use something like SMS alerts.

The Fruit Pie: Core i7-9700K ~ 2x Team Force Vulkan 16GB DDR4-3200 ~ Gigabyte Z390 UD ~ XFX RX 480 Reference 8GB ~ WD Black NVMe 1TB ~ WD Black 2TB ~ macOS Monterey amd64

The Warship: Core i7-10700K ~ 2x G.Skill 16GB DDR4-3200 ~ Asus ROG Strix Z490-G Gaming Wi-Fi ~ PNY RTX 3060 12GB LHR ~ Samsung PM981 1.92TB ~ Windows 11 Education amd64
The ThreadStripper: 2x Xeon E5-2696v2 ~ 8x Kingston KVR 16GB DDR3-1600 Registered ECC ~ Asus Z9PE-D16 ~ Sapphire RX 480 Reference 8GB ~ WD Black NVMe 1TB ~ Ubuntu Linux 20.04 amd64

The Question Mark? Core i9-11900K ~ 2x Corsair Vengence 16GB DDR4-3000 @ DDR4-2933 ~ MSI Z590-A Pro ~ Sapphire Nitro RX 580 8GB ~ Samsung PM981A 960GB ~ Windows 11 Education amd64
Home server: Xeon E3-1231v3 ~ 2x Samsung 8GB DDR3-1600 Unbuffered ECC ~ Asus P9D-M ~ nVidia Tesla K20X 6GB ~ Broadcom MegaRAID 9271-8iCC ~ Gigabyte 480GB SATA SSD ~ 8x Mixed HDD 2TB ~ 16x Mixed HDD 3TB ~ Proxmox VE amd64

Laptop 1: Dell Latitude 3500 ~ Core i7-8565U ~ NVS 130 ~ 2x Samsung 16GB DDR4-2400 SO-DIMM ~ Samsung 960 Pro 512GB ~ Samsung 850 Evo 1TB ~ Windows 11 Education amd64
Laptop 2: Apple MacBookPro9.2 ~ Core i5-3210M ~ 2x Samsung 8GB DDR3L-1600 SO-DIMM ~ Intel SSD 520 Series 480GB ~ macOS Catalina amd64

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, maxtch said:

The specific board I mentioned, Orange Pi 2G-IoT, has a price tag between ESP8266 and ESP32, comes with both built-in Wi-Fi and cellular, and runs Linux. Built-in cellular would be a big bonus if you don't expect Wi-Fi to be available at all times, or you want to use something like SMS alerts.

How so? That orange pi goes by $10, while an esp32 devboard goes for less than $4 (and the IC itself for $1~2 ).

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

Are you doing this as a project to learn? If so, ignore the rest and have fun.

 

If you want something fairly plug and play, just get a Zwave or Zigbee door/window sensor and some kind of hub. I'd assume the battery life is better, not sure how long the ESP or Arduinos last, but on a coin cell most of my sensors last a year even out in the cold. I was a little concerned how indoor sensors would hold up outside, but I have yet to have one fail and some of them are literally two sided taped to gates without any protection whatsoever. I enjoy tinkering and saving money, so I tried doing Home Automation with ESPs, Sonoff, etc... but it wasn't worth all the headaches I faced in the long run. Smartthings has custom device handlers and apps for this exact use case, and I'd assume HA, Vera, etc. do as well.

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, igormp said:

How so? That orange pi goes by $10, while an esp32 devboard goes for less than $4 (and the IC itself for $1~2 ).

I am quoting Taobao prices. Also for ESP32 it would be hell to hot update them if you found a vulnerability. Linux-based solutions can be easily hot patched.

The Fruit Pie: Core i7-9700K ~ 2x Team Force Vulkan 16GB DDR4-3200 ~ Gigabyte Z390 UD ~ XFX RX 480 Reference 8GB ~ WD Black NVMe 1TB ~ WD Black 2TB ~ macOS Monterey amd64

The Warship: Core i7-10700K ~ 2x G.Skill 16GB DDR4-3200 ~ Asus ROG Strix Z490-G Gaming Wi-Fi ~ PNY RTX 3060 12GB LHR ~ Samsung PM981 1.92TB ~ Windows 11 Education amd64
The ThreadStripper: 2x Xeon E5-2696v2 ~ 8x Kingston KVR 16GB DDR3-1600 Registered ECC ~ Asus Z9PE-D16 ~ Sapphire RX 480 Reference 8GB ~ WD Black NVMe 1TB ~ Ubuntu Linux 20.04 amd64

The Question Mark? Core i9-11900K ~ 2x Corsair Vengence 16GB DDR4-3000 @ DDR4-2933 ~ MSI Z590-A Pro ~ Sapphire Nitro RX 580 8GB ~ Samsung PM981A 960GB ~ Windows 11 Education amd64
Home server: Xeon E3-1231v3 ~ 2x Samsung 8GB DDR3-1600 Unbuffered ECC ~ Asus P9D-M ~ nVidia Tesla K20X 6GB ~ Broadcom MegaRAID 9271-8iCC ~ Gigabyte 480GB SATA SSD ~ 8x Mixed HDD 2TB ~ 16x Mixed HDD 3TB ~ Proxmox VE amd64

Laptop 1: Dell Latitude 3500 ~ Core i7-8565U ~ NVS 130 ~ 2x Samsung 16GB DDR4-2400 SO-DIMM ~ Samsung 960 Pro 512GB ~ Samsung 850 Evo 1TB ~ Windows 11 Education amd64
Laptop 2: Apple MacBookPro9.2 ~ Core i5-3210M ~ 2x Samsung 8GB DDR3L-1600 SO-DIMM ~ Intel SSD 520 Series 480GB ~ macOS Catalina amd64

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, maxtch said:

I am quoting Taobao prices. Also for ESP32 it would be hell to hot update them if you found a vulnerability. Linux-based solutions can be easily hot patched.

As someone who has worked on some projects that had ESP32s in production, I can guarantee you that doing an OTA firmware update is easy as single click. You can even do so through the Arduino IDE lol

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

I made something similar for my microelectronics class. But instead i made something akin to a anti theft/door alarm thing. Where the system will notify me if the door or object has been moved from that spot. Via sms but i think a wifi module is better .

 

I used a ultrasonic sensor, an arduino board , a gsm/wifi module and a battery pack.

 

If you are using an ultrasonic sensor, you can implement it so that the sensor will detect if the mailbox door was opened and message you about it.

 

Im with the mentaility of "IF IM NOT SURE IF ITS ENOUGH COOLING, GO OVERKILL"

 

CURRENT PC SPECS    

CPU             Ryzen 5 3600 (Formerly Ryzen 3 1200)

GPU             : ASUS RX 580 Dual OC (Formerly ASUS GTX 1060 but it got corroded for some odd reasons)

GPU COOOER      : ID Cooling Frostflow 120 VGA (Stock cooler overheats even when undervolted :()

MOBO            : MSI B350m Bazooka

MEMORY          Team Group Elite TUF DDR4 3600 Mhz CL 16
STORAGE         : Seagate Baracudda 1TB and Kingston SSD
PSU             : Thermaltake Lite power 550W (Gonna change soon as i dont trust this)
CASE            : Rakk Anyag Frost
CPU COOLER      : ID-Cooling SE 207
CASE FANS       : Mix of ID cooling fans, Corsair fans and Rakk Ounos (planned change to ID Cooling)
DISPLAY         : SpectrePro XTNS24 144hz Curved VA panel
MOUSE           : Logitech G603 Lightspeed
KEYBOARD        : Rakk Lam Ang

HEADSET         : Plantronics RIG 500HD

Kingston Hyper X Stinger

 

and a whole lot of LED everywhere(behind the monitor, behind the desk, behind the shelf of the PC mount and inside the case)

Link to comment
Share on other sites

Link to post
Share on other sites

I don't know if you live in United States but the USPS does offer a pretty nifty free email notification service which shows you scanned images of incoming mail and packages.   There's an app as well.   But it's not nearly as cool as having a mini computer monitor your mailbox.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×