jakkra / Mars-Rover

3D printed and driveable Curiosity/Perseverance inspired Rover
MIT License
488 stars 95 forks source link

Electronics schematics #2

Closed fabriziofiorucci closed 4 years ago

fabriziofiorucci commented 4 years ago

Hello, could you share the electronics schematics? I’m building the electronics based on a raspberry zero and that would come handy.

Thanks!

jakkra commented 4 years ago

I did draw a not very detailed, but good enough psuedo schematic a while ago. This was from before I added the arm and head. Now I have a I2C servo expander which all servos are connected to for saving pins on the ESP32. Capture

fabriziofiorucci commented 4 years ago

That’s a good starting point: what ESCs do you use?

fabriziofiorucci commented 4 years ago

I have a fully working design using 6 L298N drivers for the six dc motors, I’m evaluating whether to switch to ESCs

jakkra commented 4 years ago

I'm using 2 of those with 3 motors connected to each of them https://hobbyking.com/en_us/hobbyking-x-car-45a-brushed-car-esc.html So I don't have control of each motor individually, only each side. I don't see a problem using 6 L298N as long as your DC motors doesn't draw more than 2A under load.

fabriziofiorucci commented 4 years ago

Thanks: I actually am revamping a former rover I built using aluminium instead of plastic, and a lead acid battery instead of LiPO, with the aim of getting a self guided rover using a control software written in Java. Spare time permitting I might upload some contribution to add distance sensors, lidar etc.

jakkra commented 4 years ago

Awesome! I'll also add more sensors after I finish the designing and printing the "back" parts of the rover.

I'm thinking of giving https://nasa.github.io/openmct/ a try for ground control software (the UI). I'm also looking for a new radio to get better range and to be able to stream low res video from ~1000m distance. Yet to find a suitable radio technology.

fabriziofiorucci commented 4 years ago

The openmct project looks quite interesting: on my existing rover I added a GPS receiver and a digital compass and accelerometer, they work quite fine. Saving weight switching from aluminium to ASA and from lead battery to LiPO I might be able to put more stuff on it. I'm experimenting a bit with LoRA for long range telemetry, but it's way too slow for video streaming, please keep me posted on your findings in that area.

fabriziofiorucci commented 4 years ago

Hello, for the sake of curiosity, what kind of DC-DC stepdown converter do you use for servos? I'm running on MG996R that have a stall current of ~2.5A so I was wondering, additionally, if you're using one stepdown converter per servo or what else.

Thank you

jakkra commented 4 years ago

Hi, I'm using variable buck converters like those: https://www.amazon.com/dp/B01MQGMOKI/ref=psdc_10967761_t1_B0758ZTS61 One for each servo (which is kind of a pain)

fabriziofiorucci commented 4 years ago

Thank you!

fabriziofiorucci commented 4 years ago

IMG_0304

Electronics work in progress...

jakkra commented 4 years ago

Looking good! I finished re-routing my wires so now everything is inside. Currently in progress building a controller using Lora.

fabriziofiorucci commented 4 years ago

LoRa is in my todo list: will you use it for both control and telemetry? Would you mind sharing some details? I guess you’ll use arduino/wemos, I’ll try the Raspberry way

jakkra commented 4 years ago

My plan is to use it both for control and telemetry, however I have not yet experimented to see how much the lag is. The idea is to use WiFi control when the rover is close and switch over to Lora when range increases. I'm going to use two TTGO LORA32, replacing the ESP32 dev kit in the Rover with this board with an ESP32 + Lora transceiver and the other board will be in the controller.

fabriziofiorucci commented 4 years ago

That sounds really interesting. Please keep us posted!

fabriziofiorucci commented 4 years ago

IMG_0340 IMG_0338

main board and rocker bogie board assembled and tested, ready to be installed

fabriziofiorucci commented 4 years ago

IMG_0367

Ready for testing

jakkra commented 4 years ago

Looks clean! My current progress: Capture Will have a tablet holder on top also for telematics display.

fabriziofiorucci commented 4 years ago

it looks great! Will you share the f3d model?

jakkra commented 4 years ago

Of course!

fabriziofiorucci commented 4 years ago

rover-2 0-high-level

My high level electronics design, based on Raspberry Zero WH and I2C everywhere.

fabriziofiorucci commented 4 years ago

raw_IMG_0500

Arm and head control board

fabriziofiorucci commented 4 years ago

IMG_0516