Arduino+ temperature sensor

Hello,


I find a document that describes the steps to recover the temperature with an arduino (using the Ubuntu VM) https://www.tango-controls.org/developers/education/
so I started to follow but in the step of validation and configuration of the device communication I need to install the gtkterm ubuntu package software but I can't install it with the VM (new with ubuntu too :'(). so I'm looking for someone who has already done this manipulation that could help me please.
Hi,

TangoBox VM documentation says:

tango-cs user has sudo rights, so he may invoke commands as superuser with command sudo.

So you should be able to install gtkterm with the following commands:

sudo apt update

sudo apt install gtkterm


Hoping this helps.
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
thank you,
yes I already did this but it seems that there is a problem in the internet connection of the VM. do you have any solutions for that.
the installation error: [url=[fichier-1]]connexion.png
I encourage you to look for help in the Ubuntu community or on the web because this is not a Tango related problem.
By looking at web pages like this one for instance:
https://www.pcworld.com/article/2455972/how-to-fix-your-internet-connection-in-ubuntu-linux.html
or on askubuntu

If your computer needs to use a proxy to get access to the internet, you will need to update your proxy configuration settings on the Tango VM Ubuntu to get access to the internet (you might need to contact your system administrator (if you have one)) to get information on these proxy settings (if you are behind a proxy).



Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
edit /etc/apt/apt.conf

Acquire::http::proxy "http://<proxy>:<port>/";
Acquire::ftp::proxy "ftp://<proxy>:<port>/";
Acquire::https::proxy "https://<proxy>:<port>/";
hello raph38130,

I think it's you who put the document for temperature recovery with an Arduino smile.
so I try the 2nd method: creating a Serial device server but when I test the device ca gives me server state is unknown for 2 attributes (state, status), could you explain to me the changes you have bring for the generated code and what attributes did you create ?? and then for the temperature sensor what is the difference between setting the property / dev / ttyACM0 or esrf / serial / 21?
Edited 5 years ago
 
Register or login to create to post a reply.