Show Posts
Pages: [1]
1  Using Arduino / General Electronics / Re: UART and Open Drain on: February 04, 2013, 10:16:03 am
Thanks for fast response!/Crocco
2  Using Arduino / General Electronics / UART and Open Drain on: February 04, 2013, 08:58:17 am
Hi,

In my project I want to communicate my Arduino with TI BQ2018 Battery Monitor. Communication is done with proprietary HDQ and I cant find any Library supporting it. However in one of the manuals http://www.ti.com/lit/an/slva101/slva101.pdf they state that I could use UART with 57600, non-parity and 2 stop bits which should mean that I can send and receive 8-bit word for each bit of communication. I suppose I can use ordinary serial in my Mega?

But, to do so it says:

"Also note that the TX and RX of the UART must be tied together. In case the TX output is not
an open-drain output, it will need to be inverted and then drive the gate of an NFET with the
open drain tied to the RX input. See Figure 1.

http://www.tiikoni.com/tis/view/?id=d575932


My question is what inverter and NFET should I use? Any special considerations/specifications?

 
3  Using Arduino / Project Guidance / Re: Battery Monitor with TI BQ2018 on: January 07, 2013, 05:47:28 am
Hi Klaus,

My boat is on land due to the winter in Sweden smiley-sad

My project involves also an RPM meter for my Yanmar engine (based on a Hall effect sensor on the flying wheel), an IR Temperature sensor for the engine to get early warning if cooling fails. This is why I started off by buying the ACS756KCA-50B current sensor to start with, combining it with a Voltage divider to measure the Voltage. When I get this working I will lay my hands on the TI BQ2018.

I'm keen on hearing how it develops for you!

Regards

Crocco
4  Using Arduino / Project Guidance / Battery Monitor with TI BQ2018 on: December 23, 2012, 01:01:25 pm
Hi,

I have project which among others involves a battery monitor for my lead acid batteries in my boat. I've searched for a solution with wide dynamic range for measuring current (mA to 100 A) and I found this nice piece TI BQ2018 ( http://www.ti.com/product/bq2018#technicaldocuments) that would be perfect for my needs.

However, it uses a less used proprietary communicating protocol (HDQ - http://www.ti.com/lit/an/slva101/slva101.pdf) and I can't find an existing Library for it. I'm an Arduino newbie and my programming skills haven't been used since the 80s, so I see this as a big challenge.

Anyone out there that has code for this? If not, I'm happy to get some guidance how to do it. Could I instead of starting from scratch change an existing Library (I2C, 1-wire etc)? Which one?

The BQ2018 seems to be a very good sensor for battery monitoring, maybe there are someone else that are interested in a wide dynamic range current sensor and get it to work with Arduino?

/Crocco
Pages: [1]