# Java Final Project Calculator using Arduino and keypad by Oran C 20171204 Project makes a calculator for a Arduino that uses a physical keypad for input ![Hardware](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/hardware_v1.jpg?raw=true) ## Install --------------------------------------- PHOTO VERSION OF INSTALL OPEN THE PHOTOS WITH the folder 'How TO Setup' start with the hardware photos first hardware_vXX.jpg Then setup_vXX.png --------------------------------------- ARDUINO SETUP Plug in arduino to computer - Upload Code to arduino ./upload_arduino/custom_keypad/custom_keypad.ino - add library to arduino ide ./upload_arduino/Keypad.zip within arduino ide Sketch>include library> Add .zip Library upload code to arduino for more help https://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use?view=all --------------------------------------- COMPUTER SETUP open project within Intellij IDEA from main right click file 'RUN' - from dropdown menu with calculator open Select port EX 'COM3' click 'CONNECT' with arduino connected to computer click connect # Hardware setup 1. ![hardware](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/hardware_v4.jpg?raw=true) 1. ![hardware](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/hardware_v5.jpg?raw=true) 1. ![hardware](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/hardware_v6.jpg?raw=true) 1. ![hardware](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/hardware_v7.jpg?raw=true) ## Software Setup ------- 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v1.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v2.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v3.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v4.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v5.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v6.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v7.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v8.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v9.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v10.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v11.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v12.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v13.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v14.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v15.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v16.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v17.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v18.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v19.PNG?raw=true) 1. ![SETUP](https://github.com/wisehackermonkey/java_gpio_raspi/blob/master/HOW%20TO%20SETUP/setup_v20.PNG?raw=true) ## resources //LINKS // Graph Arduino Sensor Data with Java and JFreeChart // https://www.youtube.com/watch?v=cw31L_OwX3A // http://www.farrellf.com/arduino/Main.java // http://www.farrellf.com/arduino/SensorGraph.java // http://farrellf.com/arduino/Updated_jSerialComm_Demo.java // http://www.farrellf.com/arduino/SensorGraph.java //HARDWARE INFO Interface 4x4 Matrix Keypad With Microcontroller //https://embedjournal.com/interface-4x4-matrix-keypad-with-microcontroller/ jSerialComm Docs //https://github.com/Fazecast/jSerialComm/wiki/Java-InputStream-and-OutputStream-Interfacing-Usage-Example ## Error help Error message if not arduino message if not working with arduino set by set of what to do to do to get started example how to add number