New project help greatly needed!
hi guys,
i want work on new project , need bit of guidance on hardware require , if possible?
heres want achieve:
. circuit closed (using button push or conductive ink ect.), im guessing couple of pins on breadboard?
. arduino reads circuit closed , converts ascii 2 code letter or number.
. letter or number gets sent pc & acts keyboard, trigger playback of audio or video clip in resolume.
any appreciated on this! if need further clarification please let me know.
i need know bits of hardware need this?
many thanks.
i want work on new project , need bit of guidance on hardware require , if possible?
heres want achieve:
. circuit closed (using button push or conductive ink ect.), im guessing couple of pins on breadboard?
. arduino reads circuit closed , converts ascii 2 code letter or number.
. letter or number gets sent pc & acts keyboard, trigger playback of audio or video clip in resolume.
any appreciated on this! if need further clarification please let me know.
i need know bits of hardware need this?
many thanks.
. circuit closed (using button push or conductive ink ect.), im guessing couple of pins on breadboard?so in effect want take binary value switch, 0 or 1, , convert ascii value?
. arduino reads circuit closed , converts ascii 2 code letter or number.
i hope want choice of 2 ascii values convert to.
(oops. posted before finished.)
i guess that's mean ascii 2 code letter or number.
it's easy enough. we'll use 'a' , 'b' 2 ascii codes, 'a' selected if switch pin high:-
code: [select]
char c;
if(digitalread(pin))
c = 'a';
else
c = 'b';
of course, continuously return 1 or other of values. possibly decode or use resulting character once if switch changes states. require recording switch state, decoding if changes. might need switch debounce too.
really, need spst switch select sound, pushbutton send selection.
you search on "state machine" , "button debounce" learn more.
you need better description of want.
edit: oh, added more.
anyway, forgot add, send ascii character pc, you'd use 'serial.print(c);'
regarding triggering sound on pc, need appropriate software can receive data play sound. might want @ 'processing'. maybe that. i'm not sure.
Arduino Forum > Using Arduino > Project Guidance > New project help greatly needed!
arduino
Comments
Post a Comment