Seeeduino lora dosent work with hight temperature sensor

Arduino, Seeeduino Serials and mutants. Share your problems and experence on arduino compatible board such as seeeduino/stalker, etc.

Moderators: lily.li, violet, salmanfarisvp

Post Reply
elpis30
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Tue Apr 17, 2018 3:47 am

Seeeduino lora dosent work with hight temperature sensor

Post by elpis30 » Mon May 13, 2019 2:15 am

Hello i have a seeduino lora gps board and also I bought a grove thermometer , in tested the grove with arduino uni it works with seeduino it dose not

I gave tryed everything even upgrading firmware

Could anyone help

Below is the link of the tutorial that I tried step by step

http://wiki.seeedstudio.com/Grove-High_ ... re_Sensor/

bill.yu
Elementary-5
Elementary-5
Posts: 597
Joined: Mon Apr 02, 2018 11:05 am

Re: Seeeduino lora dosent work with hight temperature sensor

Post by bill.yu » Mon May 13, 2019 4:12 pm

Hi there,

1. please change the High_Temp.ccp as below
a. change the Serial.print to SerialUSB.print
b. change the 2 bold lines as below

int a = getAnalog(pinRoomTmp); // 3.3V supply

float vout = (float)getAnalog(pinThmc)/1023.0*3.3*1000;


2. download below code the seeeduino lorawan. thanks.

Code: Select all

#include "High_Temp.h"

HighTemp ht(A1, A0);

void setup()
{
    SerialUSB.begin(115200);
    SerialUSB.println("grove - hight temperature sensor test demo");
    ht.begin();
}

void loop()
{
    SerialUSB.println(ht.getThmc());
    delay(100);
}

Post Reply