author

MichelH13

Inbox View Profile
7Comments

Tell us about yourself!

  • Arduino Datalogger With RTC, Nokia LCD and Encoder

    HelloI am impressed by this program.Possibility to change the screen: st7920 instead.email: hohm.michel@free.frthanks in advance.

    View Instructable »
  • HELLOyour program is very interesting, I would like to add in my program which also uses a rotary setting, I wonder if you could help me to add the humidity setting with eeprom in my program.thanks in advance .hohm.michel@free.fr

    View Instructable »
  • MichelH13 commented on sfrwmaker's instructable Weather Monitor

    BONJOURj'aimerai utiliser <sunMoon> avec un st7920 mais je n'arrive pas à avoir l'heure sunset,sunrise .pourriez vous m'aider ,d'avance merci .email:hohm.michel.free.fr#include "U8glib.h" // OLED#include "Wire.h" // I2C#include <Time.h>#include "TimeLib.h" // Time Manipulation#include <sunMoon.h>#include "DS1307RTC.h" // DS1307 RTC//int Sunrise, Sunset; char timebuf[20]; // Timechar datebuf[20]; // Datechar sRisebuf[20];// char sunrisechar sSetbuf[20];// char sunsetint year2digit; // 2 digit yearint year4digit; // 4 digit year#define OUR_latitude 43.70 //27.0133 Moscow cordinates#define OUR_longtitude 7.25 //49.6641#define OUR_timezone 120//180 localtime with UTC difference in minutessunMoon sm;//U8GLIB_SH1106_128X64 u…

    see more »

    BONJOURj'aimerai utiliser <sunMoon> avec un st7920 mais je n'arrive pas à avoir l'heure sunset,sunrise .pourriez vous m'aider ,d'avance merci .email:hohm.michel.free.fr#include "U8glib.h" // OLED#include "Wire.h" // I2C#include <Time.h>#include "TimeLib.h" // Time Manipulation#include <sunMoon.h>#include "DS1307RTC.h" // DS1307 RTC//int Sunrise, Sunset; char timebuf[20]; // Timechar datebuf[20]; // Datechar sRisebuf[20];// char sunrisechar sSetbuf[20];// char sunsetint year2digit; // 2 digit yearint year4digit; // 4 digit year#define OUR_latitude 43.70 //27.0133 Moscow cordinates#define OUR_longtitude 7.25 //49.6641#define OUR_timezone 120//180 localtime with UTC difference in minutessunMoon sm;//U8GLIB_SH1106_128X64 u8g(13, 11, 10, 9, 8); // D0=13, D1=11, CS=10, DC=9, Reset=8U8GLIB_ST7920_128X64 u8g(13, 11, 12, U8G_PIN_NONE);const uint8_t brainy_bitmap[] PROGMEM = { 0x00, 0x00, 0x03, 0xB0, 0x00, 0x00, 0x00, 0x00, 0x07, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x46,0x00, 0x00, 0x00, 0x00, 0xFC, 0x47, 0xC0, 0x00, 0x00, 0x01, 0xCE, 0x4C, 0x60, 0x00, 0x00, 0x03,0x02, 0x58, 0x30, 0x00, 0x00, 0x03, 0x02, 0x58, 0x10, 0x00, 0x00, 0x02, 0x02, 0x58, 0x18, 0x00,0x00, 0x03, 0x06, 0x4C, 0x18, 0x00, 0x00, 0x07, 0x04, 0x44, 0x18, 0x00, 0x00, 0x0D, 0x80, 0x40,0x3C, 0x00, 0x00, 0x09, 0xC0, 0x40, 0xE6, 0x00, 0x00, 0x18, 0x78, 0x47, 0xC2, 0x00, 0x00, 0x18,0x0C, 0x4E, 0x02, 0x00, 0x00, 0x1F, 0x86, 0x4C, 0x7E, 0x00, 0x00, 0x0E, 0xC6, 0xE8, 0xEE, 0x00,0x00, 0x18, 0x43, 0xF8, 0x82, 0x00, 0x00, 0x10, 0x06, 0x4C, 0x03, 0x00, 0x00, 0x30, 0x0C, 0x46,0x01, 0x00, 0x00, 0x30, 0x18, 0x46, 0x01, 0x00, 0x00, 0x10, 0x18, 0x43, 0x03, 0x00, 0x00, 0x18,0x10, 0x43, 0x03, 0x00, 0x00, 0x1C, 0x70, 0x41, 0x86, 0x00, 0x00, 0x0F, 0xE0, 0x40, 0xFE, 0x00,0x00, 0x09, 0x1E, 0x4F, 0x06, 0x00, 0x00, 0x08, 0x30, 0x43, 0x86, 0x00, 0x00, 0x0C, 0x20, 0x41,0x86, 0x00, 0x00, 0x06, 0x60, 0x40, 0x8C, 0x00, 0x00, 0x07, 0x60, 0x40, 0xB8, 0x00, 0x00, 0x01,0xE0, 0x41, 0xF0, 0x00, 0x00, 0x00, 0x38, 0xE3, 0x00, 0x00, 0x00, 0x00, 0x0F, 0xBE, 0x00, 0x00,0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1F, 0xCF, 0x82, 0x0C, 0x86, 0x46, 0x1F, 0xEF, 0xC3, 0x0C,0xC6, 0xEE, 0x1C, 0xEC, 0xC7, 0x0C, 0xE6, 0x7C, 0x1C, 0xED, 0x8D, 0x8C, 0xFE, 0x38, 0x1C, 0xED,0x8D, 0xCC, 0xDE, 0x38, 0x1D, 0xCD, 0xDF, 0xCC, 0xCE, 0x38, 0x1F, 0x8C, 0xF8, 0xEC, 0xC6, 0x38,0x1F, 0xEC, 0x08, 0x0C, 0xC2, 0x18, 0x1C, 0xEC, 0x00, 0xC0, 0x00, 0x00, 0x1C, 0xFD, 0xFB, 0xC0,0x00, 0x00, 0x1C, 0xFC, 0x63, 0x00, 0x00, 0x00, 0x1C, 0xEC, 0x63, 0xC0, 0x00, 0x00, 0x1F, 0xEC,0x60, 0xC0, 0x00, 0x00, 0x1F, 0xCC, 0x63, 0xC0, 0x00, 0x00, 0x1F, 0x0C, 0x63, 0x00, 0x00, 0x00,0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x28, 0x2B, 0x4F, 0x67,0x42, 0x38, 0x7B, 0xEA, 0x86, 0xB2, 0x28, 0xC7, };void draw(void) { u8g.drawBitmapP( 78, 5, 6, 50, brainy_bitmap); // put bitmap u8g.setFont(u8g_font_fur11); // select font u8g.setPrintPos(0, 12); // set position u8g.print(timebuf); // display time u8g.setPrintPos(0, 22); // set position u8g.print(datebuf); // display date u8g.setPrintPos(0,32); u8g.print(sRisebuf); u8g.setPrintPos(0,42); u8g.print(sSetbuf); }void setup(void) { tmElements_t tm; sm.init(OUR_timezone, OUR_latitude, OUR_longtitude); time_t sRise = sm.sunRise();time_t sunrise time_t sSet = sm.sunSet();time_t sunset uint32_t jDay = sm.julianDay(); // Optional call byte mDay = sm.moonDay(); time_t s_date = makeTime(tm); jDay = sm.julianDay(s_date); mDay = sm.moonDay(s_date); sRise = sm.sunRise(s_date); sSet = sm.sunSet(s_date); }void loop(void) { tmElements_t tm; if (RTC.read(tm)) { year2digit = tm.Year - 30; // 2 digit year variable // year4digit = tm.Year + 1970; // 4 digit year variable sprintf(timebuf, "%02d:%02d:%02d",tm.Hour, tm.Minute, tm.Second); // format time sprintf(datebuf, "%02d/%02d/%02d",tm.Day, tm.Month, year2digit); // format date sprintf(sRisebuf, "%02d:%02d:%02d",tm.Hour,tm.Minute,tm.Second); // sprintf(sunset, "%02d:%02d", hour(rise), minute(rise)); sprintf(sSetbuf, "%02d:%02d:%02d",tm.Hour,tm.Minute,tm.Second); // sprintf(sunrise, "%02d:%02d", hour(rise), minute(rise)); time_t sRise = sm.sunRise(); time_t sSet = sm.sunSet(); time_t sunRise(time_t date = 0); time_t sunSet(time_t date = 0); u8g.firstPage(); // Put information on OLED do { draw(); } while( u8g.nextPage() ); } delay(1000); // Delay of 1sec}

    View Instructable »
  • MichelH13 commented on oliverb's instructable Arduino LCD Master Clock

    Hello would just have you an arduino code to use a module dcf77 pollin to have the hour instead of a rtc on 1307 beforehand thank youTo mitigate the time change.EMAIL ADDRESS: hohm.michel@free.fr

    View Instructable »
  • bonjourj'aimerai s'il vous plait avoir votre code arduino et votre projet en pdf s'il vous plait ,pourriez vous aussi si ce n'ait pas trop vous demander me donner un coup de pousse si je vous demande quelque info ,je débute avec arduino, d'avance merci , je vous laisse mon email / hohm.michel@free.fr

    View Instructable »
  • bonjourpourriez vous m'envoyer votre projet par email en pdf à hohm.michel@hotmail.frmerci bonne journée

    View Instructable »
  • Hello your project interests me, could you please send him(it) to me has my email address beforehand thank you hohm.michel@hotmail.fr

    View Instructable »