Technical characteristics :
- Voltage ....................... 2.7 - 3.3 V
- Range ......................-55 do 125' C
- Min. temp. step ............ 0,1 ' C
- Max. error ................... +/- 0,5 ' C
- Max. resolution ............. 0,0625 ' C
- Temp. refreshed every.... 1,2 sec.
- Dimensions ................... 40 * 38 mm
- 2 modes of display .......normal/inverse
- Lcd ............................. 84 * 48 pixels
- Amperage ................... 0,2 mA - 0,8 mA
Attached is an include file for the Nokia 3310 LCD that has been modified from Gusse's code (in this thread Post 93 in the thread http://www.picbasic.co.uk/forum/show...0209#post70209 ), adds Darrel's PrintStr function, and a modified form of it for printing variables.
Using this include makes it much easier to use this LCD.
Here is an example of writing different text on separate lines:
@ PrintStr 0,0, "I love being" @ PrintStr 0,1, "able to print " @ PrintStr 0,2, "so easily!"
Ok, the printing a variable solution:
PosX = 0 'position 0 of 84 in the x direction PosY = 0 'row 0 (of 0-5) gosub Lcd_GotoXY Lcd_Data = (result dig 3) + 48 gosub Lcd_SendChar PosX = 6 'position 6 of 84 in the x direction PosY = 0 'row 0 (of 0-5) gosub Lcd_GotoXY Lcd_Data = (result dig 2)+ 48 gosub Lcd_SendChar PosX = 12 'position 12 of 84 in the x direction PosY = 0 'row 0 (of 0-5) gosub Lcd_GotoXY Lcd_Data = (result dig 1) + 48 gosub Lcd_SendChar PosX = 18 'position 18 of 84 in the x direction PosY = 0 'row 0 (of 0-5) gosub Lcd_GotoXY Lcd_Data = (result dig 0) + 48 gosub Lcd_SendChar
This makes it a lot easier with a one liner:
@ PrintVar x,y, _anyvariablehere
@ PrintStr 0,0, "If I write more than one line, it will scroll to the next one, and next."
Re: Voltage regulation circuit 12V to 5V in 5A range
The 2A wall adapter was a quick fix to be able to continue testing.
Demon Today, 00:27The 9V 2A is holding up for now.