Giter VIP home page Giter VIP logo

microcontroller-intro's Introduction

Intro to Microcontrollers

Download driver: https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/using-arduino-ide

Basic Electronic Theory

  • Volts: The pressure of a charge or electrons that want to move through a circuit, as measured in the force required to hold back the charged particles (potential energy measured in Joules) times the number of charged particles (electrons) measured in Coulombs.

  • Amps: (Current, I) Rate of flow of charge measured in electrons (Coulombs) per sec.

  • Resistance: Amount of resistance to electron flow, measured in Ohms. Resistors limit amperage, but not voltage.

V = I x R

Since you are usally powering your circuit with a source with a stable voltage (for instance a 9V battery), the amount of current flowing through the circuit depends on the amount of resistance provided by components in the circuit.

If there is a lot of resistance, the current (amps, I in the equation) will be low.

Current is the same everywhere in a circuit.

Voltage is not the same everywhere in a circuit, it is always the voltage of the power supply at the beginning of the circuit, and 0V at ground. Voltage drops across components, but it remains the same across the entire length of a wire.

Projects

  • 00-simpleLED Wire up an LED and write code to make it blink.
  • 01-pwmLED Use pulse width modulation to fade an LED.
  • 02-buttonInput Use a button to light an LED.
  • 03-analogRead Use a potentiometer as an analog input.
  • 04-photoSensor Make a light theramin, using a photocell as the analog input, and a buzzer as the analog output.
  • 05-servos Move a servo with buttons.

Microcontrollers

Adafruit Feather Huzzah

Accessories

Components

Input

Binary Switches (and Buttons)

Image Name Supplier's Info Symbol Eagle Part More Info
slide switch Slide Switch Adafruit documentation SPDT switch symbol
magnetic contact switch Magnetic Contact Switch (Door Sensor) Adafruit documentation
button Momentary Tactile Switch Button Adafruit documentation button symbol switch-omron:B3F-40XX button schematic

Analog Switches

Image Name Supplier's Info Symbol Eagle Part More Info
trim potentiometer Trim Potentiometer Adafruit documentation potentiometer symbol potentiometer internals
temperature and humidity sensor Temperature and Humidity Sensor Adafruit documentation
  • [Motion Sensors]
  • [Light Sensors]
  • [Sound Sensors]

Output

Light

Image Name Supplier's Info Symbol Eagle Part More Info
RGB LEDs RGB LEDs Adafruit documentation LED symbol

Sound

Image Name Supplier's Info Symbol Eagle Part More Info
buzzer Buzzer Adafruit documentation buzzer symbol

Motion

Image Name Supplier's Info Symbol Eagle Part More Info
micro server Micro Servo Adafruit documentation

Neither

  • [Resistors]
  • [Capacitors]
  • [Diodes]

Image credits:

microcontroller-intro's People

Watchers

James Cloos avatar Holly F. Hudson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.