×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

INDIDUINO/indi-duino/INDUINO

  • Posts: 183
  • Thank you received: 23
Interesting observation on the relay board - I have been having "interesting" experiences with the 8 way module I purchased from jay car for testing - I didn't have high hopes to be honest! Getting Wifi working on Arduino seems to be a dark art, I can't say I've quite mastered it yet!

Keep us posted!
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
Angry missus
1 year 11 months ago #58952

Please Log in or Create an account to join the conversation.

  • Posts: 183
  • Thank you received: 23
I'm glad you liked it! I needed to find a way to make a few bucks during the lockdown! ;-)

Seriously, and this is just one of the parts that isn't obvious - GitHub!

GO to the indiuino page and Wolfram has done a great job of trying to get his personal project into something relatively replicable by a third party.

github.com/indilib/indi-3rdparty/blob/ma...adme-WeatherRadio.md

As mentioned at the start of this thread, the Arduino/open-source hardware part of the astro/INDI world needs some organisation - it's mostly all these, once you know where to look - but requires some serious Googlefu and, at least in my case, resulted in a lot of wasted effort trying older unsupported projects where ea better alternative is already available!
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
Angry missus
1 year 11 months ago #58953

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 8
I seem to be collecting a multitude of ESP8266 based boards (and some ESP32 boards on order) on the basis that some people seem to be able to make them work. It is a dark art though.
I can get the boards to connect to my home wifi when they are attached to the USB device but not when I power via other means and in the case of the Arduino Mega with the onboard ESP8266 module similar but that's based on DIP switches.
Still experimenting in that space as a Wifi module that needs to be powered via the USB seems unlikely.

I'm pondering modifying a sketch that connects and add an interface to a serial LCD screen to see if that gives me a better idea what's happening when the USB is not connected.

I've not yet located a basic sketch to use the modules as a serial pass through that gives me any confidence that it will work. The esp-bridge may do what's needed but I'm still trying to get my head around what they are doing, use of AVRDUDE is different to what I was expecting.
1 year 11 months ago #58954

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 8
xthestreams, based on the description under your alias you might have a better idea than me. Is this an appropriate forum for discussions around hardware such as the ESP range? It does seem relevant but also a bit of a tangent.
1 year 11 months ago #58955

Please Log in or Create an account to join the conversation.

  • Posts: 183
  • Thank you received: 23
Sorry for the delay Bob. Right now it's as good a place as any - again, I am thinking we need a dedicated hardware section to talk about these things. Stargazer's Lounge has a fairly vibrant community chat going there with people like Gina sharing her experience in getting this stuff working, and I see no reason not to follow suit here.

As you've worked out yourself, the Arduino space is not so much poorly documented as that the documents that are there assume a lot fo prior knowledge/experience and those lovely Uno+WiFi boards that you and I both got drawn to work well enough o give you hope but not so well that your project gets finished (or at least not quickly). Opensource is free so long as you time isn't worth anything is how the saying goes, and in this case it's been true - I could have easily purchased an AAG CloudWatcher for the amount of money I've misspent on the wrong boards, wrong project, wrong sensors and then to be left with a device that would not look out of place in Frankenstein's labs, well it's not always as satisfying as you would hope.

Then there's my little Flip Flat/Flat Man clone which worked great right out fo the box and saved me $800 - so you win some, you lose some.

Long way of saying, let's keep the conversation going - I'll see if we can add a section for INDI hardware that can be broken up into sections to keep things a little easier to find.
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
Angry missus
1 year 11 months ago #59204

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 8
Thanks. I like the idea of a hardware section.
A little bit of possible learnings about my Ebay version of the Wemos D1 Mini board and my attempts to use it as a serial bridge.
I found elsewhere mention of 470ohm resistors in the TX and RX lines on the Wemos D1 mini boards hindering comm's through those pins. My boards hava 220ohm resistors. I've been experimenting trying to communicate through the pins, via a level shifter then via a Sparkfun FTDI board on one side and a Telnet session to the board over Wifi. I get one way comm's with that setup.
Stuff I type into the Telnet session shows in the serial monitor but not the other way. If I'm using the USB port on the ESP8266 I get two way comm's.
I'm suspecting that the issue is that the signal coming from the FTDI board via the level shifter and into the ESP8266 board via the resistor may not be sufficient (either that of a problem with the hookup of the level shifter). I'm also noticing that the ESP only shows as connected to my router some of the time even when the telnet is working. That was a lot confusing.

I have the Jaycar version o fthe board somewhere (but not sure where at the moment). When I find it I'll check the resistor values in the TX and RX lines and see if they are any different.
Edit - the Jaycar duinotech ESP8266 board has 470ohm resistors in the RX and TX path to the pins on the header. Testing against the terminals on the module itself though I'm wondering if those are pull down or pull up down in some way. Very low resistance between them on one side and the resistance between the module and the terminals is low.

Another edit. I'm now got two way communications between Serial Monitor and a Telnet session on both the ebay board and the Jaycar version. I swapped the signal from the RX pin on the ESP8266 to the TX channel on the level shift module (eg both TX and RX go via the labelled TX channels on the level shift board which does not make much sense to me).
The following user(s) said Thank You: Paul Muller
Last edit: 1 year 11 months ago by Bob Stephens.
1 year 11 months ago #59205

Please Log in or Create an account to join the conversation.

  • Posts: 183
  • Thank you received: 23
Awesome news, I might need to pick you brains on this - I couldn't ever get teh Jaycar Arduino + WiFi board to do what I needed it to do, I suspect you found the problem, but I might have misunderstood.
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
Angry missus
1 year 11 months ago #59298

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 8
xthestreams I've attached my current version of the serial pass through script (very much just a tinkered with version of the one attributed at the top).
It still has a way to go to a level of maturity that I'm happy with.
I occasionally get junk characters show up in the serial monitor and I will explore at some time moving the Wifi router login elsewhere.
Either into a separate library reading it in from a text file or perhaps using the technique of using a wifi hotspot initially to select the router and enter a password.

Some ESP32 boards arrived today with along a pair of the 8 channel relay boards so I'll probably redo the roof control unit to both properly isolate the control from the relay control and possibly to use an ESP32 as the controller (wondering how the 3.3V will go with the relay modules though).

Bob
1 year 11 months ago #59364
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.873 seconds