Skip to content

Instantly share code, notes, and snippets.

View john212's full-sized avatar

Mr. C. john212

  • Oneonta, Alabama
View GitHub Profile
/**************************************************
Udemy Arduino Step-by-Step Course
Section 3 Interactive Lecture 27 Keypad Part 5 Quiz
by J. Cantlin
December 21, 2015
***************************************************/
/**************************************************
Summary of Arduino Analog Pins Used:
A0 = 4x4 Keypad
@john212
john212 / section4_lecture37_tft_display_ST7735_inclinometer.ino
Created January 2, 2016 23:24
Using a 3-Axis Accelerometer to Measure Inclination In X-Axis and Display Angle on ST7735 TFT LCD
/**************************************************
Using a 3-Axis Accelerometer to Measure Inclination
(X-Axis Only) and Displaying Result on a 138x160 TFT LCD
by J. Cantlin
Januaty 2, 2015
***************************************************/
/**************************************************
Description of Program
A 3-Axis accelerometer is used to measure the angle
@john212
john212 / add_two_vectors.html
Created January 29, 2016 22:03
Python - Add Two Vectors
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Mr. C.'s Add Two Vectors Program</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta name="description" content="A program to add two vectors in polar form.">
<meta name="keywords" content="Python, vectors, polar form, Mth113, Mr. C.">
<meta name="Author" content="John Cantlin">
</head>
/**************************************************
Udemy Arduino Step-by-Step Course
Section 4 Displays Lecture 45
Using 8x8 LED Matrix - MAX7219 Controller - ADXL335 3-Axis Accelerometer
by J. Cantlin
January 30, 2016
***************************************************/
/**************************************************
Description of Program
@john212
john212 / section5_lecture46_DCMotor_L298NHBridge_jc.ino
Last active February 7, 2016 04:55
Udemy Arduino Step-by-Step Course Using the L298N H Bridge To Control Two Vex 393 DC Motors
/**************************************************
Udemy Arduino Step-by-Step Course
Section 5 DC Motors 46 Part 1 Using the L298N H Bridge
by J. Cantlin
February 6, 2016
***************************************************/
/**************************************************
Description of Program
A L298N DC Motor Controller is used to control two
@john212
john212 / sec5_lec47_DCMotors_Robot_w_IRRemote_2pwm_pins_usonic_r1.ino
Last active March 12, 2016 23:11
Vex Mini Robot - Arduino Uno - Vex 393 DC Motors - Sparkfun IR 9-Button Remote - Ping Ultrasonic Rangefinder
/**************************************************
Udemy Arduino Step-by-Step Course
Section 5 DC Motors Lecture 47 Part 2 Using the L298N H Bridge
To Control Speed/Direction of a 2-Motor Robot with A 9-Button
Infrared Remote Control and an Ultrasonic Distance Sensor.
by J. Cantlin
February 17, 2016
***************************************************/
/**************************************************
@john212
john212 / servo_with_3_buttons_and_pot.ino
Created June 18, 2016 00:56
Arduino Servo Example - Using Potentiometer To Vary Servo or Pushbutton To Set To Fixed Position
/**************************************************
Udemy Arduino Step-by-Step Course
Section 5 Motors Lecture 51 Servo Motors Part 2
Quiz Servo With 3 Buttons (not graded, not for credit, fun only:-)
by J. Cantlin
June 17, 2016
***************************************************/
/**************************************************
Description of Program
@john212
john212 / s6_l60_quiz_w5100SPI_16x2I2C_ht22_telnet_r009.ino
Last active July 9, 2016 20:29
Arduino With Ethernet Shield Controlling LED via Telent and Displaying Temp., Humidity, LDR Readings via Telnet and on 16x2 Display
/**************************************************
Udemy Arduino Step-by-Step Course
Section 6 Lecture 60 Ethernet Shield Telnet Control
With 16x2 LCD Text Display and DHT11 Temperature/Humidity Sensor
Quiz - Just For Fun - No Grade
by J. Cantlin
July 8, 2016
***************************************************/
/**************************************************
@john212
john212 / L_Meter_Working.ino
Created July 19, 2016 04:15
Using An Arduino and a LM339 Comparator To Measure an Unknown Inductance
/*
Inductance Meter Using Arduino - by J. Cantlin July 2, 2014
A coil of unknown inductance is connected in an LC crcuit. The
Arduino "rings" the circuit with a PWM pulse from a digital output.
The decaying sine wave from the LC circuit, i.e., tank circuit is
sent to an LM339 comparator where it is converted to a square
wave. The square wave is sent to the Arduino where the "pulseIN"
fuction reades its with in microseconds and converts it to the
resonant frequency of the LC circuit. With a known value of
@john212
john212 / section4_lecture37_to_39_keypad_to_16x2_LCS_I2C_plus_RTC.ino
Created January 23, 2016 21:39
Multiple I2C Devices With Arduino Uno
/**************************************************
Udemy Arduino Step-by-Step Course
Section 4 Displays Lecture 37 to 39
Using 16x2 LCD With I2C Plus a Real Time Clock
by J. Cantlin
January 23, 2016
***************************************************/
/**************************************************
Summary of Arduino Analog Pins Used: