Forum >Arduino Expansion Shield for Raspberry Pi B+ - HOW TO
ArduinoGeneral

Arduino Expansion Shield for Raspberry Pi B+ - HOW TO

userHead JiříSachl 2015-07-11 00:54:43 5859 Views4 Replies

Product
HOW TO - 
1. how to set and read time using Arduino ? DS1307RTC included.
2. how to set and read time using Raspberry PI B+ ?
3. how to communicate between Arduino and Raspberry through I2C and serial way ?
4. where to get the model examples of what combination of this product with raspberry pi do ?

Thanks. I apologize for robotic language translation using Google.

2025-03-05 14:45:04

JiříSachl wrote:Product
HOW TO - 
1. how to set and read time using Arduino ? DS1307RTC included.
2. how to set and read time using Raspberry PI B+ ?
3. how to communicate between Arduino and Raspberry through I2C and serial way ?
4. where to get the model examples of what combination of this product with raspberry pi do ?

Thanks. I apologize for robotic language translation using Google.



Hi,

Cool job google translator have done~ :D

I never played Rasppery before. But I could help some of them:

1 check here,I suppose you've noticed that, there's sample sketch about how to set time as well as read time https://www.dfrobot.com/wiki/index.php/Real_Time_Clock_Module_(DS1307)_V1.1_(SKU:DFR0151)

2 Read in the same way, it use the IIC interface, so the module is compatible. 

3 you'd better try some iic and serial module on arduino/ rasp.. then you could know it.

4 Well, this--this... Bad job google did. are you asking the sample sketch of this module on raspberry?( we donn't have , but the second answer would help somehow)


Good luck ! and let me know how would your project be~

userHeadPic Leff
2025-03-05 14:44:29

HOW to :
Setup hw clock for Raspberry Pi B+ withArduino Expansion Shield ?
Setuo hw clock DS1307 / RPi

userHeadPic JiříSachl
2025-03-05 14:44:10

http://wiringpi.com/

This May could help :)

userHeadPic Leff
2015-07-11 02:16:57 Thank you for your answers.
I would be pleased example of solving the communication between the Raspberry Pi and Arduino Shield that would cater for relay connected to the Arduino. Arduino controlled relay but the Raspberry was read status - on / off.

My project is a robot on two wheels with stepper motors that will drive through the Arduino shields. Raspberry through camera will detect objects and determine where to go robot. Raspberry must therefore communicate with the Arduino. I chose this because the shield to avoid the number of connecting cables which could result in an error. Finally, it takes up less space.
Když vynecháme Google translator tak můžeme komunikovat česky.
userHeadPic JiříSachl