-
Notifications
You must be signed in to change notification settings - Fork 18
Grove Actuators
Thomas Amberg edited this page Sep 30, 2019
·
54 revisions
Connect to Grove D<XY> (not I2C)
Color | Signal |
---|---|
Black | GND |
Red | VCC (3.3V) |
White | DIO (Digital) |
Yellow | CLK (Digital) |
ESP8266
- Library: Sketch > Include Library > Manage Libraries... > TM1637 by Avishay Orpaz > Install
- Example: File > Examples > TM1637 > TM1637Test
nRF52840
- Library: Sketch > Include Library > Manage Libraries... > Grove 4-Digit Display > Install
- Example: File > Examples > Grove 4-Digit Display > NumberFlow
#define CLK 9 // Grove adapter D4 #define DIO 10
### Python on Raspberry Pi
* Library: https://github.com/Seeed-Studio/grove.py
## Resources
* http://wiki.seeedstudio.com/Grove-4-Digit_Display/
* https://github.com/Seeed-Studio/Grove_4Digital_Display/ ([.zip](https://github.com/Seeed-Studio/Grove_4Digital_Display/archive/master.zip))
* https://github.com/avishorp/TM1637 ([.zip](https://github.com/avishorp/TM1637/archive/master.zip))
* https://en.wikipedia.org/wiki/Seven-segment_display_character_representations
# Buzzer
<img title="(c) seeedstudio.com" width="150" src="https://c2.staticflickr.com/8/7827/47017600362_63de91d570_m.jpg"/>
## Buy
* https://www.seeedstudio.com/Grove-Buzzer-p-768.html (~2$)
## Pinout
Connect to Grove D<XY>
Color|Signal
:---|:---
Black|GND
Red|VCC (3.3V)
White|NC
Yellow|SIG (Digital)
## Code
### Arduino
* https://www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/ (built-in)
* Example: File > Examples > Basics > Blink (replace LED_BUILTIN with GPIO number)
### Python on Raspberry Pi
* Library: https://github.com/Seeed-Studio/grove.py
## Resources
* http://wiki.seeedstudio.com/Grove-Buzzer/
# Chainable RGB LED
<img title="(c) seeedstudio.com" width="300" src="https://c2.staticflickr.com/8/7896/47017600302_6767c123de.jpg"/>
## Buy
* https://www.seeedstudio.com/Grove-Chainable-RGB-Led-V2-0-p-2903.html (~6$)
## Pinout
Connect to Grove D<XY>
Color|Signal (In)|Signal (Out)
:---|:---|:---
Black|GND|GND
Red|VCC (3.3V)|VCC (3.3V)
White|DIN (Data In, Digital)|DOUT (Data Out, Digital)
Yellow|CIN (Clock In, Digital)|COUT (Clock Out, Digital)
## Code
### Arduino
* Library: Sketch > Include Library > Manage Libraries... > Grove Chainable RGB LED > Install
* Example: File > Examples > Chainable RGB LED > ...
### Python on Raspberry Pi
* Library: https://github.com/Seeed-Studio/grove.py
## Resources
* http://wiki.seeedstudio.com/Grove-Chainable_RGB_LED/
* https://github.com/pjpmarques/ChainableLED ([.zip](https://github.com/pjpmarques/ChainableLED/archive/master.zip))
# LED
<img title="(c) seeedstudio.com" width="150" src="https://c2.staticflickr.com/8/7884/47197903001_4992d1ae02_m.jpg"/>
## Buy
* https://www.seeedstudio.com/Grove-Red-LED-p-1142.html (~2$)
## Pinout
Connect to Grove D<XY>
Color|Signal
:---|:---
Black|GND
Red|VCC (3.3V)
White|NC
Yellow|SIG (Digital)
## Code
### Arduino
* https://www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/ (built-in)
* Example: File > Examples > Basics > Blink (replace LED_BUILTIN with GPIO number)
### Python on Raspberry Pi
* Library: https://github.com/Seeed-Studio/grove.py
## Resources
* http://wiki.seeedstudio.com/Grove-Red_LED/