In the previous week, we designed and Input device and programmed it, while this week we are required to make an output device from the list provided in the class schedule and program it to do something.I decided to work on LED array through charlieplexing , but there were some issues in my design. Then, I was running short of time so, I decided to work on Standard LCD 16x2 + extras - white on blue. This is really an intresting module to work on. I read the pin description and other infromation from the link given HERE
The following description has been taken from the link given above:
tandard HD44780 LCDs are useful for creating standalone projects.
In order to redesign the circuit, I used Eagle software. The schematic is shown below, along with the board. Following image shows the pin configuration used to make the connection between ATtiny44 and LCD.
The connections of ATitny44 and LCD are shown below:
The schematic was checked for errors, and there were no errors .
Then, by clicking on switch to the board, I made the routing connections and exported the images for generating RMl files.
For generating the RML files, I used the png images given below and edited them in paint.
In the next step, I generated the RML files from fabmodules.org, as shown below:
After milling the board, its time to solder the components, the lit of components is given below:
The board after soldering the components is shown below:
Then, I checked all the connections using DMM, so that I was sure that the board will work fine when programmed.
After making the necessary settings for ATTiny44 IC in the arduino IDE, the final step was to burn the bootloader and then upload the code to display something on the lcd. All the connections were fine except one connection, so I corrected that connection and burned the bootloader successfully .
The final step was to upload the code for displaying on lcd. The code and output are shown below:
In this week group assignment we have to measure power consumptions of an output device.
As one of our project is on RGB LEDs so we decide to find the power consumption of RGBs on different color pattern We write some codes which blink 1 RGB with specific color and measure current on that project
The current is measured 47mA which is multiplied with 5 Volts is equal to 235mW
Checking current of RGB when 1 Green is on The current is measured 40mA which is multiplied with 5 Volts is equal to 200mW
The current is measured 48mA which is multiplied with 5 Volts is equal to 240mW
The current is measured 78mA which is multiplied with 5 Volts is equal to 390mW
The current is measured 32.1mA which is multiplied with 5 Volts is equal to 160.5mW Different colors have different current consumptions. As per results we found that green color have low power consumption and white has maximum power consumption.
The files for this week are attached HERE