Use the Hall sensor to measure the speed

Use the Hall sensor to measure the speed

Hall 3144 is a unipolar Hall switch circuit. When the N pole of a magnet approaches to its print surface, the switch outputs Low; when the N pole moves away, the switch outputs High. In this section, we will use the Hall sensor to measure the DC motor speed. DC motor is a device that converts electrical energy into mechanical one. It is usually used in fan, electronic toy, shaver, etc. considering it is easy to control.
– 2 * Adeept Arduino UNO R3 Board
– 1 * Hall Sensor Module
– 1 * DC motor Module
– 1 * Magnet(N/S)
– 1 * 3D printing material
– 2 * USB Cable
– 1 * 3-Pin Wires
– 1 * 4-Pin Wires

Experimental Principle 
The Fritzing image:

Pin definition:

The schematic diagram:

The Fritzing image:

Pin definition:

The schematic diagram:

Experimental Procedures
Step 1: Build the circuit

Step 2: Use the 3D printer to print the keypad to secure the platform
3D Module download link:3Dmodule

Step 3: Program  HallSensorModule.ino

File name: HallSensorModule.ino
Description:  Use the Hall sensor to measure the speed
             you will see the data in the serial monitor 
Author: Tom
Date: 2016/12/23 
int hallsensorPin=2;             //Set the digital 2 to hall sensor module interface 

unsigned long duration;  //Define the duration variable as an unsigned long integer variable
void setup()
  Serial.begin(9600);  //The serial baud rate is 9600
  pinMode(hallsensorPin, INPUT); //Set the pin to input mode
void loop()
 //Read the high pulse on the pin, the maximum
 //pulse time interval of 60 seconds, and the results assigned to the duration variable
  duration = pulseIn(hallsensorPin, HIGH,60000000);
  Serial.print(60000000/duration); //The duration variable is output through the serial port
  Serial.println(" r/min");

Step 4: Compile and download the sketch to the UNO R3 board.

51 Replies to “Use the Hall sensor to measure the speed”

  1. Here at Leslie’s Pugsland Breeder, Our beautiful fawn pug has given birth to 4 healthy Pug puppies.
    She is our beloved family dog and this is her 1st litter.
    Both mum and dad are AKC registered with 5 gen pedigree certificate. Both from Top Champion bloodlines.Mum and Dad can be seen. Puppies have been wormed weeks 2,4,6,8 and will have had a flea preventative treatment before leaving us.
    They will have their vet check, 1st vaccinations and microchip.
    To view all available puppies and recent pictures, Search us in google as LESLIE’S PUGSLAND BREEDER or click on our website link bellow :

    Pug Puppies for sale | pug for sale near me | pug puppy for sale | pug puppy | pug for sale | pug puppies for sale in va | black pug puppies for sale

  2. Pingback: w88dn
  3. Pingback: tarotqq
  4. Pingback: warnetqq
  5. Pingback: rajaqq
  6. Pingback: Michael Lutz
  7. Pingback: the thao m88
  8. Pingback: poker online
  9. Pingback: dab rig
  10. Pingback: unicc shop
  11. Pingback: bai bingo
  12. Pingback: child porn
  13. Pingback: share txt
  14. Pingback: 12
  15. Pingback:
  16. Pingback:
  17. Pingback:
  18. Pingback:
  19. Pingback: 12betvn88
  20. Pingback: loto bao chung
  21. Pingback: gay porn
  22. Pingback: child porn
  23. Pingback:
  24. Pingback: game doi tien that
  25. Pingback: live sex cams
  26. Pingback:
  27. Pingback: choi dao vang
  28. Pingback: thepiratebay
  29. Pingback: szybkie obiady
  30. Pingback: michigan cornhole
  31. Pingback: furniture removals
  32. Pingback: Meme
  33. Pingback: Boiler Grants

Leave a Reply