Go Back   IceInSpace > Equipment > Equipment Discussions
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 27-02-2012, 10:51 AM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Gemini 1 - a bit of a mystery

I have lost RS-232 communications between my PC and Gemini 1. Worked fine a week ago. Not today.
We had a storm in between, local lightning strikes, driving rain etc and the Losmandy gear was set up in the Obs - plugged into the wall but not turned on. The storm was so sudden I couldn't get to the Obs in time to unplug everything. Damn.
The Gemini had lost date and time - I have had to reset that - but other defaults seem to have remained - location etc.
I've checked the integrity of the connecting cable and have installed the USB-RS232 cable on a different USB port and also installed a second USB/RS232 but neither seems to be able to connect.
Maxim reports that it can't find the Gemini.
I've opened the Gemini and checked that the RS232 connection is sound - no cracked solder points etc and no sign of any burnt chips etc.
Not sure where to go from here.
Any suggestions?
Peter
Reply With Quote
  #2  
Old 27-02-2012, 11:07 AM
JohnH's Avatar
JohnH
Member # 159

JohnH is offline
 
Join Date: Feb 2005
Location: NSW
Posts: 1,226
Hmm, Gemini oddness. First port of call is change the battery. Not sure if it will help or not, it might.
Reply With Quote
  #3  
Old 27-02-2012, 12:08 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Quote:
Originally Posted by JohnH View Post
Hmm, Gemini oddness. First port of call is change the battery. Not sure if it will help or not, it might.
Thanks John. Yes, I'm going to do that first. It's the 'chicken soup' recipe - as the old joke goes - "It may not help, but I can't hurt."
Peter
Reply With Quote
  #4  
Old 27-02-2012, 01:18 PM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,359
Peter do the usual's:
Check SRAM voltage is above 2.8VDC
Continuity check RS232 cable.
Check RS232 IC has not entered sleep mode. See the FAQ's #11 for this.

I replaced a RS232 IC (as well as many others) on David's Gemini so it can be done easily, cheaply, as a Last resort. It's more than likely the IC is in sleep mode.

Brendan
Reply With Quote
  #5  
Old 27-02-2012, 04:50 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Quote:
Originally Posted by wasyoungonce View Post
Peter do the usual's:
Check SRAM voltage is above 2.8VDC
Continuity check RS232 cable.
Check RS232 IC has not entered sleep mode. See the FAQ's #11 for this.

I replaced a RS232 IC (as well as many others) on David's Gemini so it can be done easily, cheaply, as a Last resort. It's more than likely the IC is in sleep mode.

Brendan
Thanks Brendan.
I'm getting 2.93 VDC across the CMOS battery. I imagine that is a reasonable result and probably does not warrant any replacement at this stage. I just turned the Gemini on to check that the battery was retaining the date/time/location etc data and it was all there. I also double checked that the PC connection was still failing. Sadly it was.

So what is left is either a sleeping IC or a dud.

I have identified the relevant cap (C21) coming off Pin7 of the IC. The FAQ says the side closest to the IC is negative and that closest to the RJ22 is ground. Does that equate to the positive side for the purpose of my multimeter? I gather the task here is to power up the Gemini and see if I have voltage =~5VDC. Is that it?

Peter
Reply With Quote
  #6  
Old 27-02-2012, 05:24 PM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,359
Hi Peter,

The Battery voltage is not the SRAM voltage.

You really need to check the voltage at the centre terminal of D1 (or SRAM pin 18) and any earth. Even though your SRAM values were ok the voltage may be low and I have noticed sometimes the SRAM can keep values on low voltage sometimes not.

So you must check SRAM voltage is above 2.8VDC.

As for the C21 voltage...you are measuring across C21. It won't matter which side your leads are on. One way you'll get +5V (if ok) the other -5V (if OK)...aka putting the probes across the wrong way just reads the voltage in reverse potential.

But they measure it across C21 with the negative probe on the left side (power connectors on bottom, hand set cable on left) of C21. The left side ..closest to RJ22 (actually RJ11, 4P4C in Australia) is the earth side, see attached pic. The red arrow is C21 earth side.

Yep your looking for ....-5V or if leads wrong way +5V (see below).

Brendan

Just an edit:
I measured David's on bench and found 0V powered up across C21. You need to plug in a working RS232 lead (or your Gemini BT box) and connect to the device (edit edit: actually I didn't need to connect, I just plugged in a RS232 to USB and it worked) to see the -5V. Also the earth I marked above is correct but since it's a -ve charge pump you'll see -5V DC or if you have the leads the wrong way +5V DC.
Attached Thumbnails
Click for full-size image (C21.jpg)
53.7 KB14 views

Last edited by wasyoungonce; 27-02-2012 at 06:15 PM.
Reply With Quote
  #7  
Old 27-02-2012, 06:08 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Quote:
Originally Posted by wasyoungonce View Post
You really need to check the voltage at the centre terminal of D1 (or SRAM pin 18) and any earth.
In my blissful ignorance of all things electronic, I have assumed that the voltage across pins 16 and 32 of the SRAM chip (as per FAQ 15) was the equivalent to the reading of the CMOS battery. My error. The 2.93 VDC I got was the reading across the SRAM chip. So I assume that is a satisfactory reading? Yes, no, maybe??

Peter
Reply With Quote
  #8  
Old 27-02-2012, 06:14 PM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,359
Hi Peter yep 2.93 across SRAM is fine.

Just check C21 with an RS232/USB (or Gemini BT) connected. You do not need to electronically connect to the device, just a physical connection should get the RS232 IC running. Looking for -5v or +5V across C21 (with Gemini powered up).

Brendan
Reply With Quote
  #9  
Old 27-02-2012, 06:30 PM
multiweb's Avatar
multiweb (Marc)
ze frogginator

multiweb is offline
 
Join Date: Oct 2007
Location: Sydney
Posts: 22,079
You also have to make sure the transfer rate is the same in between PC and Gemini or they won't talk. I know that mine resets to 9600 bauds and my laptop was set 19200. I got caught once.
Reply With Quote
  #10  
Old 27-02-2012, 06:43 PM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,359
Quote:
Originally Posted by multiweb View Post
You also have to make sure the transfer rate is the same in between PC and Gemini or they won't talk. I know that mine resets to 9600 bauds and my laptop was set 19200. I got caught once.

You know...that's odd. I can connect & communicate from 4800bps all the way to 57600kps.

edit:

oh ok yep if I use my RS232/USB then coms rate is 9600bps but I always use my Bluetooth device, which can connect at differing COMs rates. But that is the BT COMs connection data transfer rate not the Gemini RS232 port rate so yep you are spot on Marc.

Last edited by wasyoungonce; 27-02-2012 at 07:09 PM.
Reply With Quote
  #11  
Old 27-02-2012, 06:52 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Quote:
Originally Posted by wasyoungonce View Post
Hi Peter yep 2.93 across SRAM is fine.

Just check C21 with an RS232/USB (or Gemini BT) connected. You do not need to electronically connect to the device, just a physical connection should get the RS232 IC running. Looking for -5v or +5V across C21 (with Gemini powered up).

Brendan
I just fired it up and got a virtually zero voltage across C21 - but I hadn't put a load on the RS232 - so I'll go back and do that again.
Peter
Reply With Quote
  #12  
Old 27-02-2012, 07:04 PM
multiweb's Avatar
multiweb (Marc)
ze frogginator

multiweb is offline
 
Join Date: Oct 2007
Location: Sydney
Posts: 22,079
Quote:
Originally Posted by wasyoungonce View Post
You know...that's odd. I can connect & communicate from 4800bps all the way to 57600kps.
I can connect at different speeds too but I have to match the COM speed in the control panel with the GEMINI rate. My old laptop runs Win XP. 9600 is ok so is 19200. Anything over and I sometime get drop outs. Then again I have a very long USB cable. (10m)
Reply With Quote
  #13  
Old 27-02-2012, 07:14 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Quote:
Originally Posted by multiweb View Post
You also have to make sure the transfer rate is the same in between PC and Gemini or they won't talk. I know that mine resets to 9600 bauds and my laptop was set 19200. I got caught once.
Thanks Marc. I'll check that. But in view of the tests I just did, I don't think that's the answer.
Peter
Reply With Quote
  #14  
Old 27-02-2012, 07:16 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Quote:
Originally Posted by wasyoungonce View Post
Hi Peter yep 2.93 across SRAM is fine.

Just check C21 with an RS232/USB (or Gemini BT) connected. You do not need to electronically connect to the device, just a physical connection should get the RS232 IC running. Looking for -5v or +5V across C21 (with Gemini powered up).

Brendan
OK. Done that. Zero volts.
So it's either dead or sleeping.
If it was sleeping, according to the FAQ (if I have understood them) then it ought to have woken up when I tried to connect to the Gemini from the PC - via a USB/RS232 dongle. Or am I missing something?
Peter
Reply With Quote
  #15  
Old 27-02-2012, 08:41 PM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,359
No Peter your do'in fine. I can wake my Gemini RS232 by just connecting it to the lappy, I don't have to connect via Gemini ASCOM.

I fired up, measured 0V DC across C21 then connected them to the lappy (didn't fire up Gemini ASCOM yet) and both woke up ok from this with -5V DC.

I don't have a U6 (MAX3221) IC but they are available from Element14 quite cheaply, refer to my document on this, Gemini 1 parts availability (on the Gemini Yahoo site).
What you need to do is identify the IC (your PCB version may differ from mine) is the same part number (as per my document) and maybe someone near you is good with a soldering iron & ESD procedures.....maybe a good TV repair place?

Or if you want you can send it to me. Problem is that generally these IC's are killed off thru ground loops and you may have other IC issues? Hard to tell. Also it's a hassle sending it all the way to Mexico city (Melbourne), well for you it is.

I have most other Gemini IC's on hand except the encoder PIC pre-scalers and quadrature motor encoder IC's and EPROMs. They have firmware and thus need to come from Rene or Losmandy or such like. I'm waiting for an IC from Rene ATM, U11...all the way from Germany.

What is it with Queensland'ers and Gemini's anyway???? You're Killing them...or does someone have a bad cable that's being passed around?

(edit) You can send it to Peter Ward...maybe he is best to comment on this.

Brendan

Last edited by wasyoungonce; 29-02-2012 at 04:25 PM.
Reply With Quote
  #16  
Old 27-02-2012, 10:39 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
5.42 volts across C21. That's with a live load in the RS232 connection. I used one of those SkyWire devices plugged into my IPad.
Strangely though, the software in the iPad didn't recognise the Gemini
So, we have a live chip that wakes on load. For this exercise, I had disconnected the hand pad - because another device was present to control the Gemini.
Now, I'll reconnect it and try a normal load from the PC.
No chnge. Gemini doesn't respond. So it would seem the IC is OK and is showing correct voltage.
The hand controller functions all seem to work fine. It will slew to a target, track and do all the usual things.
Seems the problem lies elsewhere.

Peter

Last edited by pmrid; 27-02-2012 at 11:06 PM.
Reply With Quote
  #17  
Old 28-02-2012, 09:56 AM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,359
Peter...give me a few minutes as I'm tracing out the U6 circuit on the PCB. I've also read up on the MAX3221 specifications.

The fact the charge pump works does give some confidence the IC is ok however it still may not be. More than likely it's ok.

You have to check your cables for pin to pin continuity? Did you try the Gemini BT and it's cab;le?

Brendan
Reply With Quote
  #18  
Old 28-02-2012, 01:29 PM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,359
Hi Peter

Ok I've traced all the pins. Nothing special about this IC circuit, pretty much follows the manufacturers layout specs.

Rj11 pin 1 is not connected.
Rj11 pin 2 is earth.
Rj11 pin 3 (RS232 Rx in) goes to pin 8 of U6.
Rj11 pin 4 (rS232 Tx out) goes to pin 13 or U6.

U6 pin 9 goes to U1 (CPU) pin 71.
U6 Pin 11 goes to U1 (CPU) pin 72.

It's unlikely that the IC, U6, is dead if the charge pumps work. These charge pumps are used to transition voltage levels in the IC to usable levels for the circuit.

More than likely you have a bad RS232 cable! Did you try the Bluetooth module as a RS232 I/O (with it's own cable) and Gemini ASCOM?

Anyway lest see how you go with this. The pins are very hard to measure, you don't need to do this they are just put in for info.

Oh I have attached a diagram of the Gemini RJ11 socket designation and U6 connections.

Brendan
Attached Thumbnails
Click for full-size image (Gemini RJ11 socket.jpg)
78.8 KB8 views
Click for full-size image (Gemini U6 Max3221 circuit.jpg)
143.2 KB10 views
Reply With Quote
  #19  
Old 28-02-2012, 03:03 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
Quote:
Originally Posted by wasyoungonce View Post
Did you try the Bluetooth module as a RS232 I/O (with it's own cable) and Gemini ASCOM?
Thanks Brendan. You're a great help. I haven't tried the BT dongle yet - mainly because the OS is Win7 64Bit and BT was always 'dodgy' with it. But I'll give it a whirl.
cheers
Peter
Reply With Quote
  #20  
Old 28-02-2012, 07:22 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,757
OK. No joy with the BT. I have 2 of them here - both from you as you remember. Neither would connect to the Gemini. So itisn't a able issue either.
I thinkGemini 2 is looking better all the time.
Peter
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 05:58 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement