I am using ESP32 WROOM-32 board and programming it from Arduino IDE. It scans some BLE advertising devices. I have checked these data coming from a distance(Checked about 15 meters far from devices) on a mobile phone. But the ESP32 could only get data from upto 6 to 7 meters of distance. Is there any way to improve the sensitivity in the code?
Thank you in advance...
Related
I have bought an HC-12 module, but as much as I have investigated I have not found a way that a Raspberry Pi with a bluetooth detector called bluelog can detect it.
What do I have to do so that HC-12 wired to a Arduino can be detected with the bluetooth scanner?
How to set HC-12 in 'discoverable' mode?
Thank you
HC12 is a 433MHz transceiver. Bluetooth operates at 2.4GHz
What you're trying to do is impossible and doesn't make any sense.
There are other modules like HC05 or HC06 that communicate via Bluetooth. Your HC12 does not. You'll need a second of those transceivers to establish a connection between the Arduino and Raspberry PI.
This will give you up to 1km of range at lower bandwidth while Bluetooth only works across several meters.
So pick whatever suits your requirements best. A HC12 alone won't do much.
Maybe you should spend a few minutes on researching how radio transmission works befor you buy any equipment.
I am working on ESP32 in Arduino IDE to scan for BLE advertising devices. I want to only look for my known BLE devices. For these known devices I wanted to white list them. Can anyone please guide me in this?
Thanks in advance.
For one of my project I am looking for a way to do Multiple BLE Peripheral Simulation. I need the Peripheral will do Advertise only. No BLE Connect needed. I know Apps like LightBlue or BLE-Utility but that can do simulate only 1 Peripheral at a time. Is there any Mobile or Win8 App or any other way to do Multiple (Say 25) Peripheral Simulation simultaneously?
Thanks in advance.
Regards.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I'm brand new to the Arduino world.
I'm interested in building an Arduino app such that when a button it pressed, the Arduino connects to WiFi and through this Wifi connection accesses a publicly-accessible Web API over HTTP. Accessing the API takes less than 1 second. After this, the whole system should go to sleep until the next time the button is pressed.
The tricky thing is that I want to power this Arduino with disposable (ie: non-rechargable) batteries -- either a single 9V battery or two AA batteries. But I don't know if this is feasible. How much battery power will be consumed by connecting to a Wifi Network? How much battery power will be consumed simply to operate the Arduino chip? Is what I'm suggesting feasible? Do disposable batteries pack enough juice to power this application for hundreds of button-presses?
Yes, you can power an Arduino with disposable batteries. If you want to minimize the power consumption, I'd recommend bypassing the onboard voltage regulator and powering the Arduino through its 5V pin using a switching or an LDO regulator like the LM2936 - these are very efficient and will consume very little power when the board is asleep.
You didn't say which Arduino you're using, or what you're using for wi-fi connectivity, so I can't answer as to what the power requirements of your device would be. But I don't see any reason it would be unfeasable to power it with AA batteries.
I'd recommend against using a 9V battery if long battery life is a consideration. Use AA batteries instead, if you have room. You'll need 4 of them (1.5V x 4 = 6V) because the Arduino needs at least 5 volts to run. But 4 AAs will have a much higher current capacity than a 9V, so they will last much longer.
I like to build a project to make my gardening work smarter! My goal is to measure soil temperature, soil water content, light intensity and also taking a picture, and then wirelessly upload these datasets to a webpage. I can also control the irrigation system (turn on/off the pump switch) via the webpage.
These sensors are anagogic! However, the Raspberry Pi Face (PiFace) Digital Interface is only able to take care of digital signals. The PiFace comes with the relaies, which is pretty handy for a startup project. I just like to get some premade boards and ensemble them easily without too work.
Can I layer up a Raspberry Pi board, an Arduino bridge shield, an Arduino board and a PiFace (or a relay board) without wiring?
I really need a recommended "shopping list" to start with. What should I choose?
I suggest you try following the steps outlined in Arduino and the Raspberry Pi.
I agree that you should involve an Arduino as your conduit to the outside world. Then do a simple serial connection between the two. If you get any Arduino except for the new Due, you have got to get from 5 V (Arduino) to 3.3 V (Raspberry Pi). I'd suggest Sparkfun's Logic Level converter.
Sparkfun also has a good light sensor, TEMT6000 Breakout Board.
While you're there, you can grab a couple of thermistors to measure temperature, Thermistor 10K.
Also, Make did an article on almost exactly what you intend on doing (from the Arduino side), Microcontroller-assisted gardening.
On the Raspberry Pi side, Pygame will give you a huge head-start on connecting to the Arduino and taking webcam shots. A Halloween Sound Trigger with Raspberry Pi and Arduino should get you started.
According to what you describe, you may achieve this with only an Arduino UNO, an Ethernet Shield, sensors (at least temperature and light) and a cheap CMOS camera.
If you want to take advantage of the two worlds (Raspberry with Arduino I/O capabilities), you may also consider the Raspberry Pi to Arduino shields connection bridge from Cooking-Hacks: they provide both library and tutorial to start with.