Arduino Tutorials – பாடம் 15 -Hall Effect Sensor with Arduino UNO

Arduino UNO வை பயன்படுத்தி Hall effect Sensor ஐ கட்டுப்படுத்துவது.

Required Components

  1. Hall effect sensor -1 no
  2. magnets -1 no
  3. Arduino UNO -1 no
  4. Connecting wires -1 set

Circuit

Steps

  1. நாம் பயன்படுத்தும் உபகரணங்கள் சரியாக வேலை செய்கிறதா என்பதை உறுதி செய்து கொள்ளவும்.
  2. Hall effect Sensor ஐArduino UNO உடன் இணைக்க வேண்டும்.
  3. Arduino பின்னான 2 ஐ Hall effect Sensor(Analog)உடன் இணைக்க வேண்டும்.
  4. Arduino பின்னான 2 ஐ Hall effect சென்சார்(Digital)உடனும் இணைக்கலாம்.
  5. Hall effect Sensor உடன் +5V மற்றும் Ground ஐ இணைக்க வேண்டும்.
  6. Arduino program ஐ சரி பார்க்க வேண்டும்.
  7. மின்சுற்றை சரி பார்க்க வேண்டும்.
  8. Arduino program ஐ ரன் செய்ய வேண்டும்.

Arduino Program

int hallSensorPin = 2;
int ledPin =  13;
int state = 0;

void setup() 
{
  pinMode(ledPin, OUTPUT);
  pinMode(hallSensorPin, INPUT);
}

void loop( )
{
  state = digitalRead(hallSensorPin);
  if (state == LOW) 
  {
    digitalWrite(ledPin, HIGH);
  }
  else 
  {
    digitalWrite(ledPin, LOW);
  }
}

Usage

  1. நிலைப்படுத்தல்(Positioning)
  2. வேகம் கண்டறிதல்(Speed detection)
  3. தற்போதைய உணர்திறன் பயன்பாடுகள்(Current sensing applications)
  4. சுழல்வேகமானி(Tachometers)
  5. பூட்டுதலில்லா நிறுத்த அமைப்பு(Anti-lock braking systems)

Leave a Reply

Your email address will not be published. Required fields are marked *