I am trying to control a servo motor via the electric imp. The servo motor works fine when I am using an arduino but not via the imp. The electric imp decides to boot again as soon as I send a signal to the servo motor via the electric imp. Sample logs below.
Any idea why this is happening? I am powering the servo motor via the arduino and using the imp only for signalling the servo motor.
Also how do I find what firmware version my imp is running?
Logs and device code below.
Thanks,
Sangeetha
2014-01-19 23:24:18 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:24:50 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:26:22 UTC+5.5: [Agent] setting val to 0.05
2014-01-19 23:26:22 UTC+5.5: [Device] Set Servo: 0.05
2014-01-19 23:26:25 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:26:27 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:26:30 UTC+5.5: [Status] Device booting; 1.83% program storage used
Device Code :-
serv <- hardware.pin8; serv.configure(PWM_OUT, 0.020, 0.1); function setServo(servoState) { server.log("Set Servo: " + servoState); serv.write(servoState); } agent.on("servo", setServo);