Welcome! Log In Create A New Profile

Advanced

Teacup connection Problem

Posted by mostley 
Teacup connection Problem
May 07, 2011 10:45AM
I tried using Teacup on my Techzone Gen3 Mainboard.
I was able to compile and upload it, but I get Errors trying to connect:
Repsnapper: Connection Timed out
ReplicatorG0024: RepRap not responding to gcode. Failed to connect.

I tried configuring other Baud rates but I'm pretty sure I need 19200.
Is there something else I could try?

Thanks
Re: Teacup connection Problem
May 07, 2011 03:31PM
Unless you changed the baud rate in config.h, Teacup communicates at 115200 baud.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Teacup connection Problem
May 07, 2011 05:28PM
I did try to change it. It was what my gen3 used before. So should I try again on 115200? Is there something to change in arduino for that to work?
Re: Teacup connection Problem
May 28, 2011 09:11AM
Hey,
Can you describe how you disconnection problem looks in log file ?
I was getting M105 command sent several times, then 'connection timed out' message in RepSnapper...

I think it doesn't have anything to do with baud rate, but rather it's a RepSnapper issue (the version you are using) is not reading 'start' command properly from mainboard... I downloaded another version of repsnapper (Feb 2011) and it works (I mean kulitorum version, for Win)

Everything tested on classic Gen3 + Teacup

Still untested how it works, I only checked the connectivity.. more tests to come next week.

cheers

jawor


mostley Wrote:
-------------------------------------------------------
> I tried using Teacup on my Techzone Gen3
> Mainboard.
> I was able to compile and upload it, but I get
> Errors trying to connect:
> Repsnapper: Connection Timed out
> ReplicatorG0024: RepRap not responding to gcode.
> Failed to connect.
>
> I tried configuring other Baud rates but I'm
> pretty sure I need 19200.
> Is there something else I could try?
>
> Thanks
Re: Teacup connection Problem
June 24, 2011 03:16PM
@jawor yeah, i've got the same problem, but i'm using Ramps. Did you say you got it to work? How? spinning smiley sticking its tongue out

Edited 1 time(s). Last edit at 06/24/2011 03:17PM by Ollie.
Re: Teacup connection Problem
June 24, 2011 10:25PM
try kliment's Pronterface instead


-----------------------------------------------
Wooden Mendel
Teacup Firmware
Re: Teacup connection Problem
June 25, 2011 08:01AM
Cheers Triffid! Works a treat! However i think i may have burnt out the driver i was using eye popping smiley, oh well. By the way, anyone know of any diy heatsinks for the pololu drivers?
Re: Teacup connection Problem
June 25, 2011 08:07AM
Ollie Wrote:
-------------------------------------------------------
> By the way, anyone know of any diy heatsinks
> for the pololu drivers?

I used a VGA/chipset cooler

Most others use ram heatsinks or similar, applied with thermal adhesive (not paste!)


-----------------------------------------------
Wooden Mendel
Teacup Firmware
Re: Teacup connection Problem
June 25, 2011 11:19AM
Cheers! I'll see if i've got one lying around. smileys with beer Can you use mechanical endstops with kliment printrun? If so, how? eye rolling smiley
Re: Teacup connection Problem
June 25, 2011 11:47AM
The stick-on type like the ones sold by Ultimachine.com works fine.
Re: Teacup connection Problem
June 25, 2011 07:50PM
Ollie Wrote:
-------------------------------------------------------
> Cheers! I'll see if i've got one lying around.
> smileys with beer Can you use mechanical endstops with kliment
> printrun? If so, how? eye rolling smiley

of course, many people do.

The endstop signal is extraordinarily simple, short to ground or floating/5v. Just hook ground to NC, 5v to NO, and signal to C via a 100r resistor. The resistor is to stop it becoming an inductive pickup loop which causes false positives. If your firmware gets it the wrong way around, simply find your chosen firmware's 'invert' flag.

I find that my opto endstops (of my own design) are actually more reliable than my microswitch, although I think that's because mine doesn't have the resistor.


-----------------------------------------------
Wooden Mendel
Teacup Firmware
Re: Teacup connection Problem
June 26, 2011 03:29AM
Why does 100R in series help? The inductive coupling will generate a voltage along the wires. 100R will not attenuate it much.


[www.hydraraptor.blogspot.com]
Re: Teacup connection Problem
June 26, 2011 03:46AM
no idea, but it definitely helps.. probably raises the impedance vs the chip's input capacitance or something, same reason that op-amps driving cables need resistors on the output. Haven't had a single false positive since I put it in.


-----------------------------------------------
Wooden Mendel
Teacup Firmware
Re: Teacup connection Problem
June 26, 2011 05:24AM
Hm.. i can't seem to find out and coding to do with endstops in the kliment, sad smiley can anyone help? I'm betting it's blatently obvious drinking smiley
Re: Teacup connection Problem
June 26, 2011 06:07AM
you want to home using endstops in pronterface?

pronterface doesn't send G161/G162 by default, you have to edit the homing stuff in pronsole.py if you want the home buttons to work properly with teacup.

Alternately you can send G161 X0 Y0 Z0 to find min endstops and set position to [xyz]_min from your config, or G162 to find max endstops and set position to [xyz]_max from your config.


-----------------------------------------------
Wooden Mendel
Teacup Firmware
Re: Teacup connection Problem
June 26, 2011 06:40AM
Ah k thanks, i'll try that!
Re: Teacup connection Problem
June 26, 2011 01:37PM
A series resistor on an opamp output will be a series termination to match the transmission line impedance of the cable to prevent reflections.

Yes it will form an RC filer with the pin capacitance but with a time constant of only a few nanosecods so I have no idea how it has any noticeable effect.


[www.hydraraptor.blogspot.com]
Sorry, only registered users may post in this forum.

Click here to login