![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, Im new to the whole PIC scene but im very interested. Im looking at buying the following item from Maplin Electronics: http://www.maplin.co.uk/products/mod...moduleno=37192 Can anyone comment on how good this item would be for a 'newbie' to PIC's? Also how hard would it be to connect a Distance Measuring Sensor and send the results from this sensor to a computer through the serial port? Thanks very much. | |
| |
| | (permalink) | |
| Quote:
You might also consider an 'IceBreaker' from Magenta, this is a 16F877 based kit that works as an ICE (In Circuit Emulator) - it lets you set breakpoints and step through programs. It's a little more expensive than the Velleman kit - but it includes a breadboard and LCD module. As for a 'Distance Measuring Sensor' it should be simple enough to connect to any PIC and send the results to a PC via RS232. Obviously it all depends on what the sensor supplies, and having the PIC software to read it. | ||
| |
| | (permalink) | |
| Quote:
You might also consider an 'IceBreaker' from Magenta at http://www.magenta2000.co.uk, this is a 16F877 based kit that works as an ICE (In Circuit Emulator) - it lets you set breakpoints and step through programs. It's a little more expensive than the Velleman kit - but it includes a breadboard and LCD module. As for a 'Distance Measuring Sensor' it should be simple enough to connect to any PIC and send the results to a PC via RS232. Obviously it all depends on what the sensor supplies, and having the PIC software to read it. | ||
| |
| | (permalink) |
| The sensor I was looking at buying is the following: 'Sharp GP2D12 Distance Measuring Sensor Infrared distance measuring sensor accurately determines range to target between 10cm and 80cm. Supplied with 12” connection lead (26 gauge stranded wire) one end of which has a machine crimped JST connector and the other end of the lead is left free. Can be used as a proximity detector to detect objects between 0cm and 130cm.' I chose this sensor because of the distance it can reach. Although I only plan to use around 10-20 cm distance it seems to be the lowest sensor at a reasonable price without going into tiny measurements such as 1 inch. Would I be right in thinking that after programming the PIC and Im sure everything worked it would be a matter of connecting the sensor to the pins on the pic and a power supply to some of the other pins on the pic and a RS232 connector onto some of the pins? Am I being a bit crude and missing vital components here? Thanks. Ill look into the kit you recommended now | |
| |
| | (permalink) |
| The ICE Breaker does seem like a better all round package with the benefit of the LCD display. Have you ever bought from these people? Thanks PS: For anyone interested the direct link to the ice breaker kit is: http://www.magenta2000.co.uk/kits/900.htm | |
| |
| | (permalink) | |
| Quote:
You connection suggestion is pretty well correct, have a look at my tutorials at http://www.winpicprog.co.uk, they will give you an idea how to connect things, plus fully working RS232 hardware and software. In answer to your other question, I've got an IceBreaker I bought from Magenta some time ago - I probably use it less than I should do, but it is extremely useful sometimes - for your purposes, it should be great. | ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
You connection suggestion is pretty well correct, have a look at my tutorials at http://www.winpicprog.co.uk, they will give you an idea how to connect things, plus fully working RS232 hardware and software. In answer to your other question, I've got an IceBreaker I bought from Magenta some time ago - I probably use it less than I should do, but it is extremely useful sometimes - for your purposes, it should be great. I found their service friendly and prompt, I'm quite happy to recommend them. | ||
| |
| | (permalink) |
| Exo thanks for the info, although Im not to sure if i actualy want to build the programmer itself, im more interested in the PIC side of things. Nigel I dont supose you would want to sell me your ice breaker kit :P With the sensors would it simply send data for instance like '01' being say 0.1cm away and such like or would it be far more complicated? Thanks | |
| |
| | (permalink) |
| Another question :P How hard would it be to attach a small speaker to make sound?( Different pitched beeps would be fine ) Thanks | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Ok thanks but im looking at the ice breaker now | |
| |
| | (permalink) | |
| Quote:
Have a look at the datasheet at http://personal.telefonica.terra.es/...ets/gp2d12.pdf, the device you mentioned gives an analogue output related to distance. This makes it easy to use with the IceBreaker (which uses a 16F877, with in-built analogue to digital converters). To make beeping noises you can simply feed a small speaker through a capacitor (and possibly a limiting resisitor) from a PIC output pin - you simply switch the pin up and down at the frequency you want, for as long as you want. | ||
| |
| | (permalink) |
| Thats great! Thanks for all your help nigel. I just have to wait for my money to transfer from paypal to my bank and then I can buy the kit I just read the datasheet and is it me or does the devise only tell you if a object is at a certain specified length, for instance you couldn't simply move an object towards and further away from the device but simply have it at a certain distance or NOT at a certain distance? Maybe im just going crazy... Thanks | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |