Author Topic: newbie programming/hardware help.  (Read 2275 times)

0 Members and 1 Guest are viewing this topic.

Offline natorwebTopic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
newbie programming/hardware help.
« on: January 27, 2008, 08:32:11 PM »
Ok, this is a kinda odd question, but I hope you can help. i am going to make a rocket where instead of pressing a button to launch it, it has a 15 sec time delay. i have recently bought EPIC Plus PICmicro Programmer from Jameco magazine.

heres my question,

what would be the best microcontroller for this? also, what components would i need to make this all work? how would the code look? i do have a basic understanding on programming microcontrollers with the basic stamp and boe bot. but this will obviously use PIC microcontrollers. remember also it will use BASIC language. i really appreciate the help, thanks to all.
« Last Edit: January 27, 2008, 09:03:08 PM by natorweb »

Offline frank26080115

  • Supreme Robot
  • *****
  • Posts: 322
  • Helpful? 2
Re: URGENT PROGRAMING/HARDWARE HELP!
« Reply #1 on: January 27, 2008, 08:47:00 PM »
oh come on

first, ANY microcontroller can do this, YOU need to decide what is YOUR limiting factor (cost, size limit, etc), and then TELL us about it. I can tell you to get a ARM7 processor and it'll still do the job.

second, you are asking us for code to delay 15 seconds before doing an action, just look in the damn help file of whatever language you are using, Basic Stamp and PICbasic both have a help file for this crap

please put some effort into researching first

don't get me started on the ambiguous capitalized title

Offline natorwebTopic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: URGENT PROGRAMING/HARDWARE HELP!
« Reply #2 on: January 27, 2008, 08:54:22 PM »
the capital letters were actually an aciddent, but they looked cool so i kept them :). would this work for it PIC12C508A i have a very low budget. sorry for my noobish questions.
« Last Edit: January 27, 2008, 08:55:30 PM by natorweb »

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: URGENT PROGRAMING/HARDWARE HELP!
« Reply #3 on: January 27, 2008, 08:55:31 PM »
dude you don't even need a microcontroller


555 timer and capacitors
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline natorwebTopic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: URGENT PROGRAMING/HARDWARE HELP!
« Reply #4 on: January 27, 2008, 08:57:23 PM »
i know about that too, but i wanted to mess around with my new programmer. besides, i heard capacitors  arnt reliable for timing.
« Last Edit: January 27, 2008, 09:02:14 PM by natorweb »

Offline frank26080115

  • Supreme Robot
  • *****
  • Posts: 322
  • Helpful? 2
Re: newbie programming/hardware help.
« Reply #5 on: January 27, 2008, 09:18:13 PM »
never, EVER, get PIC**C microcontrollers, look for the PIC**F, F means flash memory, they are the only ones which can be programmed repeatedly

You need to tell us what compiler you are using, or if you don't know, I recommend SourceBoost, it has both C and Basic, very very nice IDE, it'll kick MPLAB's and all other IDE's ass, once you get it, read the manual, and if you have no idea where to look, press ctrl-f and type in delay.

Offline natorwebTopic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: newbie programming/hardware help.
« Reply #6 on: January 27, 2008, 09:26:23 PM »
wow thanks dude. how about PIC12F683 - I/P i hope it works withEPIC Plus PICmicro Programmer, the compiler would work for it to, right? by the way, i was gona use PICbasic compiler, but now its gona be source boost, if it works with my programmer.
« Last Edit: January 27, 2008, 09:28:41 PM by natorweb »

Offline frank26080115

  • Supreme Robot
  • *****
  • Posts: 322
  • Helpful? 2
Re: newbie programming/hardware help.
« Reply #7 on: January 27, 2008, 10:26:41 PM »
just looked at the programmer

WHY OH WHY did you buy that?
why not just get a pickit2 from microchip? it's usb, blazing fast, and monitors voltage for you so you will never ever ever fry your microcontrolelrs. and it costs less

sourceboost can compile for you, i don't know if the programmer will work from within sourceboost, you probably have to open up the programmer's own software and load the hex file to program the chip

Offline Rebelgium

  • Supreme Robot
  • *****
  • Posts: 638
  • Helpful? 0
  • It's called the future ... We like it here
Re: URGENT PROGRAMING/HARDWARE HELP!
« Reply #8 on: January 28, 2008, 05:08:39 AM »
i know about that too, but i wanted to mess around with my new programmer. besides, i heard capacitors  arnt reliable for timing.

that's all how you look at it.
Does it really matter that your rocket launches after 14.5 or 15.5 seconds ?

but if you really want to use your new programmer.  :) fine
To relax after some hard work on robotics: A very fun free online text based MMORPG
orgcrime.net

 


Get Your Ad Here