As the lunar night approaches, the hopes of reviving India's Chandrayaan-3 mission are fading. This mission, including the Vikram lander and Pragyan rover, has been in a deep slumber since September 2. ISRO's relentless efforts to reconnect with this lunar duo have yielded no results.
Since the return of sunlight at Shiv Shakri Point, ISRO has been attempting to re-establish communication with Vikram and Pragyan, but as the days pass, it becomes increasingly evident that these valiant explorers have gone silent. The lunar night, which is set to descend upon the lunar surface, is a harsh adversary. With it, the chances of awakening Chandrayaan-3 dwindle.
However, amidst the impending lunar night, we must acknowledge the extraordinary discovery made by Vikram. It confirmed the presence of sulphur on the lunar surface, particularly near the South Pole. This revelation has profound implications for our understanding of lunar formation and geochemistry.
While Vikram's mission may have been shorter than expected, its impact is undeniable. It challenges our existing knowledge of lunar geochemistry and opens a new window into the moon's history. This mission reminds us that even in its brief duration, Chandrayaan-3 has left an indelible mark on lunar science.
As we bid farewell to Vikram and Pragyan, we can be proud of the knowledge gained from this mission. It's a testament to our unyielding spirit of exploration and discovery. In the grand cosmic journey, sometimes, the briefest moments redefine the way we perceive the universe.
#include
ReplyDelete#include
#include
// LCD setup
LiquidCrystal_I2C lcd(0x3f, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
// Pin definitions
#define SS_PIN 10
#define RST_PIN 9
#define LED_G 5 // Green LED pin
#define LED_R 4 // Red LED pin
#define RELAY 3 // Relay pin
#define BUZZER 2 // Buzzer pin
#define ACCESS_DELAY 2000
#define DENIED_DELAY 1000
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance.
// List of authorized UIDs
const String authorizedUIDs[] = {
"83 6A 4D 1C", // Add more UIDs as needed
"12 34 56 78" // Example additional UID
};
void setup() {
Serial.begin(9600); // Initiate serial communication
SPI.begin(); // Initiate SPI bus
mfrc522.PCD_Init(); // Initiate MFRC522
// Pin modes
pinMode(LED_G, OUTPUT);
pinMode(LED_R, OUTPUT);
pinMode(RELAY, OUTPUT);
pinMode(BUZZER, OUTPUT);
// Initial states
digitalWrite(RELAY, HIGH); // Relay starts locked
digitalWrite(LED_G, LOW);
digitalWrite(LED_R, LOW);
// LCD setup
lcd.begin(16, 2);
lcd.setCursor(0, 0);
lcd.print("Place your card ");
Serial.println("Waiting for RFID card...");
}
void loop() {
// Look for new cards
if (!mfrc522.PICC_IsNewCardPresent()) {
return;
}
// Select one of the cards
if (!mfrc522.PICC_ReadCardSerial()) {
return;
}
// Show UID on serial monitor
String content = getCardUID();
Serial.println("UID tag : " + content);
// Check access
checkAccess(content);
// Clear the second line after processing
lcd.setCursor(0, 1);
lcd.print("................");
}
String getCardUID() {
String content = "";
for (byte i = 0; i < mfrc522.uid.size; i++) {
content += (mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " ") + String(mfrc522.uid.uidByte[i], HEX);
}
return content.toUpperCase();
}
void checkAccess(String content) {
for (const String& uid : authorizedUIDs) {
if (content == uid) {
showAccessGranted();
return;
}
}
showAccessDenied();
}
void showAccessGranted() {
Serial.println("Authorized access");
lcd.setCursor(0, 1);
lcd.print("Access Granted ");
digitalWrite(RELAY, LOW); // Unlock
digitalWrite(LED_G, HIGH); // Turn on green LED
tone(BUZZER, 1000); // Sound buzzer
delay(ACCESS_DELAY);
digitalWrite(RELAY, HIGH); // Lock
digitalWrite(LED_G, LOW); // Turn off green LED
noTone(BUZZER); // Stop buzzer
}
void showAccessDenied() {
Serial.println("Access denied");
lcd.setCursor(0, 1);
lcd.print("Access Denied ");
digitalWrite(LED_R, HIGH); // Turn on red LED
tone(BUZZER, 300); // Sound buzzer
delay(DENIED_DELAY);
digitalWrite(LED_R, LOW); // Turn off red LED
noTone(BUZZER); // Stop buzzer
}
take my dick
Deleteimport csv
ReplyDeletef = open("student.csv","w", newline='')
writer=csv.writer(f)
writer.writerow(["Roll", "Name","Marks"])
writer.writerow(["1", "Suryansh","99"])
writer.writerow([2,"Aman",85])
f.close()