doubts about PIC microcontrollers

Thread Starter

adam555

Joined Aug 17, 2013
858
:D

Thanks, I know what the oscillators are; what I don't know (for now) is how to taken them into consideration when passing it all to a PIC/Atmel
 

Thread Starter

adam555

Joined Aug 17, 2013
858
Yes, I'll get deep into the individual microcontrollers once I finish the prototype in Arduino; I've just been stuck on a tiny problem for a whole week -and for now I can't see any solution-.
 

shteii01

Joined Feb 19, 2010
4,644
Yes, I'll get deep into the individual microcontrollers once I finish the prototype in Arduino; I've just been stuck on a tiny problem for a whole week -and for now I can't see any solution-.
Ask on Arduino forums. When I was working on my Senior Design Project, our team used Arduino board, so I registered there, had some good advice and even got some software there from people who had similar issues and had time to write new or modify kludgy original Arduino libraries.
 

Brownout

Joined Jan 10, 2012
2,390
Yes, I got the bad habit of calling them all PIC.
Please break that habit. It's important we communicate with precision. Now, when you write PIC, I'm not sure what you mean.

You remind me of my grandma, who called every motorcycle a "Honda"
 

Thread Starter

adam555

Joined Aug 17, 2013
858
Ask on Arduino forums. When I was working on my Senior Design Project, our team used Arduino board, so I registered there, had some good advice and even got some software there from people who had similar issues and had time to write new or modify kludgy original Arduino libraries.
It's not really Arduino that has me stuck, but the software my project is meant to connect to.

I've been talking with the developers and it seems to be bug; so I have to wait until they find the problem and come back to me... probably until they release the next version.
 

Thread Starter

adam555

Joined Aug 17, 2013
858
I can't believe this!!!

I've been stuck more than a week because my Arduino doesn't have a hardware COM port for serial communications over USB; but just a virtual COM port.

I'm going to have to get the microcontroller way before time; as I see no point on buying another Arduino to end up changing to single microcontrollers...

If anyone is familiar with different models, I would really appreciate some help (I barely know what a UART is, and never used anything like this except for Arduino).

Don't need PWM, big memory, fast processor, or anything else fancy; just a programmable COM port in a DIP package with around 15 inputs/outputs (3 analog)... And easy to use; so I guess Atmel would be better suited for me. Just looked in the Atmel Microcontrollers Selector, but the only 2 with USB OTG are not in DIP package.
 
Hi, I have a couple of doubts regarding PIC microcontrollers.

Is the program stored on the PIC forever; or can it be deleted over time or by accident?

Are there PICs that connect directly to a computer via USB using a COM port (as an Arduino board), or do I need an additional IC for this?

That's all... Thanks in advance.
The program is stored in flash memory and is guranteed for 40-years minimum.
 

Brownout

Joined Jan 10, 2012
2,390
I can't believe this!!!

I've been stuck more than a week because my Arduino doesn't have a hardware COM port for serial communications over USB; but just a virtual COM port.

I'm going to have to get the microcontroller way before time; as I see no point on buying another Arduino to end up changing to single microcontrollers...

If anyone is familiar with different models, I would really appreciate some help (I barely know what a UART is, and never used anything like this except for Arduino).

Don't need PWM, big memory, fast processor, or anything else fancy; just a programmable COM port in a DIP package with around 15 inputs/outputs (3 analog)... And easy to use; so I guess Atmel would be better suited for me. Just looked in the Atmel Microcontrollers Selector, but the only 2 with USB OTG are not in DIP package.
You probably don't need USB or USB OTG. A simple UART/COM is all that's needed for basic communication with a PC. You will need a USB-2-RS232 converter to use the COM port, however.

You can try Microchip's part selector here: http://www.microchip.com/maps/microcontroller.aspx
 

Thread Starter

adam555

Joined Aug 17, 2013
858
You probably don't need USB or USB OTG. A simple UART/COM is all that's needed for basic communication with a PC. You will need a USB-2-RS232 converter to use the COM port, however.

You can try Microchip's part selector here: http://www.microchip.com/maps/microcontroller.aspx
I'll look through those pages.

So, the ones with UART are the ones I need?

You do not want DIP package. It's bulky, requires holes, and expensive to solder in. SOIC will work better, and it's not hard to solder in by yourself during prototyping.
Your probably right; even though I never soldered any SOIC before. But for now I prefer the DIP because I'll have to use it for the testing, since I can't use my Arduino for that, and these are ideal to use on a breadboard.

A virtual COM port is used for serial communications over USB.

What's the problem?
I described the problem I'm having with the Arduino Leonardo's virtual COM port on this thread: COM port on the Arduino Leonardo
 

Thread Starter

adam555

Joined Aug 17, 2013
858
I'm so lost finding the right microcontroller that I even began to look at other Arduinos (the Yun looks great :))

I wish someone opened a new electronics shop in this town. The only one we have is so busy that they don't have time to help you; they expect you to tell them exactly what you want.

Going to start looking at sample circuits, and see if I get a better idea of what I need... any tips?
 
Top