Idea
In short
How do you build a simple Kalman filter lab?
A distance sensor's jumpy readings are smoothed by a one-number Kalman filter that weighs each new reading against its own guess, with a knob that sets how much it trusts the sensor. Watch the output lag or jitter as you change the knob. A gentle first look at a famous idea. You need Arduino Nano, HC-SR04 Ultrasonic Sensor, Potentiometer 10 kΩ, SSD1306 OLED Display, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Intermediate
- Time
- About 90 min
- Parts
- 6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Smooth a jumpy reading with a simple Kalman filter.
Parts list
- Development Boards
- Sensors
- Passives
- Displays
- Prototyping
- Prototyping
How to build it
- Read the distance sensor
- Predict the next value from the last
- Blend in each reading by a trust factor
- Set the trust with a knob
- Compare raw and filtered values on the screen
Common questions
What parts do I need for the simple Kalman filter lab?
Arduino Nano, HC-SR04 Ultrasonic Sensor, Potentiometer 10 kΩ, SSD1306 OLED Display, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the simple Kalman filter lab take to build?
About 90 minutes for a intermediate maker.
