I finally have managed to get my banana working it is that bloody time, it seems that there never is enough of it. I hope you people dont mind that I post it on several forum pages as I try to find people who want to create something similar and maybe combining our efforts what can make more .
In short I want to make my apartment kind of like it is in star trek, you come in say lights and voila you got lights or set the ventilation, heating whatever just by sitting down on computer or just watch at your phone to see what the current temperature in your kitchen . In my vision everything is monitored and logged, I havent really figured out why it would be good but I think it just is cool - maybe in future I figure out what good is in that whole punch of data. First I was building my smarthouse project around raspberry but now I have found banana and I like banana more - no reason at all just do.
So I plan to use my first banana as brain of ventilation system, I want it to control 12 fans, I want it to monitor temperatur and humidity in garaga (where ventilation system is installed), in box that will contain banana, outside and also in two channels for air to move inside my apartment. Also I want it to monitor how much current my ventilation system uses at any moment(in my vision everything is monitored, I even think about monitoring radiation levels in my apartment, I would know instantly if somebody would come to kill me with polonium ).
so picture of the box with banana in it
any suggestions about my setup or anything else are really welcomed .
* on it you see banana getting power from yWRobot breadboard power supply(http://www.petervis.com/Raspberr ... d_Power_Supply.html). As said in this review AMS1117 voltage regulator gets really how and I had some small headsinks with clue on back, so it seemed like good idea to stick one on 5v regulator one (as everything runs on 5v, I do not use 3.3 at all), is it good idea ? Also I have worries about AMS1117 capacity, I might use more power than it can regulate for me but I tend not to worry about it yet, it is always trial and error method for me .
* then you see dht22 temperature and humidity sensor, there will be few more connected at the end but for testing purposes, one is good enough.
* then you cant really see but there is mcp3002 ADC connected to banana over SPI. ADC is connected to breakout board with acs712 current meter - this part in future should take care of measuring the current used by ventilation system. I have little code that I created for raspberry once some long time ago, to use same setup (mcp3002 and acs712) and measure current but I never got it really working, I mean it all works and numbers almost make sense but something is bit off . I believe something is wrong with my math. if somebody knows more about how it all should work, maybe you can look at my code and tell what's wrong :). the code is located at torch.bumpclub.ee/thisandthat/acm.c
* also there is small computer fan, I was thinking that if it is in closed box and on summer it might be bit hot so it needs some ventilation ... but 5v from breadboard barely make it run and I havent figured out really how to make it work after all it is all work in progress. any ideas ?
I want to put 12 - 16 relays(to control relays) into box similar like this and connect it with banana box over i2c cable. I want to use mcp23017 gpio expander in this other box - signal comes from banana over i2c to mcp23017 chip that then turns on or off relay that controls fan - if it makes sense :). I have build one box like this before but I left it unattended for a moment and it got stolen, true story, I believe nobody really have any use for it but well.
picture of the relay box that got stolen
last time before the box got stolen I had idea to connect it to raspberry inside over 8m cable. I had problems with this setup, relays used too much power - system worked on border line ... I believe it was mostly the fault of 8m cable now first I have different sort of relays(solid state relays), I will experiment which ones will take less power and use these and now relay box will be connected with less than half meter cable, right next to banana box ... I think or rahter hope it solves my power problem :)
people :) I wait for you suggestions, comments and ideas ... it is kind of force making me move more :)