Posts

Showing posts from August, 2017

Run GPS On Beaglebone Black

Image
Connect the GPS Module to BBBlack Enable UART in Beaglebone Black The BeagleBone  Black has six on-board serial ports. On the BeagleBone Black, it's only the /dev/ttyO0 that is enabled by default, and it is coupled to the serial console. The other serial ports must be enabled before they can be used.  RX  TX  CTS  RTS  Device  Remark  UART0     J1_4  J1_5      /dev/ttyO0 BeagleBone Black only  UART1  P9_26  P9_24  P9_20  P9_19  /dev/ttyO1  UART2  P9_22  P9_21  P8_37  P8_38  /dev/ttyO2  UART3  P9_42  P8_36  P8_34  /dev/ttyO3  TX only  UART4  P9_11  P9_13  P8_35  P8_33  /dev/ttyO4  UART5  P8_38  P8_37  P8_31  P8_32  /dev/ttyO5 Since we connect the gps to pin P9_26 and P9_24, UART1 must be enabled. To enable it, the...

Start Beaglebone Blue Roboticscape with python3

There is  Python library that bindings with some of the functionality of the Robotics Cape library . However it supports only Python 3. Not all functions are supported. Currently supported functions are: MPU9250 PWM motors Encoders LEDs Buttons GPIO inputs The library was design by mcdeoliveira and you can get the library from github here . Start Installation   You must also have python3 installed. If you have not installed python3 yet type sudo apt install python3 python3-pip to install python3 and pip3.Starting with version 0.3, rcpy is available from PyPI . Just type sudo pip3 install rcpy All basic examples for rcpy you can get it here .For more documentation details you can refer to html and pdf.  Run Blink LED example  To run led example you can create a new python file by typing sudo touch led_example.py Then  open the file by typing  sudo nano led_example.py Then copy the program below in the fi...

Getting Started with Beaglebone Blue

Image
Beaglebone blue [source from seedstudio ] Get Connected to Your Board BeagleBoard.org has great start-up instructions. Under the support section, click “ getting started ”.  Follow the three steps outlined on this page: Plug in your Blue with USB Download and install drivers ( find the drive here ) Navigate to the web server on your BBBLUE ( http://192.168.7.2 )  You should see a green box at the top of the screen that tells you you’ve successfully connected to your Blue. If you are on Ubuntu you can ssh to the BBBlue by typing ssh debian@192.168.7.2 The default user name for BBBlue is debian and the password is temppwd. Then check the BBBlue version by typing uname -a debian@beaglebone:~$ uname -a Linux beaglebone 4.4.49-ti-r89 #1 SMP Fri Feb 17 20:59:06 UTC 2017 armv7l GNU/Linux