- https://gist.github.com/BeeeShah
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Stepper_Pot_RPM Bhavika Shah MakeCourse USF Spring 2016 | |
| * This code enables the Arduino Uno to read out the voltage on the swiper of the potentiometer. | |
| * Using this voltage reading, we set the speed of the stepper motor and calibrate the stepper motor RPM | |
| * by counting the rounds per time at a given motor setting. From there we calculate the speed in RPM's | |
| * It is them displayed on an LCD */ | |
| #include <Stepper.h> | |
| #include <Wire.h> | |
| #include <LiquidCrystal_I2C.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ProximitySensor Bhavika Shah MakeCourse USF Spring 2016 | |
| * Using the HCSR04 proximity sensor to determine the distance to an object and | |
| * then show the measured distance on the LCD display */ | |
| #include <Wire.h> | |
| #include <LiquidCrystal_I2C.h> | |
| /*using an LCD with a module attached ("YwRobot Arduino LCM1602 IIC V1") | |
| * Library can be found here: https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/LiquidCrystal_V1.2.1.zip */ |