@Venet said in Wifi connection problem with Omega2:
@luz Did you remove the resistor as suggested by Ken Konrad, so as to disable the internal antenna?
No, I didn't.
Now as you mention it, I remember having read that suggestion a while ago. Sounds like a logical thing to do - but as good as the WiFi is now as-is, I feel no immediate urge to treat my Omega2 with the soldering iron
Actually. I would more recommend using lighttpd than Apache or uhttpd. I don't know why but I feel that lighttpd is more faster, stable and uses less resources that anything.
Thank you @Gabriel-Ongpauco. Still no luck with that modification and i am writing blinker.ino test sketch which is only 2% of the max memory.
Sketch uses 948 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
Writing | ################################################## | 100% 3.33s
avrdude: 32768 bytes of flash written
avrdude: verifying flash memory against /tmp/sketch.hex:
avrdude: load data flash data from input file /tmp/sketch.hex:
avrdude: input file /tmp/sketch.hex auto detected as Intel Hex
avrdude: input file /tmp/sketch.hex contains 32768 bytes
avrdude: reading on-chip flash data:
Reading | #################################################> ERROR, flash NOT successful
Flash complete!
| 100% 3.27s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x0c
avrdude: verification error; content mismatch
avrdude done. Thank you.
Hi all
Good news. I migrated original code successfully to work on Omega2!
See https://github.com/h0l0gram/omega2-checkHumidity for binary and source.
Make sure your Omega2 has firmware >=0.1.10 b160 or it won't work.
root@Omega-1234:~# oupgrade -c
> Device Firmware Version: 0.1.10 b160
> Checking latest version online...
> Repo Firmware Version: 0.1.10 b160
> Comparing version numbers
> Device firmware is up to date!
root@Omega-1234:~#
See https://wiki.onion.io/Tutorials/Updating-the-Omega
Example
root@Omega-1234:~/checkHumidity# ./checkHumidity 19 DHT22
48.299999
28.299999
Hi all
Good news. I migrated original code successfully to work on Omega2!
See https://github.com/h0l0gram/omega2-checkHumidity for binary and source.
Make sure your Omega2 has firmware >=0.1.10 b160 or it won't work.
root@Omega-1234:~# oupgrade -c
> Device Firmware Version: 0.1.10 b160
> Checking latest version online...
> Repo Firmware Version: 0.1.10 b160
> Comparing version numbers
> Device firmware is up to date!
root@Omega-1234:~#
See https://docs.onion.io/omega2-docs/updating-the-omega.html
Example
root@Omega-1234:~/checkHumidity# ./checkHumidity 19 DHT22
48.299999
28.299999
I've tried both command line and web based but Oled is not displaying anything.
I have an Omega2+ with Firmware 0.1.10 b160
I have tried the following but with no success ...
oled-exp -i
oled-exp power on
oled-exp write "hello"
Also, 'opkg list | grep oled' shows that Oled driver is installed.
Setting the time locally worked for me too. The real solution would be to fix the time it's pulling via ntp or lack there of. I attempted to update uci with 0.pool.ntp.org, with no joy. How do you fix the NTP daemon?
Maybe posting here will make them merge the PR: https://github.com/OnionIoT/i2c-exp-driver/pull/15
Compiled packages are available on https://www.dropbox.com/sh/p7mki5nbgyu1tcv/AABPC1HzA848MbEA9RpNiNNva?dl=0
One can install them with opkg install libonioni2c_0.4-2_mipsel_24kc.ipk pyOnionI2C_0.4-2_mipsel_24kc.ipk pyOmegaExpansion_0.4-2_mipsel_24kc.ipk liboniondebug_0.4-2_mipsel_24kc.ipk
Example using modified python library: https://gist.github.com/foxel/a163231293d7cf6f24831b363a91dfe5
Looks like your connection to Community was lost, please wait while we try to reconnect.