Breakout Board for Seeeduino Cloud

Hi Bill, 
In your email below you said:
Analog Inputs: A0 - A5, A6 - A11 (on digital pins 4, 6, 8, 9, 10, and 12). The Seeeduino Cloud has 12 analog inputs, labeled A0 through A11, all of which can also be used as digital i/o. Pins A0-A5 appear in the same locations as on the Uno; inputs A6-A11 are on digital i/o pins 4, 6, 8, 9, 10, and 12 respectively.
You can consider to use the Base shield v2.0. You can use the A0~A3, D4, D6, D8, 7 grove ports. Then for the last sensor, you can use grove cables to connect to 2 side blue connectors, you can use the D9 or D10 Or D12. 
The schematic you gave me shows A0 attaching to the native A0 analog input on the board.  I am trying to use the base shield inputs A0 - A3 for my project.  When I plug into the base shield A0 (or even A1 input), the sensor values vary wildly.   When I plug into the native A0 analog input, things work as expected.
My sketch is taking the sensor pin input:
#define SENSOR_PIN          A0     // Analog pin which is connected to the sensor. 
and inputting it into the Arudino analogRead function:
float resistance = analogRead(pin);
My question is how do the base shield inputs that you listed above (A0-A3,D4,D6,D8) map to the SENSOR_PIN variable value in my sketch?
Thanks,
Steve
Sent: Thursday, May 16, 2019 at 2:14 AM
From: “[email protected][email protected]
To: stevealbright [email protected]
Subject: Re: Re: Breakout Board for Seeeduino Cloud
hi steve
you can see the base shield schematic, the A0 is connected with Grove A0. I  suspect your cable connection issue. thanks. 
[email protected]
From: Stephen Albright
Date: 2019-05-16 09:46
To: bill.yu
Subject: Re: Re: Re: Breakout Board for Seeeduino Cloud
Here is the setup that is working as expected.
Thanks,
Steve

Sent from my Android phone with mail.com Mail. Please excuse my brevity.
On 2019-05-15, 9:03 PM “[email protected][email protected] wrote:
Hi Steve
Please take a picture about your setup with issues. thanks. 
[email protected]
From: Stephen Albright
Date: 2019-05-16 08:35
To: [email protected]
CC: “order(客服使用)”
Subject: Re: Fw: Breakout Board for Seeeduino Cloud
Hi Bill,
I am connected to A0 port on the base shield and the sensor is showing values in the serial monitor, but the values are fluctuating wildly.   The same sensor works fine when attached to pin 0 (analog).  I am using the 4 pin male jumper to grove cables as you instructed.
Do you know why this might be happening?
//#define SENSOR_PIN          0      // Analog pin which is connected to the sensor. 
#define SENSOR_PIN          A0      // Analog pin which is connected to the sensor.
Thanks,
Steve
Sent: Tuesday, May 14, 2019 at 6:03 AM
From: “[email protected][email protected]
To: “order(客服使用)” [email protected], stevealbright [email protected]
Subject: Re: Fw: Breakout Board for Seeeduino Cloud
Hi Steve 
If you connect to A0 port of the base shield, you have to use the below commands. thanks. 
define #define SENSOR_PIN A0
[email protected]
-----原始邮件-----
发件人:“Stephen Albright” [email protected]
发送时间:2019-05-13 18:41:30 (星期一)
收件人: seeed_support [email protected]
抄送: [email protected], [email protected]
主题: Re: Breakout Board for Seeeduino Cloud
Ok, no problem.   Here is the question I was looking to have answered.  I think it was sent last week:
Hi,
I am trying to connect 8 of these fluid level sensors to a Seeeduino Cloud through the base shield using the connector pins you referenced below.
https://milonetech.com/products/standard-etape-assembly
The sensor(s) is controlled by an Arduino sketch and I need to tell the sketch which Analog pin is being used:
#define SENSOR_PIN          0      // Analog pin which is connected to the sensor. 
How do the base shield inputs map to Arduino pin numbers?   For example, if I plug into A0, what should I put for the SENSOR_PIN value?
Thanks,
Steve Albright
Sent: Monday, May 13, 2019 at 6:32 AM
From: “seeed_support” [email protected]
To: “Stephen Albright” [email protected]
Cc: [email protected], [email protected]
Subject: Re: Breakout Board for Seeeduino Cloud
Hi Stephen
We replied the mail on April 8. It seems mail delivery issue. Please let us know if you need more info. 
April 8, 2019 11:13 AM
seeed_support [email protected]
To: Stephen Albright [email protected]
Notified: Seeed Customer Support Team Details
Hi Steve,
Sorry for the late response due to public holiday.  

  1. For the 7 sensors, you have to use the Grove-cables to connect to base shield. You can use the jumper wire to connect between the sensors and the grove cables.
    https://www.seeedstudio.com/Grove-4-pin-Male-Jumper-to-Grove-4-pin-Conversion-Cable-5-PCs-per-Pack-p-1565.html 
  2. For 1 sensor, you can use the jumper wire to connect to base shield 2 side blue pins directly.
    Thanks
    best rgds
    Bill
    Helpful? Click to give seeed_support thanks!
    On May 13, 2019 at 5:48 AM [email protected] [email protected] wrote:
    -----原始邮件-----
    发件人:“Stephen Albright” [email protected]
    发送时间:2019-05-13 09:23:37 (星期一)
    收件人: [email protected]
    抄送:
    主题: Re: Re: Breakout Board for Seeeduino Cloud
    Hi,
    No response yet for this question. I need some information on this.
    Thanks,
    Steve

    Sent from my Android phone with mail.com Mail. Please excuse my brevity.
    On Apr 7, 2019 at 11:13 PM seeed_support, Voice of the Customer Manager [email protected] wrote:
    Hi  Steve,
    Sorry for the late response due to public holiday.  
  3. For the 7 sensors, you have to use the Grove-cables to connect to base shield. You can use the jumper wire to connect between the sensors and the grove cables. 
    https://www.seeedstudio.com/Grove-4-pin-Male-Jumper-to-Grove-4-pin-Conversion-Cable-5-PCs-per-Pack-p-1565.html
  4. For 1 sensor, you can use the jumper wire to connect to base shield 2 side blue pins directly. 
    Thanks
    best rgds
    Bill
    On Apr 7, 2019 at 9:15 PM Stephen Albright [email protected] wrote:
    Just following up on this request.   I have not heard back yet.
    Thanks,
    Steve
    On Apr 4, 2019 at 8:16 PM Stephen Albright [email protected] wrote:
    Hi Bill,
    But if I need to attach 8 of these sensors to the pins directly through male-to-male jumper cables, I wont have enough pins on the board or the base shield (for 5V or GND), correct?
    I am having a difficult time visualizing how all this will connect without 3-pin-male-to-grove jumper cables.
    Thanks,
    Steve
    On Apr 3, 2019 at 11:09 PM seeed_support, Voice of the Customer Manager [email protected] wrote:
    Hi Steve,
    You can use the jumper wire to connect the sensor black to GND, red to 5V, white to D9 or D10 Or D12 directly. you do not need the grove cables.
    Thanks
    best rgds
    Bill
    On Apr 3, 2019 at 9:44 PM Stephen Albright [email protected] wrote:
    Hi Bill,
    I have a Base Shield v2.1   But the sensor I am using requires me to use male-to-male jumper cables to attach to the board directly. https://milonetech.com/products/standard-etape-assembly (https://milonetech.com/products/standard-etape-assembly)
    Yellow goes to analog, red to GND, and black to 5V.
    There are three cables on the sensor, so will that integrate with the four-pin jumper cable?
    Thanks,
    Steve
    On Apr 3, 2019 at 9:26 PM seeed_support, Voice of the Customer Manager [email protected] wrote:
    Hi Steve,
    Analog Inputs: A0 - A5, A6 - A11 (on digital pins 4, 6, 8, 9, 10, and 12). The Seeeduino Cloud has 12 analog inputs, labeled A0 through A11, all of which can also be used as digital i/o. Pins A0-A5 appear in the same locations as on the Uno; inputs A6-A11 are on digital i/o pins 4, 6, 8, 9, 10, and 12 respectively.
    You can consider to use the Base shield v2.0. You can use the A0~A3, D4, D6, D8, 7 grove ports. Then for the last sensor, you can use grove cables to connect to 2 side blue connectors, you can use the D9 or D10 Or D12. 
    https://www.seeedstudio.com/Base-Shield-V2-p-1378.html
    https://www.seeedstudio.com/Grove-4-pin-Male-Jumper-to-Grove-4-pin-Conversion-Cable-5-PCs-per-Pack-p-1565.html
    Thanks
    best rgds
    Bill
    On Apr 3, 2019 at 9:04 PM Stephen Albright [email protected] wrote:
    Hi,
    I have a Seeeduino Cloud v1.1 and I need to expand the number of inputs for 5V, GND, and Analog.   Ideally up to 8 inputs each as I am looking to attach up to eight sensors to a single board, and each sensor has three wires that need to be attached to 5V, GND, and Analog.
    Is a breakout board the right way to do this?   If so, can you point me to one that works well with a Seeeduino Cloud board?
    Thanks,
    Steve Albright
    Powered by UserVoice.

    Team Seeed Customer Support