Teacup firmware problem with Temp thermiston in Repetier-Host

edited May 2017 in General
Hi
i am experimenting  with teacup firmware  and uno board
The problem is that  Repetier-Host doesn't  saw the  extruder temp...  is always   0c

in the other hand when i connect my board to  Pronterface i am getting the right readings 

also when i send the M105 command in the Repetier   nothing happens 


any Help 

Thanks in advance 

Comments

  • What does teacup return on M105 exactly? I guess it is just not returning the expected format.
  • As I can remember (I am not in the pc right now to confirm it) it doesn't return nothing..

    Also I remember that when I connect the board to Repetier-Host it says bad M command 111,
    bad M command 80
    bad M command 20


    I will check them all the above later day that I will be infront the machine
  • M111/M80/M20 are not important so no harm here. But for M105 the return format needs to be known exactly to help here.
  • Hi
    This is from the log  in Repetier-host. As  i can see it can read the temperature right in the log but  doesnt display it in the  ''manual control'' graphic panel  where the extruder  is


    '' 08:21:55.440 : start
    08:21:55.552 : N1 M110*34
    08:21:55.552 : N2 M115*36
    08:21:55.552 : N3 M105*36
    08:21:55.553 : N4 M114*35
    08:21:55.563 : ok
    08:21:55.563 : ok
    08:21:55.566 : N5 M111 S6*98
    08:21:55.567 : N6 T0*60
    08:21:55.567 : N7 M20*22
    08:21:55.568 : N8 M80*19
    08:21:55.568 : N9 M105*46
    08:21:55.590 : N10 M111 S6*86
    08:21:55.590 : ok
    08:21:55.590 : ok
    08:21:55.590 : N11 T0*10
    08:21:55.595 : T:0.0/0.0
    08:21:55.595 : ok
    08:21:55.595 : ok
    08:21:55.600 : ok
    08:21:55.600 : ok
    08:21:55.606 : ok
    08:21:55.606 : ok
    08:21:55.607 : ok
    08:21:55.607 : ok
    08:21:55.611 : ok
    08:21:55.611 : ok
    08:21:55.616 : rs N8 Expected checksum 97
    08:21:55.616 : ok
    08:21:55.616 : ok
    08:21:55.616 : ok
    08:21:55.621 : ok
    08:21:55.621 : ok
    08:21:58.653 : N12 M105*20
    08:21:58.662 : T:22.50/0.0
    08:21:58.663 : ok
    08:21:58.663 : ok
    08:22:01.654 : N13 M105*21
    08:22:01.664 : T:22.0/0.0
    08:22:01.664 : ok
    08:22:01.664 : ok
    08:22:04.656 : N14 M105*18
    08:22:04.665 : T:21.50/0.0
    08:22:04.665 : ok
    08:22:04.665 : ok
    08:22:07.658 : N15 M105*19
    08:22:07.667 : T:22.50/0.0
    08:22:07.667 : ok
    08:22:07.667 : ok
    08:22:10.659 : N16 M105*16
    08:22:10.668 : T:23.25/0.0
    08:22:10.669 : ok
    08:22:10.669 : ok
    08:22:13.661 : N17 M105*17
    08:22:13.670 : T:23.25/0.0
    08:22:13.670 : ok
    08:22:13.670 : ok
    08:22:16.663 : N18 M105*30
    08:22:16.672 : T:23.25/0.0
    08:22:16.672 : ok
    08:22:16.672 : ok
    08:22:19.665 : N19 M105*31
    08:22:19.675 : T:23.25/0.0
    08:22:19.675 : ok
    08:22:19.675 : ok
    08:22:22.667 : N20 M105*21
    08:22:22.675 : T:22.50/0.0
    08:22:22.675 : ok
    08:22:22.676 : ok
    08:22:24.972 : N21 M105*20
    08:22:24.983 : T:23.25/0.0
    08:22:24.983 : ok
    08:22:24.983 : ok
    08:22:25.668 : N22 M105*23
    08:22:25.677 : T:23.25/0.0
    08:22:25.677 : ok
    08:22:25.678 : ok
    08:22:28.670 : N23 M105*22
    08:22:28.679 : T:22.50/0.0
    08:22:28.679 : ok
    08:22:28.679 : ok
    08:22:31.672 : N24 M105*17
    08:22:31.682 : T:23.25/0.0
    08:22:31.682 : ok
    08:22:31.682 : ok
    08:22:34.673 : N25 M105*16
    08:22:34.683 : T:23.25/0.0
    08:22:34.683 : ok
    08:22:34.683 : ok
    08:22:37.675 : N26 M105*19
    08:22:37.684 : T:23.25/0.0
    08:22:37.684 : ok
    08:22:37.685 : ok
    08:22:40.678 : N27 M105*18
    08:22:40.688 : T:23.25/0.0
    08:22:40.688 : ok
    08:22:40.688 : ok
    08:22:43.679 : N28 M105*29
    08:22:43.690 : T:23.25/0.0
    08:22:43.690 : ok
    08:22:43.690 : ok
    08:22:46.682 : N29 M105*28
    08:22:46.691 : T:22.0/0.0
    08:22:46.691 : ok
    08:22:46.691 : ok
    08:22:49.683 : N30 M105*20
    08:22:49.693 : T:19.75/0.0
    08:22:49.693 : ok
    08:22:49.693 : ok
    08:22:52.685 : N31 M105*21
    08:22:52.694 : T:22.0/0.0
    08:22:52.694 : ok
    08:22:52.695 : ok

    ''


  • Very dense. I see it omits the space before / with target value. So temperature is 22.0/0.0 which is not a number.
  • This is the result from pronterface when i send M105

    ''>>> m105
    SENDING:M105
    T:21.50/0.0

    ''


    and here if i place a target for the  hotend


    ''
    Setting hotend temperature to 185.000000 degrees Celsius.
    >>> m105
    SENDING:M105
    T:22.50/185.0

    ''




  • edited May 2017
    and here is what i am getting in repetier log when i place  a target temperature for the extruder   (without having connected the heater element, that is why the temperature doesnt rise up )

    ''

    10:28:18.778 : ok
    10:28:20.670 : N17 M104 T0 S200*21
    10:28:20.679 : ok
    10:28:20.679 : ok
    10:28:21.769 : N18 M105*30
    10:28:21.778 : T:24.25/200.0
    10:28:21.778 : ok
    10:28:21.778 : ok
    10:28:24.770 : N19 M105*31
    10:28:24.780 : T:23.75/200.0
    10:28:24.780 : ok
    10:28:24.781 : ok
    10:28:27.772 : N20 M105*21
    10:28:27.782 : T:23.25/200.0
    10:28:27.782 : ok
    10:28:27.782 : ok
    10:28:30.775 : N21 M105*20
    10:28:30.783 : T:23.25/200.0
    10:28:30.784 : ok
    10:28:30.784 : ok
    10:28:33.777 : N22 M105*23
    10:28:33.788 : T:22.50/200.0
    10:28:33.788 : ok
    10:28:33.788 : ok
    10:28:36.778 : N23 M105*22
    10:28:36.788 : T:23.25/200.0

    ''




    But still i dont get no graphical readings in the  ''manual control'' panel





  • As I said host does not understand it only knows it has set temperature. If you can add a space so that
    T:23.25/200.0
    becomes
    T:23.25 /200.0

    then it shoudl show graph. SHould be not hard to add the space in teacup. For next release I try to read also the wrong(non standard) output format.

  • Thanks for the help :)

    even i dont have any background of studies in  programming i manage to find the right file and alter the code

    now thanks to your help  the repetier host can read the values :)

    this is a post for feature reference  if any one has the same problem

    the file that should open in an editor in the  teacup folder is the   ''temp.c''

    and   in the   line   619-620    :
    ''
    #ifdef REPORT_TARGET_TEMPS
        sersendf_P(PSTR("/"));
    ''

    have to add a space before  /

    be like that :

    ''
    #ifdef REPORT_TARGET_TEMPS
        sersendf_P(PSTR(" /"));
    ''

     then compile and will work just fine :)



  • Meanwhile I have fixed the issue as well for next host release. Then both solution swill work.
Sign In or Register to comment.