Connecting pytrack to expansion board 2.0 with sensors.
-
I am working with expansion board 2.0 and mounted on it Fipy and DHT sensor. I am trying to integrate pytrack to send gps coordinates but not sure how the hardware is going to be connected, is there a way?.
-
@robert-hh Thanks for your help.
-
@AM There is an IO-Header on the pytrack board next to the SD card connector which you can use to connect the DHT sensor. Ans you know, the DHT just needs GND, Vcc and one data pin. And that is available on this IO header. See: https://docs.pycom.io/datasheets/expansionboards/pytrack/
-
@robert-hh I was thinking about using the pytrack as an expansion board but wanted to know how the hardware is going to be connected. Since at the moment, I am using FiPY to send CoAP msg using NB-IOT which If mounted on the Pytrack will not leave any open pins for the DHT sensor. Does the fipy need to be mounted or it can be connected with wires.
-
@AM There are plenty, simple and sophisticated ones. Just search for NMEA in the forum. One example for simple ones: https://forum.micropython.org/viewtopic.php?f=18&t=7766&hilit=NMEA
Besides that you may as well use the pytrack board as expansion board, if you have that already, and connect the DHT sensor to that board. The pytrack board has a 10 Pin connector which exposes Vcc, GND and six GPIO pins, of which for instance P10 and P11 may be used for the DHT.
-
@robert-hh Thank for the help. Do you know of a lib that I can use with the gps receiver.
-
@AM If it is only for GPS, it is easier to get an dedicated GPS receiver and connect it to the expansion board. Those receivers typically only require a UARFT connection with GND, Vcc and RX.