author
13CommentsJoined June 22nd, 2016

Tell us about yourself!

Complete Your Profile
  • TimN33 commented on yosoufe's instructable Synchronise DS3231 RTC with PC via Arduino2 years ago
    Synchronise DS3231 RTC with PC via Arduino

    In the previous picture you can see a Raspberry Pi header attached, this is because I also use the same setup for a Pi too!

    View Instructable »
  • TimN33 made the instructable Synchronise DS3231 RTC with PC via Arduino2 years ago
    Synchronise DS3231 RTC with PC via Arduino

    I have it running some software I wrote that used an interrupt (every second) and it captures the temperature from a sensor and logs the high, low and current and displays them (as well as logging to SD card) it also displays the current time and date as well as the Zule (GMT) time

    View Instructable »
  • TimN33 commented on yosoufe's instructable Synchronise DS3231 RTC with PC via Arduino2 years ago
    Synchronise DS3231 RTC with PC via Arduino

    I added the com port as an argument and also added 1 second to the seconds to more accurately sync. The adding of a numerical value to a variable is a bit tricky..set com=%1mode %com% BAUD=9600 PARITY=n DATA=8@echo offfor /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%jset hours=%ldt:~8,2%set minutes=%ldt:~10,2%set /A seconds=%ldt:~12,2%+6set miliSeconds=%ldt:~15,3%:loopif %TIME% LSS %hours%:%minutes%:%seconds%.00 goto loopfor /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%jrem next line adds 1 second, CREATES NEW VARIABLEset /a "newsec=%ldt:~12,2% +1"echo S%newsec%, >%com%echo D%ldt:~10,2...

    see more »

    I added the com port as an argument and also added 1 second to the seconds to more accurately sync. The adding of a numerical value to a variable is a bit tricky..set com=%1mode %com% BAUD=9600 PARITY=n DATA=8@echo offfor /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%jset hours=%ldt:~8,2%set minutes=%ldt:~10,2%set /A seconds=%ldt:~12,2%+6set miliSeconds=%ldt:~15,3%:loopif %TIME% LSS %hours%:%minutes%:%seconds%.00 goto loopfor /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%jrem next line adds 1 second, CREATES NEW VARIABLEset /a "newsec=%ldt:~12,2% +1"echo S%newsec%, >%com%echo D%ldt:~10,2%, >%com%echo H%ldt:~8,2%, >%com%echo %newsec%echo S%ldt:~12,2%, echo D%ldt:~10,2%,echo H%ldt:~8,2%,set /A seconds=%ldt:~12,2%+6:loop2if %TIME% LSS %hours%:%minutes%:%seconds%.00 goto loop2echo T%ldt:~6,2%, >%com%echo M%ldt:~4,2%, >%com%echo J%ldt:~0,4%, >%com%echo T%ldt:~6,2%,echo M%ldt:~4,2%,echo J%ldt:~0,4%,

    I also added 1 second to the seconds to almost exactly sync the PC time. Adding a numerical value to a variable in a batch file is a tiny bit tricky, but I did it like thisset com=%1.......set /a "newsec=%ldt:~12,2% +1"rem added 1 sec to sync exactlyecho S%newsec%, >%com%

    View Instructable »
  • TimN33 commented on yosoufe's instructable Synchronise DS3231 RTC with PC via Arduino2 years ago
    Synchronise DS3231 RTC with PC via Arduino

    Wonderful!!! works great, thanks a ton

    View Instructable »
  • TimN33 commented on MrJonesEducation's instructable Frankenstein Light Switch2 years ago
    Frankenstein Light Switch

    Did you label it "The Works" ?

    View Instructable »
  • Humidity and Temperature LCD Display with Power Saving Mode:  Minimal parts, Quick, Inexpensive, and Practical

    Thanks!!! The 20x4 was easy since it used I2C (as does the RTC and device I'm using for temperature readings) so it's basically 4 wires including power and ground using the LiquidCrystal_I2C.h library. I did not like the idea of having it sample as fast as it could go (free running) and it wasn't easy to set it for roughly 1 second intervals, so I use an interrupt from the RTC set for 1 second intervals and that triggers the updates.Thanks for the encouragementTim

    By the way, for my post, ignore the ribbon cable on the right.. I also use it with a raspberry pi which is not connected

    I made something somewhat similar.Using a RTC (Real Time Clock) and a temp detector, it tracks the temperature since power on displaying the current as well as high and low. It also logs the information to an sd card

    By the way, for my post, ignore the ribbon cable on the right.. I also use it with a raspberry pi which is not connectedThe monitor is interrupt driven and updates every second, but logs every 10 seconds to the SD card. It sends the data on the serial port so I can use the serial plotter to graph it or open the datafile later in excel

    View Instructable »
  • TimN33 commented on keebie81's instructable My Ray Gun From Found Objects2 years ago
    My Ray Gun From Found Objects

    Wow! an actual "Illudium Q-36 Explosive Space Modulator"

    View Instructable »
  • TimN33 commented on CitizenScientist's instructable Introduction to Neopixels2 years ago
    Introduction to Neopixels

    I found some of that plastic styrofoam0ish material makes a great diffuser for the lights!!Have an arduino running a 1 meter 60 LED strip using bothe the neopixel and fastled libraries

    View Instructable »