Microcontrollers programming
List of components
Where you can buy components
Tutorial 1
Discussion of the aim of the subject, conditions for passing the course. Basic physics knowledge about electricity, laws, components.
- Materials
- Tasks
- Read / watch all the materials from Materials section. Know the answers for questions related to topics given in You should know section.
- You should know: After this class you should know:
- The concept of electricity.
- Voltage, current, resistance and their relationships.
- Electronics workshop.
- Basic components (resistor, capacitor, LED).
Tutorial 2
How to power an electronic device.
- Materials
- Tasks
- Mandatory: Build and test at least basic linear voltage regulator circuit.
- Mandatory: Create a schemat of the circuit you made.
- Optional: Build and test linear voltage regulator application: for example circuit for increasing output voltage (adjusting output of fixed regulators) or battery backed-up regulated supply
- After this classes you should know
- How to power your device.
- Other resources
Tutorial 3
How to communicate devices with different logic levels.
- Materials
- Tasks
- Create a voltage divider from section Send logic signals from 5V device to 3.3V device.
- Use the Arduino module to perform the test described in Potentiometer. In the test, you use a potentiometer (which is an adjustable voltage divider) to gradually increase / decrease the voltage. The purpose of the test is to check at what voltage the state of the digital pin changes from HIGH to LOW and vice versa.
- After this classes you should know
- How to use different voltage levels.
- How to use analog and digital pins.
- Other resources
Tutorial 4
Pull resistors: how to "initialize" microcontroller's pins.
- Materials
- Tasks
- After this classes you should know
- What are pull resistors, why we need them and how we can use them.
- Other resources
Tutorial 5
Practical project - simple number guessing game.
- Materials
- Tasks
- After this classes you should know
- How to design and complete a simple system according to a given requirements.
- Other resources
Tutorial 6
Continuation of previous tutorial
Tutorial 7
Working with LCD (Liquid Crystal Display).
- Materials
- Tasks (one of them)
- Update a simple number guessing game to use LCD.
- Display bar on LCD and control it with two button: plus (to inceasy it) and minus (to decrease it).
- After this classes you should know
- Other resources
Tutorial 8
Working with RTC DS3231.
- Materials
- Tasks
- Display current time on LCD (via I2C).
- After this classes you should know
- How to use RTC.
- How to use LCD with I2C converter.
- Other resources
Tutorial 9
PWM
- Materials
- After this classes you should know
- What PWM is.
- How you can use PWM.
Tutorial 10
Working with analog component: photoresistor. Resistor ladder.
- Materials / topics:
- Simple circuit.
- Simple circuit + potentiometer to adjust switching treshold.
- Missing pins (part 1: The resistor ladder)
- Resistor ladder
- After this classes you should know
- How to read data from photoresistor.
- What is a resistor ladder and how to use it.
Tutorial 11
Shift register
- Materials / topics:
- After this classes you should know
- How to work with shift register.
Materials
- Good source of informations
- LCD
- Ideas