Total Pageviews

Thursday, December 27, 2018

Animated adjusting clock with termomether and hygrometer on 7 segment led display

  After a discution with GeoMar, I decided to made a clock with few animation when change informations on 4 digit 7-segment led display.
   Last test was made be me with LFD080AAG-103 led display, who is with common anode:
    Base schematic is used in some projects
but I put control for brightness (automatic or manual)
or 
and 2 buttons for adjust clock and data
    Sketch multiplexed_scroll_clock3.ino made a clock who has next informations:
- clock, with flash led for beat seconds, about 10 seconds
- temperature, about 2,5 seconds
- relavive humidity for air, about 2,5 seconds
- data (day and mounts), about 2,5 secods
   Brightness can be control in 1024 steps when it used photoresistor or in 2 (minumum or maximum) wirh switch
   If is pushed MENU button, clock enter in adjusting mode, first for hour, so, you will see hour flashing and can be increase value by pushing + button, but if hour is 23 and + button is pushed, value for hour is 00...
   If is pushed again MENU button, clock enter in adjusting mode for minutes, so, you will see minutes flashing and can be increase value by pushing + button, but if minutes are 59 and + button is pushed, value for minutes are 00...
   Next push of MENU button go to year changes, from 2018 to 2049
After that, if push again MENU button, you can change month (1 to 12)
and if push again on MENu button you can change day of month (just day flash)
After a new push of MENU button, system enter in clock mode (normal mode).
    I made a movie for see how clock show the datas and how can be changes clock and data:

Note: Schematic work for small led display with common anode
or common cathode
   Base schematic is similar
   If you want to see in night just clock and temperature, when is day all informations (clock, temperature, relative humidity and data) you must upload sketch multiplexed_scroll_clock3a.ino !

Sunday, November 11, 2018

Thermostat for recycle pump at heating system

   For heating system using wood or another solid combustible materials who use recycle pump, I design a simple thermostat to power the pump just if water temperature is bigger than desired temperature.
   Schematic is simple
   Tom, a friend of mine, made practical system with Arduino Nano on PCB:
Using DS18B20_thermostat.ino sketch system work like in this photo:
- when temperature of heating water is bellow than desired temperature pump is off
- when temperature of heating water is bigger then desired temperature pump is powered.
Tom made more tests with sistem:
    Tom made 2 movie (speak in romanian language):

Thursday, November 8, 2018

Animated Light Stairs

   This interesting project was made by Bogdan Arnautu, reader of my blogs. He use an ATmega8A-PU chip in this schematic (for 14 leds):
   In this video you can see how system work:
   You can use Atmega8A_Iluminat_inteligent_trepte.hex file with Khazama software.
   Few photos with system:
   I write my sketch using Arduino for 


Wednesday, October 31, 2018

Arduino adjusting clock with dual thermometers


   Inspired by Arduino Digital Clock & Thermometer article, I change the schematic for use 2 sensors DS18B20 instead DHT22 (DHT11) sensor:
   Bogdan Arnautu, a blog reader, test the clock:
    With uploaded clock_2ds18b20.ino sketch, Bogdan made clock with 2 thermometers video:

Saturday, October 27, 2018

matrix mini clock with alarm, thermometer and hygrometer (3)

original article
    After few nights and days than test the clock, I change style for usualt temperature... without sign and normal C...
    Also, I change for positive and negative values 
- small than 10 degree Celsius
- bigger than -10 degree Celsius
- lower than -10 degree Celsius
   You can see in matrix mini clock with alarm, thermometer and hygrometer (3a) video nea display modes:

matrix mini clock with alarm, thermometer and hygrometer (2)

original article
   Because I use DHT22 (AM2302 sensor) am change the sketck (mini_clock_1_3_b.ino)  to see temperature with number after decimal point, like in next photo
- negative tmperature > -10 degree Celsius:
- negative temperature more than -10 degree Celsius
- positive temperature less than 10 degree Celsius
- positive temperature more than 10 degree Celsius

matrix mini clock with alarm, thermometer and hygrometer

   After some time, I update project "mini clock" with DHT sensor, schematic is now
  
  Because, I realize in original program I haven't all characters I need, I "reverse engineer"-ing  file with characters using Hexadecimal to Binary Converter to made new charactes:
So, character are vertical and from up to down. so I design my characters:
     Now, my character file has new characters 😆
   For not be problems, I remane my file as and put near original file
So, for testing, I simulate al cases:
- low humitity (< 10%)
- normal humidity 
- 2-digit negative temperature:
- 1-digit negative temperature:
- 1-digit positive temperature:
- 2-digit positive temperature:

    I use DHT22 (AM2302) sensor so sketch is
and if you have DHT11 just change to
   I use RTC with DS3231, but work without changes with DS1307 (note; DS3231 is more accurate than DS1307)....