Comments (16)
Hello!
First of all, thank you for detailing your issue.
don't think i made an error there.
Yes, it looks all good.
Once I remove it from the pcb, uploading the code works just fine. Can anyone comfirm the same behaviour?
I have the same behavior, it's because of the link between D0 and RST which is used to add the possibility of deep sleep.
i noticed a difference in pinout, I found it to be: (gnd - 5v - 20v - ser)
The serial and 5V pin are both at 5V, how did you tell the difference?
I hope I have answered a majority of your questions!
Do you have some resistors (above 1kOhm) and a multimeter at your disposal? There is a way to surely differentiate between serial and 5V.
Have a great day,
Philibert
from micronova_controller.
Hi Philibert,
First of all, thanks for the excellent work done so far, great stuff! quite stunned :)
The serial and 5V pin are both at 5V, how did you tell the difference?
Well..I wasn't sure what voltage to expect on the serial pin when measuring.
I have a pin which caries no voltage referenced to ground, and since I already had a 5v and 20v present; i figured it was the serial pin .. (was gonna ask how to be sure of this ;))
So that would explain why i get nothing; the 5v pin i measure will be the serial as per original pinout...
I do have resistors/multimeter at my disposal so if you got a trick to make sure, i'm all ears
Now what to do with the pin with no voltage... i measured it a few time, and to the ground pin i have 0v where you have 5v :)
i'll hook the pinout up as per spec/doc tonight or tomorow
Thanks for the help!
J
from micronova_controller.
I do have resistors/multimeter at my disposal so if you got a trick to make sure
Okay, nice!
To check which pin is serial, put your multimeter between GND and one of the two 5V pins. After, connect this pin to the GND via a resistor of more than 150 Ohm (not to make a short circuit or exceed the limit of 0.25W of a resistor), you can check if this pin is now at 0V. In this case, it is the serial pin, otherwise, it is the power supply pin.
Is this clear? I could make a diagram if you want.
From what you have described, the pinout described on the doc should actually be good, but it is always good to check.
Regards,
Philibert
from micronova_controller.
Hi Philibert
little time, little knowledge, so progress is slow :)
I measured all pins again, and tried the resistor test to pull the serial to 0V.
It identified the documented 5V pin as the serial, good news!
The other pin (power) however remains at 0v instead of 5V all the time.
nevertheless, I corrected the wiring to the PCB and hooked it up to the stove but got no other messages from the ESP on the subscribed broker channels than "connected" on /pong.
nothing on /ambtemp, /state or /onoff
I connected another mqtt client to the broker and published messages on these topics, to check if my broker setup was working correctly. They showed up just fine on the first client.
I can however turn on the stove by publishing ON to /intopic, but the stove wont turn off when sending OFF.
I then loaded the on/off test.ino, and that worked. The stove went on and off again. Nice!
So why wont it turn OFF then when publishing OFF to /intopic.... weird.
it looks like a problem in this earlier thread...
#31
any ideas?
thanks!
J
from micronova_controller.
Hello, first of all, sorry for my late reply
So why wont it turn OFF then when publishing OFF to /intopic.... weird.
It is indeed strange. The fact that the ON/OFF test works already lets us know that it is not an address problem. When you send the message to turn off, does the blue LED of the WeMos blink (once and then several times right after)?
it looks like a problem in this earlier thread...
https://github.com/philibertc/micronova_controller/issues/31
The problem does seem to be the same. I'll try to build a more advanced test program to find out what's wrong. The OFF command is normally built the same way as the ON, if one works I wonder what is blocking the other.
Bests,
Philibert
from micronova_controller.
Hello, first of all, sorry for my late reply
No problem, enough work to do here :)
It is indeed strange. The fact that the ON/OFF test works already lets us know that it is not an address problem. When you send the message to turn off, does the blue LED of the WeMos blink (once and then several times right after)?
I remember the led blinking once when sending ON, and not blinking when sending OFF.
i'll try to confirm this later tonight. > i was wrong:
EDIT:
The led blinks 1x short + 4x short when sending ON
The led blinks 4x short when sending OFF
So it is receiving the messages fine i think...
I'll try to build a more advanced test program to find out what's wrong. The OFF command is normally built the same way as the ON, if one works I wonder what is blocking the other.
the fact that no other parameters are published on any of the other topics (ambtemp / status / ...), would that solely be due to different addresses?
Thanks!
J
from micronova_controller.
Hi guys,
got a bit of time on my hands; can anyone point me in a direction of things i can try?
Verify my method on how to run a serial monitor?
(running one in arduino IDE with the ESP connected via microUSB, and the serial connections to the stove, but i get absolutely nothing :))
J
from micronova_controller.
EDIT:
The led blinks 1x short + 4x short when sending ON
The led blinks 4x short when sending OFF
Hello!
All is good for the ON command, but it seems that the OFF command is not sent because the LED does not flash once in the first place.
Can you try reversing the ON and OFF command to see if the stove turns off (sending "on", since it will be reversed).
Bests,
Philibert
from micronova_controller.
Hi Philibert,
Can you be more specific on how i should reverse the commands?
Would this mean altering the INO file and reuploading it to the ESP?
(as in; would reversing values in line 43 and 44 suffice? i'm a total noob at this.. well, not total, but noob enough :))
Or am i missing an easier way?
kind regards!
J
from micronova_controller.
lines 130 to 146: replace
else if ((char)payload[1] == 'F')
{
for (int i = 0; i < 4; i++)
{
if (stoveState < 6)
{
if (stoveState > 0)
{
StoveSerial.write(stoveOff[i]);
delay(1);
}
}
}
client.publish(onoff_topic, "OFF", true);
delay(1000);
getStates();
}
with
else if ((char)payload[1] == 'F')
{
for (int i = 0; i < 4; i++)
{
if (true)
{
if (true)
{
StoveSerial.write(stoveOff[i]);
delay(1);
}
}
}
client.publish(onoff_topic, "OFF", true);
delay(1000);
getStates();
}
from micronova_controller.
that modification bypasses the two if conditions using if (true)
If the LED doesn't blink, then this bracket of code isn't executed. This means that the conditions aren't verified, so we bypass them.
from micronova_controller.
Thanks so much; that works!
So the trouble lies in the controller reading the stove's status to be able to fullfill the condition, and only then send the command.
I don't get any data on other topics, so that problem is related....
What are the next steps to determine what goes wrong? other addresses, and how to find them?
Thanks for taking the time to help me out here; i'm learning a bunch of stuff ;)
Jan
from micronova_controller.
I'm having the same issue with a Laminox Idro marichiara, I can only turn it ON with no additional actions or readings from the stove.
I'll be doing some additional testing to see if my issue fully matches @jeanpolle
from micronova_controller.
@msaitz, that would be great! i'm a bit at the end of my tech capabilities... :/
you could try modifying the ino as explaines here:
i bet you'll be able to turn it off too ;)
from micronova_controller.
did anyone make any progress?
@msaitz did you manage to get readouts?
from micronova_controller.
@jeanpolle I haven't had time for it yet!
from micronova_controller.
Related Issues (20)
- Nordica Extraflame Theodora works only "ON" command HOT 4
- problem with micronova card of the year 2010 HOT 4
- Add compatibility for ESP-01 and Breakout board HOT 28
- Why a 500 Ohm resistor HOT 1
- Why the use of the enable RX HOT 1
- [Feature request] Enable access to service mode HOT 3
- MCZ Ego HOT 5
- Wiring for La Nordica Extraflame Emma Plus HOT 11
- Jolly Mec synthesis modular 80 + micronova wifi module HOT 1
- Question about 5V Pin HOT 2
- Use the 5V from the new micro serial output. HOT 1
- Safer way to turn the stove off HOT 1
- Arduino ide deepSleepInstant error HOT 4
- States missing micro nova n100 HOT 2
- [Feature request] How to make it work with Alexa HOT 8
- Help installation HOT 1
- Only on status works HOT 1
- unable to read values from the stove HOT 3
- Buy pcb kit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micronova_controller.