I'm working on my college project. In the project the SW420 Vibration Sensor is supposed to take input and then enter a loop where I have written commands for GPS location detection followed by GSM to send an SMS. However, as most of you will know that there are two LEDs in SW420, one to indicate Power and other for vibration. The vibration LED glows only when it detects any vibration. When I conncet this sensor with the AI Thinker's A7 module + ATMega32U4 both the LEDs glow constantly. I tried 5 different sensors but the issue prevails. When I tried the same sensors with my UNO board it works fine.Power LED glows and when triggered the DO LED glows.
Can anyone here know what might the issue be?
Here is the link for the Board that I'm using: 32u4 with A7 GPRS/GSM - Elecrow