Page 1 of 1

uses for the first times a wio GPS Boarders

Posted: Wed Jul 10, 2019 10:42 pm
by talhatazourkarneinitoure
Hi everybody,
I am using a wio GPS Boarder for the first time. I did all the procedure described on seed's website to configure wio with arduino IDE but when compile my code (for temperature and humidity sensor) , a lot of time it shows that the croquits can't be compiled and sometimes it shows compilation finish but I can't see the result in Serial monitor.

I am using windows 10, and just the USB not battery to power the boarder.

have someone already resolve this kind of problem or if someone how to resolve it , please a need your help.

Re: uses for the first times a wio GPS Boarders

Posted: Thu Jul 25, 2019 11:11 am
by bill.yu
Hi there~

Please post the software code. For the Serial print, you have to use SerialUSB.print instead of Serial.print due to it using SAMD21 chip. thanks.

Re: uses for the first times a wio GPS Boarders

Posted: Thu Aug 01, 2019 5:46 am
by ousmanedeme7313
// Example testing sketch for various DHT humidity/temperature sensors
// Written by ladyada, public domain

#include "DHT.h"

#define DHTPIN 2 // what pin we're connected to

// Uncomment whatever type you're using!
#define DHTTYPE DHT11 // DHT 11
//#define DHTTYPE DHT22 // DHT 22 (AM2302)
//#define DHTTYPE DHT21 // DHT 21 (AM2301)

// Connect pin 1 (on the left) of the sensor to +5V
// Connect pin 2 of the sensor to whatever your DHTPIN is
// Connect pin 4 (on the right) of the sensor to GROUND
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor


void setup()

Serial.println("DHTxx test!");

/*if using WIO link,must pull up the power pin.*/
// digitalWrite(PIN_GROVE_POWER, 1);


void loop()
// Reading temperature or humidity takes about 250 milliseconds!
// Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
float h = dht.readHumidity();
float t = dht.readTemperature();

// check if returns are valid, if they are NaN (not a number) then something went wrong!
if (isnan(t) || isnan(h))
SerialUSB.println("Failed to read from DHT");
SerialUSB.print("Humidity: ");
SerialUSB.print(" %\t");
SerialUSB.print("Temperature: ");
SerialUSB.println(" *C");

hello, everything is fine with the code but when I try to upload it gives me port error.

Re: uses for the first times a wio GPS Boarders

Posted: Wed Aug 28, 2019 4:37 pm
by bill.yu
Hi there~

1. Please change the below serial to serialusb.

Code: Select all

Serial.println("DHTxx test!");
2. If you can not find the port, you can double tap the reset button. thanks.