Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fabclass-recitation-electronics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Filippos Tourlomousis
fabclass-recitation-electronics
Commits
098ea36e
Commit
098ea36e
authored
6 years ago
by
Robert Hart
Browse files
Options
Downloads
Patches
Plain Diff
added folder for Rob
parent
e39237f9
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2495
passed
6 years ago
Stage: deploy
Changes
21
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rob's_portion/microcontroller/index.html
+53
-0
53 additions, 0 deletions
Rob's_portion/microcontroller/index.html
with
53 additions
and
0 deletions
Rob's_portion/microcontroller/index.html
0 → 100644
+
53
−
0
View file @
098ea36e
<!DOCTYPE html>
<html>
<title>
Electronics intro: microcontrollers.
</title>
<xmp
theme=
"journal"
style=
"display:none;"
>
<br>
## Microcontrollers.
[Datasheet](https://datasheet.octopart.com/ATTINY45-20SU-Atmel-datasheet-41301906.pdf) for ATtiny45, the small AVR microcontroller
in the inventory. Other ATtiny's and ATMega's (including the Mega328P used in Arduino) are similar.
XMEGAs have more capabilities.
___
###Microcontrollers.
As circuit elements. Programming will be discussed later.
Pins: Supply (2.7-5.5V), ground, reset. Other pins available for input and output. Configured by programming to be input or output.

#### Input.
- Digital inputs (using VCC=5V): Low for 0 - ~2.3 V. High for 2.3 - 5 V.
- Individual pins can be configured to have an input pullup resistor.
This is used, for example, to make a simple button input circuit.

- Analog to Digital converter. (ADC) "Analog" input. Uses digital process to infer analog voltage.
- Built-in analog amplifier. Attiny45 has a 20X differential amplifier.
#### Output.
- Digital output. Low, high, tri-state.
- what can the ucontroller drive?
- Things with high input impedance: FETs, Piezoelectric transducers, other microcontroller inputs.
- To some extent, things with low imput impedance: maximum current is 40mA per I/O pin. Enough to (over)drive LEDs.
- One way to get "Analog" out: Pulse width modulation (PWM)
---
</xmp>
<script
src=
"../../../../strapdown/strapdown.js"
></script>
</html>
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment