{"id":16241270,"url":"https://github.com/mhamidjamil/ttgo_tcall","last_synced_at":"2025-03-16T12:32:44.115Z","repository":{"id":182377559,"uuid":"664826420","full_name":"mhamidjamil/TTGO_TCall","owner":"mhamidjamil","description":"This project uses TTGO T-Call module to deal with calls and messages, monitor its surroundings and alert user via call or message if any environmental changes detected by ultrasound sensor.","archived":false,"fork":false,"pushed_at":"2024-11-01T18:07:11.000Z","size":555,"stargazers_count":6,"open_issues_count":28,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T09:12:58.962Z","etag":null,"topics":["call","dht11","esp32","gsm","gsm-module","messages","oled-display-ssd1306","sim800l","thingspeak","ttgo-tcall","ultrasound"],"latest_commit_sha":null,"homepage":"https://github.com/mhamidjamil/TTGO_TCall","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhamidjamil.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"IOTengineer","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-07-10T20:50:22.000Z","updated_at":"2024-11-18T13:12:26.000Z","dependencies_parsed_at":"2023-07-19T19:25:45.216Z","dependency_job_id":"e9d904a9-f728-45e2-acc3-fa5febb212c8","html_url":"https://github.com/mhamidjamil/TTGO_TCall","commit_stats":null,"previous_names":["mhamidjamil/ttgo_tcall"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FTTGO_TCall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FTTGO_TCall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FTTGO_TCall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FTTGO_TCall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhamidjamil","download_url":"https://codeload.github.com/mhamidjamil/TTGO_TCall/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814869,"owners_count":20352052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["call","dht11","esp32","gsm","gsm-module","messages","oled-display-ssd1306","sim800l","thingspeak","ttgo-tcall","ultrasound"],"created_at":"2024-10-10T14:06:50.745Z","updated_at":"2025-03-16T12:32:43.772Z","avatar_url":"https://github.com/mhamidjamil.png","language":"C++","funding_links":["https://patreon.com/IOTengineer"],"categories":[],"sub_categories":[],"readme":"# TTgo T-Call ESP32 Module Project\n\n![TTgo T-Call](https://www.cnx-software.com/wp-content/uploads/2019/07/TTGO-T-call-Pinout-Diagram-Large.jpg)\n\nThis project utilizes the TTgo T-Call ESP32 module to perform various tasks such as making calls, sending and receiving SMS messages, checking battery status, and more. The project is implemented using Arduino and the TinyGSM library, allowing communication with the SIM800 modem on the TTgo T-Call module.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Hardware Requirements](#hardware-requirements)\n- [Library Dependencies](#library-dependencies)\n- [Getting Started](#getting-started)\n- [Configuration](#configuration)\n- [Usage](#usage)\n- [AT Commands](#at-commands)\n\n## Introduction\n\nThe TTgo T-Call ESP32 module is a powerful IoT development board that integrates the ESP32 microcontroller and the SIM800 modem, allowing cellular communication. This project provides a basic implementation of interacting with the SIM800 modem using AT commands and performing essential functionalities like making calls, sending SMS, checking battery status, and managing received messages.\n\n## Hardware Requirements\n\nTo run this project, you will need the following hardware components:\n\n- TTgo T-Call ESP32 module\n- SIM card with an active mobile number (ensure it is not PIN-locked)\n- USB-C cable for power and debugging\n- A computer with the Arduino IDE and necessary drivers installed\n\n## Library Dependencies\n\nThe project relies on the following libraries, which need to be installed in your Arduino IDE:\n\n- [TinyGSM](https://github.com/vshymanskyy/TinyGSM): This library provides support for communicating with GSM modules using AT commands.\n- [Wire](https://www.arduino.cc/en/reference/wire): The Wire library enables I2C communication with the TTgo T-Call's power management IC (IP5306).\n\n## Getting Started\n\nTo get started with the project, follow these steps:\n\n1. Install the Arduino IDE and ensure that you have the ESP32 board package installed.\n2. Install the necessary libraries: TinyGSM and Wire (if not already installed).\n3. Connect your TTgo T-Call ESP32 module to your computer using the USB-C cable.\n4. Open the `TTgo_T-Call_ESP32_Module_Project.ino` file in the Arduino IDE.\n5. Modify the `MOBILE_No` constant to your desired mobile number.\n6. Upload the sketch to your TTgo T-Call module.\n7. Open the Serial Monitor in the Arduino IDE to view the output and interact with the module.\n\n## Configuration\n\nBefore uploading the sketch to your TTgo T-Call module, you may need to modify certain configurations:\n\n- **SIM card PIN**: If your SIM card has a PIN, update the `simPIN` constant with your SIM card's PIN code. If there is no PIN, leave it as an empty string.\n\n## Usage\n\nOnce the sketch is uploaded to your TTgo T-Call module, you can use the Serial Monitor to interact with the module. The following commands are available:\n\n- `call`: Initiate a call to the mobile number specified in the `MOBILE_No` constant.\n- `sms: \u003cmessage\u003e`: Send an SMS with the specified `\u003cmessage\u003e` to the mobile number in the `MOBILE_No` constant.\n- `module`: Check for unread messages and display the last received message and its index.\n- `battery`: Check the battery voltage of the TTgo T-Call module.\n\n## AT Commands\n\nThe project uses AT commands to communicate with the SIM800 modem. Here are some useful AT commands that you can use:\n\n```cpp\n// List all SMS messages\nAT+CMGL=\"ALL\"\n\n// Read SMS message at index 1\nAT+CMGR=1\n\n// Delete SMS message at index 1\nAT+CMGD=1\n\n// Enable missed call notification\nAT+CLIP=1\n\n// Make a call to +923354888420\nATD+923354888420;\n\n// Hang up the current call\nAT+CHUP\n\n// Check if registered to the network\nAT+CREG?\n\n// Check signal quality\nAT+CSQ\n\n// Check battery voltage\nAT+CBC\n\n// Enable verbose error messages\nAT+CMEE=2\n\n// Disable verbose error messages\nAT+CMEE=0\n\n// Check if verbose error messages are enabled\nAT+CMEE?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhamidjamil%2Fttgo_tcall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhamidjamil%2Fttgo_tcall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhamidjamil%2Fttgo_tcall/lists"}