Hey,
I just started learning how to use arduino and how to code in general, and i have this project using tinkercard, where i gotta simulate a muscular contraction on arduino, such contraction the computer will receive and will read its intensity.
In summary i have to send a message to my computer from arduino.
The signal has to have a frequency between 10 to 100Hz and an eletric potential between 1 to 4V.
I would like some tips on how i should code it, where should i start, what should i consider?
On the circuit on thinkercard im using the fuction generator to simulate the contraction.
Thanks!!
aarg:
No, it's an ADC (analog to digital) requirement.
hum, OP said
i have to send a message to my computer from arduino.
The signal has to have a frequency between 10 to 100Hz and an eletric potential between 1 to 4V.
so it was my understanding that the arduino needed to generate the analog signal oscillating Between 1V and 4V. Hence the arduino needing to convert a value (from internal muscular simulation code) to a voltage, that’s the definition of a DAC, isn’t it?
It's not clear at all, there is plenty of room for interpretation, and the OP should immediately post all the work that they have done, to bypass the guesswork barrier...