EPsys LLC
  • Home
  • Web Hosting
  • Electronics
  • Computers
  • Apps
  • Contact
  • Technology Blog

Grade Calculator - Web App

3/17/2013

0 Comments

 
Picture
I recently generated a basic web app that assists teachers in converting a number wrong to a percentage.  This web app as they are called runs in PHP.  You simply input the number of possible points on an assignment and hit go.  You will then get a list of numbers and percentages.  This saves time when the points possible is not a nice round number that is easy to calculate in your head.  You can use the app here: Grade Calculator

0 Comments

BAM Testing

3/13/2013

0 Comments

 
I have been investigating the BAM method of LED dimming.  There are already many microcontroller programs written to control a LED or multiple LEDs with BAM, however I wanted to fully understand the method so I threw together some SPIN code to prove it would work.   Click the Read more link for details on the code.

Read More
0 Comments

RGB LED Driver BAM

3/4/2013

0 Comments

 
Bit Angle Modulation or BAM for short is a method of driving LEDs and adjusting their brightness easily with a microcontroller.  Here is how it works.  If you want 255 levels of color you can break this into a 8-bit number.  Each one of these bits is then a multiple of 2 longer than the first.  The image below may help visualize what is going on.  Each bit of the 8-bit number is one of the numbered boxes below.  The numbers indicate the portion of the cycle the LED is on. There are 255 portions total which are broken down into groups of 128, 64, 32, 16, 8, 4, 2, & 1. Some examples will assist in explaining how this works.  If we wanted 50% brightness or 1/2 of 255 = 128 the LED would be on for the 128 portion of the cycle below.  If we want 62% brightness we need a value of 158, or 10011110 in binary.  We would then turn the LED on for the 128, 16, 8, 4, and 2 time periods.  If we wanted ~12% brightness we could use a value of 30 which would have the LED on for the 16, 8, 4, & 2 time periods.  For this to work the cycle must be faster than the human eye and 120Hz is a good range to avoid any flicker.  Code to make this all happen will be discussed later.
Picture
0 Comments

    Author

    Jon owner
    of EPSys LLC.  

    About

    This blog covers a multitude of up and coming technology, as well as how to guides, tips and tricks, and other interesting technology related items.

    Archives

    January 2016
    December 2015
    December 2014
    September 2014
    August 2014
    October 2013
    July 2013
    June 2013
    April 2013
    March 2013
    February 2013

    Categories

    All
    Gamma
    How To
    Internet
    Javelin Stamp
    Lantern
    Microcontrollers
    Parallax
    Pc Repair
    Project
    Propeller
    Rgb Led
    Robotics
    Travel
    Web App
    Web Hosting

    RSS Feed

    Currently Reading

    Nothing Like it in the World: The Men Who Built the Transcontinental Railroad, 1863-1869
    Moonraker
Website by EPSys LLC
  • Home
  • Web Hosting
  • Electronics
  • Computers
  • Apps
  • Contact
  • Technology Blog