Controlling a Lego device from puck.js #921
Replies: 10 comments
-
Posted at 2017-02-13 by @gfwilliams Yes, I'd be pretty sure Puck.js could do it - I don't have one to test, but doing this would probably work fine: http://www.espruino.com/Puck.js+Infrared With micro:bit, maybe. You'd have to add an IR transmitter and manually do analogWrite - basically this: http://www.espruino.com/Pico+Infrared#line=97,98,99,100,101,102,103,104 but once you have that in a function it should behave the same as the Puck. If he does have some success, it'd be great if he could post up his code (the IR waveforms) and maybe we could turn it into a library that others could use. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-13 by OwenBrotherwood Martin said : quick response. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-13 by OwenBrotherwood How about a trip to Copenhagen one day: I think Martin would like a easily consumable Gordon session where inspiration to play and learn for kids is interesting. micro:bit foundation and espruino are tangental in there aims so some form of micro:bit foundation and esruino way would also need to be taken care of. The weather in Copenhagen is better in the Spring and if I can take care of some of the burden from Martin, it could be a great session if you have time and some form of payment (budget(s) unknown) /cc Martin |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-14 by @gfwilliams It'd be an idea, however I have virtually no free time at the moment. I have to focus my efforts on things that help sell Espruino/Puck.js, so I can keep working on it. As much as I'd like to help out with education, and even if you somehow find a way to pay for my flight and time, selling micro:bits doesn't help Espruino at all - in fact it probably just means more support people expect from me for free :( IMO the best thing I can do right now for education is to spend my time trying to make sure I can keep working on Espruino long-term. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-14 by OwenBrotherwood Yep: the idea was getting Espruino devices more in focus to ensure finance for Espruino SW. The micro:bit ram/flash is at the moment too little and an opportunity for Espruino devices to come forth and show what is on board javascript (zx80 experience). I have some more orders for puck.js: just waiting a bit to save postage. In order to get batches of 20's ordered, some form of indication of quantity for Denmark is needed so I can get a local distributor interested (not me: I have real life work, micro controllers are "free time"). There are also orders that I do not see from people I have shown the puck.js / Espruino experience to. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-14 by OwenBrotherwood For completeness. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-17 by OwenBrotherwood Two puck.js's are in the hands of a Coding Pirate in Aalborg. https://codingpirates.dk/afdelinger/ No need for any comment: getting kids to use the puck.js is going to be fun. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-17 by @MaBecker Cool, this will bring back my dusted RCX1.0 :) Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-17 by OwenBrotherwood Great :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-17 by OwenBrotherwood http://bricxcc.sourceforge.net/ may help in the porting to Espruino puck.js :) It would be nice to get this "on the net" with a puck.js as I think the old lego controllers are fun and a good kids thing for a puck.js Could also stop the throwing away of good plastic and electronics |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-13 by OwenBrotherwood
A question from Martin who asks if a micro:bit can control, via an IR sender
https://shop.lego.com/en-US/LEGO-Power-Functions-IR-Remote-Control-8885
So I sent Martin a link to the video for puck.js
Martin leads the volenteer coding group for kids https://codingpirates.dk/hovedbestyrelsen/
Possible good PR I can say " a puck.js can :) "
Beta Was this translation helpful? Give feedback.
All reactions