Pages: [1]   Go Down
Author Topic: Datura - 6 relay, Web, serial, RTC, dht22 temp sensor, display  (Read 3037 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, My name's Paolo, from Italy.
I'm a beginner in arduino, but I'd like to show you my first creation Datura.

It's a little project that can help you to drive relays (up to 6).
I designed the project to automate my garden irrigation, but potentially, it can be used for any kind of application that needs to control switches.

In a tipical config you can use a couple of relays to give water to plants every day. Another one to give "concimated" water one a week.
other 2 relays to switch on/off lights, another relay for fan ventilation..
Cool!

It includes:
- web login authentication
- nokia 5110 display to show the status of hum, temp, and status of each relay.
- dht22 hum & temp sensor,
- ethernet shield to control it entire via web.
- automatic or manual mode
- ds1307 RTC clock
- 2 full analytic timers. you can configure up 2 timers for each relay and add a configuration for each day of the week
  (it means you can configure for example to switch on the relay n.4 from 7:30am to 8:00 and 18:00 to 18:02 of thursday).
- microSD integrated in eth shield to log the status.
- up to 6 relays
- name assign to each relay
- number of relays assignation (only the declared relays will be shown)
- up to 6 analog sensor to add a control parameter to each relay.
- Serial configuration allowed (you can change parameters also via pc and serial port.)

I'm forgotting something, but surely i'll remember and add while typing...

The code is quite simple, and I'll surely post under GPL (?), but I still need a little of time for bug fixing.

Follow some pictures..

Any mod or any idea to improve the project?



* sistema def.PNG (35.37 KB, 363x387 - viewed 136 times.)

* impostazioni def.PNG (95.47 KB, 481x1505 - viewed 123 times.)

* arduino_connections.jpg (235.61 KB, 1225x842 - viewed 221 times.)
« Last Edit: May 28, 2013, 09:54:49 am by prnet » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey, can you please share the code also? it looks similar to something like i'm trying to do and i'd like to learn from your code smiley also what kind of ethernet shield are you using? thanks.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello,

you can find the code here:
http://www.thepiper.eu/datura.zip

The ethernet is a standard w5100 based .. something like this:
http://www.ebay.it/itm/2012-Ethernet-W5100-Network-Shield-For-Arduino-UNO-Mega-2560-1280-328-/140901722278?pt=UK_Computing_Other_Computing_Networking&hash=item20ce65a8a6&_uhb=1#ht_4671wt_820

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, It look great !!!!!

I try to complied your code with IDE 1.05 but it got error below.

D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp: In constructor 'RobotControl::RobotControl()':
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:8: error: 'LCD_CS' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:8: error: 'DC_LCD' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:8: error: 'RST_LCD' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp: In member function 'void RobotControl::begin()':
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXA' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXB' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXC' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:18: error: 'MUXD' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:19: error: 'MUX_IN' was not declared in this scope
D:\Arduino\arduino-1.0.5-windows\arduino-1.0.5\libraries\Robot_Control\ArduinoRobot.cpp:22: error: 'BUZZ' was not declared in this scope

Could you please share your idea.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi i would like to rebuild this project.- I think it´s really cool!  smiley-grin
Can anyone share the zip-File with me?- That would be nice!!!
-It´s not longer hosted on http://www.thepiper.eu/datura.zip.
Sorry for my bad englisch.

Thanks, olli
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
Is this project source available somewhere?
Logged

Pages: [1]   Go Up
Jump to: