I am asking for help, how can I WEMOS D1 wake up with the button? I know how to do this after some time using:
ESP.deepSleep (180000000)
Please help.
Just put your button between RST and GND. Pressing the button will reset (and therefor wake up) the Esp ...
https://nodemcu.readthedocs.io/en/master/modules/node/#nodedsleep
This function can only be used in the condition that esp8266 PIN32(RST) and PIN8(XPD_DCDC aka GPIO16) are connected together. Using sleep(0) will set no wake up timer, connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST.
Related
my bt 3.0 mouse stopped to work after i had changed battery to the charged one.
When i press the right button, the PC is find it, and advice to press tap message to add mouse 3.0 to PC.
After few time, there are 2 kinds of action - it has connected to PC, but cursor not moving. After 1 minute the BT mouse record remove from the BT device list.
And mouse becomes disconnected again.
Or sometimes, when i tap to message, it started to connect, then says, "bt 3.0 mouse connection failed"
I had refreshed OS, then removed BT driver, and all BT devices, all HID devices, then tried again after reboot, same useless.
I had used this mouse before more than a year, and after battery exchange wasn't need to reconnect it again. My Windows is 10. build 19044.2604
does it a system failure or just mouse is broken itself?
(i had wire and wireless 2.4Ghz old mices are operational both in this system. And BT keyboard too.)
Every time I put it in suspend, I have to restart it. I tried clicking keyboard and mouse buttons, but no luck.
I also tried pressing reset, power and recovery button on the device. Power just restarts the device instead of recovering from the suspended state.
Please help.
I'm writing a script on my macbook to trigger the camera shutter on my iPhone.
I'm struggling to understand how to do this programmatically. I've tried:
Using macbook as bluetooth keyboard (don't know how to simulate a volume press)
Using "Switch Control" functionality on Macbook to control the iPhone device (unfortunately it seems like the simulated keypresses don't get sent over to the iPhone)
Any other ideas would be greatly appreciated !
You're close! While a bit of a kluge, you can connect a Bluetooth keyboard to your phone, enable Switch Control on iOS, and bind a key to the "Increase Volume" action. If that doesn't work, you can always bind keys to the "Move to Next Item" and "Select Item" actions, and then then move through the interface one element at a time until you reach the shutter button.
Please, I have a question about BeagleBone Black. Is there a way how to configure BBB to stay off when power is connected? There is the power button for soft power off. It can be used to power on after BBB is turned off. But BBB always start immidietly when the power is connected. I need it to stay off and wait for the button pressed.
It can be done using some hardware modification of Beagle-bone board.
At SYS_RESETN pin Reset Min Push Botton must be replaced with Toggle Switch.
When switch is on state the SYS_RESETIN connected to GND(0 V). The device will not stated till SYS_RESETIN pin is connected to GND(0 V).
When switch is off the SYS_RESETIN will be coneected to VCC(3.3 V)
Now, the device will operate normally.
The schematic can be found here.
Hope, This will be helpful to you.
I've designed a very simple wearable BLE device with one physical button. This device has a UART Service and can notify a connected device when the value change (when the button is pressed).
My goal: The smartphone must be able to send an HTTP request in background every time the button is pressed. even when the app is not running.
For this need, I have to implement the iOS Bluetooth background process with CoreBluetooth. But before, i would like to know if CoreBluetooth can meet my need.
So my questions are:
Is it technically possible to keep a long-term background connection between Smartphone and BLE device, even if the Smartphone reboot.
Can I wake up or start my app in foreground (without notification) when the BLE device button is pressed.
And if the previous statement is not possible, can I execute a very basic HTTP request in background when the user press the button ?
Thank you for your help!