ADK Update: schematics

60 views
Skip to first unread message

Vadim Tkachenko

unread,
May 16, 2012, 2:03:20 AM5/16/12
to home-clima...@googlegroups.com
Hello All,

Published at http://fritzing.org/, at the bottom.

Extremely ugly - but usable.

Caveat emptor: I didn't check whether this particular selection of
relays, transistors and diodes works with Arduino, I just tested
servos and sensors.

--vt

Ben Madison

unread,
Jun 14, 2012, 8:47:46 PM6/14/12
to home-clima...@googlegroups.com
Vadim,

That link takes you to the home page. Do you happen to have a more direct link by chance?

Ben

Vadim Tkachenko

unread,
Jun 14, 2012, 9:25:51 PM6/14/12
to home-clima...@googlegroups.com
Hello Ben,

> That link takes you to the home page. Do you happen to have a more direct
> link by chance?

Oops... Here's the correct one: http://www.homeclimatecontrol.com/adk
- I'm not giving the image URL because it depends on Google's
publishing quirks. Look at the bottom of the page.

Reminder - I didn't test relays (LEDs only), would appreciate help
with specifying correct components (transistors, resistor values,
diodes, relays).

> Ben

--vt

Ben Madison

unread,
Jun 14, 2012, 11:04:26 PM6/14/12
to home-clima...@googlegroups.com
Vadim,

Just digging through the plethora of information online about 1-wire, it seems that there is already a library in place for the Ardunio, but looking at the schematics, you have them individually connected to separate pins? Am I missing something here? Does the current library not really work that well?


Ben

On Wednesday, May 16, 2012 1:03:20 AM UTC-5, Vadim Tkachenko wrote:
On Wednesday, May 16, 2012 1:03:20 AM UTC-5, Vadim Tkachenko wrote:

Vadim Tkachenko

unread,
Jun 15, 2012, 1:59:36 AM6/15/12
to home-clima...@googlegroups.com
Hello Ben,

> Just digging through the plethora of information online about 1-wire, it
> seems that there is already a library in place for the Ardunio, but looking
> at the schematics, you have them individually connected to separate pins? Am
> I missing something here? Does the current library not really work that
> well?

Just looked at the picture - and realized that I forgot to mention
that sensors are not 1-Wire, they are TMP36. LM34, or any other kind
of sensor that can be read by Arduino's ADC, can also be used -
calibration and scaling will be different, but that's in software.

About 1-Wire - I don't really trust software implementation. The
current idea is to use serial ports to communicate with hardware
1-Wire adapter (either full fledged, or simplified - had a link
stashed somewhere, but can't find it at the moment). Besides, I'm not
so sure software can handle multiple branches over DS2409 - and I am
*really* not looking forward to rewriting 1-Wire API again (did it a
while ago, it is still a nightmare even after improvements).

Likewise, I'm planning to connect XBee coordinator to a serial port.

Mega ADK has either 4 or 3 available serial ports (I don't remember if
the one on 0/1 is the one connected to USB or not) - should be more
than sufficient.

However... I have no idea how well does current Arduino 1-Wire stack
work. The Arduino accessory code is in the open
(https://github.com/home-climate-control/arduino), if you think you're
up to writing 1-Wire driver for it, so much the better - the protocol
was written to accommodate both already.

> Ben

--vt

Ben Madison

unread,
Jun 15, 2012, 2:11:24 AM6/15/12
to home-clima...@googlegroups.com

I haven't looked at the I2C code for the arduino, but I know 1-wire has a converter from it to the 1-wire protocol. What do you think about something hybrid like that? The converter is about $10 I think so not expensive, and it would depend on the current I2C stack for arduino but it is a possibility?

I'll take a look at the accessory code. Too start, what devices need support on the 1-wire link? We can always add more as necessary, but need a target to get off the ground.

Ben

Ben Madison

unread,
Jun 15, 2012, 2:17:43 AM6/15/12
to home-clima...@googlegroups.com

Another thought of mine, and I'm just throwing out ideas here, would be to link an adk arduino and an uno using I2C, and using the USB of the uno to support a usb 1-wire controller (iButtonUSB? )

Ben

On Jun 15, 2012 1:00 AM, "Vadim Tkachenko" <v...@homeclimatecontrol.com> wrote:
>

Vadim Tkachenko

unread,
Jun 15, 2012, 2:37:32 AM6/15/12
to home-clima...@googlegroups.com
Hello Ben,

> I haven't looked at the I2C code for the arduino, but I know 1-wire has a
> converter from it to the 1-wire protocol.

What for, if a 1-Wire library already exists? Here:
http://www.pjrc.com/teensy/td_libs_OneWire.html

> What do you think about something
> hybrid like that? The converter is about $10 I think so not expensive, and
> it would depend on the current I2C stack for arduino but it is a
> possibility?

I'd use Occam's Razor. If it makes sense, go for it. Just make sure
it's something you *need*, not something you *want* :)

> I'll take a look at the accessory code. Too start, what devices need support
> on the 1-wire link? We can always add more as necessary, but need a target
> to get off the ground.

Here's a complete list of what DZ is using (some of them are
dependencies, though):
http://diy-zoning.svn.sourceforge.net/viewvc/diy-zoning/trunk/dz3-master/dz3-owapi/src/main/java/com/dalsemi/onewire/container/

Quick start:

- OneWireContainer10: DS18S20 and DS1920, temperature sensors;
- OneWireContainer12: DS2406, dual addressable switch (used for HVAC actuators);
- OneWireContainer22: DS1822, temperature sensor;
- OneWireContainer28: DS18B20, temperature sensor;
- OneWireContainer29: DS2408, eight channel addressable switch.


Optional:

- OneWireContainer26: DS2438, Smart Battery Monitor. A temperature and
humidity sensor for the purposes of this project;
- OneWireContainer1F: DS2409, MicroLAN coupler. Can't work without it
on complex topologies (that'll be any kind of star);
- OneWIreContainer05: DS2405, single addressable switch.

> Ben

--vt

Ben Madison

unread,
Jun 15, 2012, 8:33:01 PM6/15/12
to home-clima...@googlegroups.com
Vadim,

What are your concerns with the software implementation of the 1-wire master? Keep in mind I haven't messed with it yet on the ardunio, so i can't comment either way. Is there concern about the timing?

Ben
Reply all
Reply to author
Forward
0 new messages