====== BeagleBone Blue ====== * [[http://beagleboard.org/blue |beaglebone.org]] The BeagleBone Blue is a single board computer with a 1GHz [[embedded_systems:ti_sitara_am335x:start|Texas Instruments Sitara AM335x]] (single core) microprocessor together with wifi/bluetooth, IMU/barometer, power regulation and state-of-charge LEDs for a 2-cell LiPo, H-Bridges, discrete connectors for 4 DC motors+encoders and 8 servos. ===== Quick Start ===== A new BeagleBone Blue board comes with debian preinstalled. It can be connected to a host with a USB cable. Upon booting a heart beat application starts automatically which causes the leds to blink. We strongly suggest to flash the board with our custom built [[https://wiki.bu.ost.ch/infoportal/software/linux/yocto/bblue|linux image]]. This image contains the [[http://beagleboard.org/librobotcontrol/index.html|librobotcontrol]] version 1.1.0 together with examples testing all the available peripherals. The preinstalled debian image has the following features \\ IP address 192.168.7.2 \\ Username:**debian** PW:**temppwd** \\ Beside that you have a root user with password:**toor** If anything does not work with your Ethernet over USB interface, you can use the console on UART0 to query your system. For this you need a special [[https://www.brack.ch/delock-usb-2-0-kabel-ttl-seriel-6-pin-5-v-usb-a-pinheader-1-8-m-377414|USB-TTL-3v3 cable]] and an according [[https://www.conrad.ch/de/p/beagleboard-bb-blue-kabelsatz-beaglebone-schwarz-rot-gelb-1606596.html|4-pin adapter cable]]. Connect it to the pins on the board as follows (**Don't connect the 3V3 pin!**): \\ \\ {{:embedded_systems:ti_sitara_am335x:beaglebone_blue:bbblue-ttl.jpg?300|}} \\ \\ {{:embedded_systems:ti_sitara_am335x:beaglebone_blue:beaglebone_bluebbblue-ttl-2.jpg?400|}} **NOTE**: TX and RX are labelled from the perspective of the UART Cable! Connect the cable/adapter's RX to the pin labelled ''TX'' (Pin 4) and the adapter's TX to ''RX'' (Pin 3). \\ Please also note that you need to power the BeagleBone Blue device by using the generic 5V USB port or the 12V power port. Beware that the board can only drive motors when powered with 12V! You can then connect to the BeagleBone Blue device via serial console (e.g. [[https://www.putty.org/|PuTTY]]) with a baudrate of ''115200''. ===== Connectors and Schematics ===== The following figure shows the available connectors on the board. {{:embedded_systems:ti_sitara_am335x:beaglebone_blue:beagleboneblue_board.png?600|}} \\ Detailed electrical information about the board can be found in the {{ :embedded_systems:ti_sitara_am335x:beaglebone_blue:beaglebone_blue_sch.pdf |schematic}}. Pin numbering and multiplexed functions are described in [[ https://github.com/beagleboard/beaglebone-blue/blob/master/BeagleBone_Blue_Pin_Table.csv]] ===== WiFi ===== When connecting to a WiFi, always make sure that both physical antennas are aligned correctly away from the board as follows: \\ \\ {{:embedded_systems:ti_sitara_am335x:beaglebone_blue:beaglebone_bluebbblue-ttl-3.png?400|}} \\ \\ For WiFi configuration there are the following three files with the following content involved (Depending on the Linux image it may also work by just configuring the first file): \\ \\ ''/etc/wpa_supplicant.conf'' : network={ key_mgmt=WPA-PSK ssid="" psk="" } ''/etc/systemd/network/30-wlan0.network'' → if the file does not exist, just create it: [Match] Name=wlan0 [Network] DHCP=ipv4 ''/etc/systemd/system/udhcpc.service'' : [Unit] Description=Start udhcpc DHCP client After=wpa_supplicant.service Wants=wpa_supplicant.service [Service] Type=oneshot ExecStart=/sbin/udhcpc -i wlan0 TimeoutSec=30 Restart=on-failure [Install] WantedBy=network.target After a reboot you can check the IP address of the according ''wlan0'' interface by executing the following command: sudo /sbin/ip a ===== Troubleshooting ===== Using the Beagle Bone Blue attached via USB onto a Windows host may cause the device not being recognized correcty as a RNDIS network device, instead it may show up as a default serial COM device //or// as a unknown RNDIS device with a missing driver as follows: [{{:embedded_systems:ti_sitara_am335x:beaglebone_blue:bbb_troubleshooting_01.jpg|Missing driver!}}] \\ This is a [[https://answers.microsoft.com/en-us/windows/forum/all/windows-10-vs-remote-ndis-ethernet-usbgadget-not/cb30520a-753c-4219-b908-ad3d45590447#:~:text=August%201%2C%202015-,UPDATE%3A,not%2C%20you%20can%20modify%20the%20.inf%20file%20(see%20link)%20accordingly.,-http%3A//www.ev3dev?page=1|known issue]] and caused by the wrong driver being taken by the OS or simply by missing the driver. Either way, to prevent this behaviour, the following driver for the according device has to be changed manually by downloading, unpacking and installing it via //Windows Device Manager//: \\ {{ :embedded_systems:ti_sitara_am335x:beaglebone_blue:20342321_32450c5ebb31a11d277d97836264223a430aa06d.zip |RNDIS driver}} ===== Further Informationen ===== * https://github.com/beagleboard/beaglebone-blue * https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Blue * How to [[writeSDcardImage | write the newest image to SD card.]] * Robot Control Library: * https://github.com/beagleboard/librobotcontrol * main site: http://beagleboard.org/librobotcontrol/ * Using the board with our custom build [[software:linux:yocto:bblue|image]]