Ads

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

jueves, 12 de julio de 2018

Transfer files from PC to BeagleBone/Raspberry

Last week one of my classmates ask me if he could pass a code from his computer to a BeagleBone or Raspberry Pi because sometimes when he copy some code from his computer and then when he paste the code with nano, the code lost its format.
In this entry I will explain you how to use a program called FileZilla, this program will allow us to connect with our devices and access to the files that we have on them.

Materials:

  1.  PC
  2. BeagleBone or Raspberry PIconnected to your PC
  3. Filezilla software
The first thing we have to do is to install de softwae from the oficial site:


Then click on Download FileZilla Client. After this you have to choose between FileZilla pro and FileZilla free.

After downloading and installing you must see a window like this :

Now we have to fill the blank spaces, server is the ip of your device (Raspberry Pi or BeagleBone), you user name, for example on BeagleBone could be "debian" and for the Raspbery Pi could be "pi". Your username password and the port, most of the times the port used is 22.
After filling all the requirements just click on connect and the files of your device will appear at the rigth corner, like in the next image:


Once you are connected you can move, copy and delete files.

Comment and share if you find this useful.



domingo, 1 de julio de 2018

Using android phone as GPS for Arduino and Raspberry Pi projects


Sometimes, when we are making projects money is the principal challenge, and components like GPS modules are kind of expensive. Once I was in that situation and I figured the way to fiinish my work, I did it with cheap and common compoenents, a smatphone and a Bluetooth module.

Nowadays, allmost every person has a smartphone and they come with sensors that we can use in our inventions, like IMU, GPS, Cameras, etc. And we can obtain a Bluetooth module for around $4.00 USD.

So, lets begin with this toturial:

Materials:

  • HC-06 Bluetooth module
Process:


First we are goin to enter to App Inventor, this is a MIT website to create android apps, you are able to log in with your Google account or register with another email.



Once you're logged in, go to start new project. Now that you are in the window of creation you could see a Palette where sensors, buttons and other functions can be added to our app.
We are going to add a ListPicker, WebViewer, Bluetooth Client, Clock and a Location Sensor. Your components and preview have to look like the next screenshot.

On my app I configure the ListPicker like a conecction button, all you have to do is to click on the component and change its properties.


You can change colors, dimensions and another things if you want, but today we are going to make it a little simplier. Now, we have to do the code, don´t worry, this website allows you to program buttons and sensors with blocks. I am going to put some screenshots of each part of the app, you can get blocks from the right corner of the main window. And all fuctions are on the blocks window.



Now the programing:

Connection button:


Clock:


In this image we can see our message that is sended trought our bluetooth module. You can make a script for arduino or python for a Raspberry Pi board, also this could work for BeagleBone.

Now, we can download our app:



Finally, I will leave here an example of how the information can be recieved on an Arduino board.



Comment and share if you found 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...