Please someone help me!!!
luke.b
Posts: 3
Hello all,
I've just signed up with this forum after buying a propellor development board and learning that this website·is so helpful.·I have puchaced the book which explains exactly how the propeller chip works and how to write spin code.
I work as an electronic systems engineer which mainly deals with automation using PLC's although i rarely program them and have a very basic knowledge in that area.
My problem is that no matter how many times i look at this book i just can't seen to get my head around it.
I would really appreciate some help with a project that i have been trying to do for months now. I have purchaced most of the components that are need for my project.
My project i'm sure you will find very simple.
i have an small LCD screen http://uk.rs-online.com/web/search/searchBrowseAction.html?method=searchProducts&searchTerm=5326458&x=30&y=8
in which i want to diplay a reading from my encoder http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=2508968358
The reading i want the display to give is a rotational distance in metric and in imperial, for example:
The encoder is rotated·720 degrees and diplays 8cm on the screen
Furthermore, i would like a pushbutton to instantly change that figure in to an imperial reading (for this example 3.14 inches).
Also a couple of other small features which i will explain later if anyone is kind enough to help me.
I would be very grateful for a reply and any help with wiring on the development board and writing the code.
Thanks
Luke
I've just signed up with this forum after buying a propellor development board and learning that this website·is so helpful.·I have puchaced the book which explains exactly how the propeller chip works and how to write spin code.
I work as an electronic systems engineer which mainly deals with automation using PLC's although i rarely program them and have a very basic knowledge in that area.
My problem is that no matter how many times i look at this book i just can't seen to get my head around it.
I would really appreciate some help with a project that i have been trying to do for months now. I have purchaced most of the components that are need for my project.
My project i'm sure you will find very simple.
i have an small LCD screen http://uk.rs-online.com/web/search/searchBrowseAction.html?method=searchProducts&searchTerm=5326458&x=30&y=8
in which i want to diplay a reading from my encoder http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=2508968358
The reading i want the display to give is a rotational distance in metric and in imperial, for example:
The encoder is rotated·720 degrees and diplays 8cm on the screen
Furthermore, i would like a pushbutton to instantly change that figure in to an imperial reading (for this example 3.14 inches).
Also a couple of other small features which i will explain later if anyone is kind enough to help me.
I would be very grateful for a reply and any help with wiring on the development board and writing the code.
Thanks
Luke
Comments
For the display this driver should work: http://obex.parallax.com/objects/106/
For the encoder this should do: http://obex.parallax.com/objects/24/
For the pushbutton read the Education Lab, for calculating you can use the Float object - or do it in integer if accuracy is good enough then.
The display driver should contain a schematic for the wiring. I hope you can wire the encoder and pushbuttons by yourself.
especially if you try changing things and Guess what will happen, and See what does happen.
Have you have installed the Propeller Tool (programming software),
and do you have a working serial cable to program the chip with?
USB and RS-232C are usable. Depending on what board your chip
is on, you might need a USB to RS-232C adapter (prop plug) if
you want to program through USB and some boards only have RS-232.
You DON'T NEED AN "EPROM BURNER" TYPE DEVICE with this chip.
You should have wrote a program before or at least used a computer
without a mouse though.