An expression parser
Turn text into an answer: tokens, then the shunting-yard algorithm to reverse Polish notation, then a stack. Precedence, brackets, powers from the right, a unary minus and honest errors.
Open it in the simulatorScan a keypad, write a real expression parser, add variables, and plot, zoom, trace and solve on a TFT.
0 of 6 done
6 lessons in 3 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.
Turn text into an answer: tokens, then the shunting-yard algorithm to reverse Polish notation, then a stack. Precedence, brackets, powers from the right, a unary minus and honest errors.
Open it in the simulatorPlot y= anything: compile once, evaluate once per column, join the points with vertical runs, and leave gaps at asymptotes and where the function has no value.
Open it in the simulatorUse the finished grapher on a cubic: find all three roots, read a table of values, and share the curve you explore next.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
A keypad scanned by hand and a parser that turns text into an answer.
Scan a 5x4 keypad by hand: one row low at a time, columns read with pull-ups, a 2nd key that doubles what twenty keys can do, and the ghost three keys make.
0 of 5 steps
Turn text into an answer: tokens, then the shunting-yard algorithm to reverse Polish notation, then a stack. Precedence, brackets, powers from the right, a unary minus and honest errors.
0 of 6 steps
Values that stay, and a function drawn across the screen.
Store values in a to z, use ans and pi, call sin, cos and sqrt, and get honest answers for the square root of a negative, a division by zero and a name with no value.
0 of 6 steps
Plot y= anything: compile once, evaluate once per column, join the points with vertical runs, and leave gaps at asymptotes and where the function has no value.
0 of 5 steps
Zoom, trace and solve, then a pocket grapher of your own.
Drive the graph from the keypad: a trace cursor that reads off values, a root finder that halves its way to the answer, zoom and pan.
0 of 5 steps
Use the finished grapher on a cubic: find all three roots, read a table of values, and share the curve you explore next.
0 of 5 steps
All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Build a graphing calculator is part of the maker track, a ladder of courses from zero to expert.
Build the controller that runs a greenhouse: climate and VPD, fans with hysteresis, safe watering, a photoperiod, schedules and a season log.
Open the next courseFollow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.
See every course on the trackEvery lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 6 lessons of Build a graphing calculator are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 6 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: An expression parser, Plotting and Project: a pocket grapher.
With "Keypad input", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.