Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by pino1 on Tue Nov 06, 2012 12:42 pm

Hi,

I have the Adafruit data logging shield and am planning to connect it to my (yet to receive) Arduino Due. My question is whether this is possible since the Due runs at 3.3V and the data logger is made for 5V boards?

Any help would be greatly appreciated!
Thanks
pino1
 
Posts: 3
Joined: Fri Oct 05, 2012 5:56 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by adafruit_support_bill on Tue Nov 06, 2012 1:00 pm

There are more issues than just the operating voltage. As with the Mega, the Due does not have I2C and SPI pins in the same locations as the original Arduino that the shield was designed for. We don't have any Due's to test with, so it is hard to say if there are workarounds for these differences.
User avatar
adafruit_support_bill
 
Posts: 25556
Joined: Sat Feb 07, 2009 9:11 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by pino1 on Tue Nov 06, 2012 2:23 pm

Thanks a lot you for your reply!

I am currently using the Data Logger with the Mega using the Megalogger.pde sketch that was written by fat16lib. Since the pin layout for the Due is the same as for the Mega, I guess I can use the same sketch.

I am worried about the voltages however. Will the data logger work with 3.3V? I will try it as soon as I have the Due. Thanks!
pino1
 
Posts: 3
Joined: Fri Oct 05, 2012 5:56 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by adafruit_support_bill on Tue Nov 06, 2012 2:40 pm

I'd expect the SD interface to work, but the DS1307 Real-Time-Clock is a 5v part.
User avatar
adafruit_support_bill
 
Posts: 25556
Joined: Sat Feb 07, 2009 9:11 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by pino1 on Tue Nov 06, 2012 3:53 pm

All right, thanks a lot again!

Would you maybe have a suggestion for an alternative? I would like to have a clock and an SD card logger on the Due.
pino1
 
Posts: 3
Joined: Fri Oct 05, 2012 5:56 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by adafruit_support_bill on Tue Nov 06, 2012 4:31 pm

I believe that the Due has a 5v pin. You might be able to power it from that and change the I2C pullup to 3.3v as done with the Raspberry Pi: http://learn.adafruit.com/adding-a-real ... i/overview
User avatar
adafruit_support_bill
 
Posts: 25556
Joined: Sat Feb 07, 2009 9:11 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by lemuroid on Sat Nov 24, 2012 6:22 pm

Anyone got more specifics than this on running the logger on the Due? I do not want to toast my Due but want to get the logger working. I followed the thread on getting rid of the 220 resistors. Is there anything else?
lemuroid
 
Posts: 14
Joined: Wed Feb 02, 2011 4:35 pm

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by aureliusss on Tue Feb 26, 2013 4:46 am

i'd like to connect adafruit gps datalogger shield to my arduino due. is there any chance it will burn my DUE?
i'm not interested in the gps part, i need it just to save data on the SD card
aureliusss
 
Posts: 1
Joined: Tue Feb 26, 2013 4:44 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by adafruit_support_bill on Tue Feb 26, 2013 7:05 am

You can probably make it work. But as noted above, there are both pinout and voltage differences to be concerned with.
However, if you only need the SD capability, this might be a more straightforward solution: https://www.adafruit.com/products/254
User avatar
adafruit_support_bill
 
Posts: 25556
Joined: Sat Feb 07, 2009 9:11 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by TobyWan on Tue Apr 23, 2013 5:53 am

It looks as if the RTC DS1307 will work at 3v3 if the backup battery connection is grounded. It may also be possible to drop the battery voltage through a diode, but other users have reported time drift under 2v.
TobyWan
 
Posts: 5
Joined: Tue Apr 23, 2013 5:47 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by TobyWan on Mon May 06, 2013 9:05 pm

3v3 Datalogger modifications.

I have dropped the LadyAda datalogger RTC battery +ve across a 1N4148 silicon diode to give me 2.5v.
I have removed the MCP1700 and bridged Vin and Vout (note the pinout is NOT similar to 78xx series linear regulators :!: ).
As I am using an Olimex32U4 Leonardo clone, the regulated voltage on the datalogger is only 3.3v when the 5v/3.3v jumper is set and the USB is disconnected. Any SD card must be removed while the boards are connected to USB, otherwise the card will receive 5 volts :!: . It seems the Due does not have this supply issue.
A rough and ready 2 hour unpowered test does not reveal RTC drift (within 1 minute). I intend to remove the electrolytic capacitors to enable the boards to be readily powered off via a MOSFET.
TobyWan
 
Posts: 5
Joined: Tue Apr 23, 2013 5:47 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by TobyWan on Tue May 21, 2013 5:40 pm

Subsequently I discover the Olimexino 32U4 board was supplying 5v to the datalogger shield, despite the processor running at 3.3v (and 16MHz). The SD card appears to have survived.
Having dropped the battery voltage to 2.5v and further to 2.09 volts through a series of diodes, I cannot communicate over the I2C at 3.36 volts (testing with a Xino board running at 3.36v, 8MHz). The DS1307 RTC will retain time within a minute at a battery voltage of 2.5v since the post above.
I give up. I'll retrofit a DS1340 to the protoboard area, on a SOIC adapter.
TobyWan
 
Posts: 5
Joined: Tue Apr 23, 2013 5:47 am

Re: Does the 5V Adafruit data logger work with the 3.3V Arduino Due?

by TobyWan on Sun Jun 02, 2013 4:51 pm

The DS1307 was replaced by a DS1340Z on a SOIC adapter, pushed into the socket. Electrolytics removed, LDO regulator removed and bridged, board appears to be working correctly under 3.3v, 8MHz. SDHC card "pqi" brand 8Gb. Xino board with AP2281 high-side power switch.
TobyWan
 
Posts: 5
Joined: Tue Apr 23, 2013 5:47 am