GithubHelp home page GithubHelp logo

marciot / esp32-dali-clock Goto Github PK

View Code? Open in Web Editor NEW
117.0 117.0 10.0 32.19 MB

An NTSC/PAL version of the 80s Dali Clock for the ESP32

License: GNU General Public License v3.0

C++ 89.37% C 10.63%

esp32-dali-clock's Introduction

banner

Hi, I'm Marcio! ๐Ÿค“๐Ÿ’ป

My passion lies in open-source and the free sharing of knowledge.

I'm a software engineer and content creator with a special interest in open-source software and firmware, computer graphics, virtual reality, retro-computing and user interface design for electronics.

Find me on the web ๐ŸŒŽ:

  • ๐ŸŽฆ Project videos and demos on YouTube
  • ๐ŸŽ“ My projects on Instructables
  • ๐Ÿ“• Beginner how-to's on MUO
  • ๐Ÿงฐ 3D Designs on Thingiverse
  • ๐Ÿ“ธ DIY photos under Creative Commons licenses on Flickr

esp32-dali-clock's People

Contributors

m0nwy avatar marciot avatar todbot 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

esp32-dali-clock's Issues

Wemos LOLIN32

The code compiles and uploads without a hitch but upon execution I'm greeted with this on the serial monitor.

no config file

abort() was called at PC 0x40084d33 on core 0


Backtrace:0x400e9401:0x3ffcb2300x4008cc79:0x3ffcb250 0x40092301:0x3ffcb270 0x40084d33:0x3ffcb2f0 0x40084f35:0x3ffcb310 0x4015d6d2:0x3ffcb330 0x4015a7b4:0x3ffcb450 0x4015d74d:0x3ffcb760 0x4016cba5:0x3ffcb790 0x4009217d:0x3ffcb7c0 0x40129992:0x3ffcb810 0x40145f3c:0x3ffcb880 0x401403b4:0x3ffcb8c0 0x4013040e:0x3ffcb8e0 0x401304c5:0x3ffcb900 0x4012f15c:0x3ffcb920 0x40167e95:0x3ffcb940 




ELF file SHA256: 0000000000000000

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1100
ho 0 tail 12 room 4
load:0x40078000,len:12308
load:0x40080400,len:3076
entry 0x400805ec

Boot loop/crash with Espressif ESP32 Arduino core version 2.0.2

No video output with Espressif ESP32 Arduino core version 2.0.2. Enters a boot loop with an ledc error. Identical hardware/code works with ESP32 Arduino core v1.0.6, v2.0.0 and v2.0.1.

I'm aware this may actually be an issue with the ESP32 Arduino core that you cannot fix, but thought I'd raise it here as I don't have the background on the internals of the composite video code to be sure.

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:12804
ho 0 tail 12 room 4
load:0x40080400,len:3032
entry 0x400805e4
E (37) ledc: requested frequency and duty resolution can not be achieved, try reducing freq_hz or duty_resolution. div_param=80
Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled.

Core 1 register dump:
PC : 0x4000d099 PS : 0x00060730 A0 : 0x800def62 A1 : 0x3ffb26e0
A2 : 0x0f424000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000000
A6 : 0x00060520 A7 : 0x00000001 A8 : 0x00000001 A9 : 0x00000000
A10 : 0x00000000 A11 : 0x0f424000 A12 : 0x00060520 A13 : 0x3ffb2680
A14 : 0x007bea90 A15 : 0x003fffff SAR : 0x00000001 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x4008ab0d LEND : 0x4008ab1d LCOUNT : 0xffffffff

Backtrace:0x4000d096:0x3ffb26e00x400def5f:0x3ffb2700 0x400dc1ed:0x3ffb2740 0x400d315b:0x3ffb2780 0x400d33e1:0x3ffb27b0 0x400d3bf1:0x3ffb27d0 0x400dd9ce:0x3ffb2820

LInes at the bottom of the screen are duplicated in PAL mode

https://youtu.be/tKJLKOonMMs

Seems that there are a few lines at the bottom that are duplicated rather than the grid extending to the bottom of the screen,

I have changed the lines in the main .ino file to have

#define SUPPORT_NTSC 0
#define SUPPORT_PAL 1

and furthur down

CompositeColorOutput composite(CompositeColorOutput::PAL);

is there anything else to get this working right?

Daylight saving time tickbox doesn't work.

I tick it and choose NST timezone, the URL has

&ntp_addr=pool.ntp.org&timezone=12.00&time_dst=on

on the end of it, but it is ignored, its showing the time for UTC + 12, not + 13 like it should be.

I can change the timezone to =13.00 myself and resubmit it and it gets it showing the correct time for me.

I'm fairly sure this was working in the past however? I would have noticed it on my last play with it if it was an hour out I would have thought. Perhaps not tho.

Also, why is the network name and the time selection in the same form? If I change the timezone and dont re-paste the SSID and key, it leaves it not connected to the LAN and I have to get the phone out and connect to its hotspot and reconfigure the wifi again.

no issue - question about composite video

Hello and thank you for sharing your work
I understand that your code for composite video is between bitluni library (esp32lib) and ESP_8_BIT library
Your demo for the clock works fine for me on a car dvd player screen
However I have no image when I use any of bitluni code.
Did you have the same issue than me ? How did you solve it ? Does it have something to do with bad syncing (PLL/APLL) ?
I really enjoy the clock :)

ESP32 bootloop -- "wifi:create wifi task: failed to create task"

Hi!

I've tried this on a couple of different ESP32 boards and seem to be getting the same result -- a bootloop. Please be patient; my knowledge of the arduino/esp32 environment is .. limited.

Console messages:

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028
entry 0x400805e4
no config file
E (10392) wifi:create wifi task: failed to create task
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception).
Debug exception reason: Stack canary watchpoint triggered (wifi_task)
Core  1 register dump:
PC      : 0x40090cd3  PS      : 0x00060e36  A0      : 0x800900df  A1      : 0x3ffbb260
A2      : 0x3ffc0428  A3      : 0xb33fffff  A4      : 0x0000cdcd  A5      : 0x00060e23
A6      : 0x00060e23  A7      : 0x0000abab  A8      : 0xb33fffff  A9      : 0xffffffff
A10     : 0x00000037  A11     : 0x3ffb6af8  A12     : 0x00000037  A13     : 0x00060023
A14     : 0x007c0428  A15     : 0x003fffff  SAR     : 0x00000004  EXCCAUSE: 0x00000001
EXCVADDR: 0x00000000  LBEG    : 0x4008ab09  LEND    : 0x4008ab2d  LCOUNT  : 0x8010e990

Environment:

$ arduino-cli core list
ID            Installed Latest Name
esp32:esp32   2.0.11    2.0.11 esp32

About WIFI can not connect

I like this project very much. I also bought the ESP32 WROOM-32 development board. The source code is compiled and uploaded to the development board. The TV also shows the time, but when I connect to the "ESP32 DALI CLOCK" WIFI through the mobile phone, it prompts "The network access is denied ". I used the laptop to connect to the WIFI again, but there was no prompt, but it was always in a state of being unable to connect. Please help me, thanks! cheers!

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.