Just a quick update - with the Omega2 this will all get much easier, as the Omega2 has a second serial port on the pins that were labelled GPIO 13 and 14 on the Omega1 (see new pinout). And these pins are available on the dock connector!
Also the software side will be probably simpler, because the second serial port will not be occupied by the system console.
@Brad-Buskey said in omega_garage:
if I am on my motorcycle and come home, I want the door to open automatically (if the radius is possible).
I see where you are going with this, a Bat Cave Garage Door. It certainly is possible. Anything that will try to automatically connect to your main controler via WiFi or blutooth (with proper security signature) will do to alert it.
About the open/close state of the door, maybe your system already has a light that you could use. If not, the simplest and cheapest way is to use a magnet switch (magnet on the door + glass fuse-like switch on the door frame).
FYI: I have produced some small updates to the Omega Arduino Expansion Board design.
Added a jumper to allow Arduino VIn to be connected to the External Power Sources and the Power Regulator
Allowed for usage of TSR12450 power regulator (see https://www.adafruit.com/products/1065) as a compatible alternative to the L7805 regulator
All information on Github at https://github.com/KitBishop/Omega-Arduino-Expansion has been updated accordingly.
A link would be helpful to see about what you are exactly talking.
Are you talking about this:
Essentially a Linux environment is required, but of more importance are the dependencies. These are mostly Python packages. We’ve tested Snoopy on Kali 1.x, and Ubuntu 12.04 LTS. We managed to get it working on Maemo (N900) too. We’re investigating getting it running on OpenWRT/ddWRT. Please let us know if you have success.
@srikrishna-Acharya In case it is of any use to you, GPIO interrupt handling is covered in the package that I produced that is available at https://github.com/KitBishop/Omega-GPIO-I2C-Arduino
While there is nothing specifically Python related, the gpioirq program that is part of this package (at https://github.com/KitBishop/Omega-GPIO-I2C-Arduino/tree/master/gpioirq) is capable of running any command on interrupt on any selected GPIO pin. This would include executing any suitable Python script on interrupt.
Are you using USB speakers directly into the Omega dock? I believe the error is because you need the speakers to be plugged into a USB sound card (since the Omega doesn't have a sound card built-in)
For more info, check out the USB audio page on OpenWRT (the verison of linux used on the Omega):
In particular, you can test sound with these commands:
speaker-test -Dplug:front -c2 -tsine -f440
speaker-test -Dplug:front -c2 -twav -f440
@Gilad-Fride Awesome project! Little bit of hardware hacking, little bit of software, very IoT and very cool!
We want to show you our appreciation by giving you an Omega2! Please email firstname.lastname@example.org with your shipping info or let us know if what we have on file from your previous order is ok!
@Cody-Swann Thanks for sharing your project! We want to show you our appreciation by giving you an Omega2! Please email email@example.com with your shipping info or let us know if what we have on file from your previous order is ok!
@Laurence-HR Thanks for sharing your project! We want to show you our appreciation by giving you an Omega2! Please email firstname.lastname@example.org with your shipping info or let us know if what we have on file from your previous order is ok!
The 16 PWM signals means that you can run up to 16 separate servos, but you would need an external 5V power supply with enough current to supply all of them. The Omega by itself can power 1 or 2 small servos under very light load, although it can get a standard size servo to turn a door lock here!
You would definitely need to find the maximum current draw of each servo (usually in their specs), and make sure your external power supply can provide more than the sum of all maximum currents (for safety).
Labelling each wire is very handy, you can either label by part/location or by #; the connectors on the Expansion are marked from S0 to S15.
Full technical details are available in our Servo Expansion Tutorial.
PS: Please post your project when you're done, we'd love to see it!
@Blair-Hadfield That's awesome, really cool application of IFTTT & the Omega!
Regarding the delay issue:
It looks like
is actually a soft-link to
But I'm guessing that ubus likes using the /sys/class/leds/onion\:amber\:system/ path more!
Thanks for the heads-up!