Wednesday, October 29, 2025

Xiao Board Connection

Title: Xiao Board Connection
Components: 

  • 1. Seeed XIAO DEV Board.


  • 2. SPDT 5V Relay.


  • 3. 12 Volt Adapter


  • 4. jumper wires


  • 5. solenoid valve


  • 6.Usb Cable
    7. All Connections




Project:

components: solenoid valve, relay, XIAO, adapter, hosepipe connector, soldering iron with stand, wire strippers, soldering wire, desoldering tool, and voltmeter.


Design in Tinkerkad export as STL, import into OrcaSlicer to slice and generate G-code, then print it on your 3D printer.







In a DIY or IBT lab project, you can connect a relay or solenoid valve to a switch or button, and control it using an app.




Soldering is the process of joining electronic components together by melting a metal called solder, which helps make strong electrical connections on a circuit boar.







Connect the solenoid valve to a relay module, power the relay using a DC adapter, and control the relay with a Seeed XIAO microcontroller through a digital output pin. 







MakerCase is an online tool that helps you design custom laser-cut enclosures or boxes by generating ready-to-cut 2D plans based on your dimensions and material thickness.













Friday, May 9, 2025

Smart Gardening System

Date: 8th May 2025

1. Joining the Hose Pipe to the Water Supply

The first critical step in setting up your garden irrigation system is to connect the Hose pipe to the main water supply. The hose pipe is commonly used for garden irrigation due to its flexibility and durability. To ensure a reliable connection:

  • Materials Needed:

    • hose pipe

    • Hose connectors

    • Pipe fittings (couplings, elbows, tees)

    • Pipe adhesive or thread sealant

    • Pipe clamps

  • Steps:

    1. Locate the Water Supply Source: This could be your garden’s main water line or an outdoor faucet connected to your home’s plumbing system.

    2. Cut the hose Pipe: Measure the required length of Wose pipe and cut it to the desired size.

    3. Install Pipe Fittings: Use the appropriate fittings to connect the Wose pipe to the water supply. Make sure each joint is tightly sealed using thread sealant or pipe adhesive to prevent leaks.

    4. Secure the Connection: Once fitted, use pipe clamps to hold the Wose pipe in place, ensuring that the pipe remains secure during operation.

2. Checking the Water Supply

Before proceeding further, it’s important to check the water supply to ensure there is enough pressure and flow to properly operate the irrigation system.

  • Steps:

    1. Measure Water Pressure: Use a water pressure gauge to measure the incoming water pressure. Typical irrigation systems require a water pressure between 30-50 psi.

    2. Check Flow Rate: Ensure the flow rate is sufficient for your garden size and the number of drippers you plan to install. You can check the flow rate by turning on the water and observing how long it takes to fill a container of known volume (like a 5-gallon bucket).

    3. Evaluate Supply Consistency: Run the water supply for 10-15 minutes and ensure that there are no significant pressure drops or irregularities in the flow.

3. Determining the Drip Pipe Diameter & Fitting Drippers

To make sure that your irrigation system is efficient and covers your garden evenly, it’s important to correctly determine the diameter of the drip pipe and ensure the right drippers are fitted.

  • Determine Pipe Diameter:

    • Typically, drip irrigation pipes are either 1/4 inch or 1/2 inch in diameter, depending on your garden size and water requirements.

    • For a small garden, a 1/4-inch pipe might suffice, but for larger areas, a 1/2-inch pipe will provide better coverage and pressure distribution.

  • Fitting the Drippers:

    1. Choose the Right Drippers: Drippers come in various flow rates (measured in liters per hour). Choose drippers based on your plant’s water needs. For example, a 1 GPH (gallon per hour) dripper may be ideal for small plants, while larger plants may need 2-4 GPH.

    2. Install the Drippers: Insert the drippers into the drip pipe at evenly spaced intervals, ensuring they are placed close to the base of each plant. Use special barbed connectors to secure the drippers in place.

4. Solenoid Valve Cover for Water Protection

A solenoid valve is a critical component in an automated irrigation system, controlling the flow of water to the drip lines. To ensure the solenoid valve operates effectively over time, it is essential to protect it from water damage.

  • Why You Need a Solenoid Valve Cover:

    • Exposure to water can cause corrosion, rust, or clogging in the valve.

    • Harsh weather conditions (sun, rain, dust) can affect the functionality of the valve.

  • Steps to Install a Solenoid Valve Cover:

    1. Choose the Right Cover: Select a durable solenoid valve cover made from waterproof, UV-resistant material. Look for options with ventilation to allow airflow while preventing water accumulation.

    2. Install the Cover: Place the cover over the solenoid valve, ensuring it is securely fastened. The cover should sit tightly over the valve but allow for easy access during maintenance.

    3. Check for Proper Ventilation: Ensure that the cover allows air to circulate around the solenoid to prevent overheating.


Conclusion

With the system set up, you can now rest assured that your garden will receive the precise water supply it needs, thanks to an efficient drip irrigation system. By ensuring proper water connection, correct pipe sizing, dripper installation, and solenoid valve protection, you're one step closer to achieving a sustainable, low-maintenance garden.

For further updates, troubleshooting tips, and design ideas, stay tuned as we continue to develop this Smart Gardening System.


Saturday, April 26, 2025

The MIT App Inventor AND smart Garden-2


 Project Name:

The MIT App Inventor  AND smart Garden-2

Benefits of a Smart Garden

  • Water Conservation: Smart irrigation systems reduce water usage by watering plants only when necessary.

  • Convenience: Automatic watering, lighting, and climate control make plant care easier and less time-consuming.

  • Healthier Plants: Sensors help you keep track of essential factors like soil moisture, temperature, and sunlight to ensure plants thrive.

  • Energy Efficiency: Some systems optimize the use of energy, reducing electricity bills, especially in indoor gardens.

  • Remote Monitoring: You can monitor and adjust your garden remotely via mobile apps.

 Project Related to photos:











 arduino code of MIT App

// Define the pin for the moisture sensor and pump
const int moistureSensorPin = A0;  // Moisture sensor connected to analog pin A0
const int pumpPin = 2;             // Water pump connected to digital pin 8 (via relay)

// Set moisture threshold value
const int lowMoistureThreshold = 200; // Adjust this value based on your sensor's calibration
const int highMoistureThreshold = 950;

void setup() {
  Serial.begin(9600);  // Start serial communication

  // Set the pump pin as output (for relay control)
  pinMode(pumpPin, OUTPUT);

  // Initially turn off the pump (relay will be in "NO" state)
  digitalWrite(pumpPin, LOW);
}

void loop() {
  // Read the moisture level from the sensor
  int moistureValue = analogRead(moistureSensorPin);

  // Print the moisture value to Serial Monitor
  Serial.print("Moisture Value: ");
  Serial.println(moistureValue);

  // Control the pump based on moisture level
  if (moistureValue < lowMoistureThreshold) {
    digitalWrite(pumpPin, HIGH);  // Turn on the pump (relay switches to "COM")
    Serial.println("Pump ON - Soil is Dry!");
  } else {
    digitalWrite(pumpPin, LOW);   // Turn off the pump (relay goes back to "NO")
    Serial.println("Pump OFF - Soil is Wet.");
  }


\
  Serial.println("----------");
  delay(1000);  // Wait 1 second before the next reading
}




The Ardiuno is in intrduction:

Core Components

  1. Arduino Board – The brain. Popular ones include:

    • Arduino Uno (most beginner-friendly)

    • Arduino Nano (compact)

    • Arduino Mega (more inputs/outputs)

    • XIAO INTRODUCTION:

    •  Why Choose XIAO?

      • Compact Size: The tiny form factor is perfect for limited space projects.

      • Affordable: Great price for the features offered, making it accessible for hobbyists and professionals alike.

      • Flexible: Compatible with the Arduino IDE and CircuitPython, giving you a variety of programming options.





Common Applications of IoT

  • Smart Homes: Thermostats, lights, and security systems that you can control with your phone.

  • Healthcare: Wearables that monitor heart rate, oxygen levels, and physical activity.

  • Industrial IoT (IIoT): Machinery maintenance, production line automation, and energy management.

  • Smart Cities: Traffic control, waste management, and environmental monitoring.


 code of soil mosture:

const int relayPin = 7;
const int moisturePin = A0;

void setup() {
  pinMode(relayPin, OUTPUT);
  pinMode(moisturePin, INPUT);
  pinMode(relayPin, OUTPUT);      

  digitalWrite(relayPin, HIGH);
  Serial.begin(9600);
}

void loop() {
  int moistureValue = analogRead(moisturePin); // Read value from sensor
  Serial.println(moistureValue);
  delay(2000);
 

if (Serial.available() > 0) {
    char command = Serial.read();
   
    if (command == 'A') {
      digitalWrite( relayPin ,LOW);
    }
    else if (command == 'a') {
      digitalWrite(relayPin, HIGH);
    }
  }



}










Saturday, March 29, 2025

CANVA NEW APPLICATION

INTRODUCTION:
 Global warming is a critical issue with rising temperatures, melting ice caps, sea-level changes, extreme weather, and increasing greenhouse gases.

Project name:CANVA NEW APPLICATION


      This is the work in boys the project.


A relay is an electrically operated switch. It consists of a set of input terminals for a single or multiple control signals, and a set of operating contact terminals. 

Light-up is an app that magnifies the resolution of image, which can make image in mobile phones look clearer.

After selecting the photo and touch 'light-up' button, the program will be executed automatically. 

                                                                                                           

The add of student summer camp.



Canva is a free, user-friendly graphic design platform that allows users to create a variety of visuals, from social media posts and presentations to business cards and flyers, using a drag-and-drop interface and professionally designed templates. 

    CANAVA app is first experennse.




                               

Thursday, March 27, 2025

Smart Garden

 

Smart GardenTeam-1
1Arranging Garden plants1Garden arrange
2Material List2Material list
3Material Purchase3Material purchase
4Plumbing pipe line system4Plumbing Sensor testing
5Arduino and sensor coding5Arduino code writing
6App development
7Assembly of complete system
Team-2
8Testing1Arduino and sensor coding
9Integrating IOT system with manual system2
Mobile app development
10Final Testing3Testing
4Integrating IOT system with manual system
5Final Testing

Xiao Board Connection

Title: Xiao Board Connection Components:  1. Seeed XIAO DEV Board. 2. SPDT 5V Relay. 3. 12 Volt Adapter 4. jumper wires 5. solenoid valve 6....