Skip to main content

IOT Dot Matrix Clock

Dot Matrix Clock

IOT Dot Matrix Clock / Dot Matrix Display  (DMC) (DMD)

  • An accurate clock for displaying time (Hours/second) and date would be a nice creation.
  • Added advantage would be to have it connected on the internet and splashes messages to it.
  • A WIFI based solution would be much better for easy access to the home/network ecosystem
  • Using an accurate RTC like DS3231 and Wifi chip ESP8266, a PCB was fabricated.
  • Also there was a need to make a good case to host the electronics.
  • Acrylic case making is cheaper as compared to 3d printing.
  • Found an enterprising acrylic fabricator who made an amazing case.  The power supply was embedded in the back of the case so it could be directly plugged into the wall socket or the ESP8266's USB power connector provided for at the side of the casing.
  • Uses the MajicDesigns MD_MAX72XX library from here MajicDesigns MAX72XX library
  • The fabricated DMC looks as follows:

Mains Enabled Clock



  • The DMC can be run off either AC mains or an external battery.
  • It keeps accurate time and also shows scrolling date.
  • The clock also has switch at the side to directly interact with the device in case Net access is not available.
  • The DMC comes up in Hotspot/AP mode and runs a Webserver internally. Using a browser after connecting to the AP, one can set the DMC to connect to an existing home AP with configuration options for
    • Network Name
    • Password
    • Update Server (for OTA updates)
    • Manual Update Option
    • Set Time on the RTC
    • Mechanism to display custom message (scrolled a few times a minute)
Firmware Update over the Network

  • Custom Messages via web URL can be sent to the display over the network as in the below example

  • New firmware to show live Indian Stock information was also added recently.
  • This clock has been operational for 2 years and more now in 15+ units all over the world. A teeny bit of happiness.

Comments

Popular posts from this blog

Game for the blind

Have been thinking about writing a game for the blind since a long time Got an opportunity when a couple of High School Kids came up with the requirement Many options were experimented on: Scratch, Unity, etc It was decided to Keep it Simple and modding an existing game What other better than to implement in python and use python games Used an example from here  PyGame Pythonprogramming.net example   This is a car game where one has to avoid blocks in its path or falling on it To make it suitable for blind playing, visual representation of a block falling on the car or not and the speed of it falling were alerted to the user by means of different sounds; one tone for block not being in line with the car, one tone for slow rate of drop on the car and one tone for rapid rate of drop on the car. So hearing these sound clues, one can use the cursor keys to escape the falling blocks. This can be seen in the video. One can also play comfortably with their eyes closed. It can be impr...

Leg Brake for a Bicycle

Leg Brake on a Bicycle  Growing up, there was a need to learn how to drive a geared motor cycle and also get a driver's license. There are two categories of two wheeler licenses: one for geared vehicles usually with leg brakes and one for auto/non-geared vehicles where the braking happens by hand and are simpler to operate. Driving license had already been acquired for the non-geared vehicle but due to lack of availability of a geared vehicle for practice, the acquiring of this license was taking quite some time. The main problem was adapting to braking a vehicle using the leg where one to respond differently and the conditioning takes some time. Unfortunately could not manage to get anybody/s vehicle for learning after many attempts. And at that time (1995 or so) bicycles were rather common and used for transport. So an idea was: why not add such a feature to a bicycle. A Hercules Town and Trek was also available. After some visits to the local bicycle shop and a used vehicle part...

RGB Dot Matrix Display as Multi-Function Panel Display

PxMatrix on ESP8266 connected to an 32x16 RGB DOT MATRIX 1/8 SCAN Panel It was always wonderful to see the numerous colour displays that display messages and animations on Dot Matrix Displays (DMD) in the commercial places. One useful thing would be to take an Off-the-Shelf Display and run fully controllable custom software rather than rely on some external products to do. Luckily found a display vendor who offered to give me some DMD as samples for experimentation. I was given a P10 32x16 pixel color DMD panel. I have experimented with Monochrome DMDs (maybe blog about this later) but the RGB display is another world all together. The Monochrome world does not have lot of open source software, the RGB world has PxMatrix, RGBMatrix and SmartMatrix. As I wanted the controlling entity to be super cheap which meant use of an 8266 I had to start with PxMatrix. Though there are better options than PxMatrix, the others use a more expensive controller. Its better to start with the lowest cost...