Pages: [1]   Go Down
Author Topic: Copy values from Analogpincontrol firmata/Use Digitalpincontrol firmata  (Read 1304 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Everybody,

I am student and a newbie to arduino firmata. My plan is to test a sensor and control system with firmata.The basic idea is to read the analog values from Analogpincontrol and copy those values to a new textbox and may be add a simple formula to change the value displayed in that textbox. for example: I connect a temperature sensor and if I read value 800 from analog, I want to convert this value to temperature and view it in a new textbox. And I want this value to be continuously displayed according to analog data fluctuations. On the other hand, I want to control an output pin (on or off) according to the value range displayed on the previously mentioned textbox. eg: the temeprature is too high and the digitalpincontrol turns on a fan, when the temperature is down, fan is turned off.

is anyone out there that can help me out on this situation ? help is much appreciated..This is my first time posting on a forum, so thanx for bearing with me. Thank you.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
is anyone out there that can help me out on this situation ?
Help you with what? Reading an analog pin value is trivial. Writing to a digital pin is trivial. All the real work is done in the unnamed application on the PC.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Analogpincontrol is added to a form by means of adding a dll to the form. after that I don't how to process it.
Resulting in some code. Well, guess what? We need to see that code.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What are you having trouble with? As I said, reading the pins states is trivial. Writing a string to a text box is trivial. Formatting the string from the pin states is not all that difficult.

"Write my code for me" happens when you offer money or other compensation in Gigs and Collaboration.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey Guys!

I found this great tutorial on how to interface with PC using Firmata. So I decided to share. If anyone is having the same requirements/difficulties follow the link... Regards to the people who made it!


LINK- http://www.youtube.com/user/massimo24925/search?query=firmata


Good Luck!!


 
Logged

Pages: [1]   Go Up
Jump to: