Error java.io.IOException: Device not configured in writeArray

Hello,

I have my sketches working recently, some when later it always get error
"java.io.IOException: Device not configured in writeArray".

It always returned error when I want to do Serial.read() from Serial port.

I am making two servos working in the same time according to the command I write inside Serial Monitor.

I have looked in the previous archive threat but seems nobody get answer yet.

So if there anybody here know the answer or at least know something about this error, kindly, tell me.

Thank You. :slight_smile:

It is an ide error, we need the full stack trace.
Witch arduino do you have?

n0talentGEEK:
It always returned error when I want to do Serial.read() from Serial port.

What current do the servos draw? How are you powering them?

n0talentGEEK:
Hello,

I have my sketches working recently, some when later it always get error
"java.io.IOException: Device not configured in writeArray".

Where does this error appear?

lesto:
It is an ide error, we need the full stack trace.
Witch arduino do you have?

I use Arduino IDE from 0023 up to 1.0.1 both randomly return error when I started Serial Monitor. So what I do now is open and close Serial Monitor until it is not returned error anymore.

I use this Servo Modelcraft RS-2 Servo Specifications and Reviews
It is 0.1 A each Servos. I powering them just using USB cables. Should I use the adapter too?

PeterH:

n0talentGEEK:
Hello,

I have my sketches working recently, some when later it always get error
"java.io.IOException: Device not configured in writeArray".

Where does this error appear?

Below the "Done Uploading" text.

n0talentGEEK:
It is 0.1 A each Servos. I powering them just using USB cables. Should I use the adapter too?

Are you running them straight off the Arduino pins? They are supposed to deliver 20 mA continuously, not 100 mA.

n0talentGEEK:
I use this Servo Modelcraft RS-2 Servo Specifications and Reviews
It is 0.1 A each Servos. I powering them just using USB cables. Should I use the adapter too?

Those servos don't have USB connectors so presumably you aren't powering them directly from USB. How are you connecting them?

Those servos will take a lot more than 0.1A - you can't power servos via USB, you need a battery pack capable of an amp or so per servo.

I have got Arduino Adapter now...
The error is not appeared anymore.

So thank you.