# Has someone made a sensor with an ATMega328, an XBee, a RTC DS1307 and MicroSD Module?

**URL:** <https://forums.digi.com/t/has-someone-made-a-sensor-with-an-atmega328-an-xbee-a-rtc-ds1307-and-microsd-module/22478>\
**Category:** Interface/Development Boards\
**Tags:** power, s2c, help, rtc, microcontroller\
**Created:** [June 14, 2021, 8:24am UTC](https://forums.digi.com/t/has-someone-made-a-sensor-with-an-atmega328-an-xbee-a-rtc-ds1307-and-microsd-module/22478 "2021-06-14T08:24:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ignacio\_Mora](https://avatars.discourse-cdn.com/v4/letter/i/e9c0ed/32.png) [@Ignacio\_Mora](https://forums.digi.com/u/Ignacio_Mora)\
**Post date:** [June 14, 2021, 8:24am UTC](https://forums.digi.com/t/has-someone-made-a-sensor-with-an-atmega328-an-xbee-a-rtc-ds1307-and-microsd-module/22478/1 "2021-06-14T08:24:14Z")

</div>

Hello I am making a sensor that involves an ATMega328, an XBee S2C 2.4 Digimesh, an RTC DS1307 and a MicroSD module.  
I would like to know if someone has worked with these modules or something similar, I am having a power problem, I would like to know what is the minimum power I need to make them work.  
I know that each one works at 5 volts, the XBee I have a set on a regulator from 5 to 3.3V.

My idea is to make a sensor that reads the voltage of a Panel, so the sensor would use this voltage produced by the panel to function and at the same time through the ADC, measure the voltage that comes out of the Panel.

If anyone knows a little more about this, I would like you to give me tips or a guide on how to deal with this problem.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [June 22, 2021, 7:23am UTC](https://forums.digi.com/t/has-someone-made-a-sensor-with-an-atmega328-an-xbee-a-rtc-ds1307-and-microsd-module/22478/2 "2021-06-22T07:23:47Z")

</div>

I am sorry but I have not heard of anyone doing this.

What I can tell you is that the XBee is a 3V device. That means that if you want to connect the 5V processor or other devices to the 3V XBee, you need to use a level shifter.
