Well if someone like me need a working example, the support provided me with this file and it works:
https://github.com/m5stack/M5Core2/blob/master/examples/Module/SERVO2_PCA9685/SERVO2_PCA9685.ino
Well if someone like me need a working example, the support provided me with this file and it works:
https://github.com/m5stack/M5Core2/blob/master/examples/Module/SERVO2_PCA9685/SERVO2_PCA9685.ino
@xs Also, Servo2 module isnt sopported
Are GoPlus2 module not supported in UiFlow2? Do you plan to add support?
Well if someone like me need a working example, the support provided me with this file and it works:
https://github.com/m5stack/M5Core2/blob/master/examples/Module/SERVO2_PCA9685/SERVO2_PCA9685.ino
Hi,
I'm trying to use various 180 and 360 degree servos using Core2 and Servo2 module. With UIFLOW the servos works as expected but I'm trying with the example arduino example and does not work.
This example:
https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Module/SERVO2/Arduino/SERVO2/SERVO2.ino
Please help.
@felmue said in GoPlus2 Port B with servo with UIFlow:
Hello @xs
I think you are out of luck here. A servo requires a PWM (pulse wide modulation) signal, however the three B ports on the GoPlus2 are only good for simple input and output signals but cannot do PWM.
The GoPlus2 description reads: Three PORT-B interfaces(Analog Input,Digital Output,Digital Input) can be expanded.
And looking at the GoPlus2 blocks in UIFlow the digital output can only be set to 0 or 1, but nothing like PWM.
Thanks
Felix
Thanks, that's what I want to know. I'll use the B Port in the M5Go base instead. Thank you so much.
Well, thanks for your answer and sorry for my english. Is not a PWM a fake analog signal in a Digital pin? Does GoPlus2 Port B not support PWM or it is a UIFlow lack of a feature?
Sorry again for my english.
I have a GoPlus2 and a M5Go Bottom2 attached to Core2. I am trying to drive more than the four servo motors the GoPlus2 support using one of the PortB ports the GoPlus2 have but unsuccessfully.
On UIflow I select a Servo Unit and if I choose in this unit the B port, the servo works with the B port on M5Go Bottom2 but I want to use the B ports in GoPlus2 module.
How can I config the servo unit in UIFlow to work with one of the 3 B ports in this module.
I"m trying to make a Bluetooth controller with a Core 2, two joystick units and two dual button units. I wonder what is the best way to connect the units to Core 2
Does include a lego adapter? If not, could I buy a spare one?