Lego Mindstorms Calculator
Intro: Lego Mindstorms Calculator
This calculator uses a modified version of one of the Mindstorms tutorial's code to add how many times you press one touch sensor to how many times you press another touch sensor. To subtract, you have to add negative numbers.
Oh and sorry for the poor picture quality, I took everything on an iPhone camera :P
Oh and sorry for the poor picture quality, I took everything on an iPhone camera :P
STEP 1: Parts
Parts:
Two touch sensors
8 black pegs
2 "L" bars
Mindstorms NXT brick
2 connector cords for sensors
Two touch sensors
8 black pegs
2 "L" bars
Mindstorms NXT brick
2 connector cords for sensors
STEP 2: Add the L Bars
Attach the L bars to the NXT with the little peg things.
STEP 3: Add the Sensors
Attach the sensors to the L bars with the leftover peg things.
STEP 4: Plug the Sensors Into the NXT
Plug the left sensor into port 1 and the right sensor into port 2. I put two longer pegs in the NXT to keep the wires in place, but it won't affect anything if you leave them out.
STEP 5: Download Code
Download the 2 files on this page and sync "add.rbt" to your NXT brick.
http://www.filedropper.com/addcalculator
http://www.filedropper.com/add_4
http://www.filedropper.com/addcalculator
http://www.filedropper.com/add_4
8 Comments
felinski 9 years ago
New download link? Original doesnt work
ALogan97 9 years ago
felinski 9 years ago
I can understand why you don't have the file anymore, this was posted a long time ago, lol. It's a bit weird because googling NXT calculator brings up your instructable as one of the top 5 answers.
For anyone stumbling upon this, here is a link to the lego forums calculators:
http://www.us.lego.com/en-us/mindstorms/community/browse/?query=nxt%20calculator&order=date&category=
Anyways, thanks for helping me out.
AJMansfield 12 years ago
jbarrett9 12 years ago
ALogan97 12 years ago
khsora 13 years ago
Lego man 201 13 years ago
:)