Date   
Re: How to test BME820?

Howard Dutton
 

On Wed, Nov 13, 2019 at 10:07 AM, Drew 🔭📷🚴‍♂️ wrote:
It would be nice to identify the BMP280 and issue an error.
Or just add support for it.

Re: How to test BME820?

Khalid Baheyeldin
 

On Wed, Nov 13, 2019 at 01:07 PM, Drew 🔭📷🚴‍♂️ wrote:
It would be nice to identify the BMP280 and issue an error. I could work on this if you think you would incorporate it. What I would do is find the device on the i2c bus at the address specified and if it did not return the humidity issue an error (that way we don't have to include the BMP280 library).
The way I understand it is that the BMP280 has temperature and pressure, but not humidity.
The BME280 on the other hand has all three.

Maybe a warning message that humidity is not available is nice to have. Anything beyond that (as refusing to work completely) is overkill in my opinion.

A better approach is to have a testing sketch that probes the I2C devices, and then ask what they are and issue the appropriate messages there. This keeps OnStep itself simple, easier to maintain. Complexity is bad.

Re: A few questions on hardware

Howard Dutton
 
Edited

I have methods implemented to modify the TMC2130/5160 register defaults but no tie-ins for #defines to set them from Config.h yet. 

Probably having at-least the ability to change the chopper settings would be nice:

// CHOPCONF settings
    unsigned long _cc_toff      = 4UL; // default=4,  range 2 to 15 (Off time setting, slow decay phase)
    unsigned long _cc_hstart    = 0UL; // default=0,  range 0 to 7  (Hysteresis start 1, 2, ..., 8)
    unsigned long _cc_hend      = 0UL; // default=0,  range 0 to 15 (Hysteresis -3, -2, -1, 0, 1 ..., 12)
    unsigned long _cc_rndtf     = 0UL; // default=0,  range 0 to 1  (Enables small random value to be added to TOFF)
    unsigned long _cc_tbl       = 1UL; // default=1,  range 0 to 3  (for 6, 24, 36 or 54 clocks)
    unsigned long _cc_vsense    = 0UL; // default=0,  range 0 to 1  (0 for high sensitivity, 1 for low sensitivity @ 50% current setting)
    unsigned long _cc_vhighfs   = 0UL; // default=0,  range 0 to 1  (Enables switch to full-step when VHIGH (THIGH?) is exceeded)
    unsigned long _cc_vhighchm  = 0UL; // default=0,  range 0 to 1  (Enables switch to fast-decay mode VHIGH (THIGH?) is exceeded)

Re: How to test BME820?

Drew 🔭📷🚴‍♂️
 

On Wed, Nov 13, 2019 at 11:34 AM, Howard Dutton wrote:
Not implemented beyond set/get, not used for anything at this point (or possibly ever) really either.
Ok, that is your choice.

It would be nice to identify the BMP280 and issue an error. I could work on this if you think you would incorporate it. What I would do is find the device on the i2c bus at the address specified and if it did not return the humidity issue an error (that way we don't have to include the BMP280 library).

Re: A few questions on hardware

Howard Dutton
 

On Wed, Nov 13, 2019 at 09:33 AM, tomofreno2000 wrote:
What do you consider very high motor rpm?
You are running much higher rpm on your NEMA 11 motors with 3000:1 overall reduction than my max of around 550 rpm. I'm wondering if the FS option is useful at this rpm.
Read this document, section 2.5.  There is a wealth of information in there for someone who really wants to get serious about optimizing the driver for a given stepper motor.  It would be interesting to see if anything can be done WRT getting tin-can steppers to run at higher speeds.

Re: Setting Guide rate.

George Cushing
 

I'm building MiniPCB V. 127A to replace a Vixen DD-2 controller that is no longer produced. The Teensy 3.2 will be falshed with V. 2.22. The user interface will be the Basic Hand Controller.  



The wiki for the Basic Hand Controller states in part: 

Press and hold [E]+[W] buttons for > 2 seconds... 

[E] decreases and [W] increases guide rates (or if tracking


I'd like to know what is the increment in correction speed for each actuation of the E or W switches? The DD-2 had 2X, 4X and 8X. 

Thanks, George

 

Re: Blew up my teensy

Mathew Ray
 

Thanks all, went ahead and ordered one, will let ya know how it goes!

Before trying to flash the ESP-01, I did try connecting via the USB-B connection after uploading OnStep to the Teensy, but not seeing it mount. Was planning on using the Python lib (thanks Khalid) to just make sure the steppers are moving etc. Anything special I should have to do in order to get it to show up with a manual usb connection? I did make sure the little 'ears' on the USB-B connector aren't touching the other pins coming out of the connector.

Re: A few questions on hardware

Howard Dutton
 

I didn't see that, noted, and this is all new to me too.

Whatever the case it sure worked nicely and I will continue to experiment.

Re: A few questions on hardware

tomofreno2000
 

In the datasheet for the 5160 they recommend switching from stealthchop to spreadcycle at "lower" motor rpm:
"Use a low transfer velocity to avoid a jerk at the switching point. A jerk occurs when switching at higher velocities, because the back-EMF of the motor (which rises with the velocity) causes a phase shift of up to 90° between motor voltage and motor current. So when switching at higher velocities betweenvoltage PWM and current PWM mode, this jerk will occur with increased intensity. A high jerk may even produce a temporary overcurrent condition (depending on the motor coil resistance). At low velocities (e.g. 1 to a few 10 RPM), it can be completely neglected for most motors."

This sounds like the SC transition should be made at maybe < 100 rpm, but you seem to be making the transition at higher motor rpm. What do I miss-understand?

What do you consider very high motor rpm?  You are running much higher rpm on your NEMA 11 motors with 3000:1 overall reduction than my max of around 550 rpm. I'm wondering if the FS option is useful at this rpm.

Re: How to test BME820?

Howard Dutton
 

On Wed, Nov 13, 2019 at 08:15 AM, Drew 🔭📷🚴‍♂️ wrote:
However in the latest OnStep 3.9c alpha I do not get a altitude reading. The :GX9D# command returns the default value of 200.0. I am using BME280_0x76 on a MaxESP2. I have tried it with and without the diode array. It has no effect. Since I am getting all three readings I am assuming there is a problem in weather.h. It seems to be missing the required code for the altitude.
Not implemented beyond set/get, not used for anything at this point (or possibly ever) really either.

Re: How to test BME820?

Drew 🔭📷🚴‍♂️
 

Most of the problem was I got BMP280's claiming to be BME280's from two separate vendors. I think it might be a good idea to add a section in the Wiki on getting and identifying the right Arduino components. I have had problems getting ESP32's and BME820's. Others are reporting problems with other components. The BME and BMP versions are very difficult to tell apart. Many vendors do not know the difference or do not care.

Running the BME280test sketch shows that I have a valid BME and it is recording Temperature, Barometric pressure and Humidity.

However in the latest OnStep 3.9c alpha I do not get a altitude reading. The :GX9D# command returns the default value of 200.0. I am using BME280_0x76 on a MaxESP2. I have tried it with and without the diode array. It has no effect. Since I am getting all three readings I am assuming there is a problem in weather.h. It seems to be missing the required code for the altitude.

Re: Affordable Tripod Mounts for Onstep Steps

George Cushing
 

I have a bin of CG-5s, I generally try to get $85 for the average mount. Without a tripod or counter weight. Sell about 3 a year, mostly to Eastern Europe. Even with the 11# weight I can ship them in a Large Flat Rate box. A basic tripod like the Vixen AL130 runs $35.  So I can sell one for $50 less than the close out LX70. BTW the LX70 is the mount formally known as the CG-5. The LX70 has a tripod that sells used for $125-150. Buy one, sell the tripod, get a AL130 and have a mount that will deal with a compact 20# payload for under a hundred.

Re: Affordable Tripod Mounts for Onstep Steps

Howard Dutton
 
Edited

On Wed, Nov 13, 2019 at 06:04 AM, Peter Dulowsky wrote:
IMHO EQ5 mount is the best budget option. It is sold under various names like Mon2, EXOS2 e.t.c. There are plenty of them in the second hand market. These are sturdy enough and there are 3d printed motor brackets designs available so they are easily OnStep-able.
Exactly, the LX70 I linked is an EQ5 class mount and at $200 new, delivered (here in the us,) a good option I think (for those who can get a hold of it.)  Good starter mounts, economical and sturdy enough to do some imaging with, used are ok provided it has not been abused too much.  Especially nice if you can get your hands on a used Vixen GP or SP but you might very well spend > $200 for it. :)

Re: Affordable Tripod Mounts for Onstep Steps

Peter Dulowsky
 

IMHO EQ5 mount is the best budget option. It is sold under various names like Mon2, EXOS2 e.t.c. There are plenty of them in the second hand market. These are sturdy enough and there are 3d printed motor brackets designs available so they are easily OnStep-able.

Re: Affordable Tripod Mounts for Onstep Steps

Howard Dutton
 
Edited

If I wanted a budget starter 'scope, for DSO imaging and visual use, I might consider one of these (or similar used noting the "ED" designation f7.5 80mm and positive reviews):
https://www.telescope.com/Orion-ED80-80mm-f75-Apochromatic-Refractor-Telescope/p/9895.uts

For visual use or planetary imaging adding an 8" SCT would be nice, and that's about as much 'scope as the LX70 can carry well, they can be bought used for about $200 or so.

Re: Affordable Tripod Mounts for Onstep Steps

Howard Dutton
 
Edited

That isn't a mount I would bother converting to goto it's just too low-end.  I suggest using it as-is.

If I were a beginner (on a budget) and wanted a *new* mount for goto conversion I'd probably take a shot at adding OnStep to one of these:

https://www.highpointscientific.com/meade-lx70-german-equatorial-mount-41-7100-00?gclid=CjwKCAiA8K7uBRBBEiwACOm4dx5lM8KRCWY7v3BxVcxhw--zrfN-fB-v8r0uEUTNN3aW6Ic1yI0TVxoCvwEQAvD_BwE

Re: OnStep3 with DRV8825 and Classic board

Howard Dutton
 

Good to hear.

Re: OnStep3 with DRV8825 and Classic board

hitosi sato
 

Hi Howard

Test result of modified firmware.
 OnStep 3.9 d worked well on my board.
The motors on both axes operate as before.
The wifi server worked smoothly on both Android and ASCOM Poth, and I was able to operate the telescope mount smoothly.
I really appreciate your quick work.

Hitosi

Re: Affordable Tripod Mounts for Onstep Steps

debojyoti.pal.007@...
 

Hi all, I purchased Celestron Astromaster 130 EQ with Motor drive. I would like to control it with OnStep. Would you please guide me in tge right path? I would use the same mount for my dslr and lens assembly.
Thank you

Affordable Tripod Mounts for Onstep Steps

debojyoti.pal.007@...
 

Hi all,
I got my new telescope Celestron Astromaster 130 EQ with Motor Drive. I would like to control it with OnStep. Can anyone guide me the write path?
Thank you