GSM Shield, PubSub and MicroServo
hi all,
i working on project use pubsub client (mqtt) , gsm shield control micro servo. now, have code in place connect gprs via gsm shield , have pubsub client in place , these things work perfectly. connecting gsm , mqtt inside setup() function, first connect gsm, connect gprs , after connections done, i'm connecting mqtt. now, after these connections in setup() function, i'm attaching servo pin 5 or 6 myservo.attach(6). in loop, i'm publishing on every second message, every time when message published, servo moved. basically, every time gsm shield send singnal mqtt write on pin 5 or 6 moving servo small value.
i'm using arduino uno, gsm shield (http://arduino.cc/en/main/arduinogsmshield) , tinkerkit microservo. i'm having 9v power supply. can me or explain going on here, because i'm trying figure out happening 2 days now?
thanks
i working on project use pubsub client (mqtt) , gsm shield control micro servo. now, have code in place connect gprs via gsm shield , have pubsub client in place , these things work perfectly. connecting gsm , mqtt inside setup() function, first connect gsm, connect gprs , after connections done, i'm connecting mqtt. now, after these connections in setup() function, i'm attaching servo pin 5 or 6 myservo.attach(6). in loop, i'm publishing on every second message, every time when message published, servo moved. basically, every time gsm shield send singnal mqtt write on pin 5 or 6 moving servo small value.
i'm using arduino uno, gsm shield (http://arduino.cc/en/main/arduinogsmshield) , tinkerkit microservo. i'm having 9v power supply. can me or explain going on here, because i'm trying figure out happening 2 days now?
thanks
could due power? maybe gsm needs more power or that?
Arduino Forum > Using Arduino > Project Guidance > GSM Shield, PubSub and MicroServo
arduino
Comments
Post a Comment