Okay, essentially for my senior design project, at the University i attend, my group is designing a Squat rep counter. Squats as in working out.
I have the whole HMI view set up the way we want, im just not sure how to change the numerical value of some of the gauges.
We will have a sensor connected to an arduino board and then to a tablet with VB on it.
The sensor will signal a count up or down based on the button picked. I also need to pass the variable from a number entered by the user to the numerical gauge for the sensor to count down from if the user so decides.
anyone have any advice or examples on how to do this?
Thanks for the help guys!
here is a link to drop box with the project in it. you can build it if you would like
ryclegman:
The sensor will signal a count up or down based on the button picked. I also need to pass the variable from a number entered by the user to the numerical gauge for the sensor to count down from if the user so decides.
am I to understand that the arduino is not needed, that the sensor does the counting ?
what I would have expected is that the sensor signal a change.
the arduino receives the sensor output and, depending on the state of a switch, will either count up, or count down.
the user can set the display to count the number of squats, or by changing a switch that is connected to the Arduino, and also by inputting a value on a key pad, a dial, a button, a remote tablet or any such device, can input a value to start and then count down from that value ?
the easiest way is for the arduino to control the display and have some sort of input device.a keypad or a dial/encoder or some such.
if you are asking how to use an external device, a phone or tablet, the interface with the arduino to pass values back and forth, the question I would have is why not let the arduino just send out a pulse. the remote device can re-set to zero and count up or down on it's display ?
Well the sensor works with the arduino board and then the board connects to the computer and then should interface with the advance HMI screen. This was advice given to us on how to do it but unclear how to make it work.
Use REPLY rather than QUICK REPLY and it has an attachment facility, so you can post your sketch and other files as an attachment, also try insert link.
Use REPLY rather than QUICK REPLY and it has an attachment facility, so you can post your sketch and other files as an attachment, also try insert link.
I understand the logic and can write the code, i just need help figuring out how to actually interact with the two pieces. Any help or suggestions at how it would be better done?