Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 5th April 2008, 04:24 PM   (permalink)
Default just got some nice pic microcontrolers but don't know how to use them

hi! i just ordered 2 dsPIC30F4013. problem is i'm so used to the "holds your hand while you pee" BS2 and i have no idea how to use these microcontrollers. all i know is that they seem to outdo a BS2 in almost every way and i'd like to use them for robotics projects. not to mention they cost me 14 on ebay for a pair and i bought a BS2 and BOE board for about $75 off ebay. what kind of software do i need to program them? i use turing which is pretty close to C so i think i can figure that part out alright. i would also like to make my own board for it but i don't know where to find schematics for it
mashersmasher is offline  
Old 5th April 2008, 04:38 PM   (permalink)
Default

It's a very high end PIC and you'll need a programmer like PICkit2 or my Junebug, ICD2 (debug) or Inchworm.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 5th April 2008, 04:52 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
It's a very high end PIC and you'll need a programmer like PICkit2 or my Junebug, ICD2 (debug) or Inchworm.
really? i figured it would be pretty average considering the price. i guess this BS2 is going to be put to shame then
mashersmasher is offline  
Old 5th April 2008, 04:59 PM   (permalink)
Default

Quote:
Originally Posted by mashersmasher
really? i figured it would be pretty average considering the price. i guess this BS2 is going to be put to shame then
Like he said, it's a VERY high end PIC.

BS2 is a fairly low end PIC, but even more crippling is that it runs a BASIC interpreter from EEPROM, so it runs hundreds of times slower than even a low end - it's only the blistering speed of the PIC that makes it useable.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 5th April 2008, 05:02 PM   (permalink)
Default

You'll need C30 too, yes the Stamp & dsPIC could not be farther apart. If BASIC is what you're after you should see if you can get your hands on any 18F PICs as there is an excellent BASIC available for them.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 5th April 2008, 05:36 PM   (permalink)
Default

thanks. i didn't know these were considered high end. i am comfertable programming in C so that shouldn't be a problem. how much do these go for usually? i only paid 14 for the pair shipped. what program is best to use for them? oh and what is a C30?
mashersmasher is offline  
Old 5th April 2008, 05:39 PM   (permalink)
Default

BS2's are expensive, PICs are not. You got a good deal, C30 is a C compiler for the dsPICs. Microchip has everything you need.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 5th April 2008, 05:57 PM   (permalink)
Default

perfect thank you all very much! i appreciate the fast help! so are you sure there is no way to build a board though? if not i will have to load up my paypal and wait to fuel my raging need to invent.
mashersmasher is offline  
Old 5th April 2008, 06:12 PM   (permalink)
Default

You can build a board (programmer?), most simple programmers don't support the dsPICs though. The PICkit2 / Junebug may someday support debug on the dsPIC, they do program it fine.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 5th April 2008, 06:53 PM   (permalink)
Default

Quote:
Originally Posted by mashersmasher
hi! i just ordered 2 dsPIC30F4013... i would also like to make my own board for it but i don't know where to find schematics for it
There are some simple schematics on my site.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 6th April 2008, 12:03 AM   (permalink)
Default

awesome. my last question is if the pic can be used outside of a board without anything but power. does it need anything else for it to work? i ask because i want to use it in a robotics project and i want the dimensions of the board it will occupy on the robot to match the dimensions of of the base.
mashersmasher is offline  
Old 6th April 2008, 01:42 AM   (permalink)
Default

Quote:
awesome. my last question is if the pic can be used outside of a board without anything but power. does it need anything else for it to work? i ask because i want to use it in a robotics project and i want the dimensions of the board it will occupy on the robot to match the dimensions of of the base.
If you're shopping for pics, look for one with an internal oscillator (the pic comparison chart at www.microchip.com indicates this), as using one eliminates the necessity of the components for an external oscillator in your design. The int osc maximum speed is usually a little slower (e.g. 8MHz vs. 20MHz) than the maximum speed that can be obtained from an external oscillator, but for ease of design and most applications, it's still plenty enough. Also, using the int osc you'll need to connect the MCLR pin to V+ with a resistor, but other than that, all you'll need (in most cases) is to connect a pin to ground, a pin to V+, and whatever other pins you otherwise wish for functionality of your circuit (i.e. I/O pins).
Hank Fletcher is offline  
Old 6th April 2008, 01:53 AM   (permalink)
Default

Quote:
Originally Posted by mashersmasher
awesome. my last question is if the pic can be used outside of a board without anything but power. does it need anything else for it to work? i ask because i want to use it in a robotics project and i want the dimensions of the board it will occupy on the robot to match the dimensions of of the base.
The 30F4013 has onboard oscillator, so the connections you need to the chip to make it work are your ICSP connections (MCLR, PGD, PGC), an MCLR pullup resistor, four 5V and four ground connections and whatever control lines you need wired to what you're controlling or sensing.

If you need to use a crystal oscillator for some reason (precision) then you have to make room for the crystal and two capacitors on the board. The onboard oscillator is good enough for most things though.

The internal oscillator on the 4013 has PLL controls to multiply it right up to the max rated clock speed for the chip, which is 120MHz. Actually the multiplier works out so it only gets to 118MHz, 2MHz shy of max rated speed. Close enough. It's quick!
__________________
=========================
Futz's Microcontrollers & Robotics
=========================

Last edited by futz; 6th April 2008 at 02:17 AM.
futz is online now  
Old 6th April 2008, 02:07 AM   (permalink)
Default

Quote:
Originally Posted by mashersmasher
how much do these go for usually? i only paid 14 for the pair shipped.
http://search.digikey.com/scripts/Dk...ywords=30f4013
So you got a decent price.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 10th April 2008, 03:27 PM   (permalink)
Default

thanks yalls. i found this. can that program it? i could probably build that out of leftovers
mashersmasher is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Quik PIC Programming kit Krumlink General Electronics Chat 5 28th January 2008 12:27 AM
Am I USING PIC UART CORRECTLY?? cyprio7 Micro Controllers 46 15th January 2008 07:03 PM
Capturing and reproducing audio with a PIC Fred.Amoson Micro Controllers 14 14th December 2007 09:22 PM
Problems switchin relay with PIC Andy1845c General Electronics Chat 5 17th November 2007 07:14 PM
High ADC sampling rate PIC, 18F needed? bananasiong Micro Controllers 24 28th October 2007 01:13 PM



All times are GMT. The time now is 06:05 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker