Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Anyone have information about data logger using microcontroller (ph,humidity or salinity) using lcd touchscreen. please reply if there is some information
I have been trying with this schematics i have tried by trial in simulation like this attachment. Port B4-B7 is to used another microcontroller.
To Wp100, i'm using microcontroller ATMEGA162 and willing to use c language. i was wondering if this schematics it is possible to use ph and humidity on second microcontroller.
sorry i'm new and i want this to hold all data by using lcd touchscreen/monitor lcd. is it possible micro can hold all the data of the logger? And can you give me some some hint to get it better.thanks
If you are using something like I2C to communicate between micro controllers then yes, it is possible to use the 2nd uC to read your sensors, most sensors give a feedback based on voltage levels and your micro interprets them on an ADC unless they are digital, then it works differently.
I assume by your diagram that the LCD is serial driven? I have personally no experience with touch screen LCD's and micros, so I couldn't help there, if you wish to store the data you will have to use something like a serial eeprom, these can range from 32k to 1MB, have a look around your electronic distributors, you may need to incorporate a file system, the MCHIP one uses FAT I believe, not sure about Atmel.
As for your second micro and the sensors, you can either poll the I2C or use interrupts, you need to read the manual for your compiler, WinAVR or whatever you choose to use.
if not possible with lcd touchscreen how about using a touchscreen ipad or other? i have looked this lcd manual can read serial and usb. how you storethe data with using like a serial eeprom,can you give me some example of it?
Well, it all depends how you are connecting to the LCD, I dont know what you are writing to it and what you expect it to do, and how it is supposed to function, is the LCD going to be a seperate device i.e. have it's own processor, or is it going to be driven by the micro?
I dont use Atmel's, I am a PIC fan, and I am starting to get into ARM and FPGA's so I have only used Atmel a couple of times and that was for turning LED's on and off effectively.
But, here is a page that may help, step 21 shows how to read and write a 24LC256 EEPROM, it is in basic, but you should be able to convert from basic to C. **broken link removed**
There are also a number of other maybe useful examples on that page to help you out?
Sorry I couldn't have been more use, maybe an AVR guy is lurking somewhere waiting to jump in the correct answer?
There are some Projects to implement a FAT to an AVR Microcontroller in the Internet.
I've done that with an ATMEGA 32 Controller that writes the incoming serial Data onto an SD Card.
Logging starts by set the logging connector to +5V.
The maximum size of the SD storage is 1GB. Bigger Space affords a cluster size of 1kB - Too much for an AVR Controller!
To split the logging Part from the Store Part has the advantage to get more flexibility.
And you can use the serial TxD line from Controller additional, to serve an USB serial Converter like the FT232RL or an RS232 Level Shifter ( e.g. MAX232 ) for Live logging.
And the debugging would be easier, because you can test both with an simple serial connection to PC.
The next Problem is the Power Source. Most Displays need 5V Supply Voltage. An SD Card only works with 3,3V.
SD Card and Display can only work with "tricks" ( resitor voltage divider ) at the same Controller.
Touch Displays are often very expensive. A Dotmatrix Display and normal Tast's are much cheaper 2x16 Character costs 5,-Euros.
A graphical Display with 128x64 pix you can get for 18,-Euros. A Touch Display will cost you more than 100,-Euros.
Look first for a cheap Touch Display and an suitable library for the Controller, before start the Project.
As Humidity / Temperature Sensor you can use one of the SHT... Series from Sensirion AG
With PH Sensors i have no experience - sorry.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.