Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Interfacing / Re: Arduino interfacing with Java/JSP on Linux on: April 16, 2008, 07:02:34 am
Hi Guli,

I have been on je jusb website but apparently, this is to send just USB command for native USB devices. Arduino fake its serial interface behind an USB connection but apparently, you need serial comms and a local driver. I have not find any docs on the USB comms straight to the arduino, there are only serial commands.

Maybe could someone help ?

Otherwise, the proxy is a very good solution but in regards of my hardware a VERY slow solution. (I also have derby and glassfish running on it :-(

2  Forum 2005-2010 (read only) / Interfacing / Re: Arduino interfacing with Java/JSP on Linux on: March 21, 2008, 03:45:18 am
Many thanks, just a few more questions :

I am running 2.6.22 linux kernel ( a light one, recompiled without a lot of unnecessary bits). This works perfect in a network standpoint (Apache/Tomcat).

I have installed the arduini soft and driver and I can see the Arduino board. Is that driver enough our shall I use another one ?

In fact, once I have the USB/Serial driver installed, can't I use the java.io API to send command directly to the /dev/TTYsx interface instead of the JNI + Low level C driver ? (A bit like the serial monitor of the arduino software does).

In this case, I can send value to the arduino board from my JSP pages and I need to update the arduino sketch to send all the needed values to the Linux driver.

Many thanks

3  Forum 2005-2010 (read only) / Interfacing / Arduino interfacing with Java/JSP on Linux on: March 20, 2008, 11:04:00 am
Hello, after several time googeling the web, I could not find any answer to my questions !!!

In fact, I would like (as test purpose for the moment) have a linux box based on a VIA Artigo pico http://www.via.com.tw/en/products/embedded/artigo/index.jsp. On that box, I run apache and Tomcat (Java container) and publish web pages. On the USB, I connect an ARDUINO board with a sketch on it.

What I would like is to have some JSP on the VIA box so that a user can change values and check values to/from the ARDUINO board.

Is it possible, does anyone has done that before ?

Many thanks for help.
4  Forum 2005-2010 (read only) / Troubleshooting / Reading a PWM value from a self powered system on: August 03, 2008, 06:13:09 am
Hi,

I would like to be able to read a PWM value (analogRead) from a system which has is own 12V DC power supply.

In fact, on my system I have 3 wires,  1 x +12 V, 1 x  GND and 1 x PWM (out, 0-1.5 V).

How can I connect all those (knowing that I use the USB to power the arduino !!!) wires in order to read the PWM value.

Many thanks
5  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: How to read a PWM value on an analog input ? on: August 07, 2008, 03:19:26 am
Hi,

As I understood, I need a resistor and a capacitor to smooth the PWM signal into a "quiet" full analog signal. Can anyone provide me with a schematic on how to do it. Do I need to set all in serial on the PWM signal wire ?

Many thanks

Francois X.
6  Forum 2005-2010 (read only) / Frequently-Asked Questions / How to read a PWM value on an analog input ? on: August 05, 2008, 03:48:59 am
Hi,

I have an application that needs to read a PWM value from another PLC. In fact, as far as I understand, analag input are 8 bits analog that goes on a AD converter and PWM is somehow digital signals.

Can anyone help me with a way to smooth this PWM signal into a true analog signal. The PWM signal I should receive range from 0 to 3.2 V DC, I don't need any opamp, just a filter to get a true analog signal I can use on a analog input on my Arduino.

Many thanks

Francois X.
Pages: [1]