It appears BeagleBone Black Wireless units are out of stock everywhere indefinitely and possibly forever. As far as I can tell, the Green Wireless is basically the Black WIreless without HDMI and Ethernet, which we do not need in our application. We do need wi-fi, though.
And we need both I2C buses for our application. The diagrams of Green’s headers, P9_19 & P9_20, are shown as I2C2_xxx lines. P9_24 & P9_26 are not shown as I2C1_xxx lines. Can they be used as I2C1? And are those lines brought out to the Grove connector for the UART? (that would be nice if they are.)
Are there any other gotchas between Black Wireless and Green Wireless that we must know?
P9 & P8 header compatibility is important because our custom boards plug directly into P9.
And we make some jumper connections to P8.
Some of the items on the BBGW are not the same as the BBBW.
Wireless takes up some pins.
i2cN is taken up by the Grove Connector
There is a UART taken up by one of the Grove Connectors too. So, one UART Grove Connector and one i2c Grove Connector.
I will post what is taken up in the pins by the Wireless on the BBGW.
Seth
P.S. I am not sure if I can find it right away… I will have to research the idea again. These are the files I will search throughout if you are not too busy:
Those two, separate files are some of the files I will search through. There are also the -common- files to look into. I think these pins are taken up by Wireless on the P9/P8 headers:
P8.14
P8.17
P8.26
P9.30
But! The pins for HDMI are no longer used up and can be used as GPIO and others like PRU peripheral use:
I would like to share my experience with you and save you a lot of agony.
We needed large quantities of BBBW for a new order of our system, after 8 months we realized that there would be no more available BBBW’s. We then ordered a large quantity of BBBG units,
That is where the struggle started and after 40 hours of reflashing operating systems and googling we still could not get it up and running like the BBBW. Even the GPIO was not working.
The BBBG came with a version that was created in 2016 and there appeared to be a number of differences.
Eventually we just ordered a Beaglebone Black and added a USB wireless adapter and were up and running within an hour.
Perhaps you might have better luck, but I am a professional electronic engineer that has spent my life writing c++ and dealing with complex systems and could not get this going. My theory is that if I stuck with the struggle it will eventually work but you have to find the answers somewhere, and I could not.
After this experience we ended up with a large quantity of useless green matter but hopefully more grey matter - wiser.
I really appreciate this information. I thought about going with the USB wireless adaptor but was concerned we’d have to do a lot of work with the kernel to get it to work. Would you share the USB adaptor you used and the steps you took to get it working? We’re running Debian 4.19.
We already have some Black’s on hand. Unfortunately, I’ve already ordered two BBGW units. If I can quickly get them working, I’ll share what I did.
Enter: services - to see the possible Wi-Fi connections.
Enter: agent on - required to set up a new connection.
Enter: connect and the selected Wi-Fi network
This is difficult to do manually so you need to follow the tip below…
Type in “connect” and a space, then using the mouse highlight the appropriate network id. Then right-click the mouse which should copy the id to where the cursor was displayed.
Press enter to connect.
When requested enter the router password, which is displayed on the back of the router.
Finally enter “services” to check if the network is connected. The connected network will have *AR prefix in front.
The LSC is now connected to the router, and you can now disconnect from Putty.
@BryanJ I got the D-Link you suggested and an adaptor cable. I connected to the Black with my USB cable first and edited uEnv.txt to comment out the line to disable wireless. Then I shutdown, plugged in the D-Link wireless using the adaptor cable and booted with a 5V supply. It’s running, judging by the USRx Led activity. A new wifi network called ‘Hidden’ shows up off and on. I don’t think that’s the one via the D-link to the Beagle though. I never see this Beagle. Since I can’t run connmanctl and do the wireless setup unless the wifi is working I don’t know how I use that to get the wifi working. I must be missing a step but I don’t know what it is.
I would add that depending on what version you are running on your BBB, configuring wifi will be different. On new images connman is no longer used with systemd handling networking and you will need to use wpa_supplicant to configure the wifi. If you google Debian wpa_supplicant you will probably find some instructions. I think @RobertCNelson posted something on a thread here about using wpa_supplicant. Might not have been for the BBB, but the process should be roughly the same.
Obviously to set it up, you will need to use either the serial console, or the USB if connected ( you sould be able to SSH into the board using that )
I think there may be a misunderstanding. After I connect the Dlink adaptor to the BeagleBone Black, and start it, I see a new wifi network from my Windows 10 box. It is listed as “unidentified network”. I want to connect to that from my Windows 10 box. Once I am connected to it, I can do all the connmanctl stuff to connect the Beagle to our wifi network through the D-Link. But right now, I cannot connect to the wifi network that the Beagle brings up with the D-Link when it boots. I’m only assuming the ‘unidentified network’ is the one from the Beagle. It is very unlikely it is some other network nearby as we are in an accelerator location on 27 acres with only one other company in the building and they don’t do this type of tech. There are no other companies or building nearby. I’m fairly certain the ‘unidentified network’ is coming from the Beagle. I connected to the Beagle with a USB cable and using a USB multi-port adaptor have the D-Link plug in to the Beagle too. I can use PuTTY and login to the Beagle but when I use connmanctl and execute scan wifi I get this message
connmanctl> scan wifi
Error /net/connman/technology/wifi: Method "Scan" with signature "" on interface "net.connman.Technology" doesn't exist
Until I can get wifi running I’m connecting to it from my Windows 10 PC via the USB connection. So I am using a USB multiport adaptor. Could that be the problem?
I unplugged the wifi adaptor from the multiport adaptor and plugged it back in.
Here’s the output you requested.
root@beaglebone:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So, I powered up from the microSD card with an external power supply. After it came up, I then connected the USB hub which is connecting to my Windows 10 machine and the DLink adaptor. I’m getting the same result. I get the following though when I start connmanctl.
debian@beaglebone:~$ sudo connmanctl
Error getting VPN connections: The name net.connman.vpn was not provided by any connmanctl>
I know I never see this when I run it on BeagleBone Black Wireless Units. @BryanJ - how are you actually connecting the DLink adaptor to the Beagle since the Beagle has a miniUSB socket? And how do you connect with PuTTY BEFORE the wifi adaptor is running? I’m using the USB connection to do that.
I connect the PC to the USB adapter nearest the Ethernet Socket. I think that is the miniUSB socket.
Then using Putty on Address 192.168.7.2 Port 22 I connect to the BBB. This should be work whether you have the DLink adaptor connected or not. As this is a special implementation of the TCP IP stack that allows the USB port to appear as a network lan.