Happy Fathers Day!
I've been looking into alternative methods to my setup. One of the boards I've looked at is the Netduino or the Netduino Plus. The benefit of the Netduino, is that I have the microcontroller and the network controller on the same board, and I dont need a separate shield for the Arduino to get things done. It depends on your system requirements what you need, but I consider it a downside having to use .NET to program this board. I'd prefer if the developer had kept with the universal C code that is used on the Arduino as well as a multitude of other microcontrollers. But if you're interested in learned the .NET Micro Framework, then this is the product for you (though I am still openly considering this).
Tutorials for this can be found all over the place, but I've found that Channel 9 has a good tutorial for .NET programming.
Another one of these boards I considered is the BlackWidow WiFi Arduino Clone. Sadly, the maker of those boards, Async-Labs, has gone out of business. So if I decide on using these boards, I would have to manufacture them myself for use in my system. WiFi is a greatly advantageous system over Ethernet, but expensive. Maybe once I'm comfortable with all of my current hardware setup, I'll investigate this possibility.
I've also been researching to use the ATTINY series in my boards, rather than the larger ATMEGA series. Of course it depends on my memory requirements, my code size, etc, but I believe certain boards of my system can use them very nicely, thereby shrinking the size of the boards. If you're looking how to program the ATTINY chip, I found a great application at Adafruit, where Lady Ada has used an ATTINY4 in her i-Cufflinks. You'd need the ATMEGA32U4 breakout board to program it, as well as the JTAG cable, and depending on your needs, Pogo-pins (or this link).
I'm left doing some research in these few weeks, and developing some ideas for future boards, while I await my 3 boards I ordered last week. I've managed to buy the majority of the parts I need to make those boards, but all the rest are to be ordered through Mouser, so I'm compiling my order to be sent out next week.
Until next week, Stay Safe and Live Green.
Ciao.
Sunday, June 19, 2011
Saturday, June 11, 2011
Prototyping Update
Lots of progress this week.
I managed to finish two boards and send those to the Fab shop. After a few mix-ups, and footprint errors, the third board was sent to the shop as well. Also, went and purchased some of the parts for the boards from my local electronics store. Ran a bill of around $90 US, but thats because I bought in triplicates, quadruplicates and more to have a ton of spare parts in case I want to make several boards. I'll find out just how many sets I actually bought for once I start assembling the boards, which should be in a couple of weeks, when the new boards come in. Unfortunately I couldnt find the 30A relays I need at the local shop, only 20A, and they are the wrong footprint, so I wont be able to use them (but to keep handy just in case).
The LAMP server is now operational, with remote access enabled so I can work on it without needing to keep switching back and forth to it on the monitor (remote access would be disabled once the system is operational with a touch-screen interface). This makes my life easier. Only thing I havent tested is the MySQL Database, so thats still on my to-do list. Also I'll have to get a domain name and a DNS account to be able to go live with this server...but thats in the future when I want to connect remotely to the system. Now that I know that it works for the most part, I can start writing code to interface with the microcontrollers.
The wonderful thing about the Efika is that you can leave it running overnight, and you dont even know that its still on except for the little LED button that tells you the power is on. Its just that silent. There are no fans, and no mechanical hard drive, so zero noise. Even cooler is that fact that it produces so little heat (haha the pun was intended), so I can put it in my bedroom and just leave it, or connect it anywhere it my house and it runs safely and silently. And with the WiFi card built in, all you need is the power plug, and it just sits there with nothing else plugged in. I admit, you'd have a really clean desktop if you used this as your computer. I have been having quite a bit of fun with this little thing. Only thing I'm not enjoying is the UBoot Bios that doesnt show on the screen while its loading. So you're not privy to some of the features and hardware settings you would normally have access to in a regular computer. But I dont need the fancy options just yet (WiFi WoL), until sometime in the future.
So next up is completing the Arduino shield for the gas sensors with built in power management to keep the heaters at the right settings all the time. I'll try to wrap up the remaining board today to get it in with Laen by Monday's panel. Also I'll try to visualize what the prototype modules will look like to get an idea of things. Gas sensor modules (Fire Detection System) will probably look similar to current smoke/CO detectors, and will have a built in piezo siren.
Monday, June 6, 2011
Vacation
Well I decided to take this week off and relax for some R&R time.
Starting tomorrow, I'll review my two circuits and make parts lists for both. Once they are completed, I'll put the order through for the Powerduino shield and its mate the Relayduino shield. The good news is that for the most part are easy to solder by hand. The bad news is the parts are a little expensive, but not by much. Maybe around 50 bucks for all the parts for both shields. So if I ended up selling these boards, I'd have to sell them for a little more to break even. I'd probably end up selling the boards individually, and include a parts list.
The Relayduino has the following specs:
-Two 30A/250VAC Relays with Quick Connect Pins
-LED Relay Power Indicators
-Quick Switching up to 66.66 Hz
-Use with the Arduino Uno
The Powerduino has the following specs:
-Power Outputs: 9/12/24 VDC (intended for Relayduino)
-Jumper header to Select which Output is Required
-Uses a MAX1771 DC-DC converter
-Shield is for use with the Arduino Uno
06/06 Edit: Teensy Relay Shields came in today, lots of technical flaws on my part. Its on my list of things to do this week. Fyi, the Teensy Eagle Library on PJRC.com isnt correct, the pin holes are too small. I'll be sure to let Paul know.
So not much else to tell. I'll see you next week.
Starting tomorrow, I'll review my two circuits and make parts lists for both. Once they are completed, I'll put the order through for the Powerduino shield and its mate the Relayduino shield. The good news is that for the most part are easy to solder by hand. The bad news is the parts are a little expensive, but not by much. Maybe around 50 bucks for all the parts for both shields. So if I ended up selling these boards, I'd have to sell them for a little more to break even. I'd probably end up selling the boards individually, and include a parts list.
The Relayduino has the following specs:
-Two 30A/250VAC Relays with Quick Connect Pins
-LED Relay Power Indicators
-Quick Switching up to 66.66 Hz
-Use with the Arduino Uno
The Powerduino has the following specs:
-Power Outputs: 9/12/24 VDC (intended for Relayduino)
-Jumper header to Select which Output is Required
-Uses a MAX1771 DC-DC converter
-Shield is for use with the Arduino Uno
06/06 Edit: Teensy Relay Shields came in today, lots of technical flaws on my part. Its on my list of things to do this week. Fyi, the Teensy Eagle Library on PJRC.com isnt correct, the pin holes are too small. I'll be sure to let Paul know.
So not much else to tell. I'll see you next week.
Saturday, May 28, 2011
DC to DC Converter Shield
I had originally planned to send my Relay Shield to the Fab shop this week, but I ran into a snag. Neither Mouser nor Digikey stock the relays I need, and theyre backordered with a 20 week lead time. =( So Im left redesigning my board to be able to take relays with any power requirement (specifically the 12V relays). What that entails is that the power requirements wont be on-board. There will be a shield (which it plugs into) that will convert the regulated 5V of the Arduino into 9, 12 or 24V depending on the power requirements of the relays used. Im designing the shield with my project in mind, but anyone with various power needs will be able to use this shield. I'll be sure to include a resettable fuse in there just in case (though I dont think you'll need it, because if something happens to break the fuse, your board is probably dead by then).
Once I get these two shields wrapped up and to the shop, I should have an operating power control unit that I can work with for switching lights on and off. You might be thinking, why bother with all of this work? Isnt there an existing board you can just buy to use? The answer is no. The relays I've found on SparkFun, and other places arent reliable to be switching your lights for your home on and off. If you want take a risk, feel free to use them. I personally dont want to burn my house down experimenting with this project, so I'll build it the only way I know how: the safe way. Second, the relay boards I've found dont offer the features that I want. The board that does offer it is made by a company called NCD Relays. I have experience with their boards, and theyre pretty cool, but on the downside theyre expensive. I can afford a bank of these boards throughout my house. I'll go broke before I've finished wiring the house. So I needed a cheap way to give me the same features, but for use with an Arduino, thus I'm making these boards myself.
Nothing new for the other parts of the project. As usual, I'll post various links of projects, and hardware sites I think are relevant and useful to my project.
Arduino Dishwasher: http://www.neonsquirt.com/dishwasher.html
Sunday, May 22, 2011
Sidetracked
Well I got so into the concept of designing my very own prototype, that I got sidetracked from the original task. I just now realized this. On the other hand, I managed to get very far in the design process of the next phase of the prototype (the custom boards). So when I actually get to that stage, I wont have to work very hard. ^_^"
Back to work on the testing phase of things. I still have to setup the Arduino with the Gas sensors to send data to the LAMP server. If I can get that to work, it'll be a major step. Sadly, Im working alone on this, so things just have to run their course. Being sick doesnt help either.
Just to keep you folks updated on what I've been working on, I've made the conclusion that the system will contain 3 different power and communications protocols:
- Hard power & hard-line communications (ethernet)
- Hard power & WiFi communications
- Self-Sustained power & WiFi communications
So these 3 protocols are what I'll be using for the various systems. If a module is closer to the outdoors, it'll have a solar panel, and WiFi. If its somewhere indoors, but you cant get to it for cable management, then WiFi and a power adapter from where it is (Hard power).
I've decided that I'll make this entire system open source and open hardware. What that means is that developers who want to build on my system are free to do so to their hearts' content. Users who arent tech-saavy will probably not care that it is open source (other than security, but its offline so no worries yet). Source code however wont be plastered all over the internet, so that shouldnt be a problem. There will be extra features (plugins) that will expand on the base system that will give users and developers alike expanded options. Those will be for sale. For example, a system in a two-story house has 2 modules per room, 4 bedrooms, 3 sitting rooms, and a kitchen. Thats a total of 16 modules in a home. That gives you the fire detection system, and the smart lighting system. Since I've discussed home security as well, the system would include a base of say 4 camera's around that 2-story home. Thats the base package. Say you want to detect an intruder before they enter your home, thats an extra feature.
I've got lots to do, and this is just a vague explanation of what you can expect to see out of this, but dont hold me to it. Things can change, and this plugin concept is all very new to me.
Of course, this is all assuming that an Arduino Uno boards are used in combination with custom shields (I'll be selling those). For space requirements, I'll have to resize things and use the prototypes I was designing to make some custom microcontroller boards that have a small footprint. Arduino's are made for hobbyists who want to fiddle around, or amateurs who want to create prototypes (like me). So, I dont really want to come across to consumers that the hardware protecting their homes (and keeping them energy efficient) is hobby hardware. Creating my own is the key. Thats Phase II.
While I had intended this to be an update post, it has sort of turned into a "relieve-yourself-and-get-it-all-out-there" post. Haha \(^o^)/ I do that at times. Im just excited that I got a board sent off to the Fab Shop, because that one is the Teensy DC Relay board I was working on. The AC Arduino Relay shield has been completed, but I have to wait a few weeks until after Memorial day to get it sent to the shop. Once I get that shield, I can start fiddling with switching a light on and off based on a person being in a room.
Goodies:
Goodies:
- SMD Hotplate
- IR Thermometer
- Antex Soldering Iron (good for light soldering work & micro-connections)
- Fluorescent Magnifying Arm
- Mini Fridge
- Solder Paste
I've ranted long enough. Take care till next time. Ѡ
Saturday, May 14, 2011
PCB Progress
Well good news. Ive managed to work on and finish four PCB designs: a Relay Shield for the Arduino (rated for 30A & 220VAC) , and a smaller relay shield for the Teensy 2.0 (rated for 2.5A & 60VDC), both of which would be very useful for the Smart Home System. The third shield is a 3-Axis Accelerometer Shield, and finally the fourth is the compass shield. Going to put those aside until I can save up resources to get them made and assembled (I realize they aren't big, but there's more to micro boards then just the PCB's). Ive decided once I have prototypes of these in my hands, I'll post pics of them, along with Schematics, so stay tuned for them.
Thanks to Paul, from PJRC, for suggesting the idea of creating a USB Host Controller Shield for the Teensy 2.0 for the use of multiple USB devices. Theres a chance I can even get the Teensy to run a Bluetooth dongle too! Awesome stuff. Lots of ideas brewing from that, but since its not related to the Smart Home Project directly, I'll see if its possible to integrate it in-Bluetooth controls of home settings, or something.
A note on electricity management/fire prevention module: Ive decided to use shunt-trip breakers in cooperation with the smart plugs so that if the smart plug fails to trip, the main breaker will trip. I've also decided that for the prototype smart plug, I'll use a Teensy 2.0 with my custom relay board. The plan is to eventually integrate the Atmel Microprocessor onto the relay board in a compact package that will fit in a standard size electrical gang box. Im also considering wireless communication (802g wifi) for these, along with some micro or mini dc adapter (120VAC to 5VDC with a regulator & battery) that would allow this module to fit in that box. The goal is that they should be self-sustained and zero maintenance.
Thanks to Paul, from PJRC, for suggesting the idea of creating a USB Host Controller Shield for the Teensy 2.0 for the use of multiple USB devices. Theres a chance I can even get the Teensy to run a Bluetooth dongle too! Awesome stuff. Lots of ideas brewing from that, but since its not related to the Smart Home Project directly, I'll see if its possible to integrate it in-Bluetooth controls of home settings, or something.
A note on electricity management/fire prevention module: Ive decided to use shunt-trip breakers in cooperation with the smart plugs so that if the smart plug fails to trip, the main breaker will trip. I've also decided that for the prototype smart plug, I'll use a Teensy 2.0 with my custom relay board. The plan is to eventually integrate the Atmel Microprocessor onto the relay board in a compact package that will fit in a standard size electrical gang box. Im also considering wireless communication (802g wifi) for these, along with some micro or mini dc adapter (120VAC to 5VDC with a regulator & battery) that would allow this module to fit in that box. The goal is that they should be self-sustained and zero maintenance.
Onwards, I'll be working on the Gas Sensor Shield, the Gas Sensor IC Board, and I'll devote more time to getting the server operational.
Live long and prosper.
Friday, May 6, 2011
PCB Development
Well Ive been busy with final exams lately, but what time Ive had has been devoted to creating custom Eagle libraries for all the parts for designing my PCB boards. Im almost done designing the Arduino Gas Shield and a Dual-Relay AC Power Shield (which uses G8P Relays from Omron). While the Gas Shield will be for the Active Fire Detection System, the Relay Power Shield (Powerduino v1.0) will be for AC power switching for lighting controls, as part of the Smart Home system. Once everything looks good, I think I'll upload both shield Gerber files to Batch PCB (and post the Bill of Materials here) for those of you wanting to buy the boards and build the kits yourself (I'll see if Sparkfun can carry these two also).
For a future board, I tracked down a solid state MOSFET relay with a current rating of 2.5A that would be wonderful for a micro-sized DC Power board for use with the Teensy and Teensy ++. I'll design that when I have the opportunity. That would probably have a use in the alarms for the Smart Home System.
So there are many mini-projects going on simultaneously for the Smart Home System, as Im the lone person working on this. Hopefully I'll have something to show for all this work by Summer.
As an update on the Arduino/Efika side of things, Im having to reinstall Ubuntu on the Cloud server because of a glitch in the software thats now preventing me from having admin rights to edit anything. The Arduino Gas Sensor part of it is somewhat on hold until I sort out everything with the server. With all thats going on with my final exams, and the PCB boards (you can tell Im really bouncing around), I'll get to this when I get to it.
Subscribe to:
Posts (Atom)