But please,the sketch with the new lcd.
The circuit is the same (unless you bought a different LCD). It’s just a code change to define how many lines and columns it can show. I’m done with computers today - it’s time to pack for a weekend away!
I wish you a great weekend my friend😊!
This is the lcd i have.If it s not good, i will buy another,but i don t know what kind,i thought this nokia lcd is the one in the video. Talk to you when you will be back and you will have time
I wish you again a great weekend
Oh! I’m so sorry, I misunderstood and reworked the code for a 20x4 version of the same LCD. When I’m home tomorrow I’ll change the circuit and the code. Sorry but I don’t have my computer with me today.
I’m having to apologise again. We got home and I was so tired I didn’t bother touching my computer.
Not a problem, I understand that you were tired. When you have time, I know that you will not forget about our project my friend Thanks for everything!
Here’s the updated circuit:
https://www.circuito.io/app?components=97,97,97,9088,9442,10167,10168,11021,13322,3061987,3061987
Next step … CODE!
Please note that the new circuit uses different pins so please re-write your breadboard before you test with the latest code.
Also please download the entire ZIP file rather than just the latest INO code file because there are new libraries that the Nokia display uses and it won’t compile without them.
You can get the code here: https://github.com/bernhard-hofmann/circuito.io-4045
Please could you post a short video of the display when it runs the diagnostics? The Nokia display library is new to me and I don’t know what happens when I keep printing lines to it. Does it scroll? Does it overwrite the last line? Does it wrap around to the top?
Wow thank you Now I start to mount the new circuit on the breadboard and afterwards I try to send you a video
it has an error
exit status 1
Error compiling for board Arduino Uno
Arduino: 1.8.11 (Mac OS X), Board: “Arduino Uno”
In file included from /Users/admin/Downloads/circuito.io-4045-master 2/AutoWater/AutoWater.ino:2:0:
/Users/admin/Documents/Arduino/libraries/circuito.io-4045-master/gfxfont.h:11:2: error: ‘uint16_t’ does not name a type; did you mean ‘char16_t’?
uint16_t bitmapOffset; // Pointer into GFXfont->bitmap
^~~~~~~~
char16_t
/Users/admin/Documents/Arduino/libraries/circuito.io-4045-master/gfxfont.h:12:2: error: ‘uint8_t’ does not name a type
uint8_t width, height; // Bitmap dimensions in pixels
^~~~~~~
/Users/admin/Documents/Arduino/libraries/circuito.io-4045-master/gfxfont.h:13:2: error: ‘uint8_t’ does not name a type
uint8_t xAdvance; // Distance to advance cursor (x axis)
^~~~~~~
/Users/admin/Documents/Arduino/libraries/circuito.io-4045-master/gfxfont.h:14:2: error: ‘int8_t’ does not name a type; did you mean ‘int’?
int8_t xOffset, yOffset; // Dist from cursor pos to UL corner
^~~~~~
int
/Users/admin/Documents/Arduino/libraries/circuito.io-4045-master/gfxfont.h:18:2: error: ‘uint8_t’ does not name a type
uint8_t *bitmap; // Glyph bitmaps, concatenated
^~~~~~~
/Users/admin/Documents/Arduino/libraries/circuito.io-4045-master/gfxfont.h:20:2: error: ‘uint8_t’ does not name a type
uint8_t first, last; // ASCII extents
^~~~~~~
/Users/admin/Documents/Arduino/libraries/circuito.io-4045-master/gfxfont.h:21:2: error: ‘uint8_t’ does not name a type
uint8_t yAdvance; // Newline distance (y axis)
^~~~~~~
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
Please copy all the files from GitHub, not just the .ino file.
I still have a little problem, after you noticed in the pictures with my lcd, the pins are named differently than the lcd pins in the circuit
And they are in another order. Order would not be the problem, but I do not know what pin on my lcd is the dc pin and cs pin i think i guessed the rest of them.But please look at the picture with my lcd and if you know,please tell me know which pines correspond to those of the lcd in the circuito.
I’m sorry,I’m not good at this
i will try again thanks
now this error appears, I try again to copy from githud, I crushed …
I am blocked, I do not know what to do :(. I go to github click clone or download, enter download folder on my laptop,double click on the zip and a folder appears, if I copy the folder to the arduino library, I close the arduino program and restart it. When I restart it says the library "circuito.io-4045-master2"cannot be used i m confused…
if i copy the folder circuito.io-4045 in the arduino sketch,close and restart the arduino,program starts
without saying something is wrong,but when i check the code,another error apear then when the circuito 4045 folder was in the library
I think when copying the folder circuito.io4045 in the library, however, part of what was in the folder worked
I hope i can make myself understood,i m not very good at Englis
Save me my friend
Arduino: 1.8.11 (Mac OS X), Board: “Arduino Uno”
AutoWater:46:21: error: no matching function for call to ‘DHT::DHT(int)’
DHT dht(DHT_PIN_DATA);
^
In file included from /Users/admin/Documents/Arduino/circuito.io-4045-master 2/AutoWater/AutoWater.ino:3:0:
/Users/admin/Documents/Arduino/libraries/DHT-sensor-library-master/DHT.h:49:4: note: candidate: DHT::DHT(uint8_t, uint8_t, uint8_t)
DHT(uint8_t pin, uint8_t type, uint8_t count=6);
^~~
/Users/admin/Documents/Arduino/libraries/DHT-sensor-library-master/DHT.h:49:4: note: candidate expects 3 arguments, 1 provided
/Users/admin/Documents/Arduino/libraries/DHT-sensor-library-master/DHT.h:47:7: note: candidate: constexpr DHT::DHT(const DHT&)
class DHT {
^~~
/Users/admin/Documents/Arduino/libraries/DHT-sensor-library-master/DHT.h:47:7: note: no known conversion for argument 1 from ‘int’ to ‘const DHT&’
/Users/admin/Documents/Arduino/libraries/DHT-sensor-library-master/DHT.h:47:7: note: candidate: constexpr DHT::DHT(DHT&&)
/Users/admin/Documents/Arduino/libraries/DHT-sensor-library-master/DHT.h:47:7: note: no known conversion for argument 1 from ‘int’ to ‘DHT&&’
/Users/admin/Documents/Arduino/circuito.io-4045-master 2/AutoWater/AutoWater.ino: In function ‘void runDiagnostics()’:
AutoWater:131:18: error: ‘class DHT’ has no member named ‘readTempC’; did you mean ‘readTemperature’?
dhtTempC = dht.readTempC();
^~~~~~~~~
readTemperature
/Users/admin/Documents/Arduino/circuito.io-4045-master 2/AutoWater/AutoWater.ino: In function ‘void FanControl()’:
AutoWater:236:18: error: ‘class DHT’ has no member named ‘readTempC’; did you mean ‘readTemperature’?
dhtTempC = dht.readTempC();
^~~~~~~~~
readTemperature
Multiple libraries were found for “DHT.h”
Used: /Users/admin/Documents/Arduino/libraries/DHT-sensor-library-master
Not used: /Users/admin/Documents/Arduino/libraries/circuito.io-4045-master
exit status 1
no matching function for call to ‘DHT::DHT(int)’
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
I renamed circuito.io-4045 master, BHofmann now I realized that tha name had to be changed to can ad it to libary. But this error still appears.
Arduino: 1.8.12 (Mac OS X), Board: “Arduino Uno”
In file included from /Users/admin/Documents/Arduino/libraries/BHOFMANN/AutoWater/AutoWater.ino:2:0:
/Users/admin/Documents/Arduino/libraries/BHOFMANN/gfxfont.h:11:2: error: ‘uint16_t’ does not name a type; did you mean ‘char16_t’?
uint16_t bitmapOffset; // Pointer into GFXfont->bitmap
^~~~~~~~
char16_t
/Users/admin/Documents/Arduino/libraries/BHOFMANN/gfxfont.h:12:2: error: ‘uint8_t’ does not name a type
uint8_t width, height; // Bitmap dimensions in pixels
^~~~~~~
/Users/admin/Documents/Arduino/libraries/BHOFMANN/gfxfont.h:13:2: error: ‘uint8_t’ does not name a type
uint8_t xAdvance; // Distance to advance cursor (x axis)
^~~~~~~
/Users/admin/Documents/Arduino/libraries/BHOFMANN/gfxfont.h:14:2: error: ‘int8_t’ does not name a type; did you mean ‘int’?
int8_t xOffset, yOffset; // Dist from cursor pos to UL corner
^~~~~~
int
/Users/admin/Documents/Arduino/libraries/BHOFMANN/gfxfont.h:18:2: error: ‘uint8_t’ does not name a type
uint8_t *bitmap; // Glyph bitmaps, concatenated
^~~~~~~
/Users/admin/Documents/Arduino/libraries/BHOFMANN/gfxfont.h:20:2: error: ‘uint8_t’ does not name a type
uint8_t first, last; // ASCII extents
^~~~~~~
/Users/admin/Documents/Arduino/libraries/BHOFMANN/gfxfont.h:21:2: error: ‘uint8_t’ does not name a type
uint8_t yAdvance; // Newline distance (y axis)
^~~~~~~
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.