CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > PIC Programing / Design


PIC Programing / Design Discuss programing of PIC chips here and design of electronics using PIC chips.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-23-2011, 06:50 AM
 
Join Date: Dec 2010
Location: croatia
Posts: 106
lamesh99 is on a distinguished road
PIC newb in need of some advice:)

well, as the title says, i need some advice regarding PIC's. first of all, which PIC should i get, as a starter? i've never had contact with PIC's, and i don't know which one to start with. second, which programmer (or programmer kit) is the simplest to use? again, have in mind that i'm a total newb regarding PIC's.
thanks in advance!
Reply With Quote

  #2   Ban this user!
Old 11-23-2011, 08:46 AM
 
Join Date: Jan 2006
Location: USA
Posts: 1,766
keebler303 is on a distinguished road

I started out with a homemade programmer and a 16F84. Now I use a PICKIT2 and various PIC models. For dirt cheap entry, it would be hard to beat this: Microstick for dsPIC33F and PIC24H Development Board however you might outgrow it quickly if you really get into it. I would suggest starting with the cheapest solution (above) and then you will have a clue about which options are available for you to pursue your interests.

Matt
Reply With Quote

  #3  
Old 11-23-2011, 10:43 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

I believe the flavour of choice now to start with is the very useful 16F628a. it has a few usefull features for its size, analogue input, PWM, UART etc
If you want a good practical tutorial to start off with that cover the above features, see Nigel Goodwins site.
Nigel's PIC Tutorial Page
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 11-23-2011, 12:58 PM
 
Join Date: Dec 2010
Location: croatia
Posts: 106
lamesh99 is on a distinguished road

great! thanks, guys. this should be enough for me to get going, and later we'll see how it works out. i also noticed that i missed the subforum altogether. i'll make a thread like this in the PIC section of the forum. maybe there are other noobs like me seeking knowledge
Reply With Quote

  #5   Ban this user!
Old 11-23-2011, 08:30 PM
 
Join Date: Apr 2010
Location: Australia
Posts: 226
Ron Dunn is on a distinguished road

If you've never programmed PIC before, the boards from Chipkit (chipKIT Forums) are a great starting point.

You program them through the USB interface, using either the Arduino-compatible development environment (if you like it), or alternative development environments such as Eclipse, Code::Blocks, etc.

A free compiler is available through the GCC collection.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-24-2011, 12:31 PM
 
Join Date: Mar 2009
Location: USA
Posts: 110
ksanalytical is on a distinguished road

I bought/assembled a Velleman kit which was compatible with free programming program, but didn't get too far with it as programs got more and more complicated. I ended up with an EasyPic6 development board from MikroElectronica which has worked very well and includes great features. I'm using their programming environment and it works well also. None of it is cheap, but you'll be covered up to 40 pin PICs. They make other boards for all types of microcontrollers as well if something else strikes your fancy.

Ken
Reply With Quote

  #7  
Old 11-24-2011, 12:41 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

The one nice thing about going the route in tutorial page I mentioned, there is about 10 or 12 starter projects that costs just a few $$$ using cheap strip board.
A Pic programmer or design should be found on the web for less than $30.00.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #8   Ban this user!
Old 11-27-2011, 07:38 PM
 
Join Date: May 2007
Location: USA
Posts: 84
piperpilot is on a distinguished road

Originally Posted by ksanalytical View Post
I bought/assembled a Velleman kit which was compatible with free programming program, but didn't get too far with it as programs got more and more complicated. I ended up with an EasyPic6 development board from MikroElectronica which has worked very well and includes great features. I'm using their programming environment and it works well also. None of it is cheap, but you'll be covered up to 40 pin PICs. They make other boards for all types of microcontrollers as well if something else strikes your fancy.

Ken

I've use the MikroElectronica boards for several years and they are great. They even have a "Start USB" that has the PIC, USB and a prototyping area. Best thing is, it has a bootloader, so no programmer required and is only $19. This uses an 18F2550 which is a great chip. I personally have been using the 18F series for a couple years now and am anxious to try out the 18FK series due to low power consumption, etc.

Mikroe recently released their EasyPIC v7 which I have on order from HobbyPCB.com ...this model supports the 18FK chips.

Curtis
Reply With Quote

  #9   Ban this user!
Old 11-28-2011, 07:29 PM
 
Join Date: Jul 2005
Location: UK
Age: 29
Posts: 441
daedalus is on a distinguished road

im going to disagree with everyone, and suggest that you buy a pickit 3 debug express kit. The pickits are cheap usb programmers that support debugging, which is a better choice over bootloader based boards when you are starting, as you can breakpoint stuff. The debug express pack includes the programmer and a pic18f45k20 micro, and some tutorials and demos to get you started. Also being from microchip, there are a load of appnotes for the board, demoing off different functionality.
Reply With Quote

  #10   Ban this user!
Old 11-28-2011, 08:28 PM
James Newton's Avatar  
Join Date: May 2005
Location: USA
Posts: 756
James Newton is on a distinguished road
Buy me a Beer?

I'm with daedalus. Being able to "watch" the processor run, and set breakpoints, see what the IO pins are /actually/ reading... all that comes with in circuit debugging and it's just invaluable. And not just for getting started; I charge double for contract jobs where I have to work without a debugger! ,o)

You might also want to join the PICList PIClist, Microchip PIC or read some of the pages there.
__________________
James hosts the single best wiki page about steppers for CNC hobbyists on the net:
http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)
Reply With Quote

Sponsored Links
  #11  
Old 11-29-2011, 09:47 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

There are 3rd party programmers that use the Pickit 2 firmware and run under MPLAB but have the programming and debug socket on board, cheaper and more features than the Microchip Pickit 2.
There is a US and Canadian Ebay vendor, ebay 120733368560.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12  
Old 11-30-2011, 04:38 AM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,251
RomanLini is on a distinguished road

Originally Posted by James Newton View Post
I'm with daedalus. Being able to "watch" the processor run, and set breakpoints, see what the IO pins are /actually/ reading... all that comes with in circuit debugging and it's just invaluable. And not just for getting started; I charge double for contract jobs where I have to work without a debugger! ,o)
...
I haven't bothered using the simulator or debugger in years. They're tools for people... who write code that doesn't work.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEWB - Need advice on kit/plans for aluminum cutting piperpilot DIY-CNC Router Table Machines 2 10-27-2011 06:03 AM
New Machine Build- Newb looking for advice on diy cnc mill thats rigid joedesu1 Open Source CNC Machine Designs 1 10-05-2010 03:51 PM
newb needs advice on pic project anilam PIC Programing / Design 2 11-10-2009 01:39 AM
Need advice, newb question here. DerHammer Fanuc 6 11-13-2007 12:23 AM
Advice for a Complete Newb on DIY CNC waglo DIY-CNC Router Table Machines 2 04-05-2005 07:59 AM




All times are GMT -5. The time now is 03:47 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361