Page 1 of 1

Using Freematics ONE molex port for something other than gps

Posted: Thu Mar 03, 2022 9:55 am
by vatic42
Hello,

I have a Freematics ONE. I'd like to use the tx and rx pins on the molex port for something other than gps. Mainly I just want to set and hold them high or low based on a condition, and use that pin to trigger a relay elsewhere in the vehicle.

I've tried the COBDSPI::ioConfig/ioWrite, but that doesn't seem to work. I understand they are connected to the STM controller based on the schematic... where is the control set for that controller?

Any thoughts or ideas?

Thanks,
Matt

Re: Using Freematics ONE molex port for something other than gps

Posted: Mon Mar 07, 2022 9:22 pm
by stanley
ESP32's GPIO 26 and 34 are connected to molex port of ONE+ and you can use them for any purposes.

Re: Using Freematics ONE molex port for something other than gps

Posted: Tue Mar 08, 2022 3:53 am
by vatic42
I have a Freematics ONE, not the +. Is it the same in both models?

Re: Using Freematics ONE molex port for something other than gps

Posted: Tue Mar 08, 2022 9:28 pm
by stanley
Freematics ONE has PC0/PC1 (A0/A1 in Arduino's context) available on the soldering pad located at top left of PCB as picture below.
Image