element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Vote in three minutes!
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 13 replies
  • Subscribers 419 subscribers
  • Views 1410 views
  • Users 0 members are here
Related

Vote in three minutes!

e14 Contributor
e14 Contributor over 12 years ago

No more long queues at polling stations. I am doing a project on voting using a cell phone with a cell phone based voting machine using micro controller AT89S51. I am stuck at writing a code for this project.

  • Sign in to reply
  • Cancel

Top Replies

  • sqkybeaver
    sqkybeaver over 12 years ago in reply to Robert Peter Oakes +1
    if you must use 8051 you should look at this C8051F12x/3x 8-bit Microcontroller (MCU) | Silicon Labs
  • Robert Peter Oakes
    Robert Peter Oakes over 12 years ago

    please show us what you have and we can see if we can help

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sqkybeaver
    sqkybeaver over 12 years ago

    Ill be glad to look at your code. what compiler are you using?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 12 years ago

    Can they vote from Mexico?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 12 years ago in reply to Robert Peter Oakes

    Thank you Peter for the concern, the working of the project is controlled by a micro controller ATMEL AT89C51 and a DTMF decoder CM8870, used for decoding key tones of cell phone, and EEPROM. DTMF is sent to the microcontroller which is decoded by CM8870C and the password is fed with the candidate number. The EEPROM is used to store the memory in case of power failure. This project is based on assembly language programming. The software platform used in this project are Keil uVision3 and SPIPGM37.

    Please direct me freely what you think about this project idea.  I am much worried of the code.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 12 years ago in reply to sqkybeaver

    Hi Sheldon, Working with a C++ compiler. What do you think image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 12 years ago in reply to e14 Contributor

    Well, this will be integrated with use of the Internet, thence one can vote from anywhere, provided you access Internet.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sqkybeaver
    sqkybeaver over 12 years ago in reply to e14 Contributor

    I'm not aware of any c++ compilers. I use SDCC. Is there any specific reason for using the at89s51? that line does not have much flash or ram.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • D_Hersey
    D_Hersey over 12 years ago

    You might use Flash rather than EE.  EE allows random rewrite for 4x the cost.  Flash allows only page (they drain the quantum wells on erase) erase, which doesn't seem to be a limitation here.

     

    8051 is probably going to be steamin' away running this.

     

    You should determine your basal functions, name them, and code them first.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 12 years ago

    My initial question is why this micro-controller

     

    It is an industry standard sure but very limited for something like your attempting, more IO than you need and probably way less Program and Ram space than you will need

     

    I would suggest an Arduino UNO or higher Arduino or if you making a custom board, an ATMEGA 328 (Uno can be the development platform, then unplug the chip into your own custom board if needed

     

    You can use the free IDE/Compiler and it is programed in standard C. You should still be able to interface to all your peripherals without an issue and there are loads of people in the community who will be able to help

     

    there are also plenty of shields to provide internet access and other functionality with ready made libraries for your consumption

     

    If your new at this, perhaps you should consider this walk before you run approach and it has the FLASH memory for program, EEPROM for storing variables and SRAM for the run time way in excess of the 8051 based micro you mention

     

    328 has

    32K FLASH Program Space

    2K SRAM

    1K eeprom

     

    at89s51

    4K FLASH (Program Space)

    128bytes ram

    no eeprom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sqkybeaver
    sqkybeaver over 12 years ago in reply to Robert Peter Oakes

    if you must use 8051 you should look at this C8051F12x/3x 8-bit Microcontroller (MCU) | Silicon Labs

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube