This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Motor controler board design on DRV8873 with magnetic rudder sensor
#1
Lightbulb 
Hello people, 

I want to share my work.

I played with VNH2SP30, but 3 of 3 boards i sourced from Ebay appeared not working (every board had one of switch transistors not working).
L298N worked, with small motor, but it is too weak.

I designed my own H-bridge HAT board for Arduino for my boat. This design works well for me for year.

[Image: Real%20view%20without%20arduino%201.jpg][Image: Real%20view%20with%20arduino.jpg]

It is based in easy to find chip DRV8873H ($4.45 on Mouser com)
https://www.ti.com/lit/ds/symlink/drv8873-q1.pdf
It  is fully protected H- bridge 5...38V and 10A Peak Current drive. 


All documentation on the board including schematic, gerber files and high resolution pictures
https://github.com/partyvi/Pypilot_motor_DRV8873H

Due to difference in control signals and fact I ordered sensor inputs other way I had to make some add-on changes in the original pypilot/arduino/moror code
Code working with my board is available at [/url][url=https://github.com/partyvi/pypilot/tree/master/arduino/motor]https://github.com/partyvi/pypilot/tree/master/arduino/motor

If somebody is interesting in my solution, I have two bare boards (with no components on them).
I will send them to first two people who will ask for free.  
[Image: 1.jpg]

One more feature is available in my code - magnetic encoder for rudder angle sensor.
It is not installed on the boat yet but on bench testing is very promising.
I am using AS5601 chip (Datasheet). It gives 1024 counts on 90 degrees and it looks absolutely enough.

Main goal was to make rudder sensor working through 1/2inch of fiberglass to avoid exposing sensor circuit, wires to weather and drilling holes.
How it looks like: outside I put magnet in cylindrical enclosure with link to rudder which turns Diametrically Magnetized magnet. Sensor electronics will be mounted under the deck right under the place where magnet. It communicates to Motor board over I2C interface (you can see 4 add-on wires soldered to the Arduino nano). As soon as I2C interface pins are used already i used D9 and D10 for I2c and implemented I2C protocol software.


Let me know if you have questions.

Viktor
Reply


Messages In This Thread
Motor controler board design on DRV8873 with magnetic rudder sensor - by partyvi - 2019-07-21, 11:59 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)