When it comes to Arduino, there are several ways to do things. Using simple Arduino IDE to communicate with the board through serial port. Write a Java program to do it, or maybe do send orders to Arduino through your program that is not uploaded on Arduino card and can be changed anytime without even updating the pde file on the board. The tool that gives you the power to do this is called Processing & the library used exactly for Arduino is called StandardFirmdata. The very good thing about Processing is that it is based on Java and all Java codes works right out of the box on it. You can also import processing libraries into your Java framwork and enjoy the power of processing right in the middle of your Java project(in Eclipse).
The instruction to get Processing & Arduino talk together :
- Download this file.
- Unzip the library and copy the “arduino” folder into the “libraries” sub-folder of your Processing Sketchbook. (You can find the location of your Sketchbook by opening the Processing Preferences. If you haven’t made a “libraries” sub-folder, create one.)
- Run Arduino, open the Examples > Firmata > StandardFirmata sketch, and upload it to the Arduino board.
- Configure Processing for serial:http://processing.org/reference/libraries/serial/
- In Processing, open one of the examples that comes with with the Arduino library(in the same folder that we just unzipped).
- Edit the example code to select the correct serial port.
- Run the example.
This is a school project for a course(INF5261 – Development of mobile information systems and services) I take at department of Informatics at University of Oslo. courseApp is an android mobile application which allows the users(students at University of Oslo) to add their courses to this application and respectivley receive the latest updates about the course on their cellphone. We also are thinking about integerating the time & place of the courses with the students android calender. We have plans for further development of this application but this is all dependent on if we can get access to the database in StudentWeb. If we do so we would be able to let students add courses to navigate through the courses and join the course by just one touch click …
We have thought to have following functionalities on our program(numbers show also priority).
- My courses
- Latest messages on course page
- Warning on Email
- Integration with Android Calender
- Friends taking same course
read more about our project at Our Wonder Document.
People innvolved :
- Akbar(Shahab) Faghihi Mughaddam – shahabfm( at )usit.uio.no
- Shahab Bakhtiyari Saravan – shahabb( at )ifi.uio.no
- Ummair Tahir - ummairt( at )ifi.uio.no
- Piraba Kaugathasan - pirabak( at )ifi.uio.no
My friend (Jim) and I are finally finished with coding for a compiler in Java. The compiler is implemented in Java to run the code written in a language called Rusc wich is a kind of simplified C. The language contains integer, variables, functions, IF, Else, While, for, expressions, names, libraries of pre-coded functions. We finished testing and running the code. This code was written for a course at university of Oslo, IFI, called INF2100-Programming project. The code is available here.