imurvai

Eurobricks Citizen
  • Content Count

    343
  • Joined

  • Last visited

Everything posted by imurvai

  1. Hi, the internal motors are on port A and B.
  2. BrickController2 is an Android and iOS application that allows you to control your Lego models using a compatible gamepad. It supports the following devices: - SBrick - BuWizz 1-2 - Lego Powered-Up devices: Boost, PUP HUB and Technic HUB (or Control+) - PF infrared (on Android devices having infrared emitter). Features: - Multiple profiles for a single creation - Multiple motor (or output) assignment to a single controller event - Different types of devices can be used at the same time - The same motor (or output) can be assigned to multiple controller events - Different joystick characteristic settings - Different button modes: normal button, simple toggle, ping-pong toggle, carousel toggle, ... - Train mode on joysticks - Normal and servo mode for the new Control+ motors BrickController 2 on the Google Play Store: BrickController2 android BrickController 2 is also available on the Apple App Store. BrickController2 iOS Video tutorial created by @kbalage (many thanks for this): And another great video by @kbalage: Older versions: BrickController Android application. It lets you to control Lego creations via Lego infra-red, SBrick and BuWizz V1 and V2 using any Android compatible game controller: Current version: BrickController 0.6 User guide: BrickController User Guide Minimum system requirement: Android 4.4 and bluetooth low energy support on the phone (or tablet) Video on the older SBrickController application:
  3. imurvai

    [APP] BrickController2

    Thanks for the info. To be honest I haven't tried with wired controllers. This is something I forgot to update on the github site, sorry for that. Originally the requirement was Android 4.3 but in the meantime I started using an external library requiring Android 4.4.
  4. imurvai

    [APP] BrickController2

    On certain Android phones BC2 produces lags in play mode. The simptoms are the same as @Philo is experiencing, device tester and the controller testers are working OK, but there are lags, stuck motors during playing. Unfortunately on my Android devices this issue doesn't appear so it's quite hard to debug/fix it. I'm in contact with users experiencing the issue and I'm trying to fix it. Sorry for the inconvenience...
  5. imurvai

    [APP] BrickController2

    Actually I did some changes relating to the scheduling, so it's great it fixed you lag issues. No, at least yet. Once I have one I'll add support for them.
  6. imurvai

    [APP] BrickController2

    Sure, I'll check if the servo range can be extended...
  7. imurvai

    [APP] BrickController2

    Hi, the actuator calibration would only be possible with the new PoweredUp motors like in the 42100 set as only these motors have encoders built in. At the moment I don't see when I have capacity to implement this feature. You did nothing wrong, unfortunately it's a known issue for certain BuWizz2 devices. I don't know exactly how to detect if the ports are swapped so most probably I'll add an option to tell if the ports need to be swapped.
  8. imurvai

    [APP] BrickController2

    Yes, it's on my TODO list. Yes, it's a known issue on certain Android phones and unfortunately I haven't found out why it's happening :( From iOS 13 the Sony PS4 and XBox One controllers are supported so that they can be used on both platforms.
  9. imurvai

    [APP] BrickController2

    Version 2.6 has been released for both Android and iOS. Changes: - Introduced the initial version of the sequences feature for basic automation like flashing lights - Minor fixes Happy playing!
  10. imurvai

    [APP] BrickController2

    You can also rename the hubs in the device details page for easier identification.
  11. imurvai

    [APP] BrickController2

    Unfortunately it's not possible since when the phone is unlocked it doesn't get the controller events. 1. Good idea, if I have time I'll modify it to dark. 2. Hmm, interesting. I put it on my TODO list. Yes, I'm also experiencing lags and halts, so I'm on it...
  12. Hi @Philo, do you want to access that in your program or physically? If in software then check my code from BC2: https://github.com/imurvai/brickcontroller2/blob/master/BrickController2/BrickController2/DeviceManagement/ControlPlusDevice.cs There's a method called SetupChannelForPortInformationAsync which instructs the hub to send port information notifications. This notification is handled in the OnCharacteristicChanged method where both the absolute and relative positions are calculated from the response.
  13. imurvai

    [APP] BrickController2

    Yes, I also thought about this idea recently. Unfortunately the current version doesn't differentiate the controllers.
  14. imurvai

    [APP] BrickController2

    After doing the calibration did you press the checkmark on the top right corner of the screen? It is essential otherwise the calibration data is lost. I don't think the calibration is needed during playing because if the model is properly calibrated the servo should start at the calculated position.
  15. imurvai

    Powered Up - A tear down...

    Technic motors (L and XL) are not working with the move hub in BrickController2 too, so it seems to be a hardware and/or firmware limitation. The medium motors (from the batmobile) are working with it though.
  16. imurvai

    [APP] BrickController2

    Tricky! :) Usually gamepads have 3-4 modes they can operate with. Try changing that modes. But if the controller tester worked then I don't see why you could not add events.
  17. imurvai

    [APP] BrickController2

    Hmm, strange. Thanks for the feedback, I'll check the dead zone setting...
  18. imurvai

    [APP] BrickController2

    Just created a short video demostrating that BC2 can be used to control trains too:
  19. imurvai

    [APP] BrickController2

    @schraubedrin It's cool you finally managed to get it work and thank for the info regarding the lineage os. It's good to know issues can happen with that. BTW BC2 version 2.5 went live for Android in the meantime containing the servo fix. iOS version is still under review...
  20. imurvai

    [APP] BrickController2

    Ok, I've set back the C+ servo parameters as they were in version 2.3 and added fix for the servo getting stuck issue. Version 2.5 is on its way in both stores, currently it's being reviewed...
  21. imurvai

    [APP] BrickController2

    Yes, the Android and iOS codebase is the same. Not sure why the endpoint issue is happening, I'm testing and releasing a possible fix very soon...
  22. imurvai

    [APP] BrickController2

    Hmm, weird. Could anyone of you try this 2.5alpha version ? I'm trying to improve the responsiveness of the app in this update and hopefully resolves the servo functionality too.
  23. imurvai

    [APP] BrickController2

    Hi, not sure I understand your issue correctly. So in servo mode the motor turns and gets stuck at a certain position? The other thing you experienced is the overshot effect. It happens when the servo needs to turn a big angle and in these cases the servo speed is set to a higher value to get the position faster. In these cases the motor turns a bit more and corrects itself. It happens in the official app as well.
  24. imurvai

    [APP] BrickController2

    BrickController2 2.4 has been released for both Android and iOS. Changes: - Stepper motor type for Control+ devices. - Accelerator button (and axis) type - mainly good for controlling trains - Minor UI improvements and fixes - eg. dark mode fix for iOS Happy playing! :)
  25. imurvai

    [APP] BrickController2

    Hmm, in that case BC2 should also work. Could you send me the raw advertisement data for the C+ hub from the nRF Connect app? Cool, happy playing! :)