GithubHelp home page GithubHelp logo

esp32-c3-0.42lcd's People

Contributors

01space avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-c3-0.42lcd's Issues

Can't use NeoPixel and OLED at the same time.

Hiyah!

Both the NeoPixel and the OLED demos work, and I combined their declarations together to use both, just like the graphic/LED demo the board arrives with.

But when I run the script, I keep getting a "[ 93][W][Wire.cpp:204] begin(): Bus already started in Master Mode." and the ESP32 restarts!

I think the error means one of the includes is grabbing the I2C bus, so Wire can't use it? I don't know why.


#include <U8g2lib.h>
#include <Adafruit_NeoPixel.h>
#include <Wire.h>

#define LED_PIN 2
#define SDA_PIN 5
#define SCL_PIN 6

U8G2_SSD1306_72X40_ER_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);   // EastRising 0.42" OLED
Adafruit_NeoPixel led = Adafruit_NeoPixel(1, LED_PIN, NEO_GRB + NEO_KHZ800);

void setup(void) {
  Wire.begin(SDA_PIN, SCL_PIN);
  u8g2.begin();
  u8g2.clearBuffer();
  u8g2.drawStr( 1, 30, "01Space");
  u8g2.sendBuffer();
  led.begin();
  led.setBrightness(50);
  led.setPixelColor(0, 255, 0, 0);
  led.show();
  delay(334);
  led.setPixelColor(0, 0, 255, 0);
  led.show();
  delay(334);
  led.setPixelColor(0, 0, 0, 255);
  led.show();
  delay(334);
  led.clear();
  u8g2.clearBuffer();
  u8g2.sendBuffer();
}

void loop(void) {

}

Can you provide mechanical CAD measurements?

I am trying to make a PCB footprint in KiCad and it would be a lot easier if a STEP file or DXF file was provided which had the exact locations of pin holes and PCB edges provided.

BAT pin?

I have tested the bat pin… and min voltage to startup is providing 3.7 V… perfect for Lipos… I will be feeding 6V and want to know if the BAT pin will accept the 6V and regulate it?

Should I feed 6V to the BAT pin , 5V pin or 3V pin? Looking to maximize the 6V battery I will be using (2x 3V Coin Cells)

settings.png missing

readme states: "Other settings see settings.png." - could not find any settings.png in the repo

No Serial output

Not having any luck with Serial.print(). Lots of info on the web, but nothing seems to work for me. How do I get Serial.print() to show in Arduino IDE?

Purpose of third Diode Schematic

There are two diodes in the schematic pdf-file and these are visible also in the images next to the B-button. But next to the ESP32-C3 chip there is a third diode (part with SJ on it) - I think - what is this diode for?

4WAY_HANDSHAKE_TIMEOUT ?

Arduino 1.8.15
Chip is ESP32-C3 (revision 3) 0.42 OLED
Espressif systems: https://github.com/espressif/arduino-esp32 (Version 2.0.4, also reverted to 2.0.3)

Running: WiFiWebClient.ino

The device isn't connecting to either of my two WiFi spots. I've tried it with my two little purple pcb units with the same result:
Both ESP32-C3 2.0.3 (as instructed on this github) and the current 2.0.4 both failed with the following:

Attempting to connect to SSID: Thelma
[  4623][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[  4659][V][WiFiGeneric.cpp:338] _arduino_event_cb(): STA Started
[  4659][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
[  4668][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
.......[  8929][V][WiFiGeneric.cpp:360] _arduino_event_cb(): STA Disconnected: SSID: Thelma, BSSID: b0:7f:b9:85:9a:d7, Reason: 15
[  8930][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[  8936][W][WiFiGeneric.cpp:950] _eventCallback(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT

I googled a bit, and seen this issue crop up in the past on older chips - it seems to be something that's "returned" on the C3.
One site suggested:


     esptool --port COM21 erase_flash

C:\Users\sarah\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.3.0>esptool --port COM21 erase_flash
esptool.py v3.3
Serial port COM21
Connecting...
Detecting chip type... ESP32-C3
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: 84:f7:03:67:e0:60
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 18.7s
Hard resetting via RTS pin...

It flashed, but it didn't work.

I've also walked up to the access point with the device - in case the signal strength was bad... no change.

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.