Reply by September 30, 20092009-09-30
> dim a as byte ' number of seconds
> a=1 'should display 01
Here's one method:

strSecs = mid(cstr(a + 100), 2, 2)
Tom

Reply by September 30, 20092009-09-30
Hello fellows
Any smart way to display a variable's value with 2 digits before de
decimal point, like:

dim a as byte ' number of seconds
a=1 'should display 01
a=5 'should display 05
a 'should display 12

Cheers
David

Reply by September 26, 20092009-09-26
Hi David,
Also you can use a current transducer that give you a dc output proportional to the current.
Here is the link to the company that make them.

Check it out to see if this what your looking.
http://www.crmagnetics.com/pdf/split%20core%20transducers.pdf

Regards,

rosarite

-----Original Message-----
From: gouardopatrick
To: b...
Sent: Sat, Sep 26, 2009 5:47 am
Subject: [BasicX] Re: measuring AC current on the mains circuit

Hello David,

Find below the link for the data sheet of the CSLA2CD that I found on

www.alldatasheet.com

http://pdf1.alldatasheet.com/datasheet-pdf/view/145206/ETC/CSLA2CD.html

Best Regards.

Patrick.

--- In b..., "gouardopatrick" wrote:

>

> Hello David,

>

> To measure AC Current in a non invasive way and secure, I suggest the use of CSLA2CD made by Micro Switch for 50 or 60 Hz.

> This circuit uses a Hall Effect chips inside a magnetic tore and provide an Output Voltage proportional to the current going thought the wire. There is no relation with the 110 or 230 V AC.

> There is also other circuit available (See Internet) but you have "to open" the wire for the measurement.

>

> After you use the A/D converter of the BX24 looking for the max value, the max value them give you the RMS.

> This assumes that you have a resistive circuit drawing the current to measure.

> I have started a project to regulate the current of my electric radiators at home (3 Phases 230V) with an X10 Circuit.

> The current measurement program work and I have to address the X10 side.

> The first tests I made on the BX24 X10 commands coupled with a XM10E-120 are not conclusive, I will try again.

> If this does not work, I will use a MicroMint Serial Plix chips with the XM10E-120.

> Any info from The Group on the BX24 X10 (Simple ON and Off, All On All Off command and connecion to the XM10E) or Plix

> are welcome.

> Best regards and good luck in your project.

> --- In b..., David Sousa Mendes wrote:

> >

> > Hello fellows

>

> >

> > Any ideas on how to measure the AC current of an equipment connected to

> > the wall plug (mains) power using a BX24?

> >

> > Cheers

> >

> >

> > David M.

> >

>

Reply by September 26, 20092009-09-26
Hello David,

Find below the link for the data sheet of the CSLA2CD that I found on
www.alldatasheet.com

http://pdf1.alldatasheet.com/datasheet-pdf/view/145206/ETC/CSLA2CD.html

Best Regards.

Patrick.

--- In b..., "gouardopatrick" wrote:
>
> Hello David,
>
> To measure AC Current in a non invasive way and secure, I suggest the use of CSLA2CD made by Micro Switch for 50 or 60 Hz.
> This circuit uses a Hall Effect chips inside a magnetic tore and provide an Output Voltage proportional to the current going thought the wire. There is no relation with the 110 or 230 V AC.
> There is also other circuit available (See Internet) but you have "to open" the wire for the measurement.
>
> After you use the A/D converter of the BX24 looking for the max value, the max value them give you the RMS.
> This assumes that you have a resistive circuit drawing the current to measure.
> I have started a project to regulate the current of my electric radiators at home (3 Phases 230V) with an X10 Circuit.
> The current measurement program work and I have to address the X10 side.
> The first tests I made on the BX24 X10 commands coupled with a XM10E-120 are not conclusive, I will try again.
> If this does not work, I will use a MicroMint Serial Plix chips with the XM10E-120.
> Any info from The Group on the BX24 X10 (Simple ON and Off, All On All Off command and connecion to the XM10E) or Plix
> are welcome.
> Best regards and good luck in your project.
> --- In b..., David Sousa Mendes wrote:
> >
> > Hello fellows
>
> >
> > Any ideas on how to measure the AC current of an equipment connected to
> > the wall plug (mains) power using a BX24?
> >
> > Cheers
> >
> >
> > David M.
>

Reply by September 26, 20092009-09-26
Hello David,

To measure AC Current in a non invasive way and secure, I suggest the use of CSLA2CD made by Micro Switch for 50 or 60 Hz.
This circuit uses a Hall Effect chips inside a magnetic tore and provide an Output Voltage proportional to the current going thought the wire. There is no relation with the 110 or 230 V AC.
There is also other circuit available (See Internet) but you have "to open" the wire for the measurement.

After you use the A/D converter of the BX24 looking for the max value, the max value them give you the RMS.
This assumes that you have a resistive circuit drawing the current to measure.
I have started a project to regulate the current of my electric radiators at home (3 Phases 230V) with an X10 Circuit.
The current measurement program work and I have to address the X10 side.
The first tests I made on the BX24 X10 commands coupled with a XM10E-120 are not conclusive, I will try again.
If this does not work, I will use a MicroMint Serial Plix chips with the XM10E-120.
Any info from The Group on the BX24 X10 (Simple ON and Off, All On All Off command and connecion to the XM10E) or Plix
are welcome.
Best regards and good luck in your project.
--- In b..., David Sousa Mendes wrote:
>
> Hello fellows

>
> Any ideas on how to measure the AC current of an equipment connected to
> the wall plug (mains) power using a BX24?
>
> Cheers
> David M.
>

Reply by September 25, 20092009-09-25
Hello fellows

Any ideas on how to measure the AC current of an equipment connected to
the wall plug (mains) power using a BX24?

Cheers
David M.