Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Table Digital Clock Design by little experienced me.

JustVic

New Member
I want to make cheap wifi digital clock. I plan to use MAX7219 led matrix(it is cheap, big enough and bright), atmega328 and esp8266. I don't like esp8266 because it requires firmware blobs or esp-open-sdk that is very hard to build and setup it requires legacy libraries, I want it to be maximum open source friendly. I wrote firmware draft for atmega328 that recieves text by UART and scroll it on LED matrix. Atmega328 also reads time from RTC clock chip and show it. I would like to have the function of sending any text message to this clock. Curently I use modified marqee scroller clock firmware(https://github.com/Qrome/marquee-scroller) for ESP8266(ESP sends text by UART to Atmega328) it is under MIT license as I understand It is possible to use even in commercial purposes, but I plan rewrite it. I plan to power it from maybe usb-c port connector. All my firmwares will be open source. Is this a good plan or a crazy one? :)

Tell me how would you make such a device? Which chips would you use?
Basic requirements:
--The most open SDK as in avr-gcc. And preferably the same ease of use.
--Cheap components.
--Preferably Wi-fi.
--It is undesirable to use the Arduino IDE, it is better to use pure C/C++ with Makefiles.

Which interfaces should I output separately on the circuit for debugging or in-circuit firmware flashing of microcontrollers?

Main function is show time and recieve any text from wifi and scroll it.
Sorry for the large amount of text and a bunch of questions.
SimulatorCircuitScreenshot.png
 
First, I would get rid of the mega328 - the ESP8266 is more than capable of handling this. Better, use a modern variant of ESP32 - the ESP8266 is essentially depreciated (or should be).

The ESP32 is a fully functional 32-bit controller that can be programmed with the Arduino IDE. It can run the I2C bus for your RTC and Display.

I'd ignore the whole 9600baud interface and UART - not needed when you eliminate the Mega328

There are examples in the Arduino IDE once you install the ESP boards. 90% of the work is done for you.
 

Latest threads

Back
Top