Which arduino is best

hey guys, Im working on a project where I need two arduinos. I want one to be connected to my pc where I can send a float via bluetooth to the other which will be powered by a external source. The reciving Arduino should then make a signal with the frequancy based on the float sent. That is it. The signal can simply be a square wave. It would also be a advantage if the frequancy can go to the kilo hz roam.

I have already used a mkr wifi 1010 which worked ok, until I fried one of them (I think, see Mkr 1010 suddenly stop responding) so now I need to order new ones (i dont mind the cost). I though I might ask you if you have any other suggestions than the mkr wifi 1010

Your topic was MOVED to its current forum category which is more appropriate than the original as it is not a suggestion for the Arduino project

considering your needs, any model I know will do the job.
even the UNO (and nano for a similar capacity) will fit.

if you are not limited by the budget, you should take a look to others way to communicate like wifi or BLE, with the 33IOT, the 33BLE or a model of ESP32.

Broadcast a frequency, use the tone function, etc.?

Why ?

yes BLE is actually what i ment, that is what i have been using

If you are willing to use WiFi instead of BLE then maybe a D1 Mini, well, 2 of them.

emh, just making a output pin turn on and of with a given frequency. I already established it for low frequencies simply by using a delay function. so, digitalwirte(pin,High)->delay(500)->digitalwrite(pin,Low)->delay(500). So that is all i need, but when i measured the actually frequency i saw the output was a bit of. In my case some better code will probably fix it, but since Im buying a new arduino anyway i though i might buy the best one for doing something similar to that

I think BLE is best. The arduino's is placed within a isolated bunker with no wifi and the distance between them is not to far. As long as there is signal between them so that i can send a float number when I want (within a respons time of some seconds) its fine.

1 Like

Why not use tone? Is the frequency out of range or the duty cycle inappropriate?

because i need wireless comunication where i need some code in both ends, And using two arduinos is a quick and easy way to do that. If you have some other suggestions that would be nice :smiley: My demand is that i need to be able to type a number to in my computer which wirelessly changes something that makes the voltage in a circuit oscillate with a frequency according to my number

I have not tried tone, so i will do that :smiley: the frequency needs to be sett to all number between 0 hz and say 5k hz ish. The most important part is the smaller frequencies though

Smaller as in lower frequency or wavelength. :stuck_out_tongue:

Seriously though, I think tone has a minimum frequency so that may not work for the lower ones.

Create a TCP or Modbus server on your PC and use WiFi or an ethernet shield???

lower frequency (as in a lower number :wink: :smiley: ), yes tone has a lower bound of 31 hz, but my super simple code using delay works fine for frequencies under 100. so i can just make a simple if statement, only using tone for higher frequencies

my love goes to the 33 BLE. I LOVE this board, and I find it very easy to code. And by code I mean direct access register. Sounds hard at the first attempt but the board is really designed for that (my opinion).
A quick read to the datasheet and you should be able to set up a weird number of different timers with a lot of option, and of course, to export the signal on quite any GPIO pin.

with it, I drive my servos without library (setup my own "20ms phase" timer with adjustable trigger, such a pleasure) AND an ultrasonic sensor, everything as a state machine, without any blocking function (you should guess I am very proud of it :grin:)
Just including the arduino BLE library (not crazy enough to try to substitute it!) and it perfectly match my need to drive my remote controlled car.

wish you good with your project! :+1:

Not sure I understand. If the only reason for arduino #1 is to send BLE/Bluetooth data to arduino #2, and it's also connected to the PC, then why not send the BLE data directly from PC to arduino #2?

Because the arduino's is behind a wall of lead. so I only have access to some cables

Lead isn't known for its ability to transmit radio waves...

It blocks radiation well, but those are "hard" particles. I don't think it absorbs or reflects too much radio emission, partially because of its low conductivity.

Edit: but a wall of anything can be a problem too.