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
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.
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?
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.
Last edited by wasyoungonce; 27-02-2012 at 06:15 PM.
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??
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).
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 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.
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
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)
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
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
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.
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.
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.
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
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