Grove: Difference between revisions
Jump to navigation
Jump to search
Martin Hodge (talk | contribs) No edit summary |
Martin Hodge (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
Connecting twigs to the base shield will follow the same procedures as with an Arduino. See the [http://wiki.seeedstudio.com/wiki/Grove_-_Base_Shield Seeed Studio wiki] for info. | Connecting twigs to the base shield will follow the same procedures as with an Arduino. See the [http://wiki.seeedstudio.com/wiki/Grove_-_Base_Shield Seeed Studio wiki] for info. | ||
Use the [http://obex.parallax.com/ | Use the [http://obex.parallax.com/object/370 SPIN / PASM driver for MCP3208 Analog to Digital converter] to use analog twigs such as the temperature and rotary twigs. (ADC 6 & 7 is not available) | ||
=== | {| class="wikitable" style="text-align: center; background-color:#ffffff;" | ||
|+Twig Compatibility Chart | |||
|- | |||
!Twig!!Bypass Jumper!!Direction!!Code Examples!! !!Twig!!Bypass Jumper!!Direction!!Code Examples | |||
|- | |||
|Rotary<br />[[file:gbrot.jpg|link=|100x75px|]] || Open || INPUT || [[:grove:rotary|Code]] || || Button<br />[[file:bgpushb1.jpg|link=|100x75px|]] || Open || INPUT || [[:grove:button|Code]] | |||
|- | |||
|Relay<br />[[file:P3222472.jpg|link=|100x75px|]] || Either || OUTPUT || [[:grove:relay|Code]] || || Tilt<br />[[file:gbtlt.jpg|link=|100x75px|]] || Open || INPUT || [[:grove:tilt|Code]] | |||
|- | |||
|LED<br />[[file:P2100717.jpg|link=|100x75px|]] || Closed || OUTPUT || [[:grove:led|Code]] || || Temperature<br />[[file:bgtemp1.jpg|link=|100x75px|]] || Open || INPUT || [[:grove:temperature|Code]] | |||
|- | |||
|Buzzer<br />[[file:gbbuz.jpg|link=|100x75px|]] || Closed || OUTPUT || [[:grove:buzzer|Code]] || || LCD<br />[[file:seriallcdv10sa_03.jpg|link=|100x75px|]] || ???? || OUTPUT || [[:grove:lcd|Code]] | |||
|} | |||
<!-- | |||
| Buzzer\\ {{gbbuz.jpg?nolink&100x75}} | Closed | OUTPUT | [[:grove:buzzer|Code]] || || LCD\\ {{seriallcdv10sa_03.jpg?nolink&100x75}} | ???? | OUTPUT | [[:grove:lcd|Code]] | | |||
--> | |||
| Buzzer\\ {{gbbuz.jpg?nolink&100x75}} | Closed | OUTPUT | [[:grove:buzzer|Code]] |
Latest revision as of 21:05, 18 September 2016
Seeed Studio Grove System
Connecting the Base Shield to the ASC
Connect the Base Shield to the Propeller ASC as shown in the photos. (Shown with optional RGB adapter between.)
Connecting twigs to the base shield will follow the same procedures as with an Arduino. See the Seeed Studio wiki for info.
Use the SPIN / PASM driver for MCP3208 Analog to Digital converter to use analog twigs such as the temperature and rotary twigs. (ADC 6 & 7 is not available)
Twig | Bypass Jumper | Direction | Code Examples | Twig | Bypass Jumper | Direction | Code Examples | |
---|---|---|---|---|---|---|---|---|
Rotary |
Open | INPUT | Code | Button |
Open | INPUT | Code | |
Relay |
Either | OUTPUT | Code | Tilt |
Open | INPUT | Code | |
LED |
Closed | OUTPUT | Code | Temperature |
Open | INPUT | Code | |
Buzzer |
Closed | OUTPUT | Code | LCD |
???? | OUTPUT | Code |