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 07-09-2006, 03:39 PM
 
Join Date: May 2004
Location: United States
Posts: 174
tekno is on a distinguished road
software to program? whats best for a noobe

Was wondering what software everyone uses to program their Pics. I have MS c++ but searched and saw PicBasic. Was the easier of the 2.. Also Im new to C++
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-10-2006, 05:41 AM
 
Join Date: Jul 2005
Location: us
Age: 55
Posts: 668
Madclicker is on a distinguished road

I'm just using assembler. I haven't seen any assembly code in over 20 yrs and it only took a couple hrs to get up to speed with the pic language. Only 35 or so instructions. Microcontrollers are at their best manipulationg bits, nibbles and bytes and so is the assembly language.
__________________
Steve
DO SOMETHING, EVEN IF IT'S WRONG!
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-10-2006, 02:31 PM
 
Join Date: Feb 2006
Location: USA
Posts: 102
scratch_6057 is on a distinguished road

I don’t think your going to have a whole lot of luck trying to program a
Microchip Pic chip using C++. Pics just don’t have the memory or large
enough registers to handle that type of programming. You can use plain
(ANSI) C to program Pic Chips but it has to be a compiler intended to
generate code which is targeted at the micro you intend to use. Lots of C
compilers for Pic chips out there. C++ is intended for processors found in PCs
and some embedded systems, which have a LOT more resources than the Pic
chips have. You CAN use C++ to develop a PC program to communicate with
a PIC based controller regardless of what language is used to program the Pic
Chip.

As far as the PicBasic goes you can get a limited DEMO from
http://www.melabs.com/pbpdemo.htm the full program runs from
100.00 – 250.00 ( $ USD ) the lower priced version being somewhat limited in
functionality.

You could go with Pic assembly for Free, from Microchip
http://www.microchip.com/stellent/id...&part=SW007002

Then you need a Programmer Board to get the code into the chip, this range from 100.00 up.

Best of luck
__________________
Mike_L

When I was younger I thought I knew EVERYTHING,
NOW, the older I get the more I find out I don’t know!
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 07-10-2006, 03:05 PM
Gold Member
 
Join Date: May 2005
Location: UK
Age: 48
Posts: 259
davidmb is on a distinguished road

Hi, i've been using Proton+ Basic compiler from www.crownhill.co.uk, have been using this language on and off for several years now, I think they have a free version. On the larger PIC's floating point is supported and the code produced is quite tight. I managed to build a 6805 debugger/ emulator with rs232 support and a pc command interface with just one PIC18F452.

There are some GPL'd compilers on the net if you want to go free.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-12-2006, 10:38 AM
 
Join Date: Aug 2005
Location: U.S.A
Posts: 52
Megahertz is on a distinguished road

Microchip provides their student version C compiler for free for the PIC18 family of processors. You should probably also uses MPLAB (FREE) for your development and debugging. You could use MPLAB and the C Compiler, assembly language, or both for code development.

I have used a pic programmer called Epic from microEngineering Labs in the past. This devices is under $50 last time I looked. Their are other under $100 programmer solutions out their. I would also look at microchips PICKit develpoment system
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-12-2006, 11:12 AM
 
Join Date: Sep 2005
Location: USA
Posts: 351
RTP_Burnsville is on a distinguished road

I have been using assembly or C to program small micros (PIC's and many others) for years and would suggest the same. Follow the advice above on the free tools from Microchip as a very good starting point.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-14-2006, 07:18 PM
 
Join Date: Aug 2005
Location: U.S.A
Posts: 52
Megahertz is on a distinguished road

there, there , there

I should be more aware of my grammer.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-14-2006, 09:18 PM
 
Join Date: May 2004
Location: United States
Posts: 174
tekno is on a distinguished road

?????

Originally Posted by Megahertz
there, there , there

I should be more aware of my grammer.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-15-2006, 10:53 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Languages are a catch22. If your doing real low level hardware functions at high speed and very tight timing, assember, no other way. Lots of memory, C or the complied basics.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
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





All times are GMT -5. The time now is 11:00 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