ATMEGA328P UNO BOARD evaluation

Hi,

I am evaluating ATMEGA328P UNO BOARD for multi sensor applications from hardware ans software perspective.

I got four sensor , shaft encoder, Zigbee and driver circuitry ( chip) to control a DC motor.

Pin out Budget:

  1. Sensor1 ( ADC0, )

  2. Sensor2 (ADC1,)

  3. Sensor3 ( ADC2,)

  4. Shaft Encoder sensor ( ADC3, ADC4,)

  5. Motor output to control the motor driver chip ( PB0, PB1, PB2, PB3)

  6. Zigbee ( UART, PD0 TxD, PD1 RxD)

My questions are as follows

  1. Can ATMEGA328P allow individual pins of its ADC to be sampled? I want to do interrupt checking for the each individual pins. or does it read the 6 bit number at the same time.

  2. Will the ATMEGA328P be able to pull off this much work load?

  3. What libraries are available for the Zigbee? I want to build the mesh network for 500 units. What would be the best Zigbee kit to go with and please some advise on building such a network.

erica

  1. Can ATMEGA328P allow individual pins of its ADC to be sampled? I want to do interrupt checking for the each individual pins. or does it read the 6 bit number at the same time.

Analog inputs are read one at a time using analogRead(Ax), x = analog input pin 0 to 5 on Uno.

  1. Will the ATMEGA328P be able to pull off this much work load?

Almost certainly. Without knowing more about the setup can't say for sure.
Note that pins 0 and 1 (RX and TX) are used to program the 328 through the IDE so you might need to consider using a software serial for the BT.

  1. Can ATMEGA328P allow individual pins of its ADC to be sampled?

Yes.

I want to do interrupt checking for the each individual pins

Why?

  1. Shaft Encoder sensor ( ADC3, ADC4,)

Why is an apparently digital device connected to, apparently, analog pins?

  1. Will the ATMEGA328P be able to pull off this much work load?

While still doing nothing 99% of the time.

  1. What libraries are available for the Zigbee?

Andrew Rapp wrote the one everybody uses, if they need a library at all.

I want to build the mesh network for 500 units.

Nothing like starting off small. What are the XBees going to be doing?

What would be the best Zigbee kit to go with

For what definition of best?

and please some advise on building such a network.

Go big or go home.

PaulS:
Andrew Rapp wrote the one everybody uses, if they need a library at all.
Nothing like starting off small. What are the XBees going to be doing?

I agree the Zigbee device may not need a special library. The Zigbee devices I used where treated as normal serial devices.

XBee makes some Zigbee devices but not all Zigbee devices are XBees.