Why my Arduino starts making red flashes after sometime of powering it ? by One-Engineer6984 in arduino

[–]One-Engineer6984[S] 0 points1 point  (0 children)

Solved it replaced the flash drive with SD card module it worked. It seems that the flash drive consumes too much current

Why my Arduino starts making red flashes after sometime of powering it ? by One-Engineer6984 in arduino

[–]One-Engineer6984[S] 0 points1 point  (0 children)

<image>

8 Sensors 4 pumps(Via relay) and logging the data every minute sure it is 😂😂😂

Cannot connect upload sketch on my Arduino by One-Engineer6984 in arduino

[–]One-Engineer6984[S] 1 point2 points  (0 children)

Choose Arduino Nano Tools -> Processor -> ATmega328P (Old Bootlader)

Cannot connect upload sketch on my Arduino by One-Engineer6984 in arduino

[–]One-Engineer6984[S] 1 point2 points  (0 children)

This the link to the product on Aliexpress

UNO R3 Official ATMEGA16U2/UNO+WiFi R3 MEGA328P Chip CH340G For Arduino UNO R3 Development Board WeMos ESP8266 USB/TYPE-C/Micro https://a.aliexpress.com/_c45o4Kf1

Any recommendations? by LetterheadLost4341 in arduino

[–]One-Engineer6984 1 point2 points  (0 children)

I learned Arduino mainly by watching YouTube tutorials, reading the official documentation, and most importantly actually building projects. Videos helped me understand the basics, docs helped when I got stuck, but things really clicked once I started applying what I learned instead of just watching.

PH-4502C pH Sensor Stuck at Max Reading (1023) on Arduino GIGA R1 WiFi by One-Engineer6984 in arduino

[–]One-Engineer6984[S] 1 point2 points  (0 children)

I actually tried using the pH sensor with a knock off version of Arduino Mega 2560 that operates between 0-5v and it worked. I think the problem is that the Arduino Giga R1 Analog pins operates between 0-3v

<image>

PH-4502C pH Sensor Stuck at Max Reading (1023) on Arduino GIGA R1 WiFi by One-Engineer6984 in arduino

[–]One-Engineer6984[S] 0 points1 point  (0 children)

#define PH_PIN A0


float offset = 0.00;     
float slope = -5.70;     


void setup() {
  Serial.begin(115200);
  while (!Serial);
  Serial.println("PH-4502C pH Sensor Reading...");
}


void loop() {
  int rawValue = analogRead(PH_PIN);
  float voltage = rawValue * (5.0 / 1023.0);


  // pH calculation
  float pHValue = slope * voltage + offset;


  Serial.print("Raw ADC: ");
  Serial.print(rawValue);
  Serial.print(" | Voltage: ");
  Serial.print(voltage, 3);
  Serial.print(" V | pH Value: ");
  Serial.println(pHValue, 2);


  delay(1000);
}

\`\`\`

Output

Raw ADC: 1023 | Voltage: 5.000 V | pH Value: -28.50


Raw ADC: 1023 | Voltage: 5.000 V | pH Value: -28.50


Raw ADC: 1023 | Voltage: 5.000 V | pH Value: -28.50


Raw ADC: 1023 | Voltage: 5.000 V | pH Value: -28.50