Welcome, Guest. Please login or register.

Username: Password:
Pages: 1 2 3 [4]

Author Topic: Standalone Operation  (Read 30224 times)

zozee0214

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Standalone Operation
« Reply #45 on: April 22, 2017, 11:49:21 »

Hi!

What could be the problem, if in my basic hand controller the 2x speed doesn't working, unless I disconnect the hand controller and back?
The other speed is working perfectly.
If I select the 2x speed (short the GPIO_PIN0 (D21) to the GND through a 3.9K resistor) and press the buttons .... nothing. But if I hold any direction button pressed during disconnect the hand controller - and then back - the movement is working. But after I release the button and press another one it doesn't working again.

/Arduino Mega version with protoshield
Hand controller connected to the ST4 port
Astroeq 8.0/
Logged

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: Standalone Operation
« Reply #46 on: April 22, 2017, 12:15:31 »

Hi,

You may have to try a couple of different resistor values. Try with a 4.7k or 6.8k resistor and see if that helps. The 2x speed depends quite heavily on the pull up resistors inside the ATMega.

But also thinking about it, have you connected a 1k resistor between GPIO_PIN0 (D21) and GPIO_PIN2 (D23)? Without that the speed detection won't work properly.

Tom.
Logged
Tom Carpenter (AstroEQ)

zozee0214

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Standalone Operation
« Reply #47 on: April 22, 2017, 21:53:37 »

Yeppp, the 1K resistor was the problem (I forgot :\ ). At now everything is perfect. :)
And the new version is excellent.

Thanx for the answer.
Logged
Pages: 1 2 3 [4]