Search found 10 matches

by Trelsonowsky
23 Jun 2023, 00:12
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

Well the problem is, the same thing happens with a dcdc step down converter. Also I don't have too many other options to get something of this size with protection and 3 volts. LiPo is problematic since most bms for them, cutoff the voltage at 2.5 which might be ok for a 18650 battery, but isn't for...
by Trelsonowsky
22 Jun 2023, 20:08
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

It's always uphill for me. It works perfectly when powered via usb programator, but whenever I power it from a regulated 9V battery, the whole thing freezes after one button press(the number increases once though) and voltage regulator gets very hot. Do you think you could help me? :) Or should I ma...
by Trelsonowsky
21 Jun 2023, 00:03
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

Tried to do it myself BUT there is no Autosave interval. What do? :'( To store the counter value you can use a Level Control task. That has an option to save the value, but can incorporate some delay, to avoid wearing out the Flash storage by saving too often. The GPIO option can be ignored, and the...
by Trelsonowsky
20 Jun 2023, 23:34
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

Yup, that was it. Thanks!
by Trelsonowsky
20 Jun 2023, 22:33
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

Ok as it turns out, "normal" version contains both Display and Level Control modules. I tried a counter with Level Control but it's not working. Pressing the button changes it's state from 0 to 1 and vice versa, and so is the level control, just the oposite value.
https://imgur.com/a/ggRIfjH
by Trelsonowsky
20 Jun 2023, 22:06
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

Can that be done with dummy device?
My options are kinda limited
I dont think soldering a 4M chip is a viable option since it would require microsoldering and I dont have equipment for that.
Image
by Trelsonowsky
20 Jun 2023, 21:57
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

I unfortunately don't have a Level Controll option as a device. Im using ESP01 and my options are kinda limited( im using ESP_Easy_mega_20220616_custom_ESP8266_1M). I don't mind wearing out flash, these modules are dirt cheap so I can just get a new one.
by Trelsonowsky
20 Jun 2023, 21:44
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Re: Tally counter with SSD1306 OLED

Hey, works perfectly thanks
And for a "negative button" this would work right?

Code: Select all

on button2#switch do
  // Reduce the counter in variable #1
  let,1,[int#1]-1
endon
by Trelsonowsky
20 Jun 2023, 20:37
Forum: ESP Easy: Projects / Applications
Topic: Tally counter with SSD1306 OLED
Replies: 19
Views: 3097

Tally counter with SSD1306 OLED

Hello, Is it possible to make a simple counter that would add "1" to a value displayed on SSD1306 display, every time a button is pressed? I'm pretty clueless if it comes to rules. I have both display and a button setup correctly but I can't get it to work together. What would be perfect i...
by Trelsonowsky
26 Jul 2022, 02:24
Forum: ESP Easy: Software
Topic: Use Rotary Encoder no counter just up or down
Replies: 6
Views: 5794

Re: Use Rotary Encoder no counter just up or down

Hi, this is a long shot as this post was last active in 2021 but.. The code you've posted isn't working for me. Whenever I turn the encoder I only get this and no IR commands are sent. 250812 : Info : QEI : 31 250816 : Info : EVENT: VOL#Counter=31 251612 : Info : QEI : 30 251616 : Info : EVENT: VOL#...