10 years, 1 month ago.

The LPC812MAX and the PCF8591 I2C ADC

Hi All - newbie question here...

I have an LPC812MAX board, which I've got hooked up to LPCXpresso. I've got to the flashing LEDs stage reasonably easily.

Seeing the PCF8591 on the board, I thought I had an easy route to making a battery monitor application with this thing.

I'm not finding anything on NXP's website about this ADC chip or any decent support for theboard, other than a reference in the board's sales literature. The NXP weblinks to the board's details are broken.

So - I have found Wim Huiskamp's PCF8591 C++ library on this site, which looks just the thing.

I think my question boils down to....

Is it going to be easier to

a) try and port Wim's library to compile within LPCXpresso (assuming that's a sensible question)

or

b) start again with what I assume would be the mbed toolchain

It seems to me the big advantage of LPCXpresso is that I can just plug in a USB cable and get on with it, whereas I've only just discovered this mbed site and suspect there may be yet another learning curve :-(

Any thoughts gratefully received - I'm swimming in acronyms at the moment, and could do with some help.

Jeff

Aha! I see - I've just found the online compiler - that was easy - genius!

posted by Jeff Adams 23 Oct 2014

1 Answer

10 years, 1 month ago.

Hi,

you can use the online IDE for your development, or export any program/library to the offline tools. Or the third one, look at mbed github repository https://github.com/mbedmicro/mbed, where you can get mbed SDK and do everything offline.

Regards,
0xc0170

Accepted Answer

Thanks Martin - the mists are clearing - I can see a way forward now.

We were just having a chat in the office about how strange it seems that NXP have so little (ie zero) support for this little board.

mbed looks to be a good start.

posted by Jeff Adams 24 Oct 2014