Ads

Mostrando entradas con la etiqueta linux. Mostrar todas las entradas
Mostrando entradas con la etiqueta linux. Mostrar todas las entradas

miércoles, 18 de julio de 2018

FreeCAD the open-source CAD Software




Hello everyone, today I´m goint to make a little intorduction to FreeCAD, this program save me when I wasn´t able to use Windows on my computer and also I used in one of my classes.
FreeCAD is an open source 3D modeler, design to make objects of different sizes, it is a good option for hobbyist makers, students and teachers that don´t want to worry about license issues. I have used for a while and I think it has the essential tools to model pieces and printed with a 3D printer.
With this softwae you can run robot simulations and automatize it with you python scripts, also it counts with sketcher for 2D drawing.

FreeCAD supports the next standard formats:
  • STEP
  • STL
  • IGES
  • SVG
  • DXF
  • OBJ
  • IFC
  • DAE
You can downloaded for Windows, Mac and linux.


For linux you can use:


sudo apt-get install freecad 


References:

https://www.freecadweb.org/

miércoles, 4 de julio de 2018

Bluetooth module HC - 06 on Raspberry Pi

On my last blog I published an easy way to use your smartphone as a GPS module using a Bluetoth module to communicate with different boards, but I realize that some people doesn´t know how to configure and connect the Raspberry Pi to the HC - 06 module. So, in this blog that´s what we are going to do.

Materials:
  1. Raspberry PI
  2. HC - 06 Bluetooth module
  3. Wires
  4. Computer with ssh connection program.

Buy here:

Process: 

First we are going to configure our UART port on our Rasberry Pi, this is because by default raspbian has configured its baud rate to 115200 bps and our module use 9600 bps.

Following some instructions from Miguel Bringerg and his very useful blogs I did it in this way:

NOTE: The instruction to open and edit files is: sudo nano -file direction-
  1. First, we are going to open the file /boot/cmdline.txt , and change the options console and kgbdoc  from 115200 bps to 9600 bps.
  2. Now we go to a second file /etc/inittab and also change the property of the port that has 115200 bps to 9600 bps.
All we have to do next is to write some example code, I use the pyserial library from python, you can install it using the next instruction:

sudo pip install pyserial

You can find more information about this library in: 

In this example I configured my serial port and then I read some data that came with letters to detect the variable that is receiving the module:

NOTE: Your device might be called ACM0 intead of AMA0, to check the devices connected to you board use ls /dev/tty*

The right connection of the module is shown next:



Comment and share if you find this useful.

Understanding I2C: The Versatile Communication Protocol for Connected Devices

In the fast-paced world of technology, seamless and efficient communication between electronic components is vital. As devices become increa...