Menu

I need to run the Project on a Auduino Leonardo.

2019-09-19
2019-09-27
  • Tony Kostansek

    Tony Kostansek - 2019-09-19

    I have a Latta Panda Alpha board with a builtin Leonardo. I would love to run the Dew controller on the onboard aurduino. I loaded the Scetch but the Serial dont work. I have read that the Serial on this board is a bit different than the nano or Uno. I have tried to change the code but im not sure i know what im doing. Any one tried to use the board for this project.

    Thanks
    T

     
  • brownrb

    brownrb - 2019-09-22

    Have you tried enabling the option THISCONTROLLERISAMICRO

     
  • Tony Kostansek

    Tony Kostansek - 2019-09-23

    No how would i do that?

     
  • brownrb

    brownrb - 2019-09-24

    I would recommend you have a look at the myFocuserPro2 firmware files.
    I believe there is an option there you can use, I think it is well documented
    If you know something about programming Arduino it shouldnt be difficult,

    The myDewControllerPro firmware is designed to run on a Nano.

    Other chips as you have discovered have issues. Some with the Serial port. The usual Serial event is NOT triggered on this boards, so you need to set the Serial up slightly differently. Google will be able to help.

    Regards
    Robert

     
  • Tony Kostansek

    Tony Kostansek - 2019-09-25

    Yeah i tried that project on the leonardo board as well and it dont work either. This board is just different enough to not work i guess.

     
  • Tony Kostansek

    Tony Kostansek - 2019-09-25

    I completly redesigned my board and added room for the Nano.

    I'm building a Telescope mounted pc. With power distribution Focus control and Dew controllers all in on small box. using the Latte Panda Alpha. Ill post photos when its ready.

    T

     
  • Tony Kostansek

    Tony Kostansek - 2019-09-25

    is it possible to shift the Oled diplay over one Pixel to the right.
    The first line displayed is getting cut off for some reasdn.

     
  • Tony Kostansek

    Tony Kostansek - 2019-09-25

    Nevermind i fixed this!!

     
  • brownrb

    brownrb - 2019-09-26

    And the fix was?

     
  • Tony Kostansek

    Tony Kostansek - 2019-09-26

    Well im using a 1106 display. So i added a space to the code for MYOLED print commands
    as so below. notice the space after the (") i did this for all. and this shifted the diplay a few pixels to the right. Seems to have worked for me.
    myoled.print(" AMBIENT : ");

     
  • Tony Kostansek

    Tony Kostansek - 2019-09-26

    can i disable screen 3 somehow. Im not using any board temp or fans. so that info on the display is worthless to me.
    Thanks

     
  • brownrb

    brownrb - 2019-09-27

    as the last statement in void display2()
    change this line
    DisplayPage = 3; // set to display next page

    to read
    DisplayPage = 1; // set to display next page

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.