Card Velleman K8055, sensor PT100 , wireless

Hi,
I’m a french student and i must work on a K8055 velleman card, for my training period.

On this card, i must control some relay, which control motor and ventilators.
I must recuperate three temperatures on a vat (which contain alcool).

But this vat is in movement, so i can use classic sensor, So it must be wireless. First, i have thought about a Xbee module, but this solution need a serial port to recuperate the informations.

Now, i don’t know what i can do, so i need your help.

Thank’s a lot.

Dje

You can use the K8055 to measure temperature using the PT100 thermo element. See thread:
[forum.vellemanprojects.eu/t/k8055-et-pt100/879/1)

You can use the digital outputs of the K8055 to control relays etc.

If I understand the application is mobile… could you please explain more detailed what is the problem.

So i explain the problem,
I know i can use the K8055 to control relays (24 VDC, so the card support this tension), i can use the input analog to recuperate PT100 sensor temlperature.

Now the problem : I must recuperate the temperature into a container, but the container is in rotation. So i can use some wires because there is a rotation.
So, i search a solution to transport the temperature with a wireless solution.

I find this :
radiospares-fr.rs-online.com/web … &R=4892948

This is a great solution, but you see it’s too expensive. So i need another solution, or the same solution, but less expensive than this product.

Thank’s a lot and sorry for my bad english.

OK, now I see what the problem is.
At the moment you have a good and straightforward solution. Using the wireless transmission system you can transfers the analog current signal 4 mA … 20 mA.

Sorry that I can not suggest any lower price solution.

I have another solution, but i don’t know if it is possible.
Can i have some email adress, to send you some pictures wich resume my idea?

This idea is to use the new Xbee module.
Thank’s.

I think it may be interesting for other visitors to this forum to see your ideas too…

You may upload your image to some free image hosting service e.g. servimg.com/

First time you have to enter your e-mail address to get password.
After getting the password and logging in, click upload and browse to your image location …

You’ll get a link to the picture uploaded. Copy and paste the link to your post to this forum.
Select the link and click the Img button.

Ok i start Ubuntu and i do this ^^. Just few minutes.

My project :

I have another question :
I don’t know if the digitals output can support alternating current.

Thank’s

Looks interesting but I think you have to do some programming to get the XBee modules working in your configuration…

A snippet from the product manual:

[quote]2.2.7. Configuration Example
As an example for a simple A/D link, a pair of RF modules could be set as follows:

Remote Configuration
DL = 0x1234
MY = 0x5678
D0 = 2
D1 = 2
IR = 0x14
IT = 5

Base Configuration
DL = 0x5678
MY = 0x1234
P0 = 2
P1 = 2
IU = 1
IA = 0x5678 (or 0xFFFF)

These settings configure the remote module to sample AD0 and AD1 once each every 20 ms. It
then buffers 5 samples each before sending them back to the base module. The base should then
receive a 32-Byte transmission (20 Bytes data and 12 Bytes framing) every 100 ms.[/quote] Looks simple!

Your other question:

The digital outputs are NPN transistor open collector outputs and only for DC. See the application examples on page 22 of the K8055 manual how to connect external power supply and relay to the digital outputs.

Hi,
I have some news : To control the relay, i can use directly the K8055 card, because the output support 100mA Max and to control relays, i use more than 250mA. So i will add the VM129 module, is it a good solution?

Does the output analog of the VM129 module can support alternativ current ?

To program the Xbee, it seem not difficult, but i don’t know if i can use 6 transmitter for 1 receiver.

Do you think my project is feasible.

Jérémy.

Yes the VM129 can switch AC current:

[quote]Specifications
eight high quality relay contacts, 5A/230Vac max
relay outputs are transient suppressed using VDRs
LED confirmation on each relay contact
eight drive inputs to use with open collectors or regular switches
…[/quote]

Your project is feasible what concerns the use of the K8055 and the VM129.
I have no experience of the XBee. Can’t say anything about that section and can’t support – sorry.

Ok,
I make some test with the 6 relays, and finnaly, i will use 24vdc.
So i will contrôl the relays with the K8055 and VM129.

If you can help me in this part, i will be very happy ^^

Thank’s a lot.

Hi,
My programm is advancing but i have some problems.
To recuperate letters from the terminal (with serial port), i use the fonction

int read_chain(int argc,char *params[])

In my principal programm (

[quote]int main (int argc,char *params[]) [/quote])

i use this fonction to activate some actions, like a motor :

[code]
int read_chain(int argc,char *params[])
{
int i;
for (i=1; i<argc;i++) //Boucle de test des caratères envoyés.
{
if(strcmp(params[i],"-motor")==0)
{
printf("\r\n°°°°moto activation°°°°\r\n");
motor=1;
goto ok;

	}
}
erreur : printf("Bad command\r\n");
return 0;

ok : printf("Make Command\r\n");
return 1; 

}[/code]

My principal programm :

[code]
int main (int argc,char *params[])
{
if (read_chain(argc,params))
{
if ( OpenDevice(0)<0 )
{
printf(“Could not open the k8055 (port:0)\n”);
return (-1);
}

	else
	{
	           if(motor==1)
	          {
                                WriteAllDigital(1); //Activation
                                printf("Motor ON\r\n");
                       }
            CloseDevice();
            }
	
      }
      return 0;

}[/code]

This programm does’nt have problems, but i want to have a confirmation of the motor’s activation. So, to activate the motor, i want user write in terminal : “k8055 -motor”
then a sentence tell him : “be carefull ,this command will activate the motor. Send -ok to confirm”.
Then, if the user write “-ok”, the motor start, but if the user doesn’t write “-ok”, the motor doesn’t start.

I hope you will understand my request.
Thank’s.

Nobody can help me ?