What do i Need (Parts for the Omega 2 & My Project)
-
Hey Guys! First of all i wanna say sorry if i spell something wrong and so on, im from Switzerland and i just have 3 Jears of English behind me
So, my Project is the Following: I will order the OLED Expansion and the Expansion dock. I also ordered a Temperature Sensor.
I will show the Temperature outside with the OLED Expansion on my Desktop.
But because my door is behind my desk, every time someone comes in my room and i dont hear it because im wearing my Headphones, and i then look behind me, i get scared xD So if someone Opens my door, it should change from the Temperature to a blinking Picture of an open door For this i have ordered a Magnet sensor.What else do i need exept those parts here and is it even possible? (I shortened some links because they would be annoying long):
I2C Adapter: https://www.controleverything.com/content/I2C-Master?sku=OOI2C
Temperature Sensor: https://www.controleverything.com/content/Temperature?sku=MCP9808_I2CS
Buzzer: https://www.controleverything.com/content/Digital-IO?sku=PCA9536_I2CBZ
The Magnet sensor (Shortened Ebay link): http://ebay.eu/2cj3T2MThanks for taking the Time to help me out! I Really appreciate that
-
@MultiDJRoni You pretty well have things covered.
However, I would make a few comments:- I don't think you need the I2C Adapter: https://www.controleverything.com/content/I2C-Master?sku=OOI2C since both the Temperature Sensor and the Buzzer you reference both use I2C and can be connected directly to the I2C pins on the Expansion Dock (I2C SDA=Pin 21, I2C SCL = Pin 20, also need to connect 5v and ground) - though the Omega uses 3.3v levels on the pins they are 5v tolerant and I have successfully connected 5v I2C devices.
- For the Magnet sensor, you should connect this from a suitable GPIO pin to ground with the same GPIO pin connected via a pull up resistor (10K ohm is fine) to 5v
- One issue with the OLED Expansion is that it ends up covering up the pins on the Expansion Dock - the best way to get round this is to use a Prototype Expansion and wire it to provide access to the I2C and other GPIO and other pins you need access to. Then plug the Prototype Expansion in to the Expansion Dock then the OLED expansion can plug in to the Prototype Expansion
-
@Kit-Bishop said in What do i Need (Parts for the Omega 2 & My Project):
@MultiDJRoni You pretty well have things covered.
However, I would make a few comments:- I don't think you need the I2C Adapter: https://www.controleverything.com/content/I2C-Master?sku=OOI2C since both the Temperature Sensor and the Buzzer you reference both use I2C and can be connected directly to the I2C pins on the Expansion Dock (I2C SDA=Pin 21, I2C SCL = Pin 20, also need to connect 5v and ground) - though the Omega uses 3.3v levels on the pins they are 5v tolerant and I have successfully connected 5v I2C devices.
- For the Magnet sensor, you should connect this from a suitable GPIO pin to ground with the same GPIO pin connected via a pull up resistor (10K ohm is fine) to 5v
- One issue with the OLED Expansion is that it ends up covering up the pins on the Expansion Dock - the best way to get round this is to use a Prototype Expansion and wire it to provide access to the I2C and other GPIO and other pins you need access to. Then plug the Prototype Expansion in to the Expansion Dock then the OLED expansion can plug in to the Prototype Expansion
Oh, i dint saw that coming that the OLED Expansion blocks the Pins and the OMEGA also has i2c pins xD facepalm
Would a Display like one of those also work: http://ebay.eu/2brESNp or http://ebay.eu/2bYf3pA
(If so, witch one would you prefer and is easyer to use)
-
@MultiDJRoni said in What do i Need (Parts for the Omega 2 & My Project):
So if someone Opens my door, it should change from the Temperature to a blinking Picture of an open door
This visual may not bring enough attention, not enough contrast, especially if you are looking at your screen, and are very taken by the task at hand. How about you make a LED flash instead?
-
@fossette said in What do i Need (Parts for the Omega 2 & My Project):
This visual may not bring enough attention, not enough contrast, especially if you are looking at your screen, and are very taken by the task at hand. How about you make a LED flash instead?
Can you read out my Brain xD
There was already something like this: https://community.onion.io/topic/743/using-omega-with-led-lightstrips/18
But because LED`s take too much energy, i would need this? (Its not necessary, but much easyer, right?) ![alt text]( image url)
So like an LED Stripe under my Screen witch blinks when the dor opens
Should that and an 12V LED Strip be fine?
-
Ok i thinked again about it and i think i will put the LED`s behind my Desk and under my Monitors.
But now i need to controll them, and i found two Versions:
A: To use it with a Breadboard and the Arduino adapter
B: To install them directly to the Expansion dock.For Version A i would need the following things:
Omega 2 with the Arduino Dock and the Parts marked in this Thread: http://makezine.com/projects/android-arduino-led-strip-lights/For Version B: Ok here i need help Would you reommend doing it with the Arduino or directly with the Omega 2? And what do i need exept those things?
-
@MultiDJRoni said in What do i Need (Parts for the Omega 2 & My Project):
But because LED`s take too much energy, i would need this?
Maybe a led strip takes too much energy, but how about just one LED?
From the documentation here:
https://wiki.onion.io/Documentation/Hardware/Omega-Hardware
The GPIOs of the Omega have:Maximum drive: 24 mA
So, anything less is safe to use. I can't recommend a particular circuit, but others with more electronic knowledge can (and surely someone already did).
I don't have the Omega (1) to test, but I guess that you could use the ON-BOARD OMEGA LED if it's not obstructed by your OLED module. The above documentation says it is wired to GPIO27.
-
@MultiDJRoni While the display you reference (http://ebay.eu/2brESNp or http://ebay.eu/2bYf3pA) communicates via I2C and is potentially controllable from the Omega, I don't know whether or not the chip/display it uses is the same as or compatible with that used in the OLED expansion. If it is not, you may be up for additional coding work to control it from the Omega (not a totally trivial task).
I still think you would be better of using a Prototype Expansion (http://www.robotshop.com/en/proto-expansion-for-onion-omega.html) between your Expansion Dock and OLED Expansion and wiring the Prototype Expansion to provide access to the I2C lines (GPIO 20, GPIO 21, 5v, Gnd) and other pins you need for access to your other devices.
-
@fossette said in What do i Need (Parts for the Omega 2 & My Project):
@MultiDJRoni said in What do i Need (Parts for the Omega 2 & My Project):
But because LED`s take too much energy, i would need this?
Maybe a led strip takes too much energy, but how about just one LED?
From the documentation here:
https://wiki.onion.io/Documentation/Hardware/Omega-Hardware
The GPIOs of the Omega have:Maximum drive: 24 mA
So, anything less is safe to use. I can't recommend a particular circuit, but others with more electronic knowledge can (and surely someone already did).
I don't have the Omega (1) to test, but I guess that you could use the ON-BOARD OMEGA LED if it's not obstructed by your OLED module. The above documentation says it is wired to GPIO27.
I also thinked about this, but it just does not look good (or that goog)
@Kit-Bishop said in What do i Need (Parts for the Omega 2 & My Project):
@MultiDJRoni While the display you reference (http://ebay.eu/2brESNp or http://ebay.eu/2bYf3pA) communicates via I2C and is potentially controllable from the Omega, I don't know whether or not the chip/display it uses is the same as or compatible with that used in the OLED expansion. If it is not, you may be up for additional coding work to control it from the Omega (not a totally trivial task).
I still think you would be better of using a Prototype Expansion (http://www.robotshop.com/en/proto-expansion-for-onion-omega.html) between your Expansion Dock and OLED Expansion and wiring the Prototype Expansion to provide access to the I2C lines (GPIO 20, GPIO 21, 5v, Gnd) and other pins you need for access to your other devices.
I will try Thank you both for the tipps!