|
Post by steger on May 3, 2021 4:58:31 GMT
Hello Everybody,
I wrote a robot rover program in Arduino MEGA, which is running well.
I would like to use the same program on TC375.
I'm using the following sensors/libraries:
a.) Bosch 9DOF sensor (only magnetometer/compass required) : #include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
b.) 4x20 LCD dispaly with I2C:
#include <LiquidCrystal_I2C.h>
c.) Analoge to Digital Converter ADS1115 : #include <ADS1X15.h> //by Rob.Tillaart
d.) DS18B20 Temperature Sensor : #include <OneWire.h>
#include <DallasTemperature.h>
e.) RTC : #include <ds3231.h>
f.) SD card:
#include <SPI.h>
#include <SD.h>
g.) PS2 game controller:
#include <PS2X_lib.h>
h.) Interrupt on pin # 2 & 3: attachInterrupt(digitalPinToInterrupt(Encoder_pin_A), encCounterA, CHANGE)
i.) Others:
#include <Wire.h>
#include <utility/imumaths.h>
Are the above libraries running flawlessly on TC375 or not ? if not, please inform me about the substitute library.
Thank You very much for Your help and support in advance.
|
|
|
Post by steger on May 8, 2021 0:01:13 GMT
Dear Administrator, Dear Hitex,
what is your opinion ?
|
|
|
Post by Admin on May 8, 2021 8:49:18 GMT
Generally if the library will compile then it should run OK. Shields that have SPI or I2C interfaces generally work as-is.
a.) Bosch 9DOF sensor (only magnetometer/compass required) : #include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
Unknown
b.) 4x20 LCD dispaly with I2C:
#include <LiquidCrystal_I2C.h>
Yes.
c.) Analoge to Digital Converter ADS1115 : #include <ADS1X15.h> //by Rob.Tillaart
d.) DS18B20 Temperature Sensor : #include <OneWire.h>
#include <DallasTemperature.h>
Unknown
e.) RTC : #include <ds3231.h>
Yes
f.) SD card:
#include <SPI.h>
#include <SD.h>
Yes
g.) PS2 game controller:
#include <PS2X_lib.h>
unknown
h.) Interrupt on pin # 2 & 3: attachInterrupt(digitalPinToInterrupt(Encoder_pin_A), encCounterA, CHANGE)
Yes
i.) Others:
#include <Wire.h> Yes
#include <utility/imumaths.h>
unknown
|
|