Please try now.
I have changed cfg btn from GPIO2 to GPIO0
Anyway you should see anything on the consle.
Use for example Putty to monitor serial port.
You should set 74880 baudrate.
Using SUPLA with my own created Hardware
-
- Posts: 16
- Joined: Mon May 30, 2016 8:34 am
Hi,
now it's working fine but!!
1-nothing on serial serial monitor on any usable Bud rate , only some trash on start booting.
2- the app didn't get the set of buttons by default i have to go to SUPLA cloud and set the function of each IO - channel - is that the default process or something wrong in my setup /FW.
3- when updating any info like button description or type the App and the Board reset.
4-no RGB color picker , and dimmer not working for me - is it 255 or 1023 resolution?
5- the Cloud console very informative but the design is not user friendly - complicated for the majority .
again over all it's great looking and nicely presented App , still missing the way to allow the user to create his own Custom FW , which can allow read some other web API data using Restful for example.
now it's working fine but!!
1-nothing on serial serial monitor on any usable Bud rate , only some trash on start booting.
2- the app didn't get the set of buttons by default i have to go to SUPLA cloud and set the function of each IO - channel - is that the default process or something wrong in my setup /FW.
3- when updating any info like button description or type the App and the Board reset.
4-no RGB color picker , and dimmer not working for me - is it 255 or 1023 resolution?
5- the Cloud console very informative but the design is not user friendly - complicated for the majority .
again over all it's great looking and nicely presented App , still missing the way to allow the user to create his own Custom FW , which can allow read some other web API data using Restful for example.
-
- Posts: 19472
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Hi.
1. You should connect RX, TX and GDN from FTDI to ESP. (check GND)
2. For your device there is no default settings. If you tell me which functions you need on which channel as defaults then I reconfigure environment for your device.
3. This should work this way
4. I wrote to you that this function is not implemented yet. Give me more time.
5. ....
1. You should connect RX, TX and GDN from FTDI to ESP. (check GND)
2. For your device there is no default settings. If you tell me which functions you need on which channel as defaults then I reconfigure environment for your device.
3. This should work this way
4. I wrote to you that this function is not implemented yet. Give me more time.
5. ....
-
- Posts: 16
- Joined: Mon May 30, 2016 8:34 am
thanks alot
for the serials monitor , i know how to connect it but i tried and get nothing i will try to use different TTL USB device.
i will send you some question please check your inbox.
for the serials monitor , i know how to connect it but i tried and get nothing i will try to use different TTL USB device.
i will send you some question please check your inbox.
-
- Posts: 19472
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
You can download firmware with RGB support
https://github.com/SUPLA/ESP8266/tree/master/EgyIOT
https://github.com/SUPLA/ESP8266/tree/master/EgyIOT
-
- Posts: 16
- Joined: Mon May 30, 2016 8:34 am
thanks for taking time to made this , i will give it a try today and i will let you know.
-
- Posts: 16
- Joined: Mon May 30, 2016 8:34 am
looking at the updated source files i figured that some changes still required before testing, as in that file https://github.com/SUPLA/supla-core/blo ... _devconn.c i see that all PWM values are used with resolution between 0 - 255 and that OK with 16bit MCU , but you know that ESP8266 is 32bit so the PWM resolution between should be 0 - 1023.
please change it so i can test it
thanks
please change it so i can test it
thanks
-
- Posts: 19472
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
This is not PWM resolution it is color range (0-255).
PWM period is set to 1Khz so duty range is 0-22222
https://github.com/SUPLA/supla-core/blo ... _pwm.c#L21
https://github.com/SUPLA/supla-core/blo ... _pwm.c#L51
Look at ESP8266 chip documentation.
PWM period is set to 1Khz so duty range is 0-22222
https://github.com/SUPLA/supla-core/blo ... _pwm.c#L21
https://github.com/SUPLA/supla-core/blo ... _pwm.c#L51
Look at ESP8266 chip documentation.
-
- Posts: 16
- Joined: Mon May 30, 2016 8:34 am
sorry i was thinking it's for the PWM not the color range.