Mobile Intercom With A6 Module and Arduino
by Wim3d in Circuits > Wireless
22314 Views, 52 Favorites, 0 Comments
Mobile Intercom With A6 Module and Arduino
![IMG_20170716_162540.jpg](/proxy/?url=https://content.instructables.com/FEZ/7L20/J52Q8NED/FEZ7L20J52Q8NED.jpg&filename=IMG_20170716_162540.jpg)
![IMG_20170716_133952.jpg](/proxy/?url=https://content.instructables.com/FD6/89E4/J52Q8NCQ/FD689E4J52Q8NCQ.jpg&filename=IMG_20170716_133952.jpg)
In this instructable I show you how I made a intercom using a GSM module.
If you press the big button, the programmed number is called. The call is ended after a programmed time, or by pressing the hangup button.
Components I used:
Button: https://www.aliexpress.com/item/A13-5PCS-LOT-Black...
Arduino pro mini: https://www.aliexpress.com/store/product/Pro-Mini-...
A6 module: https://www.aliexpress.com/item/mini-A6-GPRS-GSM-K...
Speaker: https://www.aliexpress.com/item/5PCS-Lot-New-8-ohm...
Microphone: https://www.aliexpress.com/item/High-Quality-1Pc-L...
Tactile switch, any, like: https://www.aliexpress.com/item/CNIM-Hot-100-Pcs-6...
Edit: see my other instructable for an improved version.
Tweak the A6 Module
![IMG_20170715_071652.jpg](/proxy/?url=https://content.instructables.com/F05/QRBZ/J52Q8N9Y/F05QRBZJ52Q8N9Y.jpg&filename=IMG_20170715_071652.jpg)
![A6 chip.png](/proxy/?url=https://content.instructables.com/F5H/PG9Z/J52Q8NSX/F5HPG9ZJ52Q8NSX.png&filename=A6 chip.png)
![A6 module.jpg](/proxy/?url=https://content.instructables.com/FPM/WAY9/J52Q8NT0/FPMWAY9J52Q8NT0.jpg&filename=A6 module.jpg)
![A6 tweaked2.jpg](/proxy/?url=https://content.instructables.com/FNT/KCVO/J52Q8Q2Y/FNTKCVOJ52Q8Q2Y.jpg&filename=A6 tweaked2.jpg)
The get sound of the phone call, i needed to tweak the connections of the module on the PCB. On the PCB, the EAR_L and EAR_R are connected to the pins, but I needed the REC- and REC+ connections.
So, I cut the wiring on the PCB and made connections directly from the REC- and REC+ connectors of the module to the pins which previously had the EAR connections
Program the Arduino Pro Mini
Attached is the program I used, my program was inspired by Saravanan AL:
Pin 6 and 7 are both pulled up to 5V.
If the button connected to pin 7 is pressed, the programmed number is called
If the button connected to pin 6 is pressed, the "ATH" command hangs up.
Edit: the SoftwareSerial is able to send at 115200, but not able to receive well at 115200 BAUD.
Downloads
Connect All to a PCB
![IMG_20170715_134910.jpg](/proxy/?url=https://content.instructables.com/FQU/FFNQ/J52Q8N9Z/FQUFFNQJ52Q8N9Z.jpg&filename=IMG_20170715_134910.jpg)
![IMG_20170715_142623.jpg](/proxy/?url=https://content.instructables.com/FLR/W81M/J52Q8NBD/FLRW81MJ52Q8NBD.jpg&filename=IMG_20170715_142623.jpg)
Connect all components to a standard PCB (30 x 70 mm).
The Arduino pro mini also gets a switch to the reset (RST, pulled up by 10k to VCC) pin, to reset the Arduino.
Design and Print a Box
In 123D design a designed a box for the intercom. See attached STL files.
The files were printed on a Wanhao Duplicator i3 in Wanhao silver PLA. The box was printed with a 0.8 mm nozzle, the top with a 0.6 nozzle.
Add All Together
![IMG_20170716_134652.jpg](/proxy/?url=https://content.instructables.com/FT3/KJSM/J52Q8NE9/FT3KJSMJ52Q8NE9.jpg&filename=IMG_20170716_134652.jpg)
![IMG_20170716_134616.jpg](/proxy/?url=https://content.instructables.com/F1A/HGNJ/J52Q8NCU/F1AHGNJJ52Q8NCU.jpg&filename=IMG_20170716_134616.jpg)
Finally screw all together and glue in the tactile buttons. The speaker is glued to the top of the box.
Connect to a 5V phone charger as power supply and you are finished!