Replacement firmware for iSpindel (GravityMon)

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
If the device is not calibrated it should go into configuration mode automatically so can you check the serial output and see what the log states? If this is a gyro issue it will report that as an error. What pins are your gyro connected to ?

gyroscope:
VCC > 33
GND > 25
SCL > 26
SDA > 27

input pin to condig: 13 - 15
 

Attachments

  • log_gravity.jpg
    log_gravity.jpg
    66 KB · Views: 0
The log output looks fine, thats the normal output but not the final part of the startup procedure. Do you have a "web server started later on?" The pins looks good also.
I think not, in a few hours I'll prove it to you since I'm no longer at home and I'll update you. thx
 
I think not, in a few hours I'll prove it to you since I'm no longer at home and I'll update you. thx
If you dont get any more output then its most likely related to some issue with the gyro hardware or the i2c bus used for communication. I dont think this is a software problem.
 
If you dont get any more output then its most likely related to some issue with the gyro hardware or the i2c bus used for communication. I dont think this is a software problem.
Hello good. I can enter!
But do I have to maintain the crossover between both pins and restart from the esp reset button? it's right? Is it not possible without pressing the reset button?
 
Hello good. I can enter!
But do I have to maintain the crossover between both pins and restart from the esp reset button? it's right? Is it not possible without pressing the reset button?
It will check the pins at startup so you will need to do a reset
 
It will check the pins at startup so you will need to do a reset
It doesn't do anything, with the pins it only comes in if I cross the pins or restart at the same time.
But nothing happens, it also enters the configuration if I leave it at 90 degrees, it is enough for me, I was looking to be able to enter the configuration without opening it

thank you
 

Attachments

  • Pill.jpeg
    Pill.jpeg
    181.8 KB · Views: 0
hi I have put two devices together based on the esp8266, I calibrated for 90 degrees on the horizontal then treated it on the vertical, one read 39 degrees and the other 50, is this normal or do I have a problem?
can I calibrate them like this if I set it at 25 degrees using a proportional value based on the difference between the horizontal and vertical values?
 
hi I have put two devices together based on the esp8266, I calibrated for 90 degrees on the horizontal then treated it on the vertical, one read 39 degrees and the other 50, is this normal or do I have a problem?
can I calibrate them like this if I set it at 25 degrees using a proportional value based on the difference between the horizontal and vertical values?
looks like there is a problem, you should be able to get the full range between 0-90 degrees. What pcb are you using? Is the orientation of the gyro correct? Does it work with the standard ispindle firnware?
 
hi @mper just updating my problem hopefully for anyone else having similar problems. after testing on Ispindel software and getting similar results and also the same on the gravitymon software and a esp32c3 build with the same issue I found I had to place the mpu6950 completely horizontal on all planes to get the correct calibration and 0 to 90 degrees of movement, I hadn't realized this when setting up initially and just had it level in the container which had the chip resting at an angle off horizontal. all is correct now thanks.
 
Im looking for a few people to test the new User Interface for Gravitymon 2.0 and give me some feedback. I'm now starting the tedious testing process to check that all targets work as planned. I have rewritten the UI in VueJS in order to get rid of the older frameworks that are no longer developed.
 
Upgraded from 1.3.0b3 to 2.0.0a1 without issues.
The UI is really fast! But the unit has not been in use for a while. Needs a charge
Great, i really love the VueJs framework. It also much easier to maintain and add features compared to the older approach. You now have the wifi setup in the main UI so everything can be changed in one place. I have not added that many new features but i did quite a restructure. I removed the advanced tab and moved out all the settings to the right view.

Under the hood i also started to use my basic esp framework so i now have the same foundation for all my projects and this manages a lot of the common function and makes it much easier to maintain
 
First impressions: Fantastic work!

Question:
"Force gravity mode" in the Home screen = enable to avoid sleep mode?

Does not seem to work:
In Push Targets --> MQTT, I use iSpindel as the pre-defined format to match my former settings vs HA.
When I do a "Run push test", I get this error:
"No endpoint is defined for this target. Cannot run test."
No difference using mdns or IP as Server.
It still pushes the normal way though, according to Sleep Interval setting
 
1.4.1 is perfect, upgraded to 2.0 alpha just fot fun..

booting, mesuring tilt and temp, menues ok, but when i touch the device lost connection and restart needed
Have you tried to turn "Force gravity mode" on in the Home menu before touching the device? If your battery voltage is below the level configured, the device will exit config mode when you start moving it
 
First impressions: Fantastic work!

Question:
"Force gravity mode" in the Home screen = enable to avoid sleep mode?

Does not seem to work:
In Push Targets --> MQTT, I use iSpindel as the pre-defined format to match my former settings vs HA.
When I do a "Run push test", I get this error:
"No endpoint is defined for this target. Cannot run test."
No difference using mdns or IP as Server.
It still pushes the normal way though, according to Sleep Interval setting
Force gravity mode is to disable sleep mode.

I will take a look at the MQTT part, I have not tested that yet, I also need to fix the line breaks in the format editor.
 
1.4.1 is perfect, upgraded to 2.0 alpha just fot fun..

booting, mesuring tilt and temp, menues ok, but when i touch the device lost connection and restart needed
Well if it was calibrated at 90 degrees and you moved the device it will go into sleep mode unless you toggle the switch on the front page. Thats probably why you lost connection
 
1.4.1 is perfect, upgraded to 2.0 alpha just fot fun..

booting, mesuring tilt and temp, menues ok, but when i touch the device lost connection and restart needed
Well, the device probably went into sleep mode so I have added some code to detect that and show a message to the user that there is no response from the device or you can do a lot of changes without having the ability to save them. Will do an update probably tomorrow.
 
First impressions: Fantastic work!

Question:
"Force gravity mode" in the Home screen = enable to avoid sleep mode?

Does not seem to work:
In Push Targets --> MQTT, I use iSpindel as the pre-defined format to match my former settings vs HA.
When I do a "Run push test", I get this error:
"No endpoint is defined for this target. Cannot run test."
No difference using mdns or IP as Server.
It still pushes the normal way though, according to Sleep Interval setting
Good find, actually none of the testing functions worked, I had a mismatch in the VueJS code and Arduino. I will do an update tomorrow.
 
Back
Top