- This topic has 4 replies, 3 voices, and was last updated 6 years, 1 month ago by
sirEdwardF2005.
-
AuthorPosts
-
September 27, 2017 at 5:35 am #5320
GHesse
ParticipantHi
I would like to use a pair of microbits to remotely control motors attached to the crumble. One would be attached to the crumble to switch the motors on and off. Is this possible?
I thought I could attach two microbit pins to two of the crumble pins and literally use the crumble like a switch – setting its pins hi and lo when its buttons are pressed.
Any advice would be appreciated.
Thanks
September 29, 2017 at 7:50 am #5353Daniel
ModeratorHi GHesse,
It should indeed be possible to use the output of a Microbit as an input on the Crumble. I believe that the voltage of the Microbit is around 3v, and this should be enough to trigger the ‘HI input’. However, if this doesn’t work, you may need to take the analogue() of your chosen input pads, and then set up a conditional statement e.g. ‘If analogue(A) > x’.
I hope this answers your question, and if you have any others, feel free to ask.
Kind regards,
Dan
p.s. It would be great to see your final project!
October 10, 2017 at 4:33 am #5409GHesse
ParticipantHi
I can confirm that this worked really nicely. I connected two pins from the microbit to the A and B crumble inputs. It was sufficient to set the microbit pins to HI and LO and read the crumble pins as HI or LO, and then use this info to turn the motors on and off.
Thanks for the help
October 10, 2017 at 11:12 am #5411Daniel
ModeratorHi GHesse,
That’s great to hear!
Dan
October 11, 2017 at 7:17 pm #5438sirEdwardF2005
ParticipantHi!
I did this as well to make a remote controlled buggy, It works amazingly thanks for your advice! -
AuthorPosts
- You must be logged in to reply to this topic.