Power meter design-2

I think I decided that the easiest and simplest solution to the chip select problem is to use a small PIC processor to receive a serial data block with the address that the master processor wants to talk to. If the PIC sees that that address matches its own (defined by DIP switches) it will enable the CS.

Why a PIC? I love the MSP430, but being a 3.3V part, I did not want to mix voltages with the ADE7763 that runs on 5. PICs are cheap and ubiquitous with lots of free support at tools. I also happen to have a PIC programmer (EPIC) I purchased way back in 1999. So now I take a break and start writing the code for the PIC.

 

This entry was posted in Home Energy Monitor, Projects, Uncategorized. Bookmark the permalink.

6 Responses to Power meter design-2

  1. Alex Henrique says:

    Have you seen the magazine Everyday Practical Electronics, 05/2007?
    The magazine gives us a power meter, which uses ade7756. But the chip is no longer available, and Analog Devices says ADE7763 is recommended instead.
    The assembly code is available on the journal website for the PIC 16F628A.
    I would love you to send me the code and schematics. I wish to develop a power meter. It would be possible to obtain readings of voltage and amps in a watt hours consumed with LCD?

    • Skye Sweeney says:

      I have not seen this magazine article, but it does not surprise me. Only two manufacturers make custom power monitor chips. And Analog has more than one chip available. Interestingly I am using a PIC16F627A a very close relative of the F628. But I am not using the PIC to control the ADE7763. My PIC is used to control a series a muxes that allow me to sense multiple branch circuits and send them to a simple ADE7763. I am using an Arduino as the master talking to the ADE and the PICs to control the system. I would be happy to send you the Arduino code if you so desire.
      As for the LCD, it would be fairly simple. I am sending the data to a file server for data collection and processing. But it would be just as easy to send it to a serial enabled LCB module like those sold at SparkFun.

  2. Alex Henrique says:

    Wow, so please send me what you can share with me, whether schematic or code.
    This is my email: alexsctj@gmail.com

    How cool it would be something if it were possible to show a graph consumption in watts of any device, showing in a 128×64 LCD. Something like this:
    http://microcontroller.circuitlab.org/2010/06/schematic-pic-lcd-oscilloscope-for.html
    Thanks for your generosity.

Leave a Reply to Alex Henrique Cancel reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image
Refresh

*