I saw a related question in this forum:
I ended up creating a script that turns off the LED and can run during boot up.
Here's what my turnoffled.sh looks like:
fast-gpio set 15 1 #B
fast-gpio set 16 1 #G
fast-gpio set 17 1 #R
Of course, one can also create a similar script to turn on the LED:
fast-gpio set 15 0
fast-gpio set 16 0
fast-gpio set 17 0
note to my previous post:
this reminds me of something i encountered a few years ago, having the same problems.
it was solved by running this command: a2enmod php5
this could be the solution for you as well.
Hi @André-Beyer, it is an interesting idea! I haven't tried to do it, but some quick google search yielded some discussion about it: https://forum.openwrt.org/viewtopic.php?id=30626. Please try it out and let us know if it works!
@Kit-Bishop That is my understanding aswell, the Omega is already drawing around 200mA of current. So in effect he is trying to put the sensor in parallel with the Omega, power-wise.
If the OP has a breadboard PSU use that for the power otherwise use the Vout shown in the diagram.
@Chris-Ward For your reference, the Soft I2C Library for Arduino can be found here: https://github.com/todbot/SoftI2CMaster
The circuit diagram for the Timer Oscillator I have built is shown in this pdf file:I2C-Timer-Oscillator.pdf
The I2C-OSC referred to in the diagram is this: http://www.gravitech.us/i2c1kto68pro.html
Jumpers J1/J2 set the divisor used for the output signal frequency
Jumper ENABLE is an enable jumper - would normally expect this to be permanently installed
Jumpers I2C_PU select whether or not pull ups are used on the I2C pins
Jumpers I2C_ADDR set the I2C address allowing up to two such timer oscillators to be used with different addresses
The following zip file contains my own Arduino library sources related to this (I think I have included all relevant files) : ArduinoOwnLibs.zip - let me know if you need info on how to use these.
Just for further information, I too use a Spakfun Shield adapter for the Teensy (https://www.sparkfun.com/products/13288 _ assume this is the one you refer too) though I have made some modifications to it to expose the second I2C interface that the Teensy has which isn't otherwise exposed on the Sparkfun shield.
My original proposal for an alternative Arduino Dock in this topic was intended to reflect something like this Sparkfun Teensy Adapter but for the Omega
Write your code on your native platform once complete or ready for test merely launch MobaXterm hook up a session of your choice ftp or sftp then drag and drop to your Omega directory. Simple and fast.
With i2cset it replies incorrect mode i can use mode b or w ... But i think it's normal ... i've seen this option several times but not very often .
i'm using this process to initialize LCD crystal 2x16 using a pcf8594 I2C 8bit expander port : Tech Docs
So i've tried orther method using python without smbus import...
Peripheri.i2c do that.
I can only turn on/off backlight ...
Thanks for helping .... Oméga it's cool !!¡
a bit of incomplete code ...
#Open i2c-0 controller
chip = i2c.I2C("/dev/i2c-0")
that's what i thought... well I'm waiting for the battery expansion, until then I'll probably jam the wires into the headers.
Hi @Rudy-Trujillo. With sensors you should go for digital sensors that can communicate with the Omega either through I2C or SPI (currently the Omega does not come with an ADC). If you want to use analog sensors, you can also use the Arduino Dock to relay the information back and forth between the Omega and the sensors.
For most of the I2C sensors, you should be able to use our I2C driver here: https://github.com/OnionIoT/i2c-exp-driver. We have also created python wrappers for them so you can use Python directly.
Looks like your connection to Community was lost, please wait while we try to reconnect.