I am doing a project in which I need to read RGB values from a color sensor TCS230 and send it to a microcontroller and use an linear equation to get glucose value from it and display it on an LCD.As such this whole thing needs to be packaged into a cellphone sized device.The project needs to be completed in 2 1/2 months. The block diagram is as follows: Cant post image as new user.Anyway, Inputs:optical sensor(6pins),2 buttons(4 pins),sensor to test fit of glucose plug(2 pins).Output:LCD(16 pins). Microcontroller and power supply from battery. Total nearly 30 pins
My questions are:
- I am using TCS230 as my optical sensor.I need to read from only 15mm2 at a distance of 1cm matte surface.I propose to use a concave lens to focus.Is this setup good or is there a better sensor I can use?
- The device is cellphone-sized. So I thought of using arduino mini but I need 30 io pins where as mini has only 20. I could use a plain microcontroller. I know arduino prog but not avr prog.I did a course on microcontroller but assembly programming.*How hard is it for me to use a microcontroller.I need to complete this in 2 months.Is there any other option for me?Can I reduce LCD pins to fit mini?*Main concern is time arduino I know and can prog quickly but I do not know avr yet.The sensor outputs square waves whose freq gives rgb values.
- Which microcontroller should I use?
- What type of battery to use Li-ion ?How should I decide on batterygiven size considerations?
- *What LCD can I use?*I need to display letters and numbers and it needs to be small-size of cellphone screen.