3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Second degree equation solver with arduino

Second degree equation solver with arduino
«
  • DSC02838.JPG
  • DSC00338.JPG
  • 1c110885bd9155bea6b6630e7d24d6c4.png
This instuctable is about making sort of a calculator that enables the user by using an analog 12-digit keyboard and 4 buttons to input the a,b,c variables into a equation and get the solution for it if there is any.(well if u don't know what an second grade equation is probably u haven't been in high school, even though you can follow this post to learn about microcontrollers.)

It can be a great electronics class project or an microcontroller starter project.  for your own use.



 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts list

Parts list
«
  • diecimilla.jpg
  • 42155.jpg
  • potentiometer.jpg
  • Breadboard.jpg
  • parts.jpg
  • 6mmswitch_t.jpg
  • TOOL-06-SLB_LRG.jpg
  • TOOL-04-WS_LRG.jpg
  • last photo ←
»
arduino board....................http://www.oomlout.co.uk/arduino-duemilanove-p-185.html £24.17
medium size breadboard......http://www.oomlout.co.uk/breadboard-830-point-p-250.html £5.11
LCD Display (16 x 2)...........................http://www.oomlout.co.uk/lcd-display-16-x-2-p-212.html £7.15
12 digit keypad...http://cgi.ebay.com/Electric-Keypad-12-Button-Keyboard-24VDC-20mA-Max-/110690838563?pt=LH_DefaultDomain_0&hash=item19c5b02823 .................................$9.99     
4 buttons................................................................................................................$1.00-0 
1 potentiometer.....................................................................................................$1.00-0
16x 500ohm, 4x 1k, 1x 6k resistors .................................................................$2.00-1
3 green LEDs.........................................................................................................$0.25-0
lots of jumpers or striped wires  ........................................................................$1.00-0

And patients!!!!!!  

  tip: if u don't have any of this parts it is highly recommended you buy an arduino starter pack that will include almost every electronic part needed, like potentiometers, wires, leds and maybe an lcd. a good one, which i bought ,is http://www.oomlout.co.uk/starter-kit-for-arduino-ardx-p-183.html

 As for the tools, a soldering iron and a wire striper and cutter should be enough.




« Previous StepDownload PDFView All StepsNext Step »
4 comments
Jul 7, 2011. 12:17 AMdeclanshanaghy says:
Nice tutorial.

I think the problem with your keypad reliability is because of contact bounce (also known as switch bounce) (http://en.wikipedia.org/wiki/Switch#Contact_bounce)

I recently updated my analog keypad backpack tutorial to include an Arduino library for use with an analog keypad. It has internal debounce logic so the return values from keypad.readKey() are reliable.

The library also accepts constructor arguments for the resistor values which allows it to calculate the co-responding analog voltage for each key reliably.

Check out step 7. I think it will solve your reliability problems.

L8r,
Dek

P.S.
There is a simpler example of debounce code in
Arduino File Menu -> Examples -> 2.Digital -> Debounce


Jun 16, 2011. 7:15 AMaspirine says:
really good project!!! i am waiting for the video though.
Jun 16, 2011. 3:50 AMMRHint says:
Awesome! a quadratic equation solver. That is so cool!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
1
Author:stratos13pao