Search found 252 matches

by elmaya
Mon Oct 21, 2019 9:44 am
Forum: Ideas and concepts
Topic: thermostat with Oled display
Replies: 46
Views: 2615

Re: thermostat with Oled display

Remember Gpio 9 need external pull up resistor ;)
by elmaya
Mon Oct 21, 2019 9:34 am
Forum: Ideas and concepts
Topic: thermostat with Oled display
Replies: 46
Views: 2615

Re: thermostat with Oled display

Where on wemos d1 mini is GPIO9? I was looking for a pinout on Google, but I'm not sure. And should I short it to ground or 3.3V? https://raw.githubusercontent.com/ermaya/Supla-esp8266-arduino-Ide/master/supla_Termostst_oled_sensor/wemos-d1-mini_Gpio9.jpg https://raw.githubusercontent.com/ermaya/Su...
by elmaya
Sun Oct 20, 2019 9:05 pm
Forum: Ideas and concepts
Topic: thermostat with Oled display
Replies: 46
Views: 2615

Re: thermostat with Oled display

Here you have the last state. #include <FS.h> // ---- esp board manager 2.4.2 --- iwip Variant V2 higher Bandwidth #include <ESP8266WiFi.h> #define SUPLADEVICE_CPP #include <SuplaDevice.h> #include <math.h> #include <DNSServer.h> #include <WiFiManager.h> #include <ArduinoJson.h> //--------- https://...
by elmaya
Sat Oct 19, 2019 11:49 am
Forum: Pomysły i koncepcje
Topic: woltomierz 6 wejść na arduino mega
Replies: 28
Views: 833

Re: woltomierz 6 wejść na arduino mega

Doing readings of 30 volts with a resolution of 10 bit does not give more.
Anyway using lithium batteries in series without balancing seems like a very bad idea.
With a 4€ chip it solves all the problems, I would use BQ76930.
by elmaya
Sat Oct 19, 2019 9:47 am
Forum: Pomysły i koncepcje
Topic: woltomierz 6 wejść na arduino mega
Replies: 28
Views: 833

Re: woltomierz 6 wejść na arduino mega

It is not ideal but it will work.

Image

Channel 0 to 6 show the voltage of each segment and 7 the total voltage.
supla_S7.rar
Arduino & compiled firmware
(385.11 KiB) Downloaded 3 times
by elmaya
Fri Oct 18, 2019 7:56 pm
Forum: Pomysły i koncepcje
Topic: woltomierz 6 wejść na arduino mega
Replies: 28
Views: 833

Re: woltomierz 6 wejść na arduino mega

There are many examples and the communication protocol is there.
for example this.
https://github.com/nseidle/BMS
by elmaya
Fri Oct 18, 2019 7:38 pm
Forum: Pomysły i koncepcje
Topic: woltomierz 6 wejść na arduino mega
Replies: 28
Views: 833

Re: woltomierz 6 wejść na arduino mega

I think it would be better to use for example BQ76930 to balance, protect and read the voltages of the batteries controlled from esp8266 through I2C

Image

It would be a much more effective design.
by elmaya
Fri Oct 18, 2019 5:13 pm
Forum: Pomysły i koncepcje
Topic: woltomierz 6 wejść na arduino mega
Replies: 28
Views: 833

Re: woltomierz 6 wejść na arduino mega

What is being used to balance the batteries?
by elmaya
Fri Oct 18, 2019 12:48 pm
Forum: Pomysły i koncepcje
Topic: woltomierz 6 wejść na arduino mega
Replies: 28
Views: 833

Re: woltomierz 6 wejść na arduino mega

I will see it as soon as I have some free time. ;)
by elmaya
Thu Oct 17, 2019 6:56 pm
Forum: Nowości
Topic: ESP8266 Primary GUI v2
Replies: 477
Views: 14021

Re: ESP8266 Primary GUI v2

W atmega czy attiny na początku zawsze ustala się piny wejście/wyjście oraz ich stan wysoki/niski w Arduino nie widzę nic takiego. Chciałbym zmienić stan dla GPIO, które odpowiada za konfigurację pod przełącznik dotykowy, który wystawia po dotknięciu stan wysoki. Czy w Arduino nie dokonuje się taki...