![]() | ![]() | ![]() |
| | |||||||
| 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 I suppose such questions have been posed upteen times but I guess a newbie like myself, searching thru the internet, get more confused than enlightened as I try to consolidate the answers for different sub-component. So I guess I might as well asked in one place. Thanks for your patience! I am trying to build a system that involves a PIC microcontroller. Am trying to determine which one to choose. My requirements : 1) a LM75 temperature sensor - how many pins needed on PIC 2) 2 x 16 or 24 LCD display - 7 pins on PIC? 3) a photocell - how many pins needed on PIC 4) a speaker for simple beeps - how many pins 5) a 4x4 matrix keypad - how many pins 6) clock to tell time - " 7) USB port for upload/download to PC - " 8) RS232 port to send 5V signal to another relay device (??) - " 9) battery operated for normal usage Based on the above, how many ports on a PIC would be needed? Any recommendations on the type of PIC (16F & 18F??) needed? Many thanks! | |
| |
| | (permalink) |
| You need at least 28 pin package unless you do a compact design under a 18 pin PIC. The PIC must have following modules to meet your requirements. AD/USART/TMRX etc........... From PIC 16F series 16F87X,16F88X or in 18F series PIC18F45XX (+USB).... Last edited by Gayan Soyza; 9th June 2008 at 09:48 AM. | |
| |
| | (permalink) | |
| Quote:
I would go with the 18FXXXX 40 pin series, if you really want USB. It may be an overkill on the number of available pins, but you do have the option for expansion.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | (permalink) | |
| Quote:
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net Last edited by gramo; 10th June 2008 at 09:57 AM. | ||
| |
| | (permalink) |
| That would be a fine choice, just be warned USB is not exactly beginners stuff. You'll need either C18 or Swordfish BASIC (the SE version does not support USB but the commercial version does) | |
| |
| | (permalink) | |
| Quote:
For your memory database, Oshonsoft Simulator 18F4550 has USB support, its an addon option to the standard 18Fxxxx simulator, reasonably priced. Regards
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | (permalink) |
| A little off topic, can you load the .hex files into the simulator?
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| | (permalink) |
| Nevermind.. just reading through the costs of the program, $65 for the compiler which requires the simulator license of $55.. thats pretty hefty I think I'll stick to the SF HID Software that it creates for each USB program Urahara, take a look in the Swordfish help file under USB - this is not a good place to start for beginners with micro controllers, but none the less you have to have something to inspire too A better newbie project would be to program your first PIC! This might help?
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net Last edited by gramo; 10th June 2008 at 02:00 PM. | |
| |
| | (permalink) | ||
| Quote:
Apparently they're working on debug support for Swordfish. Personally I found a quick fix in just sending debug data through the UART much like the old BASIC Stamp. Quote:
Last edited by blueroomelectronics; 10th June 2008 at 02:08 PM. | |||
| |
| | (permalink) | |
| Quote:
The 18Fxxxx for personal use is Euro29 and the USB add on is Euro49.. [ £23GBP and £38GBP as per todays exchange] You can buy bundles for the complete set of Sims, at a discount.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 10th June 2008 at 02:28 PM. | ||
| |
| | (permalink) |
| Thanks Eric, It does look nice, downloading some trail software now
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| | (permalink) | |
| Quote:
When you try the 18F, download Bills JPUG June Issue,from the BlueRoomElectronics site, try the Junebug Tutor 18F1320 Simulator for the Oshonsoft. Regards
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | (permalink) |
| Hi All Thks for the responses! Will post further queries if I need more help! Rgds | |
| |
| | (permalink) |
| Some more questions : For my project, I would like to have to hv the capability for my PC to download data with a pre-defined format to the EEPROM (say a 24CXX module). The PIC would then pick up the data and perform the necessary operation such as displaying the data, apply a mathematical formula against it, etc. The 'problem' with present PCs is that they only hv USB ports. My notebook has 3xUSB ports with no RS232 port (didnt notice that when i bought the notebook, assuming that all PCs hv RS232 ports and mistook the video port for one!! I hv come across drivers that simulates a USB port as a COM port. Is this a simpler way to transfer data from PC to the 24CXX? So to connect the PC to the PIC, does it mean then that I am now restricted to the 18Fxxxx that comes with USB? Or is there a way to still use the 16Fs but how do I connect it to the PC that only has USB ports? Putting things in context, is it still better to go 18F or 16F? Thks! | |
| |
| | (permalink) |
| You can use USB to Serial cable | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Newbie Project Question | XxSFHxCxX | Electronic Projects Design/Ideas/Reviews | 8 | 8th July 2004 07:58 AM |
| Newbie Project - any help please... | elgeordio | Electronic Projects Design/Ideas/Reviews | 1 | 6th July 2004 11:38 AM |
| newbie project-please help!!!!! | elgeordio | Electronic Projects Design/Ideas/Reviews | 2 | 30th June 2004 07:45 PM |
| Newbie need project help.. | Marcus_uk | General Electronics Chat | 8 | 3rd November 2003 03:24 PM |
| newbie with a new project | L0D|Mr_B | Electronic Projects Design/Ideas/Reviews | 3 | 15th October 2003 09:05 PM |