Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

which controller should I use AVR / ARM / PIC ?

Status
Not open for further replies.

Jigar 4 Electronics

Full Member level 5
Full Member level 5
Joined
Apr 28, 2011
Messages
312
Helped
40
Reputation
82
Reaction score
38
Trophy points
1,318
Location
Hamilton, ON, Canada
Activity points
3,368
Hello Everyone,

I've used 8051 only &

I am going to make a big + complex project in which I need to interface following applications:

1) Image processing (wanna store 10 images and wanna match the current view with the stored Images)
2) wanna interface 6 IR Sensors
3) 6 channel 8 bit (minimum 8 bit) ADC (in build in uC)
4) Xbee module
5) I2C, UART Interfacing
6) Interrupt priority levels
7) Watch dog Timer
8) wanna interface 2x16 LCD
9) wanna interface GPS module (not selected which module to use yet.)

Please guide me regarding the selection of uC.

Tell me the best controller suitable to this application. AVR/ARM/PIC ???
Cost is not an issue.
 

the critical thing is your image processing - how large are the images? how do you acquire the images?
processor power required will depend on the complexity of your application

at first glance you clearly need a powerful microcontroller with at least 3 UARTs (PC, XBee, GSM modem), I2C, SPi, etc - I would probably look at a PIC32 or an ARM, try the microchip product selector and see what it suggests
**broken link removed**

also
https://www.ti.com/lsds/ti/dsp/home.page?DCMP=TIHeaderTracking&HQS=Other+OT+hdr_p_dsp

where will you store your images? e.g. on-chip RAM, external FRAM, USB flash drive, etc

I would get some development boards and try some of your algorithms to see how they perform
 
Last edited:
how's the LPC 2138 (ARM 7) ? Can I use it ? Needs some reviews... So please help with this.

I just got this controller's introduction in one of the threads:

here are features of LPC2131 (the cheapest one):
- 32 Kbytes of internal Program Flash (512 Kb in LPC2138)
- 8 Kbytes on-chip data SRAM (32 kbytes in LPC2138)
- up to 60 Mhz
- ISP/IAP
- 8 channels 10-bit ADC
- 10-bit DAC (LPC2132/2138)
- two 32-bits timers
- 6 channels PWM
- watchdog
- on-chip RTC with independent power
- two UARTs, two I2C, SPI and SSP
- on-chip crystal oscillator (from 1 to 30 Mhz)
- enhanced power-down system with peripheral turn-off
- 5V-tolerant inputs
- 3.0V-3.6V single power supply
- LQFP64 package
Cost is $3.9!!!

And so, I like to use LPC2138 which is here : https://www.keil.com/dd/chip/3734.htm


@horace1, thanks for such valuable response.
one thing I forgot to mentioned that the Image Processing will be of face detection with the Database of 10 people. At present I don't know how much the size of the image will be.
And one more thing is I won't going to interface it through PC, the database of images will be on board (external EEPROM may be needed).
And are you sure that I will need a SPI supported uC as GPS module can be compatible with CMOS UART interface at 3.3V ? (I just search and get this one available for me in India to get : **broken link removed**)



__________________Updated

Can anyone tell me, how much RAM and ROM I'll need to do Image Processing ?
 
Last edited:

you usually need some connection to a PC for debugging - I tend to use a UART serial connection
will the database of 10 people be fixed or a at least not changed often?
you could use a USB flash drive if the MCU supports USB host
or Secure Digital (SD) or Multi-Media Card (MMC) via SPI

how much RAM for image processing depends on how large the images are and the response speed you require
e.g. can you move data to/from a USB flash drive during processing to save RAM size
 

The Database of 10 people will be fixed (forever).
well LPC2138 doesn't support USB host, so according to you is it better to go with SPI interfacing of MMC or SD ?
or should I go for any other uC ?
and as I am going to interface a camera(on board) then is it possible to convert USB to any other interfacing protocol ? (I'll use Web cam)
 

The Database of 10 people will be fixed (forever).
well LPC2138 doesn't support USB host, so according to you is it better to go with SPI interfacing of MMC or SD ?
or should I go for any other uC ?
and as I am going to interface a camera(on board) then is it possible to convert USB to any other interfacing protocol ? (I'll use Web cam)

I think the first thing to look at is how you are going to connect the webcam
I would assume the MCU will need USB host
e.g. there is a thread on the Microchip USB forum (using a PIC32)
https://www.microchip.com/forums/m518341.aspx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top