title: H-Bridge Switch States
description: Type: MicroSim sim-id: h-bridge-simulator
Library: p5.js
Status: Specified Create a p5.js MicroSim with a 700 × 400 canvas.
image: /sims/h-bridge-simulator/h-bridge-simulator.png
og:image: /sims/h-bridge-simulator/h-bridge-simulator.png
twitter:image: /sims/h-bridge-simulator/h-bridge-simulator.png
social:
cards: false
status: implemented
library: p5.js
bloom_level: TBD
H-Bridge Switch States
Run the H-Bridge Switch States MicroSim Fullscreen
About this MicroSim
Type: MicroSim sim-id: h-bridge-simulator
Library: p5.js
Status: Specified Create a p5.js MicroSim with a 700 × 400 canvas.
Bloom's Taxonomy level: TBD
You can embed this MicroSim in your own course page with the following iframe:
1 | |
Lesson Plan
Learning objective: Type: MicroSim sim-id: h-bridge-simulator
Library: p5.js
Status: Specified Create a p5.js MicroSim with a 700 × 400 canvas.
Suggested use (5-15 minutes):
- Predict first. Before touching the controls, ask students to predict what they expect to see.
- Explore. Have students interact with every control and observe how the display responds.
- Explain. Ask students to describe, in their own words, the relationship the MicroSim demonstrates.
Discussion questions:
- What changed on screen when you interacted with the MicroSim, and why?
- How does this idea show up when you program the real robot?
References
- Chapter 6: Electronics, DC Motors, and Communication Protocols
- H-bridge (Wikipedia)
- Motor controller (Wikipedia)
Specification
The full specification below is extracted from Chapter 6: Electronics, DC Motors, and Communication Protocols.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |