Google Glass wifi hotspot - arduino

I need to turn my Google Glass as a Wifi Hotspot in order to send data from Glass to my Wifi Shield (Arduino).
Is it possible to set my Glass as a wifi hotspot?

Google Glass can not work as a hotspot.
You could use a smartphone as hotspot and connect the Glass and arduino to that, then they can talk to each other over that network

No you can't. You cannot expect it to perform as your laptop or phone because instead of full-circuit card that supports 802.11 b/g/n with several antennas, Glass has only one wireless module on its board. That is from a Taiwanese company with module number WM-BN-BM-04 .
You can see the details about that module here or you can even buy it from Alibaba for $10 ;) . Even built-in apps such as video call doesn't run smoothly most probably because of this limited hardware.. But a bigger problem about Glass Wifi is that it only supports WEP -hackable by high school students- and WPA/WPA2. No enterprise. You can have a WIFI connection at home but unfortunately not at university, work etc. So with this in mind, you should probably design only at-home applications with WIFI.

Related

WAC (Wireless Accessory Configuration) ESP8266 Support

Can we share WiFi SSID and Password through WAC, I found a arduino library which support for apple HomeKit and I successfully integrated a Light Bulb but the disadvantage is the WiFi SSID and Password should be hard coded before it flash to the ESP. I tried WiFiManager to avoid this problem but as per my understanding it also not a permanent solution.
So can we use WAC in apple in order to share WiFi credentials with ESP?
WAC uses BLE (Bluetooth Low Energy) to communicate with the device. The ESP8266 doesn't support Bluetooth. So there's absolutely no chance of doing this without adding extra hardware to use BLE.
WAC is also only available for devices which have been certified through Apple's MFi program. MFi used to require that the device use a custom Apple security chip; not sure if it still does. Part of MFi certification is extensive testing of the device.
So even if you add BLE support you're not going to just casually support WAC.

Is the transmission power on Bluetooth Low Energy an Android configurable?

I have a Bluetooth Low Energy Android app project here which works fine so far for most of my android smartphones. I use my BLE weather thermometer in my app anywhere within my room, it works.
Except for a Huawei P30 Lite deivce: With my Huawei I can not get a connection, except I place the BLE Thermometer on my right upper corner on my Huawei smartphone. I assume the Bluetooth antenna is located there in my smartphone?
Under linux I can configure my wifi transmission power like:
sudo iwconfig wlan0 txpower 30mW
Is there such a possibility to configure my Bluetooth Low Energy Android library?
It is not obvious from your question where the problem is. Typically in Bluetooth you have control of the power the peripheral advertises at, so that would be the BLE weather themometer in your case.
I would suggest looking at the HCI logs on the phones to see if they give more insight as to what the issue is.

Bluetooth I Spy

I want to develop a mobile app that listens for broadcasts by a BLE device. My idea generally is patterned on the game "I spy".
In a room full of objects, there should be a numerous Bluetooth beacons. The beacons will have a button and when the button is pressed, it would send a broadcast. One person goes in the room to solve the puzzle so there won't be the need to consider if the broadcast reaches multiple phones.
When the button is pressed, the app should check the clue given and read the corresponding beacon's ID and then alert the user whether they're correct or not.
I would like this to happen without having the user's phone pair with all BLE beacons.
For the beacon, i'm thinking to use something along the lines of an Adafruit LE Friend or flora wearable. This would be soldered to a CR 2025 or similar battery. Do I also need an Arduino or can this be standalone?
I'm thinking that it could be standalone but I have no experience here
For your use case, the flora wearable is the more suitable choice because you can just solder a battery to it and get it to work (the Adafruit LE Friend requires a PC as it is a USB dongle). You will need to do some reading on basic Bluetooth Low Energy (BLE) concepts, and I recommend that you focus on the following:-
Advertising/Broadcasting: This is what your BLE peripherals such as the flora will be doing. These devices will be sending adverts when a button is pressed or a command is sent.
Scanning/Observing: This is what the app developed on mobile phones will do. Your apps will be continuously scanning for those LE adverts and display relevant information to users when those adverts are read.
Luckily these are relatively easy BLE concepts and there are already many examples for both advertising and scanning.
For more resources, I recommend having a look at the following:-
Bluetooth Low Energy: A Primer
Getting Started with Bluetooth Low Energy
Introduction to BLE
I hope this helps.

How can I connect my coffee machine with my phone via bluetooth?

I want to connect my coffee maker with my phone so that I can turn it on and off wirelessly. I understand that I have to use some kind of relay and a bluetooth module with arduino, but my coffee maker is old and doesn't have a board inside so none of the online tutorials help. For reference my coffee maker is very similar to this one: https://www.walmart.com/ip/Holstein-Housewares-5-Cup-Coffee-Maker-with-Removable-filter/170970272 (I couldn't find a schematic online).
You have different ways to solve it. If you just want a wireless switch, it is better if you get something on the web and connect your AC plug to your new switch.
If you want integrate your circuit in the machine for more features like make a coffee, you need also a power supply.
What you need is:
- Arduino
- a power supply 230V/5V (or 110V/5V), since Arduino works with 5V.
- a relais module to switch on and off your coffee machine - check this tutorial: https://howtomechatronics.com/tutorials/arduino/control-high-voltage-devices-arduino-relay-tutorial/
- HC05 module
Finally an android app for the HC05 module. Something like this one:
https://maker.pro/arduino/tutorial/bluetooth-basics-how-to-control-led-using-smartphone-arduino
Instead of powering on the led, you have to powering the coffee machine.

USB Host Mode solution for Motorola-Droid phones

I would like to control an Arduino device with a Motorola phone.
I have a Lilypad (preferred), an Uno, and a Mega Arduino board and I have two Motorola phones (a Droid Bionic and a Droid Razr Maxx) both running Android 4.1.2. According to an App called "USB Host Diagnostics" neither phone has USB Host Mode capability.
A variety of sites suggest the problem is that the phone doesn't provide enough power to the Arduino. Their solution requires cutting up and reconnecting the wires inside the cables. Others say the creation of a special "dongle" solves the problem, as long as it is in the phone when it starts to boot up but is removed before it finishes. Others suggest that it requires rooting the phone, which I'm afraid is probably beyond my comfort level and skill set. And many of these postings are several years old.
Has anyone figured out an smarter/better way to either enable or work-around the host mode capability issue of these phones? Or would it just be easier to find a used Nexus or Galaxy phone?

Resources