# B-G431B-ESC1: Beginner guide + I2C guide

**URL:** https://community.simplefoc.com/t/b-g431b-esc1-beginner-guide-i2c-guide/515
**Category:** hardware support
**Tags:** b\_g431\_esc
**Created:** [February 5, 2021, 4:09pm UTC](https://community.simplefoc.com/t/b-g431b-esc1-beginner-guide-i2c-guide/515 "2021-02-05T16:09:12Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![JordanCormack](https://community.simplefoc.com/user_avatar/community.simplefoc.com/jordancormack/32/896_2.png) [@JordanCormack](https://community.simplefoc.com/u/JordanCormack)
#### Post date: [March 18, 2021, 8:06pm UTC](https://community.simplefoc.com/t/b-g431b-esc1-beginner-guide-i2c-guide/515/10 "2021-03-18T20:06:23Z")

</div>

My B-G431B-ESC1 seems to be working great with the Arduino IDE following these steps 🙂. I managed to get the AS5048A magnetic sensor working in PWM mode as well (connected to the HALL1 pin) by creating a new sensor type heavily based on the existing MagneticSensorAnalog .cpp and .h files. I am getting some oscillations in closed loop velocity/position control modes at low speeds, but I imagine that is mostly due to lack of proper tuning and a relatively high kv motor (650kv).

Thanks for the guide!

---

_[View the full topic](https://community.simplefoc.com/t/b-g431b-esc1-beginner-guide-i2c-guide/515)._
