It is currently Wed May 24, 2017 2:17 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jan 10, 2017 2:41 pm 
Offline
Member
Member

Joined: Tue Jan 10, 2017 2:22 pm
Posts: 2
Hi!

I have download the example code for the VR204 (two leg) robot and it work fine when i don't use IR-transmitter. When I change "IRreceive boolean = false;" to true and download the program to the robot again, the robot starts to shiver like it´s trying to make some movements or something. I try to press buttons in the allbot app on the mobile but nothing happens. I have tried to high and lower the volyme (the IR lamp indicate that i press buttons). I don't know if I have missed something, i am new at this, any ideas?

Ps I have a mega-card not UNO, can that be a problem?


Top
 Profile  
 
PostPosted: Mon Jan 16, 2017 12:49 pm 
Offline
User avatar
Velleman Support
Velleman Support

Joined: Thu Dec 26, 2013 12:42 pm
Posts: 664
Yes check if the pins correspond with the one you're using in your program.
Also move the blue shunts accordingly


Top
 Profile  
 
PostPosted: Mon Jan 16, 2017 2:05 pm 
Offline
Member
Member

Joined: Tue Jan 10, 2017 2:22 pm
Posts: 2
I have checked that the pins is consistent with the Code and the blue shunts is in mega position. But i have still the same problem.

BOT.attach(hipLeft, 32, 90, 1, 0);
BOT.attach(hipRight, 24, 90, 0, 0);
BOT.attach(ankleLeft, 33, 90, 1, 0);
BOT.attach(ankleRight, 23, 90, 0, 0);

The robot works well when I not have IR enabled.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group