0:00
0:00

Noticias

Robots Didácticos

Robots Didácticos

Robótica, Automatización, control industrial, microcontroladores, electrónica digital
  • Control de relés por enlace de 2,4 GHz – módulos NRF24L01 (Domótica 4)
    La función de este artículo es dar ejemplos de comunicación inalámbrica entre dos placas Arduino, utilizando el módulo transceptor basado en el chip NRF24L01. En la imagen se observa dos formatos de módulo transceptor, ambos con el chip NRF24L01. Este chip utiliza la banda de 2,4 GHz y puede operar con velocidades de transmisión de […]
  • Control de relés con control remoto IR: Domótica (3)
    En este ejemplo probamos el sistema de encendido de lámparas y equipos eléctricos conectados al voltaje de red manejado por un control remoto estándar (IR = Infrarrojo). Los comandaremos con teclas elegidas del control remoto, que primero identificaremos con un simple programa en Arduino. Si usted desea leer con más detalle sobre control remoto con […]
  • Control con relés por interfaz serie: Domótica (2)
    En este ejemplo haremos un sistema de encendido lámparas y equipos eléctricos que funcionan con voltaje de red, y los controlaremos con caracteres enviados por línea serie a través del Monitor Serie del IDE de Arduino. Si usted desea leer con más detalle sobre la comunicación serie, le recomendamos el artículo ¿Qué es la comunicación […]
  • Módulos de relé y Arduino: Domótica (1)
    En este artículo ofrecemos información para controlar dispositivos que funcionan con el voltaje de red usando un módulo de relé. Al final de este trabajo usted debería poder controlar cualquier dispositivo eléctrico con un microcontrolador como el Arduino. Módulo de dos relés Un relé es un interruptor mecánico operado eléctricamente que se puede encender o […]
  • Pez robot se mueve alimentado con “sangre” falsa
    La historia comienza a centenares de metros de altura con las aves migratorias, y termina con un pez robótico nadando en el agua debajo. Para prepararse para sus viajes, las aves engordan mucho, hasta casi duplicar su peso, lo que las convierte en baterías emplumadas. Queman esa reserva de energía para impulsar sus alas a […]

Programación Scratch para Niños

Programación Scratch para niños paso a paso
  • Scratch
    SCRATCH es un lenguaje de programación desarrollado por MIT diseñado para niños con el objetivo de enseñarles conceptos de programación a una edad temprana y que así puedan desarrollar sus habilidades creativas, inventando sus propias historias, animaciones, música, juegos y más. Lo más divertido de aprender programación con SCRATCH, es que no es necesario que […]
Aprendiendo Arduino

Aprendiendo Arduino

Aprendiendo a manejar Arduino en profundidad
  • Itinerario Formación Arduino
    Con este escenario, en un acercamiento a esta disciplina, se busca el desarrollo de hardware abierto como Arduino permiten construir dispositivos digitales y dispositivos interactivos para controlar objetos del mundo real. Así, se presenta el siguiente itinerario desde un nivel básico para ir paso a paso profundizando en sus contenidos para luego pasar a otros […]
  • Catálogo de Formación
    Este catálogo contiene los itinerarios formativos para Arduino, Raspberry Pi, IoT/Industria Conectada, ESP8266/ESP32 y Digitalización profesorado, así como otros cursos y talleres para impartir de forma presencial.  Los itinerarios formativos están compuestos de varios cursos de 20 horas cada uno, empezando por un nivel sencillo sin necesidad de conocimientos previos hasta un nivel avanzado o […]
  • Primera Reunión Organización Arduino Day 2020 La Rioja
    El jueves 9 de enero nos reunimos en el área UR-Maker de la Universidad de la Rioja para comenzar la organización de Arduino Day 2020. Este año las actividades se centrarán en el Centro Ibercaja La Rioja en Logroño aunque también haremos otros eventos en el Colegio Obispo Blanco Nájera y en otros lugares aun […]
  • Grafana y Arduino
    Grafana es un software libre basado en licencia de Apache 2.0, que permite la visualización y el formato de datos métricos. Permite crear cuadros de mando y gráficos a partir de múltiples fuentes, incluidas bases de datos de series de tiempo como Graphite, InfluxDB y OpenTSDB. Originalmente comenzó como un componente de Kibana y que […]
  • API REST
    Las API REST se han convertido en una herramienta muy importante para los desarrollos con IoT al permitir conectar servicios entre sí. Vamos a explicar qué son exactamente. La interfaz de programación de aplicaciones, conocida también por la sigla API, en inglés, application programming interface, es un conjunto de subrutinas, funciones y procedimientos (o métodos, […]

Programamos

Videojuegos y 'apps'
  • EU Code Week sigue batiendo récords
    Toda la gran familia de embajadores, docentes, investigadores y emprendedores que formamos parte de EU Code Week estamos esta semana de enhorabuena, puesto que hemos conocido las cifras finales de participación en 2019 y lo cierto es que se han batido todos los récords. Así, un total de 4,2 millones de personas participaron en más de [...]
  • La Uberización de la educación
    Aunque hay muchos recursos de Code.org que nos encantan, desde luego los objetivos finales y los valores de esa organización no son los mismos que los que mueven a Programamos. Y esto es algo que su fundador y CEO pone claramente de manifiesto con algunas de sus reacciones. Así, cuando hace unos meses un conductor [...]
  • Séptimo aniversario de la muerte de Aaron Swartz – Honremos su legado
    El próximo 11 de enero es una fecha triste en nuestro calendario, ya que se cumple el séptimo aniversario del fallecimiento de Aaron Swartz, que se suicidó tras una persecución judicial en EEUU por haber descargado millones de artículos académicos con el objetivo de que cualquier persona pudiera leerlos. Y desde Programamos creemos firmemente que [...]
  • «The CTP book» – Pensamiento computacional y programación con Python para las Humanidades
    Recientemente Silvio Peroni ha publicado el libro The CTP Book, que utiliza en sus clases del curso de Pensamiento Computacional y Programación del grado en Humanidades Digitales y Conocimiento Digital de la Universidad de Bolonia. La intención del autor es ofrecer material abierto y gratuito para ayudar a estudiantes que vienen del mundo de las [...]

"ubuntu" - Google News

Google News

Planet Ubuntu

Planet Ubuntu - http://planet.ubuntu.com/
  • Stuart Langridge: Write more
    I’ve written a couple of things here recently and I’d forgotten how much I enjoy doing that. I should do more of it. Most of my creative writing energy goes into D&D, or stuff for work, or talks at conferences, or #sundayroastclub, but I think quite a lot of it is bled away by Twitter; an idea happens, and then while it’s still just an idea I tweet it and then it’s used up. There’s a certain amount of instant gratification involved in this, of course, but I think it’s like a pressure valve; because a tweet is so short, so immediate, it’s easy to release the steam in a hundred tiny bursts rather than one long exhalation. I’m not good at metaphors, but in my head this seems like one of those thermometers for charities: my creative wellspring builds up to the overflow point — call it the value of 50 — and so I tweet something which drops it back down to 48. Then it builds up again to 50 and another tweet drops it back to 48, and so on. In the old days, it’d run up to fifty and then keep going while I was consumed with the desire to write but also consumed with the time required to actually write something, and then there’d be something long and detailed and interesting which would knock me back down to thirty, or ten, or nought. I kinda miss that. I’m not sure what to do about it, though. Swearing off Twitter isn’t really an option; even ignoring the catastrophic tsunami of FOMO that would ensue, I’d be hugely worried that if I’m not part of the conversation, part of the zeitgeist, I’d just vanish from the public discourse. Not sure my ego could cope with that. So I’m between the devil and the deep blue sea. Neither of those are nice (which, obviously, is the point) but, like so many people before me, and I suspect me included, I think I’m going to make an effort to turn more thoughts into writing rather than into snide asides or half-finished thoughts where maybe a hundred likes will finish them. Of course I don’t have comments, so your thoughts on this should be communicated to me via Twitter. The irony hurricane proceeds apace. (Or on your own weblog which then sends me a webmention via the form below, of course, but that’s not all that likely yet.) Check in a month whether I’ve even remotely stuck to this or if I’ve just taken the easy option.
  • Ubuntu Blog: Teaching Robotics with ROS on Ubuntu at SRU
    This week, as part of my work on the Ubuntu Robotics team, I headed up to Slippery Rock University in northwestern PA to meet with Dr. Sam Thangiah and to introduce students to the Robot Operating System (ROS).  New semester, lots of new opportunities for learning! We started with a really simple robot environment.  Check out this build! This Raspberry Pi runs an Ubuntu 18.04 image which gives it all the built-in LTS security advantages. It’s mounted on piece of plexiglass with two motors and a motor controller board from the PiHut.  We worked through about 75 lines of sample python code which hooked the RPi.GPIO library to control the general purpose I/O pins, and we created an abstract Motor class.  This got our two-wheeled robot up and running…running right off the table. Oops. Getting moving was just the beginning.  With a robot active in the physical world, we identified plenty of new problems to solve.  One motor ran a bit faster than the other and the robot drifted right. Sometimes one of the wheels lost traction so the robot didn’t go where we sent it.  But probably the most important problem yet to solve was to keep it from running into things… and from running off the table Many of these problems are solved by the Robotics Operating System (ROS), the evolving product of a very active and innovative open source robotics community.  With ROS installed on the Pi, another 25 lines of python code created a ROS node listening for commands on the “/move” topic. Devices on the network were able to send motion commands directly to the robot, and we opened the door on the immense library of tools available within ROS. Robotics can be an outstanding learning tool where the digital realm meets the physical realm.  It’s a place where a student’s code makes real, observable actions and where they can experiment with their environment.  In just over an hour, our conversations wandered over everything from basic electrical theory to mechanical engineering, including a touch of kinematics, some mathematics, and a few lines of python code to solve our problems.  If you’d like to learn more about building your own two-wheeled robot, see the “Your first robot” blog and video series by Kyle Fazzari, Canonical’s lead engineer in robotics. Now that they’ve been given the basic building blocks, it’ll be exciting to see what a room full of motivated students can produce this semester!
  • Ubuntu Blog: How to protect your data, applications, cryptography and OS – 100% of the time
    Businesses looking to maximise the security, reliability, efficiency and performance of their essential, mission-critical applications are recognising the mainframe as a robust platform for a variety of workload types. With Ubuntu on IBM Z and LinuxONE, enhanced security features, pervasive encryption and cryptographic support are leveraged by any workload that must stand up to the most stringent compliance and regulatory standards and certifications. In this technical discussion, we will provide an introduction to: * Protecting your operating system* Ongoing kernel updates, package updates and security patches* Long term support that facilitates timely upgrade planning and custom solution development to protect the infrastructure investment* Protecting your cryptography*Protected key support*Setup, configuration and usage components for cryptographic operations* Protecting your data* Protecting data at rest and data in flight* Protecting your applications* Protected application environment with Secure Service Containers Watch this webinar
  • Simos Xenitellis: How to use virtual machines in LXD
    Traditionally, LXD is used to create system containers, light-weight virtual machines that use Linux Container features and not hardware virtualization. However, starting from LXD 3.19, it is possible to create virtual machines as well. That is, now with LXD you can create both system containers and virtual machines. In the following we see how to setup LXD for virtual machines, then start a virtual machine and use it. Finally, we go through some troubleshooting. How to setup LXD for virtual machines Launching LXD virtual machines requires some preparation. We need to pass some information to the virtual machine so that we can then be able to connect to it as soon as it boots up. We pass the necessary information to the virtual machine using a LXD profile. Creating a LXD profile for virtual machines Here is such a profile. There is a cloud-init configuration that essentially has all the information that is passed to the virtual machine. Then, there is a config device that makes available a disk device to the virtual machine, and from there it can setup a VM-specific LXD component. config: user.user-data: | #cloud-config ssh_pwauth: yes users: - name: ubuntu passwd: "$6$iBF0eT1/6UPE2u$V66Rk2BMkR09pHTzW2F.4GHYp3Mb8eu81Sy9srZf5sVzHRNpHP99JhdXEVeN0nvjxXVmoA6lcVEhOOqWEd3Wm0" lock_passwd: false groups: lxd shell: /bin/bash sudo: ALL=(ALL) NOPASSWD:ALL description: LXD profile for virtual machines devices: config: source: cloud-init:config type: disk name: vm used_by: This profile Enables password authentication in SSH (ssh_pwauth: yes)Adds a non-root user ubuntu with password ubuntu. See Troubleshooting below on how to change this.The password is not in a locked state.The user account belongs to the lxd group, in case we want to run LXD inside the LXD virtual machine.The shell is /bin/bash.Can sudo to all without requiring a password. Some extra configuration will be passed to the virtual machine through an ISO image named config.iso. Once you get a shell in the virtual machine, you can install the rest of the support by mounting this ISO image and running the installer. We now need to create a profile with the above content. Here is how we do this. You first create an empty profile called vm. Then, you run the cat | lxc profile edit vm command which allows you to paste the above profile configuration and finally hit Control+D to have it saved. Alternatively, you can run lxc profile edit vm and then paste in there the profile text. $ lxc profile create vm $ cat | lxc profile edit vm config: user.user-data: | #cloud-config ssh_pwauth: yes users: - name: ubuntu passwd: "$6$iBF0eT1/6UPE2u$V66Rk2BMkR09pHTzW2F.4GHYp3Mb8eu81Sy9srZf5sVzHRNpHP99JhdXEVeN0nvjxXVmoA6lcVEhOOqWEd3Wm0" lock_passwd: false groups: lxd shell: /bin/bash sudo: ALL=(ALL) NOPASSWD:ALL description: LXD profile for virtual machines devices: config: source: cloud-init:config type: disk name: vm used_by: Ctrl^D $ lxc profile show vm We have created the profile with the virtual machine-specific. We have now the pieces in place to launch a LXD virtual machine. Launching a LXD virtual machine We launch a LXD virtual machine with the following command. It is the standard lxc launch command, with the addition of the --vm option to create a virtual machine. We specify the default profile (whichever you use in your LXD installation) and on top of that we add the VM-specific configuration with --profile vm. Depending on your computer’s specifications, it takes a few seconds to launch the container, and then less than 10 seconds for the VM to boot up and receive the IP address from your network. $ lxc launch ubuntu:18.04 vm1 --vm --profile default --profile vm Creating vm1 Starting vm1 $ lxc list vm1 +------+---------+------+------+-----------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +------+---------+------+------+-----------------+-----------+ | vm1 | RUNNING | | | VIRTUAL-MACHINE | 0 | +------+---------+------+------+-----------------+-----------+ $ lxc list vm1 +------+---------+--------------------+------+-----------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +------+---------+--------------------+------+-----------------+-----------+ | vm1 | RUNNING | 10.10.10.20 (eth0) | | VIRTUAL-MACHINE | 0 | +------+---------+--------------------+------+-----------------+-----------+ $ We have enabled password authentication for SSH, which means that we can connect to the VM straight away with the following command. $ ssh ubuntu@10.10.10.20 Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-74-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Jan 24 09:22:19 UTC 2020 System load: 0.03 Processes: 100 Usage of /: 10.9% of 8.68GB Users logged in: 0 Memory usage: 15% IP address for enp3s5: 10.10.10.20 Swap usage: 0% 0 packages can be updated. 0 updates are security updates. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ubuntu@vm1:~$ Using the console in a LXD VM LXD has the lxc console command to give you a console to a running system container and virtual machine. You can use the console to view the boot messages as they appear, and also log in using a username and password. In the LXD profile we set up a password primarily to be able to connect through the lxc console. Let’s get a shell through the console. $ lxc console vm1 To detach from the console, press: +a q [NOTE: Press Enter at this point] Ubuntu 18.04.3 LTS vm1 ttyS0 vm1 login: ubuntu Password: ********** Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-74-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Jan 24 09:22:19 UTC 2020 System load: 0.03 Processes: 100 Usage of /: 10.9% of 8.68GB Users logged in: 0 Memory usage: 15% IP address for enp3s5: 10.10.10.20 Swap usage: 0% 0 packages can be updated. 0 updates are security updates. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ubuntu@vm1:~$ To exit from the console, logout from the shell first, then press Ctrl+A q. ubuntu@vm1:~$ logout Ubuntu 18.04.3 LTS vm1 ttyS0 vm1 login: [Press Ctrl+A q] $ Bonus tip: When you launch a LXD VM, you can run straight away lxc console vm1 and you get the chance to view the boot up messages of the Linux kernel as they appear. Setting up the LXD agent inside the VM In any VM environment the VM is separated from the host. For usability purposes, we often add a service in the VM so that it makes it easier to access the VM resources. In LXD VMs we do this by setting up the LXD agent service. First, get a shell into the virtual machine either through SSH or lxc console. ubuntu@vm1:~$ sudo -i root@vm1:~# mount -t 9p config /mnt/ root@vm1:~# cd /mnt/ root@vm1:/mnt# ls -l total 6390 -r-------- 1 999 root 745 Jan 24 09:18 agent.crt -r-------- 1 999 root 288 Jan 24 09:18 agent.key dr-x------ 2 999 root 5 Jan 24 09:18 cloud-init -rwx------ 1 999 root 595 Jan 24 09:18 install.sh -r-x------ 1 999 root 11495360 Jan 24 09:18 lxd-agent -r-------- 1 999 root 713 Jan 24 09:18 server.crt dr-x------ 2 999 root 4 Jan 24 09:18 systemd root@vm1:/mnt# ./install.sh Created symlink /etc/systemd/system/multi-user.target.wants/lxd-agent.service → /lib/systemd/system/lxd-agent.service. Created symlink /etc/systemd/system/multi-user.target.wants/lxd-agent-9p.service → /lib/systemd/system/lxd-agent-9p.service. LXD agent has been installed, reboot to confirm setup. To start it now, unmount this filesystem and run: systemctl start lxd-agent-9p lxd-agent root@vm1:/mnt# reboot By installing the LXD agent inside the LXD VM, we can run the usual LXD commands such as lxc exec, lxc file, etc. $ lxc shell vm1 root@vm1:~# logout $ lxc exec vm1 -- sudo --user ubuntu --login ubuntu@vm1:~$ Troubleshooting Error: unknown flag: –vm You will get this error message when you try to launch a virtual machine while your version of LXD is 3.18 or lower. VM support has been added to LXD 3.19, therefore the version should be either 3.19 or newer. Error: Failed to connect to lxd-agent You can launched a LXD VM and you are trying to connect to it using lxc exec and get a shell (or run other commands). The LXD VM needs to have a service running inside the VM that will receive the lxc exec commands. This service has not been installed yet into the LXD VM, or for some reason it is not running. Error: The LXD VM does not get automatically an IP address I created a LXD VM and did not have to do any preparation at all! When you lxc launchor lxc init with the aim to create a LXD VM, you need to remember to pass the --vm option in order to create a virtual machine instead of a container. To verify whether your newly created machine is a system container or a virtual machine, run lxc list and it should show you the type under the Type column. How do I change the VM password in the LXD profile? You can generate a new password using the following command. We are not required to echo -n in this case because mkpasswd with take care of the newline for us. We use the SHA-512 method, because this is the password hashing algorithm since Ubuntu 16.04. $ echo "mynewpassword" | mkpasswd --method=SHA-512 --stdin $6$BzEIxmCSyPK7$GQgw5i7SIIY0k2Oa/YmBVzmDZ4/zaxx/qJVzKBfG6uaaPYfb2efJGmJ8xxRsCaxxrYzO2NuPawrPd1DD/DsPk/ $ Then, run lxc profile edit vm and replace the old password field with your new one. How do I set my public key instead of a password? Instead of passwd, use ssh-authorized-keys. See the cloud-init example on ssh-authorized-keys. Discussion In LXD 3.19 there is initial support for virtual machines. As new versions of LXD are being developed, more features from system containers will get implemented into virtual machines as well. In April 2020 we will be getting LXD 4.0, long-term support for five to ten years. There is ongoing work to add as much functionality for virtual machines in order to make it into the feature freeze for LXD 4.0. If you are affected, it makes sense to follow closely the development of virtual machine support in LXD towards the LXD 4.0 feature freeze. Simos Xenitellisblog.simos.info/
  • Podcast Ubuntu Portugal: Ep 74 – WSL por Nuno do Carmo (parte 2)
    Episódio 74 – WSL por Nuno do Carmo (parte 1). E eis que chega a continação da história: 2 Ubuntus e 1 Windows entram num bar e… Já sabem: oiçam, comentem e partilhem! https://ulsoy.org/blog/experiencing-wsl-as-a-linux-veteran-part-1/ https://meta.wikimedia.org/wiki/WikiCon_Portugal https://www.humblebundle.com/books/python-machine-learning-packt-books?partner=PUP https://www.humblebundle.com/books/holiday-by-makecation-family-projects-books?partner=PUP https://stackoverflow.com/questions/56979849/dbeaver-ssh-tunnel-invalid-private-key https://fosdem.org https://github.com/PixelsCamp/talks https://pixels.camp/ Apoios Este episódio foi produzido e editado por Alexandre Carrapiço (Thunderclaws Studios – captação, produção, edição, mistura e masterização de som) contacto: thunderclawstudiosPT–arroba–gmail.com. Podem apoiar o podcast usando os links de afiliados do Humble Bundle, porque ao usarem esses links para fazer uma compra, uma parte do valor que pagam reverte a favor do Podcast Ubuntu Portugal. E podem obter tudo isso com 15 dólares ou diferentes partes dependendo de pagarem 1, ou 8. Achamos que isto vale bem mais do que 15 dólares, pelo que se puderem paguem mais um pouco mais visto que têm a opção de pagar o quanto quiserem. Se estiverem interessados em outros bundles não listados nas notas usem o link https://www.humblebundle.com/?partner=PUP e vão estar também a apoiar-nos. Atribuição e licenças A música do genérico é: “Won’t see it comin’ (Feat Aequality & N’sorte d’autruche)”, por Alpha Hydrae e está licenciada nos termos da [CC0 1.0 Universal License](https://creativecommons.org/publicdomain/zero/1.0/). Este episódio e a imagem utilizada estão licenciados nos termos da licença: Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0), cujo texto integral pode ser lido aqui. Estamos abertos a licenciar para permitir outros tipos de utilização, contactem-nos para validação e autorização.

Agencia nacional de promoción científica y tecnológica

Internacional de la educación - Últimas noticias sobre Education Unions Worldwide

Internacional de la educación - Últimas noticias sobre Education Unions Worldwide

Education International es la federación de organizaciones que representan a más de 30 millones de profesores y otros trabajadores de la educación, a través de más de 400 organizaciones miembros en más de 170 países y territorios.