Grove Base Shield for Photon
Features
-
Grove interfaced
-
Connect to massive and low-cost Grove modules
-
I2C, UART ports integrated
Application ideas
- Compact IoT applications such as smart router.
Specification
Grove ports | 3 digital ports 2 analog ports 2 I2C ports 1 UART port. |
Dimensions | 53 × 53 mm |
Weight | 18g |
Hardware Overview
Parts list
Parts name | Quantity |
---|---|
Grove Base Shield for Photon | 1PC |
Getting Started
Note: In this case we show you a general development environmental.
Buzzing
- Refer to here to connect to a device (PC or Mac).
note
- We recommend that you choose node.js v4.2.3 LTS especially for Windows 10 user.
- You may need to one more steps after run command particle setup, that is, connect you device (PC or Mac) to a wi-fi AP whose name contain Photon, especially on Windows 10.
- Use Web IDE for your project. Login with your account and choose your device (click the 2nd last icon on left column).
note
We recommend you choose Web IDE to compile or flashing your code to Photon which is much quicker than using Particle Dev, if your internet connectivity is not so good.
- Connect them like following:
- Now you can copy following code to Web IDE and flash them to Photo by clicking a lighting-like icon (the 1st icon on left column).
note
Copy the code only to the tab named filename.ino.
/*
Buzzing
Use digital pin D4
This example code is in the public domain.
by xiaohe
*/
int led1 = D4; //set D4 as output
void setup() {
pinMode(led1, OUTPUT);
}
void loop() {
// enable buzzing
digitalWrite(led1, HIGH);
// We'll leave it on for 1 second...
delay(1000);
// Then we'll turn it off...
digitalWrite(led1, LOW);
// Wait 1 second...
delay(1000);
// And it will repeat!
}
Schematic Online Viewer
Resources
Tech Support & Product Discussion
Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.