Hi to everyone,
I am developing my first Teensy 3.1 project, it is a data logger that should record the frequency of a signal and GPS on a SD card with fixed sampling period.
I am using FreqMeasure, TinyGPS++ and SdFat to log on the SD and everything seems to work fine.
Now I am trying to use a bluetooth serial interface (HC-05) to control the data logger, but there is a problem, i think with serial ports conflict.
This is the hardware configuration:
The FreqMeasure uses pin3 and input.
The GPS uses Serial3 (pins 7, 8).
The Sd card uses defauld SPI interface (pins 10, 11, 12, 13).
I have tried to use both Serial1 (pins 0, 1) or Serial2 (pins 9, 10 using pin6 as CS for the SD), but in both cases i have SD errors during writing...
Thank you!
I am developing my first Teensy 3.1 project, it is a data logger that should record the frequency of a signal and GPS on a SD card with fixed sampling period.
I am using FreqMeasure, TinyGPS++ and SdFat to log on the SD and everything seems to work fine.
Now I am trying to use a bluetooth serial interface (HC-05) to control the data logger, but there is a problem, i think with serial ports conflict.
This is the hardware configuration:
The FreqMeasure uses pin3 and input.
The GPS uses Serial3 (pins 7, 8).
The Sd card uses defauld SPI interface (pins 10, 11, 12, 13).
I have tried to use both Serial1 (pins 0, 1) or Serial2 (pins 9, 10 using pin6 as CS for the SD), but in both cases i have SD errors during writing...
Thank you!