user33278: I have an ESP8266 ESP-01 WiFi module.
I have a project where I need to use the following and send their data to a firebase database.
2x Force Sensitive Resistors(Sensor)
1x GPS module
My question is what GPS module can I use to send GPS location thru the ESP8266 Wifi module. My ESP-01 has only 2 GPIO. What should I do so I can use 2 FSR and GPS module at the same time send all 3 data to firebase realtime database.
Thanks

user4143: You really need something external to both provide the analog inputs for the force sensors and the serial communication for the GPS module.
The simplest "something" is another microcontroller.  Ideally one with two UART ports.
You can then:

Communicate between the microcontroller and the GPS with one UART
Sample the FSRs with the microcontroller
Format and send the data to the ESP-01 through the other UART

Using SoftwareSerial you chould just about do it with an Arduino Uno (though you'd have to disconnect whatever was on the hardware UART every time you wanted to program it), but ideally something with more UARTs would be better, such as a Mega2560.
A halfway house between the two would be a board based around the ATMega32U2 which uses a direct USB connection for programming leaving the hardware UART free to be used permanently. However you'd still need to use SoftwareSerial to emulate the second UART (maybe best for the GPS since it's then only used for receiving).

user1576: I would go for an i2c A/D converter, example ADS1015 (4 analog input, 12 bit) and connect that to the ESP-01.
Ref.:
https://en.wikipedia.org/wiki/I%C2%B2C
https://www.youtube.com/watch?v=6IAkYpmA1DQ&t=32s

33278: <p>I have an ESP8266 ESP-01 WiFi module.
I have a project where I need to use the following and send their data to a firebase database.</p>

<p>2x Force Sensitive Resistors(Sensor)</p>

<p>1x GPS module</p>

<p>My question is what GPS module can I use to send GPS location thru the ESP8266 Wifi module. My ESP-01 has only 2 GPIO. What should I do so I can use 2 FSR and GPS module at the same time send all 3 data to firebase realtime database.</p>

<p>Thanks</p>
 4143: <p>You really need something external to both provide the analog inputs for the force sensors and the serial communication for the GPS module.</p>

<p>The simplest "something" is another microcontroller.  Ideally one with two UART ports.</p>

<p>You can then:</p>

<ul>
<li>Communicate between the microcontroller and the GPS with one UART</li>
<li>Sample the FSRs with the microcontroller</li>
<li>Format and send the data to the ESP-01 through the other UART</li>
</ul>

<p>Using <code>SoftwareSerial</code> you chould just about do it with an Arduino Uno (though you'd have to disconnect whatever was on the hardware UART every time you wanted to program it), but ideally something with more UARTs would be better, such as a Mega2560.</p>

<p>A halfway house between the two would be a board based around the ATMega32U2 which uses a direct USB connection for programming leaving the hardware UART free to be used permanently. However you'd still need to use <code>SoftwareSerial</code> to emulate the second UART (maybe best for the GPS since it's then only used for receiving).</p>
 1576: <p>I would go for an i2c A/D converter, example ADS1015 (4 analog input, 12 bit) and connect that to the ESP-01.</p>

<p>Ref.:</p>

<p><a href="https://en.wikipedia.org/wiki/I%C2%B2C" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/I%C2%B2C</a></p>

<p><a href="https://www.youtube.com/watch?v=6IAkYpmA1DQ&amp;t=32s" rel="nofollow noreferrer">https://www.youtube.com/watch?v=6IAkYpmA1DQ&amp;t=32s</a></p>
