Coder Social home page Coder Social logo

devc3's Introduction

CAPACTOR C12 IS IN WRONG POSITION AND BRINGS PARASITE CAPACITANCE TO THE PI-MATCH THUS WIFI IS NOT WORKING, ALSO SOFTWARE RESET IS UNSTABLE FOR SOME REASON


DevC3

DevC3 is small, open source board (shaped as dongle) based on ESP32-C3 with MicroPython support. Its designed in EasyEDA and its fully assemblable in JLCPCB assembly. You can find it on the OSHWLab, or in this repository.

assembled top bot hand leds

Installing MicroPython

For now, there is not any direct port of MicroPython, but GENERIC_C3_USB works perfectly! The installation process is basically:

  1. Download latest firmware binary from MicroPython website
  2. With Python & Pip installed, inistall esptool.py with pip install esptool
  3. Plug board to computer with button held down (device should show as USB JTAG/serial debug unit)
  4. Install MicroPython with:
    • clear flash: python -m esptool --chip esp32-c3 --port /dev/ttyUSB0 erase_flash
    • flash firmware: python -m esptool --chip esp32c3 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x0 esp32c3.bin
  5. Reboot the board simply by taking it out and plugging it back

Replace /dev/ttyUSB0 with your device, on Windows use COM, for example COM5, COM12, ... (can be found in device manager under Ports). This guide can be also found on the port page.

Using Peripherals

You can use all libraries available in MicroPython (for example Pin library). There is only one problem with the NeoPixels library.

As stated in esp32-c3 port used wront rmt channel, you need to use esp32.RMT.bitstream_channel(0) before using NeoPixel. For Example:

from machine import Pin
from neopixel import NeoPixel
from esp32 import RMT

# correct the channel error
RMT.bitstream_channel(0)

pin = Pin(0, Pin.OUT)
np = NeoPixel(pin, 3)
np[0] = (32, 0, 0)
np[1] = (0, 32, 0)
np[2] = (0, 0, 32)
np.write()

All Peripherals:

  • WS2812 = IO0
  • Button = IO9
  • IO1-IO10 = On the bottom side of the board
  • RX-TX = On the bottom side of the board

GPIO2, GPIO8 and GPIO9 have on board 10KOhm pullups

devc3's People

Contributors

arnytrty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.