DS1307 and ADXL335 using 3.3v
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 130
- Joined: Sun Mar 24, 2013 1:52 pm
Re: DS1307 and ADXL335 using 3.3v
Ok, I've just looked at the parts list for the DS1307 and a pair of 2.2K resistors come with it. I'm just a little confused as the tutorial for the TSL2561 Lux/Light sensor says to remove the DS1307 pull up resistors if using the sensors concurrently, which lead me to believe that you needed different values for different voltages. I take it when running multiple I2c devices you just have one pair of resistors?
- adafruit_support_bill
- Posts: 88141
- Joined: Sat Feb 07, 2009 10:11 am
Re: DS1307 and ADXL335 using 3.3v
The reason for removing them is because the DS1307 pullups are to 5v and the TSL2561 is a 3.3v device. You can use a 5v device with 3.3v pullups, but 5v pullups will damage a 3.3v device.
-
- Posts: 130
- Joined: Sun Mar 24, 2013 1:52 pm
Re: DS1307 and ADXL335 using 3.3v
I understand, that makes perfect sense now. Still need to investigate the I2c protocol as you probably guessed I'm quite new to it.
Thanks again for the support
Thanks again for the support
- adafruit_support_bill
- Posts: 88141
- Joined: Sat Feb 07, 2009 10:11 am
Re: DS1307 and ADXL335 using 3.3v
Here's a good review of how it works electrically. http://www.i2c-bus.org/i2c-primer/
-
- Posts: 130
- Joined: Sun Mar 24, 2013 1:52 pm
Re: DS1307 and ADXL335 using 3.3v
I've just set my Arduino 3.3v Pro Mini up and powered it with a 3.3v FTDI basic and followed my fritzing diagram in a preceding post. I've a few questions, firstly, which I guess is obvious that when I test for voltage on the raw pin I get zero. Also, I take it I don't power the raw pin as well as the power from the 3.3v FTDI basic in order to get 5v for my DS1307?
I've provided a picture to illustrate:
I've provided a picture to illustrate:
- adafruit_support_bill
- Posts: 88141
- Joined: Sat Feb 07, 2009 10:11 am
Re: DS1307 and ADXL335 using 3.3v
Looks like VCC on the FTDI header bypasses both the Raw pin & the regulator on that processor. I'm not familiar with the FTDI adapter you are using. Does it have a breakout for the 5v it is getting from the USB port?
-
- Posts: 130
- Joined: Sun Mar 24, 2013 1:52 pm
- adafruit_support_bill
- Posts: 88141
- Joined: Sat Feb 07, 2009 10:11 am
Re: DS1307 and ADXL335 using 3.3v
Looks like you could solder a jumper to that pad labeled 5v and power the DS1307 from that.
-
- Posts: 130
- Joined: Sun Mar 24, 2013 1:52 pm
Re: DS1307 and ADXL335 using 3.3v
Ok, what about my 5v Arduino FTDI, will that act the same as the Sparkfun adapter?
http://arduino.cc/en/Main/USBSerial
I'm just a bit reluctant atm about connecting that one to my 3.3v board.
http://arduino.cc/en/Main/USBSerial
I'm just a bit reluctant atm about connecting that one to my 3.3v board.
- adafruit_support_bill
- Posts: 88141
- Joined: Sat Feb 07, 2009 10:11 am
Re: DS1307 and ADXL335 using 3.3v
The 5v FTDI adapter is going to have 5v on VCC. That would not be healthy for your 3.3v micro.
-
- Posts: 130
- Joined: Sun Mar 24, 2013 1:52 pm
Re: DS1307 and ADXL335 using 3.3v
Sorry for all the questions!
Btw, I'm just in the process of testing my ADXL335 by plugging the 3.3v output into the 3Vo and it seems to be operating okay
Btw, I'm just in the process of testing my ADXL335 by plugging the 3.3v output into the 3Vo and it seems to be operating okay
-
- Posts: 3
- Joined: Wed Jul 23, 2014 12:47 am
Re: DS1307 and ADXL335 using 3.3v
Hi I tried connecting my ds1307 to an arduino pro mini 3.3v and could not set the time. I had removed those resistors as instructed but it didn't help. I didn't understand why adafruit said it worked for a raspberry pi that's also 3.3v supply.
Do we know for certain that when plugged into USB, the raw is 5v for the rtc? I would like to avoid soldering and unsoldering.
Any other suggestions/input is greatly appreciated!!
Do we know for certain that when plugged into USB, the raw is 5v for the rtc? I would like to avoid soldering and unsoldering.
Any other suggestions/input is greatly appreciated!!
- newbie3
- Posts: 4
- Joined: Mon Apr 13, 2015 7:03 pm
Re: DS1307 and ADXL335 using 3.3v
Hello,
Working on a project using, neopixel/gyro/ ADXL 335 accelerometer/vibration motor inside. Can a Lipo battery be used to power an arduino mini, while it was being charged? Making an object runs on lithium battery but I want to make it rechargeable.
Many Thanks,
Newbie
Working on a project using, neopixel/gyro/ ADXL 335 accelerometer/vibration motor inside. Can a Lipo battery be used to power an arduino mini, while it was being charged? Making an object runs on lithium battery but I want to make it rechargeable.
Many Thanks,
Newbie
- adafruit_support_bill
- Posts: 88141
- Joined: Sat Feb 07, 2009 10:11 am
Re: DS1307 and ADXL335 using 3.3v
@Newbie - better to start a new thread for your topic: http://forums.adafruit.com/posting.php?mode=post&f=25
Please be positive and constructive with your questions and comments.