Hardware setup guidance - controlling a lidar

Lets start with saying i got a background in mechanical engineering, which means my electrical knowledge is limited. I hope this post is in the correct subforum, if not i am sorry.

I am working on a project which includes a Lidar [1] connected to an arduino mkr wifi 1010. On top of the arduino mkr there are 2 shields (environment rev2 + imu), but there are not important for the question. Lidar datasheet found in [2].

I want to control (turn on/off) the lidar with the arduino, on average the lidar will be on 3s per minute. The lidar got it's own power source, because the peak current of 300mA is to high (Vcc max is 200ma) to be directly powered through arduino.

I first thought of the setup shown below. However, reading about transistors i think the relay + boost converter could be replaced by a transistor, which would simplify the setup.
Schema1

The new setup would look something like below.
Schema2

I got a couple of questions:

  1. Would you agree the transistor setup is better than the relay setup? In terms of power consumption. Or would you recommend a totally different setup?
  2. Is the transistor setup correct in the first place? And how do i pick the right transistor and resistor (R) for my setup. There are so many options available, which makes it hard to pick one.
  3. In the end i need 2 lidars, the easiest option is just to create 2 identical setups, which is my original idea. Controlling 2 lidars with 1 arduino can be quite tricky according to the internet, or is it easier then it seems?

Thanks in advance!

[1] https://en.benewake.com/TF02Pro/index.html?gad_source=1&gclid=CjwKCAjwoa2xBhACEiwA1sb1BIFK6oNmRgXOeviyVy9k18o9tAcj88y9FJq4aoc23VvSwOdFmvgX2hoC8FwQAvD_BwE
[2] https://doc.switch-science.com/media/files/04d214b4-f352-4559-b840-ebdc44a24ac1.pdf

Maybe not but it depends on how you communicate with the LIDAR.
Please post the datasheet and users manual here.

I added a link to the datasheet. I could not directly upload the datasheet as i am a new user.

What you need is a MOSFET that switches the positive lead of the supply NOT the negative.
Like this one

Also, never connect batteries in parallel.

Oo why not? I did it in previous projects without problems.

Then you were lucky.
If one battery has a lower voltage than the others, then the other batteries will discharge into the battery with the lower voltage, something you never want to happen.

Also, unless the batteries have matched impedances, they will all discharge at different rates, so the battery with the lowest impedance will do the most work, also not something you want to happen.

If you need more capacity (mah) then buy a battery pack with built in protection.
Bettor safe than sorry.

Probably best to do it that way. However, the MKR only has one UART

Ah got it, thanks for the tip. Well i got batteries with built in protection, so its essentially the same as a battery pack.

Batteries with built in protection have a tiny PCB built in, I don't see one in that image and even if it did, it does not make it the same as a battery pack that contains multiple batteries.

Up to you as to what you want to do, I can only point out potential problems.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.