-
Notifications
You must be signed in to change notification settings - Fork 3
Build your module
If you selected the components what you will use, it's time to assemble. The PINs in ESP can be changed if you compile the firmware yourself.
- ESP Serial RX (for GPS) PIN 6
- I2C SCL -> ESP PIN 4
- I2C SDA -> ESP PIN 5
Line the GND to the module's GND, and 3.3V or 5V according to your module to the VCC of your module. The GPS TX pin should be wired to ESP's PIN 6. GPS RX not used.
Line the GND to the module's GND, and 3.3V or 5V according to your module to the VCC of your module. Wire the module's SCL pin to ESP PIN 4, and SDA pin to ESP PIN 5.
With I2C devices you must use the same SCL, SDA pins for all devices you want to connect.
Get power for the ESP from anywhere ( I don't recommend using PP 3.3V out, only with a DCDC !) Wire the H4's GND to ESP's GND. I2C SCL from H4 goes to GPIO 10 on ESP. I2C SDA from H4 goes to GPIO 11 on ESP. That's all. Using nightly build after 2024.01.20 will detect the module, and get GPS, Environment, Light, Orientation data from the ESP (depends on the sensors you got wired)
Don't use USB + I2C at the same time, it won't help in anything, the PP will receive the same data but duplicated.
Note
The wiki is yet to be completed. Please feel free to add content.
Important
- This is a public wiki. Everything you write here will be public and everyone can see it. So please don't take your personal notes here.
- Unless it's necessary, don't attach links that redirect to tutorials/articles outside of this wiki. This is because the content could easily out dated, or the linked site could be a content farm providing false information.