Forum Replies Created
I haven’t had time to check on the project the last two weeks but I have installed the prototype 2 end it’s working flawlessly in the garden since then.
I will try to compile your new version soon and will let you know.
At least the previous code was using the memory on the RTC module so it won’t work without it. From what I can see it doesn’t find any I2C devises and that’s
why it stays in the boot loop.
No I2C devices found
As Ray mentioned some ESP8266 modules have incorrectly swapped GPIO 4 and 5 pins (I2C pins). So maybe try to swap the cables and see if it works.
-A remote master unit and several slave units is a great idea. There are many situation where you have sprinklers in different areas of a house and a single interface to handle them all would be really helpful.
-Local sensors would greatly improve accuracy and flexibility of weather adjustment.
-As for the local control, I don’t use it very much but some users may benefit of it.
When you can please upload the logging fix so I can check it. I don’t have much time but I’m interested in this project and I’ll do my best to help.
I didn’t find any other bugs, only some errors in the schematic you posted.
-SCL SDA lines are inverted on nodeMCU
-LCD PCF8574 P1 goes to LCD RW
-LCD PCF8574 P2 goes to LCD E
-LCD A1 A2 A3 should go to VCC for the default LCD address
also you should consider not using pin define that are nodeMCU specific
e.g. #define SDA_PIN 4 //D2 //:this is standard….it may be changed
so that the code will be compatible with other esp8266 modules
I can also confirm the flow sensor is working. The only think that doesn’t work as you already mentioned is logging. Getting Error retrieving log data. Please refresh to try again.
My breadboard is working and I have tested most of the OS features. Today I also added buttons. I used buttons on ESP GPIOs pins(12,14,16 on a NODEMCU 0.9) they need pull-up resistors to properly work but everything works fine.Tried also the ADC buttons on a DFrobot(freetronics) shield but they didn’t work first try but I didn’t put much effort in it. Do you need me to check any future or specific hardware configuration?
The new branch works like a charm!
I also had trouble logging into the web server(it didn’t accept the default password). Fixed it by deleting stored data on Mozilla.
I’m using a relay board for the output which is active low, so I had to reverse the output logic. Posted some changes on github.
Don’t worry about the time zone I’m also in Europe Greece.
Thank you for your quick reply!
I’ve build the circuit lcd and opensprinkler work but it doesn’t recognize the PCF8574 so no output.This is the serial output `wire begin
I2C device found at address 0x21 unknown
I2C device found at address 0x27 unknown
I2C device found at address 0x57 AT24Cxx
I2C device found at address 0x68 DS3231
Setting software MAC
Using http port 80
Reading password file….
6 networks found
0: home_No_internet (-46)* passw. available
1: Pargas_Distillery_Amicos_f&bar (-75)
2: home_No_internet (-77)* passw. available
3: Pargas_Distillery_Amicos_f&bar (-45)
4: 01.EpavliVeneti (-89)*
5: Test (-66)*
Connecting to home_No_internet
Server started IP=192.168.1.4
Local IP: 192.168.1.4
Gateway IP: 192.168.1.39
DNS IP: 192.168.1.39
DHCP IP setup successful
Ethernet setup complete
I didn’t have enough time to build the project but I was able to compile it. I had problems with (#include ../) statements. I fixed this by moving all files to the same folder and get rid of (../). Also the LiquidCrystal-I2C-library that you linked didn’t compile and I used this one https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/LiquidCrystal_V1.2.1.zip
I will probably build the proto 2 circuit tomorrow but I couldn’t figure out where you declare the I2C addresses. It would be helpful if you can post a circuit schematic.
Thank you for your effort, great job!
That’s great! Can you upload the code?
OK, I’ll start building and help you debug as soon as you post your design.
Hi I’m also interested in this project. If you could post your code and schematics (maybe open a github page would be easier for everyone). I could help in debug.