This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Microcontroller choice

I want to make a bms home system with 8051.But i don't know wich microcontrollers to use.To be specific i need
a: 1 microcontroller that can communicate with wifi because i want to control the entire system via my pc
b:unknown number of microcontrollers which they were connect with the wifi microcontroller.Also in these microcontrollers will connect the d/a and a/d converters for the sensors.

*For this project will i need any other chips except controllers,converters and the "typical" max232, etc...?
*To make the network between all the controllers which protocol do you recommend?will i need specific controllers to make the netwrok?

plz help....
Thanx

  • What is a "a bms home system"?

    Does it really need WiFi?
    Have you considered other types of wireless metwork?

    How did you choose 8051?

    Why would you need MAX232 if you have WiFi?

    Have you looked at http://www.keil.com/dd/search_parm.asp ?

  • Bms system is Building Management System.Something like smart home.
    I need wifi because i want to control it from my pc. Which other wireless network do you recommend?
    I choose this microcontroller because this projecct is for college and they wanted with 8051.
    The thing you say about mmax232 is right because i will not use serial.
    if you can help me this because I am a little bit confused.....i wll be grateful.

  • Wifi is a quite high-end standard for your 8051 to handle.

    How about an RF solution where you connect one transmitter/receiver to the serial or USB port of your PC, and use another with a serial port of one of the 8051?

    Either modules sending raw data, or more intelligent modules such as ZigBee or similar?

  • I know that 8051 isn't the perfect for this job.That's why i ask for an AVR that can communicate via wifi with my pc and then the 8051 will connect with AVR.This with rf is very good idea and i will search some things about this.Can you explain the last thing you say about zigbee?

  • You can try googling for ZigBee.

    But it is an intelligent standard for home automation. Small, cheap radio modules normally intended to be installed in every controlled node and possibly driven by batteries.

    The ZigBee standard also has routing capabilities, so one ZigBee module may forward data to other modules further away, in case the PC is out-of-range to some devices. But that requires that you have modules with this routing functionality.

    Read more here
    en.wikipedia.org/.../ZigBee

    Note that you also have links to other standards from that page.

  • Have '51s with avaliable canned Zigbee source.

    Erik

  • No, that does not follow at all!

    PC interfaces are easily available for just about any interface - wireless or otherwise - that you might care to mention!

    As already mentioned, WiFi is a very high-bandwidth heavyweight link.

    Just think about the total volume and rate of data required for the whole house: it will be minute in terms of WiFi - after all, you're just turning a few switches on & off occasionally...

    Being heavyweight also means that they are expensive: you will probably have to pay over $50 for each node just for the WiFi part - that's before you add the microcontroller, and interface circuitry, and software...
    How many nodes will you require?
    How much will that cost?!

    Being heavyweight also means that they require (relatively) high supply power - which may make battery operation impractical.

    So, all in all, WiFi is not a great choice.

    There are other wireless schemes available that are specifically designed for this kind of application - low cost, low power, low bandwidth:

    There are proprietary schemes like XBee: www.digi.com/.../xbee-series1-module.jsp

    And standards-based schemes like Zigbee: http://www.zigbee.org/

    (many Zigbee suppliers also have a lower-cost, proprietary version without all the "bells and whistles")

    Your choice of wireless scheme is probably far more important that your choice of microcontroller!

    Once you have chosen your wireless scheme, just use whichever microcontroller is best supported by your chosen vendor!

  • "That's why i ask for an AVR that can communicate via wifi with my pc"

    An AVR is just another 8-bit microcontroller - it will have no significant advantage (or disadvantage) over an 8051.

    "the 8051 will connect with AVR"

    That is pointless!
    That would just be adding cost & complexity (to both the development and the production) to no particular benefit!

  • What, exactly, do you mean by that?

    Do you mean that the PC is to provide the core "intelligence" to control the entire system?

    Or do you just mean that the PC will provide the interface by which the user interacts with the system? ie, all the control "intelligence" is in the microcontroller(s)?

  • Being heavyweight means that a Wifi solution may require very thick manuals to make use of - and some of that information may require that you sign non-disclosure agreements or similar, and in some situations they may expect that you buy a expensive development kit to get the documentation.

    Other solutions may allow you do step into an electronics shop and buy two cheap radio modules with RS232 interfaces and a one-page paper showing how to power the units.

  • First of all i would like to thank everyone that answer my questions.It is the first time for 1 month now that i have make some things clear in my mind.As you can understand I am a little bit amateur,no in programming one mc,but to make complete projects.
    Now,with interface i mean that i will build a program with c++ or basic to control with it the hole curcuit.
    Then i have read some things for zigbee and i have some questions.Firstly zigbee will be the protocol that i will communicate my pc with the circuit or it is also a protocol that i can make my mc network?The zigbee can be built with chips that i place one chip to my pc and the other one to the circuit?Will it need and some programming?
    As you can understand i have some difficulties about the hardware thati i will need for the project.
    And 1 last question.Propably i will need more than one mc.To make a netwrok(CAN,I2C) between any number of mci will need specific mc that can establish these networks or i can take every mc i want and place a chip that can make this job?

    If anyone who have some time to explain me some things i will be gratefull to him
    Thanks a lot

  • Don't jump at ZigBee just because it was suggested. It is one of many alternatives, and we do not know what alternative that would be best for you.

    Look at the simple RS232 send/receive modules that you can find too.

    One thing you haven't mentioned is how you will power your units? If running on batteries, then you should definitely consider ZigBee. If you have other power, then you have more alternatives.

    You should also consider your budget. ZigBee is intended to be used with one radio module in every controlled device, so you do not have any cables. If you design own solutions, you may decide that it is enough to have just a few radio control points, and then switch to cable to formward information to other devices. That depends on the cost for you to aquire the radio modules compared to the cost and work to buy and draw wiring.

    What distances do you need to cover? Will everything be in one room? A one-floor apartment? A house with cellar?

  • Look,first of all I think i forgot to mentioned something.This project is for university.So the money is not a big problem.I can afford a 300-500 €.But i don't know if this budget is enough.I will use some mc,about 8-10 sensors,and then i will need some chips for the networks.Is it possible to be done with 300€?
    Then i don't think serial is a good idea because a similar project with rs232 has be done.So i would like something different and i thing zigbee is a good idea.But if you can i need some more practical informations about zigbee such as i will have to place a radio module in every sensor,in every mc or i will need 1 for the whole circuit.Then if i will make it with zigbee i will need and another protocol for the mc netwrok?

  • In that case, a key part of the project is for you to do your own research!

    Your assessors will be looking at how you researched the available technologies, and how you applied the results of your research...