Skip to content

ESCs, Sensors and Accessories

392 Topics 2.3k Posts

ESCs, image sensors, ToF and tracking cameras, Microhard and cellular modems, power modules, GPS and other add-on boards.

  • VOXL ESC 4 in 1 Fire

    Unsolved esc
    4
    1
    0 Votes
    4 Posts
    2k Views
    Alex KushleyevA
    @awagner , I think the main issue that started the failure mode was the spin-up type was set to 0 in params, which I do see that you got from the seeker_v1 xml file you mentioned. It is not your fault. The non-sinusoidal spinup is not as reliable and it is mostly not used any more. I will look at removing the old param files that use that option. Let me explain the reasoning behind using a larger ESC, especially during initial testing: the larger (FPV) ESC can handle much larger currents and dissipate a lot more heat, so it can handle much larger glitches, which could arise from mis-configuration during initial testing the ESC firmware does have some timeouts for protection, which generally do prevent fatal issues like this, but if the glitch results in enough current to quickly burn out a mosfet, the ESC cannot recover. The larger ESC (with larger mosfets and larger thermal mass will take longer to burn out, so the ESC's timeout / glitch detector should save it) larger motors in general have larger stall current, which would result in large current if there is some glitch during start-up. based on the numbers that you provided for the motor spec calculator (3.75A hover / 17A max), it should be possible to tune the mini ESC to work, however there are still some things to consider: may need to add more bypass capacitance to handle larger current transients if the motor is stalled (due to impact, etc), there is still a bit higher risk of ESC burning out due to stall detection being a bit too late. As for the xml to use as a starting point.. You can start with this one: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/master/voxl-esc-params/D0020/m0138_3110_900kv_gemfan_10x4.5_tri.xml This is tuned for a 6S application 3110-size 900kV motor with a 10x4.5 tri-blade motor (pretty powerful configuration). You will need to update: voltage (6s to 4s) motor params (kv, rpm curve, etc) you can set the timing advance and sense advance from 20 to 0 (your application is likely not aggressive enough to require tweaking that), although you can do some bench testing to determine if you encounter de-syncs during large rpm transitions : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/master/voxl-esc-tools/doc/low_kv_motor_tuning.md you may need to adjust the spinup power / latch power -- generally keep it between 70-100 (7-10%) but when i tune this, i also usually find the minimum spin-up power that is able to reliably spin up the motor and then add a 10% extra (so 70->80). You can set spin-up power to a higher value in sinusoidal spin-up mode and it will produce a lot more torque, but will also consume more current. I usually try to limit a per motor spin-up current to 1-2 amps as a rule of thumb. for a fixed prop (not folding), your spin-up time can be anywhere between 500-1000ms, you can experiment. If you see the motor skipping during spinup and re-starting, you can increase either spin-up time or spinup power. may want to re-enable start-up beeps (disabled in this config) you can set kp (proportional gain) to 50 first (softer), then bump up to 100 or so, as you build confidence. higher kp will result in snappier response (faster than traditional ESCs without rpm control) but will also draw more current during transitions. (with M0138, you should not need to add more bulk capacitance to ESC power). With correctly tuned sinusoidal spin-up procedure, it should work pretty much 100% of the time (spin up on the first try every time). If you are seeing some inconsistent spin-up behavior, then it is possible there is some parameter issue and it needs to be investigated. When you get your M0138, i suggest updating the params per my notes above and doing some bench testing using voxl-esc tools where you just spin up and stop motors many times in a row and make sure the spin-up is reliable. Please let me know if you have any other questions! Alex
  • Compatible ToF sensor setup with VOXL2 Mini

    Unsolved
    18
    0 Votes
    18 Posts
    9k Views
    Alex KushleyevA
    @Sarika-Sharma , The preview width and height parameters are always in the camera config file, so if you added them, they are duplicates (and will be ignored). Please read through this thread as it has pretty detailed explanation how to configure the correct tof sensor (old or new) for a custom configuration. Camera-server-config-helper is indeed helpful. If you use it correctly, you should not have to manually modify the resolution in the config file. If you still cannot get this to work, please let me know what cameras you have plugged in (and which camera ports) on your voxl 2 mini. Alex
  • Coordinate system in AR0144 Tracking Camera

    Unsolved image-sensor
    3
    1
    0 Votes
    3 Posts
    997 Views
    D
    @Alex-Kushleyev Thanks for the help !
  • VOXL Mini 4 in 1 ESC query

    Unsolved esc
    10
    0 Votes
    10 Posts
    5k Views
    A
    @Alex-Kushleyev Thanks for detailed information and analysis. I am going ahead with further testing with this ESC as per your suggestion. I have changed my propulsion system as follows: Emax Eco II seroes 2306 2400kv motor, propeller Gemfan 5177 and 15000 mah 4S battery. Here is my file with ESC calibration : https://drive.google.com/file/d/1uzbx9MGwF1EvRqJx6tXBqqc-j3XZSgu_/view?usp=sharing All the motor directions are checked and they are correct as per airframe reference. My UAV is able to takeoff a bit but at around 0.5 meters it again decreases its altitude and then after scratching the surface is flipping over. Here is the logs : https://review.px4.io/plot_app?log=08691d7d-887d-41d8-b00d-d543febeea59 Can you spot is my ESC configuration wrong or anything I am missing in PX4 configuration? This flip happened twice in a row and all motor direction are verified to be correct since UAV is able to takeoff. Also any advantage of RPM vs PWM control in VOXL ESC PX4 parameter setup? Also my voxl2 is unpside down so I have set ROLL_180 in Autopilot orientation, but is this creating some problem anywhere is unknown since I can see yaw reset EKF2 estimator flag set as soon as I takeoff.
  • Meaning of esc_state for M0129 Mini 4-in-1 ESC

    Unsolved esc
    2
    0 Votes
    2 Posts
    1k Views
    Eric KatzfeyE
    @schew The ESC states are as follows: 0: idle / not spinning or trying to spin 1: spinning up 2,3: unused 4: very brief transition between spin-up and full back-emf sensing mode (user's commands are not yet executing) 5: back-emf sensing mode (rpm or power control based on user's command) If there is any issue that causes ESC to think it's stalled or communication timed out, it will go through state 0 and then to 1 if non-zero commands are sent via UART. The typical start-up sequence is basically 0->1->4->5 and should stay at 5 until you send a zero command or stop sending commands.
  • VOXL2 IMX664 support

    Unsolved image-sensor
    3
    0 Votes
    3 Posts
    943 Views
    N
    Hello @Alex-Kushleyev , Thank you for your quick response! I thought this might be the case, but I still wanted to confirm. I appreciate your help with the matter.
  • GPS for Starling2

    Unsolved
    5
    0 Votes
    5 Posts
    3k Views
    Nitin Varma VegesnaN
    @Zachary-Lowell-0 thanks.
  • External pwm ESC questions

    Unsolved esc
    3
    0 Votes
    3 Posts
    2k Views
    Alex KushleyevA
    @mkriesel , a few tips.. I suspect FETtec ESC is using a pretty accurate xtal or accurate RC oscillator, so you should not need to calibrate the ESC You can check the current calibration by using QGC to control the individual motors to see at which command they start up and make sure that is very close to the same (typically around 1000us or a bit more) Additionally, you can spin up each motor with propeller at certain % power, lets say 20% or 30% and using an optical tachometer (RPM meter) to measure the speed of each motor Those are some sanity checks you can do without being able to calibrate and without having any ESC telemetry. Regarding the ESC PWM range, the procedure is documented for VOXL2 IO board : https://docs.modalai.com/voxl2-io-user-guide/#how-to-perform-esc-calibration -- please go over that and make sure you did it correctly. Alex
  • 0 Votes
    3 Posts
    2k Views
    Eric KatzfeyE
    @박지현 Unfortunately, for Ardupilot, our ESCs are only supported with UART interface when using the VOXL 2 / VOXL 2 mini as the flight controller. When using Flight Core v2 that is not supported.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • EM9291 eSIM profile

    Unsolved cellular
    1
    0 Votes
    1 Posts
    527 Views
    No one has replied
  • 5G Signal Strength

    Unsolved cellular
    2
    0 Votes
    2 Posts
    935 Views
    groupoG
    @Capstone-0 Our drone crashed and we ditched our project but has ModalAI added support for AT commands for the 5G (I assume EM9291) modem yet? If not, I figured out how to do it and posted instructions here https://forum.modalai.com/post/19131 Once you get those commands, you can set up a service to query the modem for its signal strength and pump the output somewhere. Someone else in that forum discusses it a bit.
  • M0138 protocol

    Unsolved esc
    2
    0 Votes
    2 Posts
    2k Views
    Alex KushleyevA
    Hello @LV-Office-Holder, The M0138 racing ESC only has two I/O pins and they are used for aux PWM output. PWM input is disabled for this ESC due to lack of PWM input for each ESC channel. The ESC protocol example can be found here : https://gitlab.com/voxl-public/support/esc-driver as well as part of PX4 implementation : https://github.com/modalai/px4-firmware/tree/voxl-dev/src/drivers/actuators/voxl_esc . I would suggest referencing the PX4 implementation since it has the latest updates. Additionally, we have voxl-esc test tools (python) : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc . The test tools allow you to spin motors, plot data, perform firmware and parameter updates. Please let me know if you have any other questions. Alex
  • Missing Camera Store Pages

    Unsolved image-sensor
    2
    0 Votes
    2 Posts
    983 Views
    ModeratorM
    @cguzikowski these had been marked NRND (not recommended for new designs) for a while and we removed them due to lack of demand. We may still have some on hand if there is something specific you are looking for. Please reach out to modalai.com/contact and we can see what we can enable
  • Inquiry Regarding Propeller Guards / Safety Accessories for VOXL UAV

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    M
    @tom Thank you very much for your information.
  • 0 Votes
    2 Posts
    1k Views
    Alex KushleyevA
    @Allister-Lim , If you are not monitoring the battery voltage while working with your battery-powered VOXL, it is possible that you are over-discharging the batteries to the point of failure. Especially with LiPo batteries, it is unsafe to over-discharge them, so please be careful. (It seems that you are also using LiPo batteries, in addition to ModalAI Li-Ion batteries also shown (green)). There is nothing wrong with using LiPo batteries, but you have to be more careful with those. Over-discharged batteries lose capacity and Lipo Batteries may become dangerous. It is a good idea to use an appropriate DC power supply when working with VOXL2 while it is powered on continuously. 12V 3-5A Power supply, connected to the APM (which will provide 5V for VOXL) should be sufficient. You should have no problem finding one, but in case you need, here is a link to the AC adapter that we sell : https://www.modalai.com/collections/accessories/products/ps-xt60 Alex
  • 0 Votes
    3 Posts
    1k Views
    M
    @tom Thank you very much for your information.
  • VOXL Mini ESC - AUX Power Output

    Unsolved esc
    8
    0 Votes
    8 Posts
    4k Views
    Alex KushleyevA
    Here are the links to the test firmware: M0129-3 M0129-6 After you update, you should see the following version after running voxl-esc-scan.py (except yours will be M0129-6). The firmware version will be 39.23 and this version will be reserved only for this test firmware: INFO: ESC Information: INFO: --------------------- ID : 0 Board : version 40: ModalAi 4-in-1 ESC (M0129-3) UID : 0x2039333557555304003F0029 Firmware : version 39.23, hash 30c088dc Bootloader : version 184, hash 10bf24c8 ... In case you need help updating ESC firmware: https://docs.modalai.com/voxl-escs/faq/#q-how-do-i-update-esc-firmware We won't officially release this firmware version in order to avoid the aforementioned risk of turning on 5.0V by just installing a firmware update, however we will work on enabling this in the ESC params. Also, just as a reminder, please be careful soldering to the AUX test points, use high quality flexible cables, and use strain relief to avoid lifting the pads. Alex
  • Connecting 2 Boson Cameras and 2 MIPI Cameras (4 Cameras Total)

    Unsolved image-sensor
    9
    0 Votes
    9 Posts
    2k Views
    Alex KushleyevA
    @Jskim , sounds good! Just FYI, i noticed that the config file i provided has some outdated settings for IMX412 camera - I have some better suggestions and will follow up soon. You can still test with the above config - the hardware functionality will not be affected. Alex
  • Which types of power supplies and propellers for Starling 2 Max drones ?

    Unsolved power-module
    3
    0 Votes
    3 Posts
    1k Views
    VinnyV
    HI @souksakone Also, do not ARM the drone when using a power supply. You WILL damage the ESC and we will not honor any RMA/Warranties in that condition. We place warning labels on all main power supply cables for that. Thanks!