DSCKGEC / cleanurge-mcu

This is the repo for the microcontroller part of project Cleanurge - a scalable IoT powered waste management system, our solution towards a greener world.
GNU General Public License v3.0
6 stars 7 forks source link

Instantiate a GPRS module object #3

Closed anindyamitra15 closed 3 years ago

anindyamitra15 commented 3 years ago

Make a Macro of BAUDRATE with its value as 9600 Another two macros as RXPin and TXPin as 7 and 8 as its value RXD Pin of the SIM module will be connected to Pin 7 of Arduino TXD Pin of SIM Module will be connected to Pin 8 of the Arduino Instantiate a GPRS Object Globally with RXPin as the Transmit Pin, TXPin as the receive pin, and BAUDRATE as the Baudrate. Follow the Library https://github.com/Seeed-Studio/GPRS_SIM900 for details. Follow this schematic to get an idea of the connections. image