NEWBIE, Writing a program that reads resistance or voltage values.
Frank Fernandez
Posts: 12
Hi all,thanks for having me, although I have a degree from De'Vry university from the mid 80's it was just a tech degree. I fully understand board level compoenets but am completely dirt poor in programming. So I'm a total newbie here but have been wanting to to this for years. I have the basic stamp educational kit and have run thru the lessons. Now I want to start developing my own toys.
What I need to do is write a program that see's either varying resistance and or voltage values that I can draw from to enact certain functions.
Sorry for what I assume is a silly question but I have to start somewhere.
Thank you in advance.
What I need to do is write a program that see's either varying resistance and or voltage values that I can draw from to enact certain functions.
Sorry for what I assume is a silly question but I have to start somewhere.
Thank you in advance.
Comments
Check out RCTIME and report back, soldier!
Another DeVry alumni? Which location?
I attended in Phoenix, '70 - '73.
Did a fast search and found this article- http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol1/col/nv15.pdf
Extremely concise and well written. Thanks for the lead.
There is a wealth of info on that site, surf around. And let us know how your foray into Stamps & programming goes.
Finally, welcome to the forums!
Nuts and Volts, the magazine also has lots of good articles and you will also find them available on the Parallax website. My latest project uses the RCTIME instruction. You can check it out here:
http://forums.parallax.com/showthread.php/144865-Luna-Mod-Looper-Basic-Stamp-2-Version
Good luck and let us know what you are making.
Speaking of making, check out Make magazine.
Question, Devry gives online courses in BASIC programming. Is anyone familiar with it and is it worth the tme and cost ?
My current project actually demonstrates this type of operation. Here is the link on this forum: http://forums.parallax.com/showthread.php/144865-Luna-Mod-Looper-Basic-Stamp-2-Version
Here is the latest YouTube video: http://www.youtube.com/watch?v=1YoIxKOQcE0
You can download the code for the Luna Mod Looper Basic Stamp 2 version at the MediaFire link. Once you open the file you can go the different instances where the <GOSUB Get_Tempo> subroutine is called. It first appears on line 165. The point is that while other better suited uCs will allow you to change the value of tempo by the turning the tempo pot at any time, with the BS2, you have to wait until the program cycles around to read the value of the pot. Looking at the videos will show that there are times when I change the tempo pot and, especially if the tempo is slow, the last note played can be seen to fully execute before the tempo changes.
Once you have some experience with the BS2 and if it is not fast enough, I suggest getting a Propeller uC. The Propeller Quickstart is very affordable and the PDFs are free. As I said, somebody else will have a lot more experience so keep asking.
Thank you again, your comments were very concise and eloquent, I appreciate your time and effort.
As a side note, I am a seasoned mechanical and production systems robotics engineer. My shortcoming has always been my limiting myself to the mechanical end where the programming end has always escaped me.If you ever have an idea or concept you would like to collaborative upon I'd appreciate your time.