1

I want to create a system that has an internet connection via a mobile sim and allows owners of enabled telephone numbers to switch a relay by ringing the device sim.

The system must be able to register its IP address on dyndns in order to be accessible via url.

The system will be used to allow the opening of a gate only to owners of authorized telephone numbers, who through a call to the system will activate the relay which will pilot the arm for opening.

More precisely, the device must allow me remotely, via internet connection:

1) upload a list of telephone numbers to an archive;

2) enable / disable telephone numbers indicating whether they are always enabled or a date and time of enabling and disabling

3) have a log, downloadable remotely, of the various accesses with date and time

4) The relay must remain closed for a predefined time and then open automatically

What hardware is needed?

1

I want to create a system that has an internet connection via a mobile sim and allows owners of enabled telephone numbers to switch a relay by ringing the device sim.

In this instance, you need a SIM card module. The system just tries to upload some log files which is not too large hence you can buy a GSM module and make a 2G connection to your RPi.
Maybe in your area, using the 2G cellular network has expired and you thought that you must make a connection to DynDNS server so the 100kbps is not enough.

sixfab Raspberry Pi 3G-4G/LTE Base Shield V2 can be a good option.

To see better module by the speed you want, check this link out.


... who through a call to the system will activate the relay which will pilot the arm for opening.

It could help if you add more information about the relay. There is a lot of option.

1-Channel: Vithconl PYXQ-9683 Photocoupler Relay Module 1-Channel 5V Compatible with Raspberry Pi, ARM, AVR, DSP, PIC - Open Source DIY Electronic Kit

2-Channel: beioust 2-Channel DC 5V Relay Switch Module Relay Module for Raspberry Pi ARM AVR DSP

4-Channel: UNIVERSAL-SOLDER SIMPLY. SMARTER. ELECTRONICS. 4 Relay Module 10A / 250V, Opto-Isolated Inputs 3-24V - 5V Power Supply - for Arduino Raspberry Pi STM32

8-Channel: Vithconl PYXQ-9684 Photocoupler Relay Module 8-Channel 5V Compatible with Raspberry Pi, ARM, AVR, DSP, PIC - Open Source DIY Electronic Kit

Check this link out - Control a Relay From Anywhere Using the Raspberry Pi for controlling relays.

|improve this answer|||||
  • 1
    Just brainstorming: (1) If GSM/2G not available, we might consider LTE/4G SimModule (higher modules than SIM800/900), (2) Usually Rpi talks to SIM800 etc using python UART, so it is easy to python GPIO to trigger a 5V relay. PS - I also have a list of relays (including 16 channel) to suggest: raspberrypi.stackexchange.com/questions/99988/… – tlfong01 Jan 7 at 1:45
  • @tlfong01 Thank you for your attention. – M. Rostami Jan 7 at 5:51
  • 1
    Your recommendation "Quectel EC25 Mini PCle 4G/LTE Module + sixfab Raspberry Pi 3G-4G/LTE Base Shield V2 sixfab.com/product/quectel-ec25-mini-pcle-4glte-module" is very good (though a bit expensive). I am particularly impressed by their well thought design for makers and newbies alike. For example, the "three header" flexibility alone makes them good value for money. – tlfong01 Jan 7 at 6:14
  • @tlfong01 Agreed. It's a bit expensive. I wanted to talk about prices but @ famedoro didn't mention anything about that, therefore, I skipped this part. – M. Rostami Jan 7 at 6:22
  • 1
    Ha, the OP is proposing a rather ambitious project, by hobbyist standards. If he is suggesting something for a small business, and in this case reliability is much more important than startup money. So for this type of sort of industrial app, I would strongly recommend SF products, though they might be three times more expensive than WS, as I said it is good value for your money, and if you take reliability into consideration, SF is cheap or cost effective. SF is expensive, because they use the PCIe bus which is also industrial standard. Similarly we should not compare Rpi3/4 with PCIe CM3/4. – tlfong01 Jan 7 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.