Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XIAO ESP32C3 to hardware section of readme.md #73

Open
314159-r opened this issue May 4, 2023 · 0 comments
Open

Add XIAO ESP32C3 to hardware section of readme.md #73

314159-r opened this issue May 4, 2023 · 0 comments

Comments

@314159-r
Copy link

314159-r commented May 4, 2023

I have been running the Seeed Studio XIAO ESP32C3 device with p1reader for a few days now. I've had no glitches what so ever since my first successful compile and upload. Cold boot, WIFi connection and communication have all been perfect so far.
I assume this setup also could be used with many other ESP32 C3 boards as well.

The hardware setup is really minimal. The only needed external component is a 4.7 kohm pull-up resistor for the RX line. I chose to connect it to the standard TX pin (= GPIO20 or D7).

d1reader xiao esp32c3

I have deliberately omitted an extra capacitor on the input power lines. The Seeed Studio XIAO ESP32C3 already have 4.5 µF on-board on its 5V power input, and I believe that is sufficient.
Adding capacitance will inevitably increase the risk of cold boot problems. Especially when used with a power source with less current capacity than the intended USB port. As we must expect with P1 ports.

Other boards with less on-board capacitance might benefit from some external capacitance, but I would be careful adding more than 10µF, and watch out for cold boot problems.

Here is the yaml config that makes it work:

esp32:
  board: esp32-c3-devkitm-1
  variant: esp32c3
  framework:
    type: arduino

! IMPORTANT: - Do not use: board: seeed_xiao_esp32c3
or compilation will fail...

uart:
  id: uart_bus
  baud_rate: 115200
  rx_pin:
    number: 20   #  = GPIO20, D7, RX
    inverted: true

And some picks of my implementation:

DSC_0448
DSC_0450
DSC_0453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant