Forum Replies Created
-
AuthorPosts
-
fivosParticipant@pbecchi
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.
Sorry but I’m also not familiar with python and/or in javascript. I’m an electrical engineer, so more into the hardware side of things.
I will try to compile your new version soon and will let you know.
@ganralf
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.
Scanning..I2C…..
No I2C devices foundAs 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.
fivosParticipant@pbecchi
-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
fivosParticipantI 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.
fivosParticipantMy 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?
fivosParticipantThe 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!
fivosParticipantI’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
Scanning..I2C…..
I2C device found at address 0x21 unknown
I2C device found at address 0x27 unknown
I2C device found at address 0x57 AT24Cxx@87
I2C device found at address 0x68 DS3231@104
donesb=0
0D0a87<W>320D1a87<W>330D2a87<W>340D3a87<W>350D4a87<W>360D5a87<W>370D6a87<W>380D7a87<W>39<W>12//logs/10956.txt
//logs/10957.txt
//logs/16882.txt
//logs/16883.txt
/stns.dat
b1=1
b2=1
b3=1
OptSetup…
weather.opensprinkler.com
25
216
r
0no butinit…
clock…
Time printed…
Connecting…
Setting software MAC
Ethernet initialised
Using http port 80
scan start
scan done
Reading password file….
h@##@#@#@#@#@#@#@#@
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)*
@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@15Wait WIFI…Connecting to home_No_internet
Server started IP=192.168.1.4
Config: DHCP
MAC: 0:69:69:2D:31:1
Local IP: 192.168.1.4
Gateway IP: 192.168.1.39
DNS IP: 192.168.1.39
Netmask: 255.255.255.0
OptionsWrite OS:216
216
DHCP IP setup successful
Ethernet setup complete
sb=0
0D0a87<W>320D1a87<W>330D2a87<W>340D3a87<W>350D4a87<W>360D5a87<W>370D6a87<W>380D7a87<W>39Setup complete
-_1
`
fivosParticipantI 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!
fivosParticipantThat’s great! Can you upload the code?
fivosParticipantOK, I’ll start building and help you debug as soon as you post your design.
fivosParticipantHi 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.
-
AuthorPosts