Hi,
I would like to know the possibility of using pure java code instead of arduino code. If possible how can I dump the java code on to the arduino UNO board.
Thanks and regards
Hema C Vadlamudi
You would have to port the Java Virtual Machine to the Arduino. After that you will be lucky if there is enough room left on your Arduino to run Java code.
Perhaps a code converter would be an alternative method for running Java code on an Arduino:
Edit: Here is a JVM-on-AVR project: http://haiku-vm.sourceforge.net
Looks like it generates a .HEX file so you need to learn avrdude (the uploader) to upload it but it will probably be able to upload using the Arduino bootloader. Of course your Java program won't have the benefit of Arduino libraries so this isn't really an Arduino question.
Haiku seems to be what you are searching for.
An alternative could be:
- Write a Java application for a PC (or for a SoC like Raspberry PI)
- connect Arduino with the PC (you can consider my library www.ardulink.org)
or use a powerfull Arduino like PcDuino or Arduino Yun or Intel Galileo because they linux embedded systems.
To understand better what I say you can read my article: Ardulink