Comments (3)
I got a little more familiar with the rs232 based commands - I noticed it seems sensitive to using teraterm or termite - I suspect something wrt \r\n, echo alone also doesn't work (wsl). I'm also not entirely sure what rts/dts settings need to be used or any other comm settings; I couldn't glean it from the ascom server either. Windows for linux (wsl), I used printf to format the commands and this did work when redirecting to the right comm object.
It was also kind of interesting, every time I instructed reboots to the rotator, I would need to reboot in order to get ubuntu or the server to talk to the nexdome again.
Anyway, '@zzs\r\n' didn't work.
XB->WaitAT
XB->WaitAT
XB->Config
XB->Detect
XB->WaitAT
XB->Config
XB->Detect
XB->WaitAT
XB->Config
XB->Detect
and continuous XB->WaitAT's after.
from firmware.
Hi there, Yeh, there is something going on with it, as mine does the same occasionally. I used to get a lot of disconnects, but for some reason calmed down after I changed the battery charging arrangement, so don't know if the issue problems were related to power.
It still appears to lockup for some reason, and needs a shutter power cycle to recover.
I would really like to get 100% reliability in the shutter comms;
- I would like to do remote imaging when I am overseas..... can't have a failure when thousands of miles away, be near impossible to explain to the misses how to resolve it.
- The rain sensor ability to function is dependant on this - I have often thought that the rain sensor should have been put on the rotation element directly to remove this dependency.
I have been trawling through the source code, trying to think up options that would maybe solve the original problem of dead comms, one idea I was thinking of was to perform a power cycle of the shutter if the serial comms were lost by driving an output high, then make a small external circuit to do a power disconnect and timed reset.
Oh, and I use ClearTerminal for doing the serial comms directly when there is issues with the position and need to drive things manually etc.
from firmware.
My observation is that the XBees can get into an unrecoverable state which requires a hard reset to recover them. The firmware issues a factory reset command during the Config phase of the state machine, but this does not seem to be enough to fully reset the XBee. The firmware is not able to perform a hard reset because the XBee reset pin was not connected to anything in the hardware. Therefore the only option is to power-cycle the controller and XBee. If you are sufficiently motivated, you could try strapping the XBee reset pin through to an Arduino digital output pin, and using that to pull reset low during the config phase of the XBee state machine. Obviously this requires modification of both the hardware and firmware so it is not for everyone.
from firmware.
Related Issues (20)
- Telescope aperture vignetting caused by 1 degree dome azimuth command resolution HOT 4
- Shutter close sensor does not operate correctly if triggered multiple times HOT 1
- slipping sprocket won't close shutter HOT 5
- When using manual control the home status is not updated HOT 16
- what is current version (3.2.1?) and is there a .hex for it HOT 2
- Changing slew destination without waiting for completion HOT 10
- Auto-close shutter on low battery volts HOT 1
- Incorrect values returned for `@RRS` HOT 2
- Shutter status after manual activation HOT 4
- ArduinoSTL library not compatible with AVR boards v1.8.3 HOT 2
- Dead Zone default is too high HOT 5
- Rotator loses pointing accuracy after many small nudges HOT 2
- Manual Rotator button no longer works with 4.0 HOT 9
- how to update to 4.0.1 firmware? HOT 2
- ASCOM Driver should warn the user if the firmware major version is higher than expected HOT 2
- close ( or stop) should immediately stop if the shutter is trying to open HOT 1
- Xbee S2C HOT 1
- ArduinoSTL library not compatible with AVR boards v1.8.3
- Req way to force close into the negative on the percent open 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 firmware.