Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to check standalone esp test #1

Open
dawidqs opened this issue Jun 30, 2020 · 54 comments
Open

Try to check standalone esp test #1

dawidqs opened this issue Jun 30, 2020 · 54 comments

Comments

@dawidqs
Copy link

dawidqs commented Jun 30, 2020

Hi
I got bootloop with 3rd cut esp 8266 code. I'm only preconfigure ssid and password, ESP connect for while to AP, disconnect, do the configure AP for few secs and reboot.

Log with one loop:

connected with Slawcio, channel 1
dhcp client start...
ip:192.168.43.165,mask:255.255.255.0,gw:192.168.43.1

WiFi connected
IP address: 192.168.043.165
NTP Local UDP port: 2390
Control Local UDP port: 8666
HTTP server started
Fatal exception 9(LoadStoreAlignmentCause):
epc1=0x402145b7, epc2=0x00000000, epc3=0x00000000, excvaddr=0x3ffefc6b, depc=0x00000000

Exception (9):
epc1=0x402145b7 epc2=0x00000000 epc3=0x00000000 excvaddr=0x3ffefc6b depc=0x00000000

stack>>>

ctx: cont
sp: 3ffffd40 end: 3fffffc0 offset: 0190
3ffffed0: 40216604 3fff01ec 3fff0094 4021456c
3ffffee0: a5a5a5a5 3fa519a5 3ffe8c6e 402144e0
3ffffef0: ffffffff 3ffefc0d 3fff01ec 402144ff
3fffff00: 4021b6a8 4021b6bc 3fff01ec 3ffefab0
3fffff10: 00000001 3ffefc0d 3fff01ec 40207753
3fffff20: 000000a5 feefeffe feefeffe feefeffe
3fffff30: 00000000 00000000 00000000 00000000
3fffff40: 40207bcc 6e657300 4021b6bc 4021b6a8
3fffff50: 40207bcc 50445520 80efeffe 30302e00
3fffff60: feefef00 80efeffe feefef00 feefeffe
3fffff70: 80efeffe feefeffe feefeffe feefeffe
3fffff80: 0000000a 3ffeffd0 feefeffe feefeffe
3fffff90: feefeffe feefeffe feefeffe 3fff031c
3fffffa0: 3fffdad0 00000000 3fff02dc 40218efc
3fffffb0: feefeffe feefeffe 3ffe8520 40101305
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3456, room 16
tail 0
chksum 0x84
csum 0x84
va5432625
~ld

SDK:2.2.2-dev(38a443e)/Core:2.7.1=20701000/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-30-g92add50/BearSSL:5c771be
.
Final Load EEPROM adress 560

Blank Memory - Resetting Memory to Defaults
scandone
state: 0 -> 2 (b0)

SDK:2.2.2-dev(38a443e)/Core:2.7.1=20701000/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-30-g92add50/BearSSL:5c771be
Warp Speed no GPS !
Chip ID 17eec5
Configuring WiFi...
state: 2 -> 0 (0)
Configuring soft access point...
Starting access point...
SSID: Configure_0017EEC5
Password: ><
Soft AP IP address: >> IP 192.168.074.001 <<
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 8
cnt

My conf:
conf

@Dougal121
Copy link
Owner

Dougal121 commented Jul 1, 2020

I assume you have done an "eeprom save" after the first factory reset ?
This is sort of a catch all ... but it should do this on the very first boot ?
If it doesn't connect to your client AP you should be able to access it from the softAP to test and configure everything else ?

Hmm running on 2.7.1 (last time I tested this was 2.4.1)
I will check and see if that is the issue. Have already had another issue with 2.7.1 BUT I know that user is getting past boot as his issue was in the OTA upload.

I would note it's locking up when it try to access the RTC ? Try disconnecting this as a diagnostic

@dawidqs
Copy link
Author

dawidqs commented Jul 1, 2020 via email

@Dougal121
Copy link
Owner

YES it will run without everything... ie the bare ESP should be OK
I have a picture with a naked ESP32 board running the code connected to nothing but its inbuilt OLED display (the display is write only so it runs without that as well).

I may need to flash a virgin board to check the results you are seeing with 2.7.1

Stick to the third cut of the code as it is the only one kept up to date. And there are some issues in the older versions that took a lot of time to find and remove.

@ans-gw
Copy link

ans-gw commented Jun 23, 2022

Hi,
I m trying this new V3 Giune 2022,but got compile error :
exit status 1
'class ESPMail' has no member named 'addBCC'

Page "Email.ino": line 92-94:

if ( String(SMTP.BCC).length() > 5 ){
WDmail.addBCC(SMTP.BCC );
}

  • I cancel line 92-94(for try) and scetch will compile and upload and run into Esp8266 Nodemcu32.
  • I can connect wifi ,access menu ecc.
    I dont know which are the conseguence of cancel line 92-94!!!
    Please take a look.

Thank you...good job,really.
I actually use Esp32 version wth Gyro and Rtc module and all works ok.
Glad to see you fix Nord Emisphere problem...i just load it jesterday and work ok.

@Dougal121
Copy link
Owner

You need to add the ESPMail lib to your ardudino IDE ?
I will lookup the version number and put details up tonight if time permits

@ans-gw
Copy link

ans-gw commented Jun 24, 2022

Hi,
I add already Espmail.
Compile error is:
"exit status 1
'class ESPMail' has no member named 'addBCC'"

I google it and i find should be "AddBCC"...instead of "addBCC"...i tryed but get compile error.

If I cancel from Page "Email.ino" line 92-94,sketch compile Ok ,can upload it to Esp8266 Nodemcu.
"if ( String(SMTP.BCC).length() > 5 ){
WDmail.addBCC(SMTP.BCC );
} "

Unfortunatelly,I no have the knowledge,to solve it.

Thank you for help.

@ans-gw
Copy link

ans-gw commented Jul 3, 2022

You need to add the ESPMail lib to your ardudino IDE ? I will lookup the version number and put details up tonight if time permits

Now its working fine.Thanks for tip.
Why no have anymre GPIO settint on web interface?
Can you kindly explain wind speed sorce?
0 ADC-A0; 1 Other Tracker; 2 Open weather

Thanks you

@ans-gw
Copy link

ans-gw commented Jul 4, 2022

Today i was testing the system and I notice a problem:
After a loss of power,Esp8266 rebooted and get Time from Ntp server,so started calculation and turn on 1 Est relay...
but gyro was not installed and this cause East relay never torn off!
Very dangerous...fortunatelly i was testing on the workbench!

@ans-gw
Copy link

ans-gw commented Jul 5, 2022

......Huoston ,we have a problem!!!
Pin D8 can not be used on My ESP8266 Nodemcu !
If i start power on Esp8266 with Pin D8 connected....Esp will not boot.
If i plug pin D8 after boot ALL is Ok.
How to do?
Have free GPIO10 and GPIO9,but if i try to change here,I have error compile:
Pin was not declared for this scope.
const byte RELAY_XZ_PWM = D8 to GPIO10; // PWM 1 Speed North / South Was the X- S relay Orange
const byte RELAY_YZ_PWM = D5; // PWM 2 Speed East / West Was the Y+ W relay Blue
const byte RELAY_YZ_DIR = D6; // DIR 2 Y+ Y- East / West Was the Y- E relay Yellow
const byte RELAY_XZ_DIR = D7; // DIR 1 X+ X- North / South Was the X+ N relay Brown

With Esp32 version was easy,as can change pins from web interface...

Thanks for help.

@Dougal121
Copy link
Owner

Sorry been very busy.
Yes system does require sensors and limit switches for travel. In my case these are built into the unit actuators and give another level of protection should the computer go mad.
Yes only some of the pins on the ESP8266 can be used on relay boards... It stops the CPU booting ... Yes use another pin
Ummm to use pin GPIO10 just put in "10" ? The "D" designations don't always work unless your using EXACTLY the branded board. I often resort to writing a simple blink program to toggle pins then go looking for them with a meter, this checks my declarations.
Yes on the ESP32 I added a this to the web interface but you didn't really get a choice on the ESP8266 as it has only exactly the correct number of pins... esp32 has MORE than enough

@Dougal121
Copy link
Owner

I will get back on this shortly but I have to finish some paid work first unfortunately

@ans-gw
Copy link

ans-gw commented Jul 6, 2022

Sorry been very busy. Yes system does require sensors and limit switches for travel. In my case these are built into the unit actuators and give another level of protection should the computer go mad. Yes only some of the pins on the ESP8266 can be used on relay boards... It stops the CPU booting ... Yes use another pin Ummm to use pin GPIO10 just put in "10" ? The "D" designations don't always work unless your using EXACTLY the branded board. I often resort to writing a simple blink program to toggle pins then go looking for them with a meter, this checks my declarations. Yes on the ESP32 I added a this to the web interface but you didn't really get a choice on the ESP8266 as it has only exactly the correct number of pins... esp32 has MORE than enough

Thank for suggestion...I change D8 to 10 and compile ok...later i will try to upload and test.
I will update you later.
Thank you forthe great job with this solar Tracker.
In 15 months i get 6240 Khw with 3500 watt solar panel.

@ans-gw
Copy link

ans-gw commented Jul 7, 2022

I will get back on this shortly but I have to finish some paid work first unfortunately

OK...
I update you,after more tests:
GPIO 10-9-1-3 no one is working.I no understand?
Only D8...if i connect the pin after Esp8266 boot up.
I m changing only in line 92:
92 const byte RELAY_XZ_PWM = D8 to GPIO10; // PWM 1 Speed North / South Was the X- S relay Orange
May be have to change somewhere else?

I try also ota update ...but no work because http://154.118.046.026:81/update,
but if I write http://154.118.46.26:81/update is working Ok.
Becase assign ip with 0 154.118.046.026

Thanks for help.

P.s:with Rtc module connected i can see the new pages...ooo...super.

@Dougal121
Copy link
Owner

On these lines
const byte RELAY_XZ_PWM = D5; // PWM 1 Speed North / South Was the X- S relay Orange
const byte RELAY_YZ_PWM = D6; // PWM 2 Speed East / West Was the Y+ W relay Blue
const byte RELAY_YZ_DIR = D7; // DIR 2 Y+ Y- East / West Was the Y- E relay Yellow
const byte RELAY_XZ_DIR = D8; // DIR 1 X+ X- North / South Was the X+ N relay Brown
Try replacing all the "D?" with just the port numbers as written on the silkscreen of your board
These "D?" only really make sense if you on a WEMOS D1 R2 or similar board.
If you do a search for "pins_arduino.h" on your computer you will see how it all works... there is a file for every board type

As I said before you can use a blink program to test that the pins are what they say they are

@ans-gw
Copy link

ans-gw commented Jul 8, 2022

My board Pins have D1-D2 ecc as Wemos D1
Im testing all the day...I try with "D" and with pin number...no way.
Something very strange happens:
if i change the "D8"(NORTH) pin number in D9,D10 or GPIO3,GPIO1 or whatever pin,
tracking North South not working at all!!even if i no connect any wire to the pin!
D7 is SOUTH,relay D7 should work even if i modify D8!?
I suppose D8 is called in some other funcions...I try to check all sketch pages ,but i cant find(i m noob)

The only way scketch working is:turn on Esp8266 with D8 wire unplugged,and plug back after Esp8266 is boot up.
const byte RELAY_XZ_PWM = D7; // PWM 1 SOUTH Speed North / South Was the X- S relay Orange
const byte RELAY_YZ_PWM = D5; // PWM 2 WEST Speed East / West Was the Y+ W relay Blue
const byte RELAY_YZ_DIR = D6; // DIR 2 EAST Y+ Y- East / West Was the Y- E relay Yellow
const byte RELAY_XZ_DIR = D8; // DIR 1 north X+ X- North / South Was the X+ N relay Brown

This is my file pins_arduinoH in my Arduino folder, library Esp8266 Board V.2.7.1.
#ifndef Pins_Arduino_h
#define Pins_Arduino_h

#define PIN_WIRE_SDA (4)
#define PIN_WIRE_SCL (5)

static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;

#ifndef LED_BUILTIN
#define LED_BUILTIN 2
#endif
#define LED_BUILTIN_AUX 16

static const uint8_t D0 = 16;
static const uint8_t D1 = 5;
static const uint8_t D2 = 4;
static const uint8_t D3 = 0;
static const uint8_t D4 = 2;
static const uint8_t D5 = 14;
static const uint8_t D6 = 12;
static const uint8_t D7 = 13;
static const uint8_t D8 = 15;
static const uint8_t D9 = 3;
static const uint8_t D10 = 1;
#include "../generic/common.h"
#endif /* Pins_Arduino_h */

NodeMucuV3Up

@ans-gw
Copy link

ans-gw commented Jul 17, 2022

I got a Wemos D1 R2 ...wow...i was very happy,Solar Tracker V3 sketch,compile and upload smootly......,
but...I cant access Web Interface by NODE Ip address.(the one my router assign to Esp),
but I can access by CONFIG NODE Ip Addreess!
I think the problem is: This Esp8266 have a strange behavior,
cant change CONFIG NODE Ip addres;every time got same address even if i change my router Ip.
I even upload the sketch with Erase Flash + WiFi Setting..no success.
I try to set static Ip on the scketch,but unsuccessfully.
Please help me to set static Ip for CONFIG NODE Ip Addreess , and CONFIG NODE Ip Addreess
in the script.

Thank you very much.

@Dougal121
Copy link
Owner

Need to set the static IP and also the correct SSID and password
These are case sensitive
Use the config address to set the main address. Then save the settings in eeprom (in the web interface) , power down and power up again.
BTW what sort of encryption/authentication are you using in the router? I usually have WPA/WPA2 + AES & TKIP

@Dougal121
Copy link
Owner

If the signal is a bit weak then you just need to let the system sit till it connects ... this will happen as it retries every minute if it's offline.

OPS I see an issue ... Tracker hasn't acquired that code module yet... (very old code)
I can set all this in my other projects ...
Let me try and fix this tonight ish (maybe) and upload it for you ....
That way you will have option for static IP in the user interface. + the reconnect code

@Dougal121
Copy link
Owner

And yes the ESP can be very strange about this... Sorta gets stuck on one IP address ?
When in doubt I load another project into the board fire it up then load back to the one I want ...

@ans-gw
Copy link

ans-gw commented Jul 20, 2022

I try to set static Ip,but Esp keep stuck on one Ip address.The "Config Node Ip address".
Esp8266 take as Config Node Ip address" the Ip address of the Router,that is also the net gateway...
I try even to change router Ip address...but is the same.
The "Node Ip adrees" is Dhcp assigned from router.I can pink the Esp8266 at that address,but i cant access webinterface.
I try already to upload another sketch with EspHome and works ok.
I reinstall Solar Tracker sketch and Ip stuck.My router WPA/WPA2 + AES.
I see on internet that is Wemos DiR2 have this problem...ip stuck.I even buy the newer V2.1 .but nothing
My wifi signal is strong..3 meter from Ap.
Is 1 year im running Solar Tracker 2020 with Esp32 NodeMcu with ONLY Gyro connected never had a problem,exept when power go down and Esp32 fail to acquire back time and date from Ntp server.(you fixed with 2022 version).
Im using Esp8266 Nodemcu,the past month to try new Giune 22 Version...and no Ip problems.(exept pin D8 not working).

I m not sure if i set correctly the Ip in the sketch,so I post what i have done,please check it.
`` void BackIntheBoxMemory(){
uint8_t i , j ;
// ghks.lVersion = LVER ;
ghks.lVersion = MYVER_NEW ;
for ( i = 0 ; i < sizeof(ghks.npassword) ; i++ ){
ghks.npassword[i] = 0 ;
}
for ( i = 0 ; i < sizeof(ghks.nssid) ; i++ ){
ghks.nssid[i] = 0 ;
}
for ( i = 0 ; i < sizeof(ghks.cpassword) ; i++ ){
ghks.cpassword[i] = 0 ;
}

sprintf(ghks.nssid,"My Net 1\0"); // put your default credentials in here if you wish
sprintf(ghks.npassword,"1234\0"); // put your default credentials in here if you wish

sprintf(ghks.NodeName,"North Tower\0") ;
sprintf(ghks.timeServer, "au.pool.ntp.org\0") ;

ghks.localPort = 2390;
ghks.localPortCtrl = 8666;
ghks.RemotePortCtrl = 8664;

ghks.MyIP[0] = 192 ;
ghks.MyIP[1] = 168 ;
ghks.MyIP[2] = 1 ;
ghks.MyIP[3] = 100 ;

ghks.lNetworkOptions = 1 ; // DHCP I CHANGE FROM 0 TO 1
ghks.IPStatic[0] = 192 ;
ghks.IPStatic[1] = 168 ;
ghks.IPStatic[2] = 9 ;
ghks.IPStatic[3] = 123 ;

ghks.IPMask[0] = 255 ;
ghks.IPMask[1] = 255 ;
ghks.IPMask[2] = 255 ;
ghks.IPMask[3] = 0 ;

ghks.IPDNS = ghks.IPGateway ;

ghks.IPGateway[0] = 192 ;
ghks.IPGateway[1] = 168 ;
ghks.IPGateway[2] = 9 ;
ghks.IPGateway[3] = 1 ;
``

P.S.:1 very strange thing is happened: 2 Rtc Module dead.
First one after 3 days was connected to Esp32NodeMcu and Genuary 2022 program version.
Second one after 24 hours connected to Esp8266 NodeMcu.
In Both cases i had only to remuve Rtc Module and Tracker was still working,no damage to Esp32/8266 or to Gyro.
I dont know what happened.Probably no good quality goods from internet.

If you can fix the code for static ip would be very apreciated.
Thank you very much for your time.

@ans-gw
Copy link

ans-gw commented Jul 26, 2022

I manage to set a fix Ip.....
I modify Line 451 On TRacker EspTop:
ghks.MyIPC = IPAddress (192, 168, 3, 150);
After setting up i tested,but I discover that Pin D8 if connected to rele 4 on cause Wemos D1 R2 no boot!
Same as Esp8266 NodeMcu.
I dont understand,Tracker ESP32 was so easy to use.
Other Pins awailable no have In Wemos D1.
Would be very nice a Esp32 version.
Question:why you delevope the New version for Esp8266 and Not for Esp32?

Thank you for your time

@Dougal121
Copy link
Owner

Ive been working on the ESP8266 version .. will publish when it's all stable again
Yes your wish is on the list

@ans-gw
Copy link

ans-gw commented Aug 6, 2022

Ok..Thank you very much.
For now solar tracker is working with 1 axix(E/W) from 11 days no problem.
I use Wemos D1 R2.1 and Gyro only.This way all seems to work ok.

Something about calculation N/S:
Screenshot (167)

Hour Elevation should be 10.85,not -10.85 !!! ...i no understand

Thank you for jor job.

@ans-gw
Copy link

ans-gw commented Oct 8, 2022

Hi...you have any updates?
I switch back to Esp32 Genuary 2022 version(v3.3.5-1-g85c43024c)
It s running good...I use Esp32+Gyro only.
Thanks for your time

@ans-gw
Copy link

ans-gw commented Mar 16, 2023

Ok..Thank you very much. For now solar tracker is working with 1 axix(E/W) from 11 days no problem. I use Wemos D1 R2.1 and Gyro only.This way all seems to work ok.

Something about calculation N/S: Screenshot (167)

Hour Elevation should be 10.85,not -10.85 !!! ...i no understand

Thank you for jor job.

Hello,
i see you update ESP8266 project...do you have any update for Esp32 ?
Thank you

@Dougal121
Copy link
Owner

Dougal121 commented Mar 16, 2023

Hi... Only did that update to sync my laptop with github.
Had an issue and thought it might be a code update issue...

What time/date, lat, long and timezone was that picture snapped at ?
If you give me the numbers I will run and check it all here on hardware
You said esp32 version right ?

Relays can be a problem on ESP8266 pins yes ...
The Esp32 version is where I am concentrating work at present...
My time is however spread over several projects

@ans-gw
Copy link

ans-gw commented Mar 16, 2023

Hi...ah ok i see.
Was hoping in a ESP32 new version...because Esp8266 give me pin problems.

I dont remember time/date rrom that pic,so i send today one.
16 March 20:41
Time Zone:7.00
+6.48768902 ; 99.30296326.

Elevation 8.40 (Deg) ..should be -8.40.The sun still facing South..
Is this related to North Emisfere problem?

Some moths ago you told me have a new Esp32 version more developed...
can you eventually upload or send in private?..so I can test.

One question:
in Parameter-Minimum Angle N/S value:
the first line is SOUTH value - (in my case -10)
second line is NORTH value + (in my case +25)
is this correct?

Thank you very much .

Screenshot (266)

@Dougal121
Copy link
Owner

Yes just checked, my esp32 version is like 6 months on from github BUT it is broken at present (does not compile).
Need an hour or two to fix it ... I have solved the coding issues just need to splice fragments in.
Otherwise I would send it to you.
I think it has email , alarms, and environmental logging.
Give me a week and I see what I can do.

@Dougal121
Copy link
Owner

Dougal121 commented Mar 22, 2023

image
Just ran your numbers on full/real esp32 hardware (Malaysia?) against the noaa solar calc.
image
All looks about right for equatorial mount (I think)... have I missed a step ?
You need to only check calculations for daylight hours as you do get strange negative numbers a night.
If you swap mounts remember it only updates calculation on the minute (i.e. 0 seconds )
You are between in the tropics so the N/S will not stay positive all year as the sun will pass from north to south
image
The green and red lines are sunrise and sunset so looks like at will be negative for part of the day and positive for other bits as we pass through the equinox.

@ans-gw
Copy link

ans-gw commented May 1, 2023

Hi..sorry for late answer but I was not at home.
Im running equatorial mode,esp32 on my solar tracker(track E/W only,N/S not properly work).
Version is the old one from GitHub.
Im not in Malaysia,but in the last island in Thailand.Name Koh Lipe.
I test again on 27 April 1 Pm...and Elevatation is -7.09!? the sun is clearly facing north,so should be +7.09.
27April_1Pm

I try to test your last Esp32 version,but i got error code : redefinition of 'void i2cScan()'
probably because have I2CSCAN AND i2C-SCAN pages? !!confused!!

Thanks for helps.

Solar_tracker

@Dougal121
Copy link
Owner

Dougal121 commented May 1, 2023 via email

@Dougal121
Copy link
Owner

Dougal121 commented May 2, 2023

I will check what's loaded in the ESP32 section again tonight (time permitting)...
Your location is +6.48768902 ; +99.30296326. GMT +7 right ???
I will run the code on hardware again and compare to the web site

@ans-gw
Copy link

ans-gw commented May 2, 2023

Hi You realize that you can get negatives in the N/S plane if in the tropics depending on the time of year. Amazing pictures can I use this on the project page ?

Ok,you can use it..you the father of the software.-

Noa sun calc for that date tells 2.28....no -7.09 ....i think something wrong in the Calculation or i missing something?

@ans-gw
Copy link

ans-gw commented May 2, 2023

I have 1 problem with shadow in the morning...
Tracker start tracking at sunrise (6:11 am) and the lower part of my panels is on the shadow till 9,30...
would be possible setting a different time than sunset?...so tracker stay parking till 9.30 and after start tracking?

Thank you very much.

@Dougal121
Copy link
Owner

Dougal121 commented May 2, 2023

Um how does that help.
Is you park angle not shaded ?

On that picture you highlighted the equation of time 2.28 which is not the elevelation. It's an intermediate step in the calculations.
Look at the far right Az/El ... compare these to the second from the bottom numbers on the screen of the tracker.
Remember that is polar co-ordinates so El is only 0-90. Whereas our elevation/declination will be + or - as the Az is fixed as N/S (0/180) in the equatorial mount and the sun can go overhead across the arrays EW axis in the tropics depending on season.
image

WOW that is a small island ... Looks like a really nice place to live.

So can I use that photo of your tracker ?

@ans-gw
Copy link

ans-gw commented May 3, 2023

Yes..2.28 not elevation.
I no understand why tracker is not tracking N/S correctly.
-7.09(south) is wrong..the sun is facing North now.
From tracker: azimuth:310.88 /elevation:78.93 and Hour angle:8.54 / Elevation -7.09.
Can be something wrong in calculation?

You can use my tracker photo..

very small island name Koh Lipe in Thailand.nice place.no have cars.

About parking:
usually I set parking-10(not shaded,and good for wind)..and then at sunrise tracker start tracking and muve to -30 and here is shaded.
Would be nice if can set the time when the tracker start tracking...sunrise is to early...
9.30 is ok for me...so stay parking -10 till 9.30 and after start tracking and goew to -30.

Thank you very much.

@Dougal121
Copy link
Owner

Dougal121 commented May 3, 2023

What happens if you change the sign of N/S (X) axis multiplier in the GUI ?
I noticed one of my trackers is set to -1.0 and 1.0 is the default.
Some of these problems come down to frame of reference.

@ans-gw
Copy link

ans-gw commented May 4, 2023

My N/S (X) axis multiplier is +1..
I try to set -1,and Current Sensor Angle N/S goes from +13 to -13...
elevation still stay negative.

@Dougal121
Copy link
Owner

Yes but does it now point the right way

@ans-gw
Copy link

ans-gw commented May 10, 2023

Yes but does it now point the right way

No.Target angle is always -7.....should be eventually +7 because the sun is facing North.

@Dougal121
Copy link
Owner

Depends on how you define the axis. if you flip the measurement coordinate system the same target angle will represent the opposite angle.
Hence asking if it moved the right way ? Not did the target angle change.

@ans-gw
Copy link

ans-gw commented May 16, 2023

No,is not muving in the right direction.

@ans-gw

This comment was marked as outdated.

@ans-gw
Copy link

ans-gw commented Aug 9, 2023

Hi,
can you,please, explain how to set wind sensor?
I cant change the pins on Adc page!? if set go back to pin 2?!
what should set as "Mult" , "Ofs".,"Units".
Thank you for help.

@Dougal121
Copy link
Owner

Dougal121 commented Aug 17, 2023

I've just been updating all this...
Units is the SI unit for display ... see you wind senor specs/cal figures

The Ofs is the easiest as you can use the zero cal button to set it --- press this when you have zero quantity of wind for example . BUT you need to have the Mult set first.

Mult is the factor to get from ADC counts to Volts and then to your calibrated units..
This depends on how you setup things like your potential divider and the volts per SI unit of the sensor.

You trigger parking by setting an alarm action for it. One alarm to go into park at greater than the wind speed and one to come out at under a wind speed. You can also email on alarms.

I'm still working all this so bit might be a bit rough at present

@ans-gw
Copy link

ans-gw commented Aug 25, 2023

I m testing..
now adc pin setting is working ..
i m using wind sensor 0-30 KmH ,0-5 Volt.
I try with zeo cal and devider 6..look like wind speed is quite correct...
not sure 100%...shuold test with separate anemomether tester.

...working in progress
still not test alarm and emails..

good job
thank you

@ans-gw
Copy link

ans-gw commented Aug 31, 2023

Hi,
Gyro and RTC are working correctly,but i see I2C scan page dont detect Gyro and 2 of 4 entry of RTC module.

Please take a look.

Thank you
Screenshot (163)

@Dougal121
Copy link
Owner

press the "save active configuration" then save settings to eeprom on the main page.. will clean up the page. Tells the program what is normal.
You can then alarm on things when they go missing...

@Dougal121
Copy link
Owner

image
should look something like this if fully kitted out

@Dougal121
Copy link
Owner

The ADC stuff is way more generic now
image

@ans-gw
Copy link

ans-gw commented Sep 3, 2023

image should look something like this if fully kitted out

Hi,
yes,i see...all ok now.
Thanks

Ps:
I sent you a private email on 19 August...can you please check it?
may be goes to spam folder.
Thank you

@Vowa1982
Copy link

Vowa1982 commented Mar 20, 2024

ESP32 версия за 2022 года 6 месяца загружаемая. А вот версия 2023 года 8 месяца уви не компилирует ошибка i2C_SCAN и NTP и I2CSCAN

@Vowa1982
Copy link

Vowa1982 commented Apr 2, 2024

у мене есть пита[code]

void i2cScan() {
uint8_t i, address, error;
uint8_t first = 0x03 ;
uint8_t last = 0x77 ;
char buff[10];

SendHTTPHeader();

server.sendContent(F("Home
")) ;
server.sendContent(F("Rescan

")) ;

server.sendContent(F("

I2C Bus Scan
"));
// table header
for (i = 0; i < 16; i++) {
server.sendContent("");
}
server.sendContent(F(""));

// table body
// addresses 0x00 through 0x77
for (address = 0; address <= 119; address++) {
if (address % 16 == 0) {
server.sendContent(F("

"));
server.sendContent("");
}
if (address >= first && address <= last) {
Wire.beginTransmission(address);
error = Wire.endTransmission();
if (error == 0) {
// device found
server.sendContent("");
} else if (error == 4) {
// other error
server.sendContent(F(""));
} else {
// error = 2: received NACK on transmit of address
// error = 3: received NACK on transmit of data
server.sendContent(F(""));
}
} else {
server.sendContent(F(""));
}
if (address % 16 == 15) {
server.sendContent(F(""));
}
}
server.sendContent(F("
."+String(i,HEX)+"
"+String((address & 0xF0),HEX)+""+String((address),HEX)+"XX--.
\r\n"));
}

[/code]ння

@ans-gw
Copy link

ans-gw commented Sep 24, 2024

The ADC stuff is way more generic now image

Hi Dougal,wind parking seems not working for me
I done all the setting,set alarm, but panel dont go to wind park.
May be I miss something?!
Is wind parking vorking for you?
Can you please take a look?

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants