Showing posts with label beaglebone. Show all posts
Showing posts with label beaglebone. Show all posts
Saturday, February 2, 2019
Beaglebone Black Wifi (and others) Serial port notes
Some info from another site on the serial ports.
The BeagleBone Black 1 has 6 on-board serial ports 3.3V TTL.
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.
There is useful information about the serial ports of the BeagleBone in this link 2.
The BeagleBone Black Wireless is Bluetooth 4.1 compatible which is normally compatible with Bluetooth 4.0. Therefore, you should be able to use this 4.0 Bluetooth BLE Link Bee 1 with the SSC32.
some sources:
video with some app, maybe for below link
https://www.robotshop.com/en/easydriver-stepper-motor-controller.html
https://github.com/derekmolloy/beaglebone
--30--
Friday, February 1, 2019
beaglebone black wireless wifi setup
From FAQ for BBB boards.
https://github.com/beagleboard/beaglebone-blue/wiki/Frequently-Asked-Questions-(FAQ)
Using Beaglebone blue board instructions for setting up wifi.
Connect with cloud 9 if wished, or connect with ssh to 192.168.7.2, debian, temppwd (if not changed)
Use following from git FAQ to connect at root prompt using connman
connmanctl
connmanctl> tether wifi off (not really necessary on latest images)
connmanctl> enable wifi (not really necessary)
connmanctl> scan wifi
connmanctl> services(at this point you should see your network appear along with other stuff, in my case it was "AR Crystal wifi_f45eab2f1ee1_6372797774616c_managed_psk")
connmanctl> agent on
connmanctl> connect wifi_f45eab2f1ee1_6372797774616c_managed_psk
connmanctl> quit
FAQ copy is missing a newline, and the agent on step isn't apparent.
The beaglbone black wireless has an accesspoint in control of the wifi, and active..
The connect via 192.168.7.2 connects by the USB network connection.
This is the process to connect to the board via the access point. This will complicate work if there isn't another NIC on the connecting computer, since there will be no internet present from the BBB once connected.
What is the name of the access point SSID and password default on BeagleBone Blue?
SSID: BeagleBone-XXXX where XXXX is based upon the board's assigned unique hardware addressPassword: BeagleBone
I've connected to BeagleBone Blue's access point. How do I get logged into the board?
Browse to http://192.168.8.1:3000 to open the Cloud9 IDE and get access to the Linux command prompt.If you've connected via USB instead, the address will be either http://192.168.6.2:3000 or http://192.168.7.2:3000, depending on the USB networking drivers provided by your operating system.
--30--
Sunday, January 20, 2019
configuration notes for beaglebone pocket
local link to BBB if connected (presented for convenience).
http://192.168.7.2/bone101/Support/bone101/
This will probably apply to the beaglebone black (wireless) which will be used in the Unibone project that is in the queue.
This has some number of extra complications since it has a USB OTG connection for power and also presents a USB networking adapter via that conduit to the host.
This allows for a very interesting control interface via the web, but makes it a bit tricky to
get to the internet with the pocket (since it has no network NIC).
The first few notes here are for configuring the network, setting up ssh.
The default login is debian for the system, which is default for the debian releases.
The network router / gateway address is 192.168.7.1, and 192.168.7.2 is the IP for the debian board on the other side of the USB. On windows at least, the win 10 automagically recognized the connection, created an eth instance for the USB NDIS nic and the ip 192.168.7.1 is visible there.
Login worked to the 192.168.7.2 as advertised.
The time page below doesn't use Debian, so such as installing software must be translated to debian commands. The page's example uses Angstrom (which is advertised on the BBB images).
Also it did not include the incantation for getting the time to be set. ntp was not in the downloaded debian image used, so one must use some way to get the time to set.
http://derekmolloy.ie/automatically-setting-the-beaglebone-black-time-using-ntp/
I also wanted to set the timezone. Not sure how one would do it on the Angstrom release, but on debian, the dpkg reconfigure worked as usual.
dpkg-reconfigure tzdata
This page has info for making Windows 7 host the network connection.
https://ofitselfso.com/BeagleNotes/HowToConnectBeagleboneBlackToTheInternetViaUSB.php
Will research how to use a raspberry pi W or such linux system to host this, with possibly less foolishness with the network setup on the hosting system end. With windows not sure how much has to be redone everytime the system starts and stops.
Also since this will be frequently used on a windows laptop, not sure whether the whole thing will survive suspend, even if the BBB pocket is turned off prior to the exercise of suspending.
Eventually setting up a raspberry pi zero as a router would be valuable as it could also present an IP and make it accessible by natting the connection used by the BBB.
***********************
Hosting system + network with a linux host:
https://elementztechblog.wordpress.com/2014/12/22/sharing-internet-using-network-over-usb-in-beaglebone-black/
The Debian OS is used for the testing which is obtained from here.
BBB console can be obtained by using the following command
ssh 192.168.7.2 -l root
In the BBB console type the followingifconfig usb0 192.168.7.2
route add default gw 192.168.7.1
In the linux console of host system type
sudo su
#wlan0 is my internet facing interface, eth5 is the BeagleBone USB connection
ifconfig eth5 192.168.7.1
iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
iptables --append FORWARD --in-interface eth5 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
Incase network not accessible then type the following in BBB terminalecho "nameserver 8.8.8.8" >> /etc/resolv.conf
To set up a domain use the following (example uses pri domain):
domain pri
search pri
nameserver 10.192.168.1
nameserver 8.8.8.8
***********************
Other links of use:
getting started
How to Connect a BeagleBone Black to the Internet Using USB
discussion for Armbian, but some good info on USB OTG as a tether.
USB OTG as a network - Development - Armbian forum
Announcing $25 PocketBeagle - Google Groups (link into GG discussions)
BeagleBoard.org - latest-images
eLinux org links
BeagleBoardDebian - eLinux.org
--30--
Subscribe to:
Posts (Atom)