Pages: [1]   Go Down
Author Topic: Firmata confusing pins  (Read 333 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I am using firmata with maxuino. My project has been working fine until now, pin 10 and 11 will not output a HIGH or LOW. I've yet to upload a sketch directly from the Arduino software to see if the Pins work while not being controller by firmata.

Has anyone had this problem or know why my pins all of a sudden are not responding?

Thanks

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just test my pins 10 and 11 on a solenoid using this sketch

void setup() {               
  pinMode(8, OUTPUT);     
  pinMode(9, OUTPUT);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
}

void loop() {
  digitalWrite(9, HIGH);
  delay(1);         
  digitalWrite(9, LOW);
  delay(1);         
}

And the pin won't even work for that. This code works for any other pin however. Maybe it is broken ?
Logged

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How you determining the pin "works"?  Unless you are using an oscilloscope,  I doubt a 1ms delay gives you the results you expect.

How much current do some solenoids draw?
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Pages: [1]   Go Up
Jump to: