go away spammer

Author Topic: Choosing a microcontroller  (Read 2391 times)

0 Members and 1 Guest are viewing this topic.

Offline unrootingTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Choosing a microcontroller
« on: September 25, 2009, 08:29:59 PM »
So I am currently looking to purchase a MCU that has the following:

- Min 8 ADC inputs
- Ethernet Capable
- Will be adding a 16x2 LCD display
- Three button control

Anyone have any suggestions?
Thanks


Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Choosing a microcontroller
« Reply #1 on: September 25, 2009, 09:03:05 PM »
The LPC2138/01 is a 64 LQFP MCU with an ARM7 core, this one will have what you need, and it will do it all with ease. I myself am in the process of making a development board for this for a university project, so I'd recommend this one, though you will have to integrate ethernet into it through different circuitry.

http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=568-4010-ND

P.S. Since you're in a community mainly based upon AVR users, check out some of their controllers too(they do have them with the functionality that you want), that was just a suggestion based upon my personal preference.
« Last Edit: September 25, 2009, 09:05:43 PM by galannthegreat »
Kurt

Offline unrootingTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Choosing a microcontroller
« Reply #2 on: September 25, 2009, 09:29:21 PM »
Thanks

In terms of adding ethernet. I am simply going to use it as a modbus connection. It will only be sending out data to be read from a computer.

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Choosing a microcontroller
« Reply #3 on: September 25, 2009, 09:37:45 PM »
Nice. So in that case then I'd recommend an AVR... Maybe the Axon(http://www.societyofrobots.com/axon/), it will be very capable of all that, and plus you have a large support community here for it too. I myself was a PIC guy, but now I am switching to AVR (finally), so I can explore my options with a very well established AVR community of support behind them. Check it out, look at threads about it, the documentation, and ask questions about it. :)

P.S. Show progress of your project, it's always really awesome to see what people are doing with their projects.
Kurt

Offline yash25

  • Full Member
  • ***
  • Posts: 82
  • Helpful? 0
    • The Workshop
Re: Choosing a microcontroller
« Reply #4 on: September 25, 2009, 10:54:06 PM »
you could even use a Philips 89v51rd2. It's a basic 8051 based 40 pin IC, available in the flatback version as well. So it doesn't take much space. AVR is the best, but you could try this one as well. I am currently getting two boards made with this IC as the brain.
And yes, keep posting your progress on your project.
Scientists dream about doing great things. Engineers do them.

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Choosing a microcontroller
« Reply #5 on: September 25, 2009, 11:32:50 PM »
Do you have any pics of the board yet? Sounds very interesting because I don't see many 8051's being used in hobby robotics these days.
Kurt

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Choosing a microcontroller
« Reply #6 on: September 26, 2009, 03:36:08 PM »
Hi,

AVR is the best, [...]
Whatever fits:
  • Your level of experience
  • Your Purse
  • Your way of thinking (architecture-vise)
  • Your allready acquired programming tools
  • The job at hand
Is the best.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline yash25

  • Full Member
  • ***
  • Posts: 82
  • Helpful? 0
    • The Workshop
Re: Choosing a microcontroller
« Reply #7 on: September 26, 2009, 06:15:48 PM »
Actually all the pics i have of my circuit are more than 400 mbs , so i'm not able to post any pics up here. But , yes ,i'm using the 8051 for all my upcoming projects. In fact, I got an 8051based servo control board made today itself.
The problem with an 8051 is that it doesn't have an inbuilt ADC, so we have to interface it seperately.
Scientists dream about doing great things. Engineers do them.

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Choosing a microcontroller
« Reply #8 on: September 26, 2009, 06:42:15 PM »
Yea, that would be a pain, what are you using for your ADC then? How are you interfacing with the ADC?
Kurt

Offline yash25

  • Full Member
  • ***
  • Posts: 82
  • Helpful? 0
    • The Workshop
Re: Choosing a microcontroller
« Reply #9 on: September 27, 2009, 11:44:20 AM »
Yes, interfacing the ADC is quite a pain! plus the ADC  doesn't even come cheap. I'm using ADC0804 it has 8 pins for output which directly go to the MCU and one analog input.
Another con about the 8051 is the pullup resistors it requires. 10k pullup resistors are required at port 0 . Occupies space.
I think Atmel has a better version of the 8051 without the ADC requirement. I'm not sure though.
Scientists dream about doing great things. Engineers do them.

Offline unrootingTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Choosing a microcontroller
« Reply #10 on: September 27, 2009, 11:56:00 AM »
I'm looking at AVR however I am currently looking at what will be required to add ethernet. Need to access modbus rtu.

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Choosing a microcontroller
« Reply #11 on: September 27, 2009, 01:48:58 PM »
Look at how the Ethernet Shield works for the Arduino. Hopefully it will give you some insight into this.

http://www.arduino.cc/en/Main/ArduinoEthernetShield
Kurt

 


Get Your Ad Here

data_list