Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl, JavaScript and Strandbeests

by zentara (Archbishop)
on Jul 21, 2017 at 12:01 UTC ( #1195697=note: print w/replies, xml ) Need Help??


in reply to Perl, JavaScript and Strandbeests

Wow, Excellent post. Your RaspberryPi cluster does interest me. I would use it for robot control. One Pi per limb, a few for sensor input, etc.

I'm not really a human, but I play one on earth. ..... an animated JAPH

Replies are listed 'Best First'.
Re^2: Perl, JavaScript and Strandbeests
by marto (Bishop) on Jul 21, 2017 at 12:06 UTC

    One pi per limb sounds like such overkill.

      I agree with zentera that it looks like a really neat project, I agree with you that using one Pi per limb is a bit overkill. Depending on how many GPIO are required per limb (or let's say each joint in each limb), GPIO expanders or shift registers would fit the bill.

      I like the SN74HC595(N) series chips. Eight extra input/output pins for three GPIO, and you can daisy chain them (I've done a maximum of four for 32 extra pins using only three GPIO)

      I would suspect you'd also want some form of analog in/out as well for precise feedback. MCP3008's provide eight analog inputs, and something like the MCP4922 provide your analog outs (you could also use a digital potentiometer, or an Arduino via I2C/SPI/Serial). Even with all of that connected, on a Pi3, there will still be GPIO and cycles to spare.

        "Even with all of that connected, on a Pi3, there will still be GPIO and cycles to spare.

        My thoguhts exactly.

      One pi per limb sounds like such overkill.

      Didn't Bill Gates say who needed more than 64k of ram? :-)

      Imagine a complex robot, with rotating wrists, totally manipulated 3 joint fingers and thumbs, with real lifelike motions as protrayed by this Strandbeest's thread. Furthermore it must be reporting position back to the brain cpu, and function autonomously in case of brain overload.

      In otherwords it needs to be agile for sex-bot work. :-)


      I'm not really a human, but I play one on earth. ..... an animated JAPH

        "Didn't Bill Gates say who needed more than 64k of ram? :-)"

        It was 640K (see Conventional_memory), and apparently, no he didn't.

        As for the rest, that a useage case I'd never considered. Without additional hardware a single pi could control upto 28 servos usning software and the onboard GPIOs.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1195697]
help
Chatterbox?
[marto]: use libPD on Android/IOS, route to something listening on the pi :P
[marto]: libpd
[marto]: OSC
[Discipulus]: choroba i'm just behind you at 100 points

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-10-17 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (225 votes). Check out past polls.

    Notices?