MicroSim Template
Link to Breadboard Demo Link to Push Button Demo Link to Resistors Demo Link to Vector Breadboard Edit the Breadboard MicroSim
About this MicroSim
This MicroSim teaches us how to simulate an LED circuit with a button on a breadboard.
Image Background
Here is how we draw a breadboard in the background
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
|
Button Press
Sample Prompt
Create a single file p5.js sketch.
Draw a green circle on a 600x400 canvas with a radius of 200.
Sample Response
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Lesson Plan
Grade Level, Subject and Topic
9th grade geometry. Circle and radius.
Activities
Fill Color
Change the color in the prompt. You can specify any one of the 140 named colors.
Border Weight
Change the prompt to include a black border of width 10.
Border Color
Change the prompt to make the border purple.
Change the Radius
Change the prompt to make the circle smaller or larger by changing the radius from 10 to 200.
Change the Location
Change the prompt to move the circle to the left or right.
Prompt for 400-Tie Breadboard Layout
Create a p5.js drawing like the image attached.
Create a single file p5.js layout on a 400X275 canvas.
Create a layout of a 400-tie solderless mini breadboard.
The breadboard has a landscape orientation.
Each tie should be represented by a 4x4 black rectangle.
The breadboard should have two power rails at the top and bottom of the breadboard.
Each power rail has both a positive and negative horizontal row of ties.
The power rail rows have 5 groupings of 5 ties with a small space between the groups.
The positive power rail is red and the negative power rail is black.
The power rails run horizontally.
The center region has 30 columns of five vertical ties in columns at the top an bottom.
The 30 columns are evenly spaced in the 400 pixel width.
A central trough runs horizontally down the center of the breadboard.