Connect with us

Microcontroller ... which one ??

Discussion in 'Electronic Design' started by ~~ VerilogMan ~~, Nov 23, 2004.

Scroll to continue with content
  1. Hello,
    I am thinking of buiying this graphic display.
    http://www.crystalfontz.com/products/12864cp/index.html#CFAX12864CP1WGHTS
    It has a 4 analog I/O for the touch screen, and 18 I/O (the specidications
    are on the link "Data Sheet")
    I have a VERY hard time trying to figure the best microcontroller to
    interface it with a desktop computer on the serial port.
    If you could take a look at http://dkc1.digikey.com/CA/PDF/C043/P4.html
    (Microcontrollers section) and tell me wich one is the easiest / most
    efficient, i would appreciate big time !
    Thanks guys!
     
  2. SQLit

    SQLit Guest

    So what are you going to use it for? Pretty hard to help with this kind of
    information.
     
  3. Ok , the microcontroller should interpret the touch on the screen and also
    receive infos from the computer through the RS232 port
    It's just an Graphic display, and it is touch screen. So pretty much it is
    to send the places where it has been touched to the computer, and send the
    infos to be displayed from the computer..
     
  4. John Miles

    John Miles Guest

    That means Atmel all the way.

    If this is a one-off project that can afford $20 for a chip, you can
    save yourself a lot of headscratching over selection tables and go with
    the highest-end Atmel part, which I believe is still the AtMEGA128. It
    is directly programmable in C/C++ with the free AVR-GCC compiler.
    Google is your friend, and Digi-Key is your dealer.

    -- jm
     
  5. Rich Grise

    Rich Grise Guest

    Touch screen? These have to be almost a jellybean by now. Look up the
    manufacturers of bar-top video games and casino video games.

    Good Luck!
    Rich
     
  6. lol ... yea i found the touchscreen for good price, i was looking for the
    microcontroller :)
    thx
     
  7. Great, you are the chief :)
    AtMega 128 is exactly what someoen else told me !! :)
    http://www.atmel.com/dyn/products/product_card.asp?part_id=2018

    Yes you rulezz ! :)
    Thannks !

    Digikey ... I love them yea :)
     
  8. Rich Grise

    Rich Grise Guest

    Well, for what it's worth, I was in the bar the other day, and had
    occasion to turn on the bartop game, and it booted FreeBSD. =:-O

    Cheers!
    Rich
     
  9. Alex Gibson

    Alex Gibson Guest

    If you know verilog, why not use verilog and a cpld ?

    http://www.fpga4fun.com/TextLCDmodule.html
    http://www.fpga4fun.com/GraphicLCDpanel.html
     
  10. Airy R. Bean

    Airy R. Bean Guest

    After playing around with one (admittedly on NEC's evaluation
    kit which I then subsumed into a project for a client) I'd
    strongly recommend the 32 bit RISC from NEC, the
    V850ES series.

    Unlike the ARM design which only has 16 GP registers,
    the 850 has 32. From what I can make out, it seems to
    be strongly relate to the previous MIPS range of
    super-computers.
     
  11. Alex Gibson

    Alex Gibson Guest

    Just make sure what ever you choose has enough IO.

    Your going to need 24 IO at minimum + other functions you may want
    like serial(rs232) connection so - 22 for the screen , 2 for usart tx and rx
    assuming you want to use the touchscreen ?
    + maybe a temp sensor ? (is this for a fan controller/pc monitor ?)

    also what are you going to display / run on the screen ?
    Will it need updating often ?

    pic , avr, msp430, arm7(philips , sharp etc) , 8051, scenix
    or even basic stamp

    Either pick one you have some knowledge of
    or one that has the cheapest and easiest to use tools

    Also what package do you want to work with ?
    dip or surface mount ?

    What language are you looking to us ?
    asm , c , basic , forth , pascal ?

    pic has free forth , pascal(jal) and c compilers(limited versions of
    commerical product)
    asm is free

    avr has free forth c and basic compilers(bascom avr lite - limited version)
    asm is free

    same with msp430 , 8051 and arm7(made by a varitety of manufacturers).

    Depending on your requirements
    maybe a atmega16, or 32 or 162
    or pic16f877/877A
    pic18f452 , 448 , 442 , 458

    some cheap boards here www.futurlec.com
    http://www.futurlec.com/BasicControllers.shtml
    http://www.futurlec.com/DevelopmentBoards.shtml
    http://www.futurlec.com/TrainingBoards.shtml

    even Philips lpc2106 or lpc2129
    http://www.semiconductors.philips.com/pip/LPC2106.html
    http://www.semiconductors.philips.com/pip/LPC2129.html


    For pics
    www.piclist.com
    www.winpicprog.co.uk

    Avr
    www.avrfreaks.com
    http://instruct1.cit.cornell.edu/courses/ee476/FinalProjects/



    Alex
     
  12. Nico Coesel

    Nico Coesel Guest

    If you want to program it in C, be sure to pick one with 8, 16 or 32
    bit registers and a single adress space (like the Hitachi H8 or the
    Texas instruments MSP430 series) otherwise you will find yourself
    writing all kinds of (non portable) functions which are already in the
    standard C library.
     
  13. Sound Friend

    Sound Friend Guest

    Try http://melabs.picbasic.com/Scripts/perl/picsearch.pl to select a
    PIC micro.

    Try: http://www.picbasic.org/ for an excellent PIC Basic compiler.

    SF
     

  14. Hey, thanks for the website, I am not sure however for all the options
    because i am not sure what my design exactly needs to connect it to the
    RS232

    This is what I want to do :
    The display is divided for example in 4 sections. In each row there is like
    a text. For example :
    First row: "Hello This is..."
    Next row "I love electronics" ,
    Next row "I love you"
    Next row "I love hockey"

    and one last row with and arrow

    What I want to do :
    When I am typing something for example, in wordpad, and when I hit with my
    finger the first row, the whole text "Hello This is.." get copied ...
    Or if I do "I love electronics" the whole text get copied ...
    AND when I hit the arrow, it will go to another set of quotes.

    Thanks for the help !
     
  15. Rich Grise

    Rich Grise Guest

    I can write software to do this for you, if the display and touch-screen
    are already done. But it is not at all clear to me what part it is that
    you want help with.

    Do you want help finding a touch screen and making it work?
    Do you want help translating touch screen touches into RS-232?
    Do you want the touches to go right into your program, which, when you
    touch the arrow, then does something in RS-232?

    How much of this stuff do you already have? It sounds like the kind of
    project I'd do for a very nominal fee, but I need you to be much more
    clear about what your requirements are, and where you're starting from.

    Primarily, what physical hardware do you already have?

    Thanks,
    Rich
     
  16. I have the touch screen, and display system
    http://www.crystalfontz.com/products/12864cp/index.html#CFAX12864CP1WGHTS
    This is number one, it has to be done through a microcontroller
    When I touch the arrow, I want another set of sentences to be sent (so
    computer sends a new set of 4 rows of different text)
    Again, I have already the display.
    The microcontroller, i don't know which one to get.

    Would you know how to connect the whole thing ? Display = > Micronctroller =
    Really the most important is part of the whole thing is not the display ,
    but the whole "communication" aspect, meaning the interaction thing.
    In realliy i don't want to display for example 4 rows there and thee , but
    maybe 5 rows... But this I would know how to handle from the source code...
    You see what I mean kind of ?
     
  17. Hey,
    What about the ATMega128 ?
    Can I use the existing librairies ? I want to write the less code possible.
    The problem is that I instead of doing a project proposed by the school...
    wanted to do something of my own ... but I think I aimed a bit too high !!
    :( I thought it would have been easier to hook a graphic display to a
    computer !
    So I want the easiest way possible ! :)
     
  18. Ok, the touchscreen is like an input for the RS232 port. And it is a 4 wire
    system. And there are 18 other inputs... So for sure , there are 22 , + more
    ? yes i want to use RS232 too.


    The computer will send through the RS232 port the display. It won't change
    often at all.
    This is what I want to do :
    The display is divided for example in 4 sections. In each row there is like
    a text. For example :
    First row: "Hello This is..."
    Next row "I love electronics" ,
    Next row "I love you"
    Next row "I love hockey"

    and one last row with and arrow.

    What I want to do :
    When I am typing something for example, in wordpad, and when I hit with my
    finger the first row, the whole text "Hello This is.." get copied ...
    Or if I do "I love electronics" the whole text get copied ...
    AND when I hit the arrow, it will go to another set of quotes.

    Now i thought this was gonna be easy ... But no :)
    So as you see it does not a lot of updating at all .. just when you hit the
    next row I guess.


    That is exactly why I asked the question on the forum ,is to try to figure
    out which one would be the easiest ! : /
    I don't know any of these controllers. I want the one doing the best the job
    and the easiest for me. I know we can use C , or ASM , ....
    I know programming, (C, ASM ...) . I think C is the way to go ? For the
    librairies and all that ?
    Now I never heard of this terminilogy ? Does that mean that the controller
    comes without anything, or with a borad or something ?

    I would avoid asm, but c, basic, forth, pascal are pretty much alike ... I
    guess C has the most suport ?

    Someone already adised me to use AtMega 128 ... do you think it's good
    depending of everything I said above ?
    Thank you a lot for your help
     

  19. Thanks, but I don't really know RISC ... : |
     
  20. Ok , the microcontroller should interpret the touch on the screen and also
    receive infos from the computer through the RS232 port
    It's just an Graphic display, and it is touch screen. So pretty much it is
    to send the places where it has been touched to the computer, and send the
    infos to be displayed from the computer..
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-