Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Perl, JavaScript and Strandbeests

by stevieb (Abbot)
on Jul 21, 2017 at 12:27 UTC ( #1195700=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl, JavaScript and Strandbeests
in thread Perl, JavaScript and Strandbeests

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.

  • Comment on Re^3: Perl, JavaScript and Strandbeests

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

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

    My thoguhts exactly.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1195700]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2018-07-18 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (393 votes). Check out past polls.

    Notices?