Issues with SW420

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

Where is the wiring diagram (for both setups please)?

If your SW420 is that device, the page clearly states:

When this no vibration, this module output logic LOW the signal indicate LED light,And vice versa.

So I guess the wiring on the UNO is not correct.

However, as most of you will know that there are two LEDs in SW420, one to indicate Power and other for vibration.

I doubt that most of us know this specific device, that's why you are obliged to provide a link to the hardware you're using.