================================================================================================================================================

Wednesday, July 4, 2018

UART based 8-Channel Data-logger with temperature log




Hi Friends,
        here is one more data-logger circuit, which will be useful for some who have not much ventured into the ADC for datalogging or RTC or i2c communication, etc. This one is based on ATmega32. It has 8-channel 10-bit ADC. Hence, providing us with 8-channels with 0 to 5V voltage level measurement. The circuit also has on-board RTC (based on DS1307) to log the data with time-stamp. Data is logged via UART. The circuit has 3-pin UART connector, which can be used to connect to PC/laptop using UART(TTL) to USB serial converter, commonly available in electronic markets.
      Also, there is a thermometer IC, DS1621, which is connected via i2c (along with the RTC IC) and provides temperature measurement from -55 to +125 Deg. C. The temperature is also sent along with the voltages to the UART for logging.
      
(Note: The circuit also has the microSD card module connector, for logging the data into the card in FAT32 file format, instead of sending it to UART, but that part is not used here, as this initial part is more intended for new learners. Part-2 with microSD will be included shortly in the next update. Meanwhile, you may refer to my earlier post on microSD related posts, here and here, for getting some details and code for SD card/ FAT32 format).

    The circuit schematic is given in the following figure (pdf file can be downloaded from here):


     At power on, the current date and time are displayed on the first raw of LCD. The temperature and the logging ON/OF status is displayed on the second raw. A green LED is also turned ON as an additional status of the proper power-up of the microcontroller .
     The data measurement can be started anytime by pressing the 'SET' button (keep pressed till the red LED turns ON). The recording ON status is displayed on LCD as well as by the glowing red LED. During this recording, at a regular interval (as defined in the code), the microcontroller gets the temperature from DS1621, measures the 8 voltages connected to 8 of its screw-terminals, w.r.t GND on the 9th terminal (as shown in the schematic), and forms a string which includes line number, time (hh:mm:ss format), temperature and the 8 voltage values, in a comma separated format. This string is then sent to UART, which can be logged into a file or seen on a terminal program in the PC/laptop using the serial-to-usb converter.
     The operation is shown in the following screen-shot of the Proteus simulation (in the simulation, the temperature set in the IC and displayed by the LCD has difference of 1.5C, as the code applies the correction factors read from the IC to the temperature reading and then displays it, which represents the actual temperature):


     (Note: The Proteus simulation files are included in the source code folder download at the end of the post).
   
     The circuit in operation, with logging ON and OFF, is shown the following pics:




        The actual UART output captured on a terminal of the Atmel Studio during the logging ON,  is shown in the left side image, where temperature shown is 30.3 C, channel-2 was connected with +5V (VCC) and channel-7 was connected with the Li battery cell of the RTC. Rest of the channels were kept open at the screw-terminals.

      The RTC date and time can be changed using the three push-buttons, similar to the procedure shown in my previous post of the RTC based relay-control. The procedure is given here:











For setting RTC Date/Time:
  1. Press 'SET' button and Power ON the circuit, keeping the button pressed while the circuit is starting.
  2. "RTC Setting.." message will be displayed on the first row of the LCD.
  3.  Release the 'SET' button "Date: XX" will be displayed on the second row of the LCD, where XX is the existing current date as per the RTC.
  4.  Press 'UP' or 'DOWN' button to increase or decrease the Date. When desired date is displayed, press 'SET' button to store it
  5. "Month: XX" message will be displayed, where XX is the current month as per the RTC
  6. Press 'UP' or 'DOWN' button to increase or decrease the Month. When desired month is displayed, press 'SET' button to store it
  7. "Year: XXXX" will be displayed, use 'UP'/ 'DOWN' buttons to change the year and then press 'SET' button to store the year value
  8. Then "Hour: XX" will be displayed, set it as per the previous steps and also set next "Minutes: XX" similarly, and store using 'SET' button.
  9. When the Minutes is set, "RTC Setting" mode is over and normal operation resumes, where the LCD will display Date and time in the first row and temperature and log:OFF status in the second row.
     The circuit hardware is not much complicated, can be assembled on a general purpose PCB also. I'm including here the Gerber files also, along with the other downloads, if it's required.

Downloads:

1. Source Code project files with Simulation files (Atmel Studio-7 and Proteus formats)

Datasheets: ATmega32,   DS1307,   DS1621

Enjoy!!

Regards,

CC Dharmani
ccd@dharmanitech.com

70 comments:

Edward Lewis said...

Hi
I read your post and found it quite interesting.
The post you shared is very unique and informative.
Thanks for sharing such a useful post.
mcafee.com/activate
office.com/setup
norton.com/setup
mcafee.com/activate

A. Karaman said...

Hi,
I am following your interesting and very useful projects.
Now, I look forward to see the new version logger with SD card and DS1621 sensor together.
Of course it would be better with LCD display too.
Thank you

charlienoahim said...

Thank you so much for sharing these amazing tips. I must say you are an incredible writer, I love the way that you describe the things. Please keep sharing.

For more information visit on office.com/setup | office.com/setup | office.com/setup | Norton.com/setup

Ada Smith said...

You know after a hard day I decided to have fun and play games of chance I climbed a bunch of sites and only on this I understood what was happening prosperous best rated online casinos now I sit and spend all the time on this site

Stephen Kery said...

Thanks for sharing this helpful information.
Cheers

Unknown said...

It really makes me happy and I am satisfied with the arrangement of your post. You are really a talented person I have ever seen.
Norton.com/Setup

Sofia Williams said...

It really makes me happy and I am satisfied with the arrangement of your post. You are really a talented person I have ever seen.
Norton.com/NU16

RouterLogin said...

I love this post. Thanks for starting it. Loved the thought that was put behind writing this. I'm glad. :)

Regards.

norton.com/setup said...

This is really an amazing article. Your article is really good and your article has always good content with a good powerpoint with informative information.

norton.com/setup

mcafee.com/activate

office.com/setup

Anonymous said...

Cool post, loved it!

Regards: https://robloxfever.com/

office setup said...

Download and install your Norton product. Sign In to Norton. If you do not have a Norton account, click Create account and complete the sign up process. In the Norton Setup window, click Enter a New Product Key. To enroll in Automatic Renewal Service for your Norton subscription, Get Started

norton.com/setup
mcafee.com/activate
office.com/setup

norton.com/setup said...

This is really an amazing article. Your article is really good and your article has always good content with a good powerpoint with informative information.

norton.com/setup

mcafee.com/activate

office.com/setup

Allan Smith said...

I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! Please keep sharing more such blog.

Norton.com/setup – Download, install and activate Norton antivirus setup to get robust security at
www.norton.com/setup. We Will help you to redeem product key.
Norton.com/setup - Enter Your Product Key Here

norton.com/setup

norton help

roadrunner email

webroot antivirus

martinapcexpert said...

I wish to say that this article is an amazing, interesting and nice written. Thanks for sharing this article with us and I would like to look more posts like this.
Norton.com/myaccount

Mcafee.com/activate said...

This article has something new that the new bloggers need to adapt for the survival of their blogging.
norton.com/setup

mcafee.com/activate

office.com/setup

Mcafee.com/activate said...

This article has something new that the new bloggers need to adapt for the survival of their blogging.
norton.com/setup

mcafee.com/activate

office.com/setup

Anonymous said...

I was very pleased to find this web-site.I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post. ball games

Joey Williams said...

Thank you so much for sharing this post, I appreciate your work.
norton.com/setup
norton.com/setup
mcafee.com/activate
office.com/setup
office.com/setup

smith warner said...

McAfee.com/activate - Activate your McAfee Security Product. Instant Online McAfee Activate, Download & Installation is just a phone call away. Call now for McAfee Activate our certified technicians will help you.

Mcafee.com/activate | Mcafee activate | Mcafee Activate 25 digit code | Mcafee log in

mark watson said...

You have great ideas to share something like this. Thanks for share this info.

norton.com/setup

mark watson said...

You have great ideas to share something like this. Thanks for share this info.

norton.com/setup

lauraine williams said...

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. I'm really impressed with the info you provide in your articles. We are providing support for www.webroot.com/safe issues. If you need the same, you can visit our website.

avast customer service |
webroot.com/safe |
webroot geek squad |
webroot geek squad download |
brother printer support

lauraine williams said...

Thank you so much for sharing this post, I appreciate your work.
avast customer service
webroot.com/safe
www.webroot.com/safe
webroot geek squad
webroot geek squad download
brother printer support

Cricket Predictions said...

Put simply, I find nothing better than coming home from work and simply writing about the game we all love, and discussing the great game with so many great people.
Cricket Predictions

Mark William said...

McAfee is available for home users as well as business users mcafee.com/activate software offers the best security to your system with latest tools and techniques to scan and checks to perform before you download Norton 360 customer service number via norton.com/setup And Learn, how to download and office.com/setup software for Windows and Mac OS PC/Laptop

sherlock watson said...

When choosing an antivirus, it’s important to make sure that all of your devices are protected so choose at mcafee antivirus mcafee.com/activate
for mcafee antivirus and Learn how to install and Norton setup antivirus in the easiest way possible for norton antivirus to protect your system at norton.com/setup
for norton antivirus & install office office.com/setup
365 or activate office
365. Enter office Setup Product Key Here to Get Started with office Setup. We made the office Setup More Easier!

oasisproperties17 said...

Private IP addresses are utilized for neighborhood (LANs), and they were characterized with an end goal to postpone IPv4 address depletion. Since private IP locations can be utilized without endorsement from a territorial Internet library, they enable anybody from individual home clients to associations to promptly send web associated gadgets utilizing Network Address Translation (NAT), a strategy for doling out an open location to a PC inside a private
system.

Visit For More Info:- 192.168.1.1 Router Login

Anonymous said...

Hey, Thanks for sharing this useful and great idea UART. It's nice !!!!!! keep it up........

All BA 3rd year Students Check your Allahabad University BA 1st Year Result 2019 here: - baexamresult.in

lily grace said...

Get protected enter your 25 digit activation code in www.mcafee.com/activateand activate your product key.
To install your microsoft office setup visit www.office.com/setup and setup your office retail card key.
Looking for Norton Setup? The Official Norton Site for setup, download, reinstall is www.norton.com/setup where you can enter and activate your norton setup retail card product key.

mark watson said...

Thank you for sharing this useful information, I will regularly follow your blog
Norton.com/setup
Norton.com/nu16
Norton.com/MyAccount

mark watson said...

You have great ideas to share something like this.Thanks for share this info.
mcafee.com/activate

krypton said...

McAfee has different products for every unique demand of the customer.You can protect Mac, Windows, and Android devices using McAfee. All your PCs, laptops, tablets and smartphones are protected from virus, phishing scams, malware, and Ransomware.
mcafee.com/activate
mcafee.com/activate

krypton said...

Norton.com/nu16 | NU16 Download |Norton Utilities 16 Download
Norton Utilities is basically a utility program that's used for the purpose of assessing, maintaining, optimizing and configuring the apparatus. As Norton Utilities 16 is the latest edition of Norton Utilities which works with Windows XP, Windows Vista, Windows 7, Windows 8 or Windows 10 Devices.
Norton.com/nu16

Jnanabhumi AP said...

Jnanabhumi AP is an Educational Web Portal to Provide all State and Central Board Study Material, Exam Dates, Model Paper, Question Paper with all updates visit http://Jnanabhumiap.in

keanna said...

There are different portable stages present for application advancement. Be that as it may, Android has held its spot as a standout amongst the most evergreen operating systems utilized by a few developers, built up application advancement organizations, and new companies to assemble a changed nature of amazing applications for portable clients. Because of the wide grasping of Android applications, a few organizations are considering incorporating Android application improvement into their business tasks.

For More Info:- Android Course in Gurgaon

norton.com/setup said...

I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! Please keep sharing more such blog.

norton.com/setup

norton.com/setup

norton.com/setup

office.com/setup

roadrunner email

mcafee.com/activate

aol mail

Ramiz Khan said...

www.office.com/setup |
www.office.com/setup |
www.office.com/setup |
www.mcafee.com/activate

Ramiz Khan said...

www.norton.com/setup |
Kashmir tour packages |
office.com/setup |
office.com/setup|

Ramiz Khan said...

Kashmir tour packages
Kashmir family tour packages
Kashmir honeymoon tour packages

DIVYA JAIN said...

Thanks for the nice blog. It was very useful to me. I'm happy I found this blog. Thank you for sharing with us, I too always learn something new from your post. BA 1st Year Result

Ayesha said...

Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. BCom 2nd Year Result

rooney10 said...

Avast Login- Login now my avast account at my.avast.com and manage your avast software and services from one area.Get all the support you need for your Avast products.
Avast Login

rooney10 said...

Bullguard Login - Login to your bullguard account and manage your subscription, update and do more. Bullguard antivirus is the secure antivirus which keep your privacy secure.
Bullguard Login

rooney10 said...

www.avg.com/retail- AVG retail antivirus registration & installation. Retail registration & activation tech support.Activate your product. Use the unique code you received after purchase to register and activate your product.
Avg Login

rooney10 said...

Garmin.com/Express - Register, Update or Sync Device with Garmin Express at www.garmin.com/express. Now you may Start doing Garmin Update using Garmin Express Software.
garmin.com/express

jos butler said...

mcafee.com/activate – Facing problems with mcafee products? Get the best instant solution for downloading, installing and activating McAfee Antivirus via mcafee activate and www.mcafee.com/activate.

norton.com/setup - Learn how to manage, download, install, and activate norton. Visit www.norton.com/setup, Enter norton product key and Install norton setup.

Model Paper 2020 said...

All education Board subject wise new syllabus model question papers with practice papers along study material download as Model Paper 2020 Download (*Latest) for Paper-1, Paper-2, 1st Language, 2nd Language, 3rd Language, Malayalam, English, Hindi, Social Science, Physics, Chemistry, Biology, Maths, Sanskrit, Physical Education, Information Technology and etc

Kaylee Smith said...

office my account will help the users in activating, downloading and installing Microsoft Office on their PC . It will provide you the Step-by-Step guide for Microsoft office. If the subscription has expired, learn how to renew it. Get the complete guide to download, install and activate MS office setup.
office.com/setup |
Office.com/myaccount |
Office 365 Setup

Satta King said...

Satta King Online Result

technation said...

If you still have issue while depositing or withdrawing cryptocurrency from Bittrex, even if you fail to create or login to your Bittrex account, just feel free to get in touch with Bittrex Customer Support services for technical assistance with issues related to Bittrex wallet.

bittrex support number
bittrex support phone number
bittrex support


You can contact Bittrex tech support representatives via phone call or live chat. They are available 24*7 for the convenience of users.

bittrex exchange
bittrex customer service
bittrex phone number

vacuum cleaner said...

This is my first time visit to your blog and I am very interested in the articles that you serve. Provide enough knowledge for me. Thank you for sharing useful and don't forget, keep sharing useful info..

smith warner said...

mcafee.com/activate- Find the easy way to download, install and activate McAfee Antivirus, type the 25-digit product key at www.mcafee.com/activate.
To activate norton setup you need to visit norton.com/setup. Sign in, create new account, enter product key, buy norton and get support.
office.com/setup - For Downloading, Installing and activating the Office product, visit www.office.com/setup and Get Started with Office.

Sarkari Result said...

Latest Jobs (Government & Private)

Answer Keys

Admit Cards

All Exam Results

All Exams New Syllabus

technation said...

Step-by-step instructions how to download, install, activate. In case of error uninstall and reinstall your software then contact our Experts.
office.com/setup
office setup
www.office.com/setup

technation said...

Email customer support number has become an essential contact for every user these days. As a part of our daily lives, whether professional or personal, emailing plays a major role. Even a slight problem can affect the email account. Any loophole in email privacy may risk your data and exchanged email. To understand the importance.Read more about Email customer support number
email customer service
sbcglobal customer support
sbcglobal email support
email support
aol email support
Official ATT Email Help Center where you can find tips and tutorials on using Email and other answers to frequently asked questions.
att customer services numbers
att email support
att email customer service

watsonpitter26 said...

Norton Setup and Instal Process – For both PC and mobile users. Highly popular among the PC

users, the Norton antivirus software has been eliminating malware, viruses and other kinds of

online and offline threats from affecting the performance of a computer for years.

Norton.com/setup , being a security solution providing company has created

office.com/setup|| norton.com/setup||norton.com/myaccount ||

smith warner said...

If you’re buying your first cryptocurrency, you will probably need to start with Coinbase. Other platforms like Square Cash and Robinhood have recently opened up crypto purchases, but Coinbase is by far the most common choice. It has a very beginner-friendly UI and there is a lot of material on how to use it online. In this guide, I will show you how to sign up, set up your ID and payment method, and how to make a purchase and verify that it went through.

coinbase support email
coinbase phone support
support coinbase
coinbase support not responding
coinbase complaints
coinbase problems
coinbase password reset
coinbase account recovery

Ananth.K said...

Dear sir
I am ananth from tamilnadu. I need some support from you about sd card communication using audrino can u able to give your contact number or email id.

Thanks and regards
Ananth

Trend Micro Antivirus said...

Trend Micro antivirus software is designed for detection and removal of viruses, spyware, Trojans and viral attacks from all types of malware, spyware, Trojans and viral attacks. The software comes with a special type of scanner that helps with the detection and removal of all unwanted elements.

 Trend Micro help desk UK
Trend Micro Technical Support UK

Call at:  Trend Micro Contact UK

norton.com/setup said...

I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! Please keep sharing more such blog.

norton.com/setup

norton.com/setup

mcafee.com/activate

kaspersky activation code

free pogo games

roadrunner email

aol mail

mathewanderson202 said...

What a superb post! I have no words to describe this post because everthing is clear with your wonderfull words. I really feel out for world reading your post, it is full of fresh and usefull. I really appreciate, keep the work continue.

norton.com/setup ! www.norton.com/setup ! office.com/setup


rooney10 said...

The process of admission abroad is very simple compared to Indian universities. Unlike India, you won’t have to pay the donations and any kind of entrance exams to MBBS in abroad. Just you need to have your mark sheet with a minimum 50% score in 10+2 with PCB and you are eligible to get admission in medical universities abroad. If you want to work or practice in India after completing MBBS in abroad you can do it after qualifying the MCI screening test. Most of the MBBS universities in abroad provide tuition coaching for MCI screening test, so if you are a medical student and need to make a successful career in the medical field you just need to apply for MBBS in abroad.
MBBS in Abroad
MBBS in Russia
MBBS in Ukraine
MBBS in kyrgyzstan
MBBS in china
MBBS in georgia
MBBS in Kazakhastan

Technical Support - Toll-Free Number said...

Hi, that is really Great Blog
This post is written after well-research on the topic and is written in very simple language. This post helps me a lot to resolve the problem.
Visit us Now: 24*7 Toll-Free Helpline Number

If You any Problem related to Antivirus and Printers issue, Connect to our expert Helpline Number
McAfee Contact Number
Gmail Customer Care Number UK
Norton Help Number
Epson Printer Helpline Number
McAfee Toll-Free Number UK
Avast Support Number UK
Brother Printer Support Number

Technical Support - Toll-Free Number said...

Hello,
This blog post is written after a good research on the topic. It helps me to troubleshoot the problem. Very simple words have been used and sentences are framed very well.
McAfee Help Desk Number

The content is written by a well experienced person who is working in this field from a very long time. For fixing your McAfee Antivirus
McAfee Login

If you need assistance for dealing with McAfee logIn issues then, in that case, contact the experts at +44-808-189-2133. The experts are available for Help and Toll-Free 24*7
Norton Login
McAfee Toll-Free Number UK


Take a look at Different Blogs
McAfee issues with a Wireless Printer:
McAfee Security Scan Plus and how it works?
McAfee Pop-Up Blocker? - McAfee Support
Why McAfee Slows Down My Computer? McAfee Antivrus

shalley30 said...


Any issues can also be encountered by users and may need professional support providers to get the fix. If you are stuck up with any of the fault, you can report it at office.com/setup by logging in to your account.

office.com/setup
office.com/setup

James Boond said...

I am very thankfull to you for sharing this fantastic article , I appereciate your work .

norton.com/setup | www.norton.com/setup

henry wilson said...

Bullguard Login is superb and smart antivirus utility which now connected online also.You can access all services of Bullguard antivirus by its login. So Bullguard Login is more beneficial for you because its basic step. Just login your account and access all data immediately related to your account.

Bullguard Login
Office Login
Mcafee Login
AVG Login
Norton Login
webroot login
webroot.com/safe
Turbotax Login

Netgear wifi extender said...

netgear wifi extender provides the fast internet up to 1200 mbps and with multiple user logins and it have a strong signal range that allow users to use the internet everywhere in the working area or wifi zone. for any assistance contact to netgear support by call or email and you will get your assistance.

for more information visit the website Netgear wifi extender

Neha Khan said...

BA Exam Result - BA 1st Year, 2nd Year and 3rd Year Result

Bsc Exam Result - Bsc 1st Year, 2nd Year and 3rd Year Result

Unknown said...

I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! Please keep sharing more such blog.

norton.com/setup

norton.com/setup

mcafee.com/activate

kaspersky activation code

pogo not loading

roadrunner email

aol mail password recovery