Skip to content

Instantly share code, notes, and snippets.

View BeeeShah's full-sized avatar

Bhavika Shah BeeeShah

  • University of South Florida
  • Florida
View GitHub Profile
@BeeeShah
BeeeShah / Stepper_Pot_RPM.ino
Last active April 11, 2016 18:18
This program was created in fulfillment of an assignment for the Makecourse at the University of South Florida (www.makecourse.com)
/* 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>
@BeeeShah
BeeeShah / ProximitySensor.ino
Created April 11, 2016 17:58
This program was created in fulfillment of an assignment for the Makecourse at the University of South Florida (www.makecourse.com)
/* 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 */