Very nice project! Im trying to learn from it to build an automatic humidifier. Im just not able to import the aia file to my app inventor, could you re export it? It looks a different format. My aia exports look like a compressed file, yours looks like an html file... or am I doing something wrong?
Hey I just checked the file and the current export looks exactly as the old one. It is a binary file, not an HTML file. From GitHub, you need to download the RAW file in order for it to work in App inventor.
Very nice project using BLE to control temperature, can you tell me the range for the Bluetooth control, and do you have any interference problems. Thanks, Bob in the UK.
Hey Bob, the range is typical for Bluetooth, 10-15m depending on obstacles. If you place it somewhere central in the house or apartment, you should be able to access it within. As for interference, I did not had any issues but it would sometimes take a few seconds before it connects properly.
What type (except for jumper wires) and size of the wire would recommend in this project? Cause I'm afraid that the wrong choice of wire could ruin this project.
Hello! Good morning! Is it possible to let us know what kind of XIAO seeed did you use? Is it nRF52840 Sense or nRF52840? Because I believe they are two different version.
The relay needs to interrupt the power to the fan, so it is wired in series with it. One wire goes to COM port on the relay and the other to NO contact. When the relay turns on, these will be connected together, providing power for the fan.
I ran into another problem. I need to display the percentage of three humidity sensors. Should I give them the same characteristic UUID?? There is only one characteristic UUID for humidity!! Help please!
You can either use the same characteristic and pass the three values as colon separated or have three separate characteristics. These can be anything you like.
What version of ArduinoBLE are you using? I'm going through a tutorial which mentions using this library, but I'm unable to compile because the target board is supposedly not supported by the library.
Nvm, I managed to find a different board type for Arduino. As of this writing, when searching for the board package, there are two types. One is the for Seeed nRF52 Boards, and the other is for Seeed nRF52 mbed-enabled boards. You need the latter in order to compile the ArduinoBLE library.
@@raymondduncan5390 I'm using the 1.3.1 version of the ArduinoBLE library and the Seeed nRF52 mbed-enabled boards definitions. The board definition package is probably just updated as I remember installing just a single package as per the Wiki docs for the board.
That board is half the size of an arduino nano.
Another fun project, thanks for sharing.
Thanks David! Yes this one is tiny bit very capable! And also not too expensive!
nice one dude! I did a couple of projects at work with BT LE and Android, fun stuff.
Thanks Rob! Definitely worth investing some time to learn how it works. It really opens up a lot of possibilities.
Very nice project! Im trying to learn from it to build an automatic humidifier. Im just not able to import the aia file to my app inventor, could you re export it? It looks a different format. My aia exports look like a compressed file, yours looks like an html file... or am I doing something wrong?
Hey I just checked the file and the current export looks exactly as the old one. It is a binary file, not an HTML file. From GitHub, you need to download the RAW file in order for it to work in App inventor.
@@TasteTheCode Thank you so much! Worked like a charm. a bit frustrated, thought i had done it before :S. Wish you a nice day!!
Very nice project using BLE to control temperature, can you tell me the range for the Bluetooth control, and do you have any interference problems. Thanks, Bob in the UK.
Hey Bob, the range is typical for Bluetooth, 10-15m depending on obstacles. If you place it somewhere central in the house or apartment, you should be able to access it within. As for interference, I did not had any issues but it would sometimes take a few seconds before it connects properly.
What type (except for jumper wires) and size of the wire would recommend in this project? Cause I'm afraid that the wrong choice of wire could ruin this project.
I think you can use any wire thickness. There is no high current flow anywhere so it becomes a problem. I personally use 24 AWG for low voltage stuff.
Hello! Good morning! Is it possible to let us know what kind of XIAO seeed did you use? Is it nRF52840 Sense or nRF52840? Because I believe they are two different version.
The only difference between the two is the microphone. I mention this in the video.
Last question sir. Do i need to connect my channel relay to the power source? To turn on the fan when it requires cooling.
The relay needs to interrupt the power to the fan, so it is wired in series with it. One wire goes to COM port on the relay and the other to NO contact. When the relay turns on, these will be connected together, providing power for the fan.
@@TasteTheCode so to simplify it, there's no need to connect relay directly to the power source?
@@jagiya2125 The relay has 3 input pins. VCC, GND and In from where you control it, so yes it needs to be connected to a power source.
@@TasteTheCode however, we have already connected the xiao to the power source. Is there a separate connection between the relay and the power source?
I ran into another problem. I need to display the percentage of three humidity sensors. Should I give them the same characteristic UUID??
There is only one characteristic UUID for humidity!!
Help please!
You can either use the same characteristic and pass the three values as colon separated or have three separate characteristics. These can be anything you like.
@@TasteTheCode I used comma separated characteristic but got error
prcntChar.writeValue([Fprcnt,Bprcnt,Rprcnt,Lprcnt]);
You'll need to change it to a String for that and use string concatenation.
What version of ArduinoBLE are you using? I'm going through a tutorial which mentions using this library, but I'm unable to compile because the target board is supposedly not supported by the library.
Nvm, I managed to find a different board type for Arduino. As of this writing, when searching for the board package, there are two types. One is the for Seeed nRF52 Boards, and the other is for Seeed nRF52 mbed-enabled boards. You need the latter in order to compile the ArduinoBLE library.
@@raymondduncan5390 I'm using the 1.3.1 version of the ArduinoBLE library and the Seeed nRF52 mbed-enabled boards definitions. The board definition package is probably just updated as I remember installing just a single package as per the Wiki docs for the board.
Hi. How to fix this error saying that " SerialHCI" was not declared in this scope?
The UUID's, are they just randomly generated, can it be any string?
There are some that are set for a specific purpose and value but for a custom device they can be any random UUID.
I run into a problem when scanning for Bluetooth device. The error says need.amdroid.permission.BLUETOOTH_SCAN......
Yes, when asked, you should allow the app to access Bluetooth on the phone.
@@TasteTheCode its not1asking for permission, it's giving error.
it's a problem with all android 12 devices.l tried it on android 8 and worked fine.
No idea then. It might be a bug in app inventor.
@@TasteTheCodeYes, they are working on it as l have read in a forum.