Total Pageviews

Showing posts with label ds3231. Show all posts
Showing posts with label ds3231. Show all posts

Tuesday, April 25, 2017

Arduino clock on TM1637 display

    I found a cheap led display some time ago, with TM1637 chip, has 4 digit 7-segment and 2 leds for seconds, so, I decided to made a clock using DS3231 RTC module clock:
   I use a simple schematic for this clock:
   Using TM1637_DS3231_clock0.ino sketch, my clock work as a .. clock :))) like in movie named Arduino clock with DS3231 on TM1637 display
   For hour litle than 10, on display we see 09
so, I change to simple 9
just changing few lines in sketch (TM1637_DS3231_cloc0a.ino).
   In Arduino clock with DS3231 on TM1637 display (2) movie, you cand see the diference on display and in sketch....
   Next step was to put an encoder (KY-040) to change hours and minutes, schematic is:
(also, I put an speaker/buzzer from PC between D7 and GND).
   For change hours, must long push (2-3 seconds) the push button from encoder, and you will see
so, must rotate clocwise to increase value or rotate antioclockwire (trigonometric sense) to decrease value for hour. When hour has desired value must push on button from encoder to enter in mode to change minutes:
   Procedure is similar, and after change value for minutes must push on button from encoder to enter in usual mode, as a claock.
    TM1637_DS3231_clock1.ino sketch must be used for have a clock like in my description or in Arduino clock with DS3231 on TM1637 display (3) movie:
27.04.2017
   This clock can be use also with DS1307 instead DS3231, just need a small change:
so, TM1637_DS3231_clock1a.ino have this chenage and few other for correct few bugs... in Arduino clock with DS3231 on TM1637 display (4)
PS: with last change, you can use DS1307 or DS3231 RTC clock module, without other modifcation.

Wednesday, November 30, 2016

Another adjusting clock with alarm, hygrometer & thermometer on 1.8" ST7735 display

   I use feature from article Another adjusting clock with alarm & thermometer using DS3231 on 1.8" ST7735 display and change reading internal temperature of DS3231 with DHT22 senzor (AM2302), but you can use a cheaper and not very precise DHT11 senzor.
   Schematic is now:
   My test montage is
   By using educ8stv_rtctft160_alarm_dht.ino or much better educ8stv_rtctft160_alarm_eeprom_dht.ino sketch, on display you can see: name of day, date, hour clock, hour alarm, temperature and humidity
   In another adjusting clock with alarm, thermometer & hygrometer using DS3231 on 1.8" ST7735 display you can see info on display and hoe change/adjust hour, data, hour alarm, activate and deactivate alarm, etc:
   Alse, I made another movie, named another adjusting clock with alarm, thermometer & hygrometer using DS3231 on 1.8" ST7735 display (2), where I try to explain more detailed the feature of this clock...

Saturday, November 26, 2016

FDS-125 display with Arduino (2)

original article


   In previous article I present you how can conect an FDS-125 display to Arduino and how mase a simple, but "static" clock style
   For made an "dynamic" clock, I use some schematic
  I write in exitting sketch to display name of day in week in 2 language (romanian who is my navitve language and in english). It easy to change in your navive language by writting name of days in one line:
  Is very important to have in same subdyrectory of sketch font75.h file like in this picture:
  So, by uploading FDS125_clock1b.ino sketch, you cand see on display new info, beside date:
   In Arduino clock on FDS-125 display (2) movie you can see on FDS-125 display all info:
   After that, I put an AM2302 (DHT22) sensor for humidity and temperature, like in next picture:
   Newest skertch is FDS125_clock_RTC1c.ino and on display you can see new situations:
   Because, DHT sensor is too slow when is reading, I made some changes to see temperature and humidity in same times, also I chege font75.h file to display degree symbol instead ': 
  New sketch is FDS125_clock_RTC1c1.ino and this new style can be see it on Arduino clock on FDS-125 display (4)

FDS-125 display with Arduino

original article

   This display was received from Janos Baricz, vintage things passionate. On webworld, we find just some info and tests with FDS-132 display who is bigger than FDS-125.
   So, you can see info about "big brother" at:
   FDS-125 display has 2 big rows, each with 7 rows and 60 columns (12 matrix 5x7 leds) controlled by Lattice MACH21 microcontroller.
   For control by Arduino must extract Lattice MAC21 microntroller and put few wires like in this pictures from arduinows.blogspot.com:
   Janos made hardware part for this display:
and in this case, situation is:
- green wire is A from FDS-125 display, must connect to D5 pin at Arduino board
- pink wire is B from FDS-125 display, must connect to D6 pin at Arduino board
- white wire is C from FDS-125 display, must connect to D7 pin at Arduino board
- yellow wire is STROBE from FDS-125 display, must connect to D10 pin at Arduino board 
- mauve wire is DATA from FDS-125 display, must connect to D11 pin at Arduino board 
- grey wire is CLOCK from FDS-125 display, must connect to D13 pin at Arduino board 
- blue wire is RESRED from FDS-125 display, must connect to D9 pin at Arduino board 
- black wire is GND from FDS-125 display, must connect to GND pin at Arduino board 
Also, on the back site is power for display (in picture is a red wire connected from power conector at power of display part).
  I redesigned connexion between FDS-125 display and Arduino board:
   After that, I tested some sketches and I "lit" the display
   I put an RTC clock made with DS3231 (works fine with DS1307, also) and adapt an sketch from arduinoforum.nl made for FDS-132. Result is FDS125_clock.ino sketch and test schematic is:
   Whem upload the sketch on display is on top row is data and on bottom row is hour:
   Also, I made Arduino clock on FDS-125 display movie to see how clock is..

Tuesday, November 22, 2016

Vintage HDLO-2416 display

original article


    I received from an enthusiast of wintage displays, Janos Baricz, a module with 5 HDLO-2416 displays.
   HDLO-2416 display was made by Avago Technologies and has this datasheet.
    After I talk with Janos, him made a module with 5 displays after test one display with sketch from http://gorgusgfx.se/?page_id=62 and IntMatrixDisp library.
    Module has this schematic:
and has different colour for eatch wire...
    First, I test sketch from http://gorgusgfx.se/?page_id=62 with next connexions:
and on displays I can see 5 texts identical:
   After that, I put CE1 at A0, CE2 at A1, CE3 la A2, CE4 at A3 and CE5 at A4.
   I write a sketch for test this schematic:
  Because this schematic need too much wires, I put an 74HC138 chipo like in docs from IntMatrixDisp library to have free more pins from Arduino:
or more detailled:
   Real montage is now
   Next step was to put an humidity and temperature sensor (DHT22/AM2302) at D12 pin.
 I use sketch from https://github.com/tehniq3/HDLO-2416/blob/master/HDLO2416_DHT1.ino and on display I see few seconds humidity and than temperature:
   Further, I put an DS3231 RTC module at i2c pins and use HDLO2416_DHT_RTC1.ino sketch.
   In movie named RTC clock with DHT weather data on HDLO-2416 display you can see how animate is display (few seconds you can see temperatura, few seconds you can see relative humidity from air, more seconds you can see data and hour):