Let me explain it how it goes on in my head, what i want to know if its possible is that i connect the pc via bluetooth to an aruduino uno using a BT module (hc-05 for example) and then at the same time connecting that same arduino uno to an arduino micro with another BT module. Then the intended data transfer would be the pc sends a command to the uno and the uno forwards it to the mico.
Welcome!
What you describe can be done, certainly. It may be the worst possible way to achieve what you're really out to do, though, so some more information about your project would help immensely.
Hi, thanks for the response!
what im set to do is sort of a smart-home model size and i'd like it to have both arduinos act when they recieve commands from the pc as well as act when they recieve certain inputs from sensors on the other arduino. Sorry if im not clear enough.
I have no idea what that is, nor what it's implications are for the Arduino, and why it means you need two. Please elaborate.
Sorry i'll give you some examples, lets say i have a fan (cooler) and an LDR connected to the arduino uno and a motor and a temperature sensor connected to the arduino micro, what id like them to do is be able to be switched on or off via commands sent from the computer and also be able to react for example at certain temperatures from the temp sensor on the micro turn on or off the fan on the uno and the same for LDR, at certain values move the motor on the micro to certain positions
When you say "model size", are you talking about a table-top model of a smart home? Or is there an actual, 1:1 physical home you're working with?
table top
Then don't bother with two Arduinos and just use one that can handle all tasks. Much easier.
Start by connecting the Arduino via a simple USB/UART to your computer, once you've gotten that to work, add the BT support. If you use an ESP32-based 'Arduino' you'll have BT onboard right from the get-go, no additional module needed for it.
yea ive done that already, its more so to showcase IoT (internet of things)
If its too complicated ill ditch the attempt and just stick with controlling one arduino via bluetooth
Whether it's too complicated I couldn't say; it depends on what your abilities are. But it does sound like it's unnecessarily complicated. It's a small model of a home, so running some wires is the obvious thing to do. In a real home, of course if you sensor up the place, you'll be using some wireless tech. At least that's what I did, but I don't use BT. Most of the sensors just send over their data through WiFi to a central server/database. That's also IoT of course.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.