News for hackers. Stuff that matters.
Re:Johnny-Five v1.0 – JavaScript Robotics and IoT Framework by wiradikusuma on Thursday August 23, 2018 @12:25PM (#17828548)
thank you for the explanation. so in production, it must be paired with Pi/real computer?

but why use this if Pi has support for sensors and stuff already? (other than, "because I've already bought Arduino")

Re:Johnny-Five v1.0 – JavaScript Robotics and IoT Framework by ianbicking on Thursday August 23, 2018 @12:51PM (#17828733)
My sense is that "devices" you hook up to a computer are themselves entire computers with fancy high-level protocols to control them. Sure the Pi, unlike a normal computer, has its GPIO ports. You can use those to directly control hardware that is not smart (or is only a tiny bit smart). But still you run out of ports really quickly, managing those ports isn't easy, and if you are controlling things that need more power than the GPIO ports can provide then you'll need additional circuitry. You usually need additional circuitry.

The obvious solution is to create higher-level hardware that the Pi can control without, say, pulsing on a regular interval, or without having to provide the full power requirements via GPIO. An Arduino board is a modular way to do exactly that. The Arduino then becomes the "device".

Re:Johnny-Five v1.0 – JavaScript Robotics and IoT Framework by monocasa on Thursday August 23, 2018 @12:34PM (#17828612)
The software stack normally on a Pi isn't really amenable to real time requirements.