+ 1
How is Java connected to electronic equipments?
As being a programmer, it is easy to develop desktop or web-based applications. But i wanted to know how can we make a program which can make any electronic equipment work in the way we want based on our requirements. I have heard about embedded systems. I am curious about how it is implemented. Can any professional from the same field, explain me the process in an easy manner?
2 Respuestas
+ 6
Sorry, no pro here, just a hobbist.
You could have your java program running on a raspberry pi/beagle board (ecc..)and control the General Purpose Input Output pins to drive an external electronic circuit.
Or you coud have you java program communicating with peripherals (arduino/pic) using the serial port(over usb/bluetooth), or generating audio frequencies...
You could create java servlets and clients that communicate in real time with external devices, over a wired/wifi network using sockets...
the possibilities are endless.
for an easy practical approach see examples of serial comm between an arduino and a processing sketch
https://processing.org
https://arduino.cc
+ 2
Thanks seamiki for your help