On the NEXTION LCD, we first created a clock. I emphasized design and looked for an icon.I use the icon of ICOOON MONO below. http://icooon-mono.com/ Since fonts need to be created and used on the tool, we installed free fonts on Windows.I used Google’s noto font. https://www.google.com/get/noto/ I am using Noto Sans Display. We use RTC to manage the calendar.
NEXTION LCD connected to GR-ADZUKI. First, create a screen with NextionEditor.。 I made a screen of 2 pages based on the CompText sample program. Upload the created screen program to the NEXTION LCD beforehand. The library ITEADLIB_Arduino_Nextion – 0.7.0 could not be used as it was. utoa (number, buf, 10);
sprintf (buf, “% d”, number); Change to.
NexCrop.cpp These files are targeted. Next is the setting of the serial port connected to the NEXTION LCD. Use 7 pin and 8 pin serial 1.
#define nexSerial Serial2 with
#define nexSerial Serial1 Change to. It worked without problems. You can move pages by touching the SpineEdge logo image. The sample program is below. https://github.com/jendo1969/GR-ADZUKI2/tree/master/nextion/CompText
Red beans growing further. I got a log of temperature, illuminance and moisture. It is data of July 30th. Moisture is rising with morning watering. The temperature is over 40 ° C at the observation point.A very hot day continues. Illuminance starts to brighten around 4:30.It is dark around 19 o’clock.
Red beans grow big. We made it possible to record temperature and illuminance on SD card every minute for RTC. First of all, I tested the room temperature and illuminance for 24 hours. We made it possible to set RTC date and time by serial communication. Illuminance is rising with electric light when in the office. Temperature also drops sharply with the air conditioner. The sample program is shown below. https://github.com/jendo1969/GR-ADZUKI2/blob/master/SD/Datalogger3/Datalogger3.ino
It is the continuation of red bean cultivation of GR-ADZUKI. Red beans germinated.About a half of 12 shares germinate in one week. The temperature was recorded on the SD card at 1 second intervals. We recorded for 4.5 hours from 15 o’clock on the 14th.Since the shade was falling in the evening, the temperature is gradually decreasing from around 24.5 ° C.
I will continue observation.