Odroid XU4 and Cloudshell with Weather Board 2

Moderators: mdrjr, odroid

Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Thu Apr 20, 2017 1:04 am

Hi,
can a Weather Board 2 be plugged in internally in an Odroid XU4 inside a Cloudshell case?

Thanks
Cheers
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Thu Apr 20, 2017 8:58 am

it would be possible but you would have to get it connected to the gpio`s of the 12 pin header and mount it somehow..
look up the gpio`s on wiki to see if it is possible you will also have to look into the software as well you may need to change it`s addressing

look down further for my mod`s and setup pics and posts
Last edited by phaseshifter on Fri Apr 21, 2017 5:46 pm, edited 1 time in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby odroid » Thu Apr 20, 2017 12:27 pm

Yes, the I2C port on 12pin header is mapped to /dev/i2c-1
http://odroid.com/dokuwiki/doku.php?id= ... odroid-xu4

You might need a cable something like this for wiring.
http://www.ebay.com/itm/40pcs-Male-Fema ... 1882422194
User avatar
odroid
Site Admin
 
Posts: 23994
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Thu Apr 20, 2017 2:45 pm

I just considered this today as well, I have wondered what the ambient temperature of the case is.

With three short jumpers you would only need 5 wires instead of 8.
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Thu Apr 20, 2017 11:10 pm

Thanks for the answer!
So connection is not an issue, very well.

@odroid: what about internal space in the Cloudshell case?
I don't have the case yet so I cannot judge if/how well it does fit inside.

Cheers
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Thu Apr 20, 2017 11:13 pm

you will find space inside a matter of where exactly you position it will be up to you

also are you talking about c-shell one or c-shell 2 either case you will find room..
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Thu Apr 20, 2017 11:31 pm

did you want to display the stats on the c-shell l.c.d..it can be done ...
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Fri Apr 21, 2017 12:40 am

I mean c-shell one, from the images in the on the website wasn't sure how much space is really left inside.

Yes indeed I want to display the stats on the lcd but also to send them via network through SNMP or a monitoring agent like zabbix.

Did not really understood @rooted comment about the 5 wires instead of 8...
Isn't enough to connect 4 wires for VDD and GRD plus SDA and SCL?
I thought SDA and SCL should be connected only to the yellow pins for I2C-1 and then it can be accessed through /dev/i2c-1.
I assumed the pairs for GPIO I2C-10 and I2C-4 doesn't have to be connected while using I2C-1.

Cheers
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 1:01 am

rem by user
Last edited by phaseshifter on Fri Apr 21, 2017 3:05 pm, edited 1 time in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Fri Apr 21, 2017 1:32 am

sorry if I'm making stupid questions :D

from where and where to should go the 5th wire?

I'm checking the schematics posted by @odroid:
http://odroid.com/dokuwiki/doku.php?id=en:wb_xu4_shifter_shield#directly_connecting_weather-board_to_odroid-xu4

I see 6 pins on the weather board and only 4 used, what am I missing?
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 1:46 am

sozz my mistake you only need 4 wires um pls look at the weather board it has the pins marked on it for reference..i only ever ran it via a shifter sheild and it looks like you only need pwr/gnd and the sda/scl hooked up
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 1:49 am

i`ll hook mine up later and see if i can pinn it out 4 u..but busy atm...
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Fri Apr 21, 2017 1:49 am

Cool, thanks a lot for the clarification! :)
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 1:56 am

if you go by the actual 12 pin header you see sda/scl/pwr and gnd and on the weather board you can see these pins marked out
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Fri Apr 21, 2017 3:42 am

I mean there are 3 sets of two pins, those 3 sets can be jumped at the pins before running to the weather board.
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 4:48 am

rem by user
Last edited by phaseshifter on Fri Apr 21, 2017 3:06 pm, edited 1 time in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Fri Apr 21, 2017 5:22 am

phaseshifter wrote:with the shifter sheild it works on its own you need 3.3 volts to power it and if that is the case which i have tried you should only need 1 i2c buss but that is not the case..i think something is a miss with the pinnouts on the w-b running direct on the xu4 i dont think it is possible to do it without the shifter..

I didn't think it was possible without the shifter shield either, I do have the weather board but not the shifter shield.

Perhaps the weatherboard can work at low voltage, I would have to look at the schematic to be sure but I can't imagine Hardkernel went through all the trouble to post that howto if it wasn't possible.
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 5:36 am

i dunno it`s weird cause the shifter use on sda/scl on the 6 pin schem`s so y tripple it up it dont make sense..if that was the case only 1 command should work which this is the command i was using
Code: Select all
sudo ./weather_board /dev/i2c-1
which referes to the sda/scl lines on the 12 pin gpio`s..if that be the case any command ..either -4 or -10 would bring up the board..but on the shifter it has those sets paired of.or .so it would seem...i still think something is a miss some where.
Last edited by phaseshifter on Fri Apr 21, 2017 10:49 am, edited 1 time in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 5:42 am

rem by user
Last edited by phaseshifter on Fri Apr 21, 2017 3:07 pm, edited 1 time in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 6:13 am

XU4 Minim install procedures.....

i have not forgotten the minimum ubuntu image install...`16.04.xx minimal
for this all you need to do is configure the l.c.d
and then run the git codes and install the w-bord code run the weather-board command and you should have it on the l.c.d screen
it`s further down the page but it is easy
on minimal install dont hook up the hdmi cable nor worry about changing xorg.conf no need
Last edited by phaseshifter on Fri Apr 21, 2017 8:14 pm, edited 1 time in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Fri Apr 21, 2017 6:23 am

Get some rest mate.
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 10:43 am

ok i have the w-b on the 12 pin header working it only needs 4 wires..and here are the pics

next we have to look at getting it to display on the l.c.d screen..i will do it 2 day if i can
Code: Select all
sudo apt install git

Code: Select all
sudo git clone https://github.com/hardkernel/WEATHER-BOARD.git

Code: Select all
cd WEATHER-BOARD/c_weather

Code: Select all
make

Code: Select all
sudo ./weather_board /dev/i2c-1
Attachments
Photo0001(6).jpg
the l.c.d screen with w-board
Photo0001(6).jpg (94.75 KiB) Viewed 1461 times
wb2.jpg
wb2.jpg (139.49 KiB) Viewed 1472 times
wb1.jpg
wb1.jpg (146.62 KiB) Viewed 1472 times
Photo0001(3).jpg
sorry about crappy pic..but it is working
Photo0001(3).jpg (138.21 KiB) Viewed 1498 times
Photo0002(2).jpg
Photo0002(2).jpg (142.55 KiB) Viewed 1498 times
Last edited by phaseshifter on Fri Apr 21, 2017 4:33 pm, edited 2 times in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 11:27 am

as far a getting the output to the l.c.d screen there are a few ways
.if you all ready have the l.c.d configured you can skip this step and go on and mod the xorg.conf file..

Code: Select all
sudo -s

Code: Select all
echo "options fbtft_device name=hktft9340 busnum=1 rotate=270" > /etc/modprobe.d/odroid-cloudshell.conf

Code: Select all
echo "spi_s3c64xx" >> /etc/modules

Code: Select all
echo "spidev" >> /etc/modules

Code: Select all
echo "fbtft_device" >> /etc/modules

for the black list Edit
Code: Select all
 /etc/modprobe.d/blacklist-odroid.conf


# Comment the required lines

Code: Select all
# IO Board
blacklist ioboard_bh1780
blacklist ioboard_bmp180
blacklist ioboard_keyled

# SPI
# blacklist spidev
# blacklist spi_s3c64xx

# 3.2" LCD Touchscreen driver
blacklist ads7846


=====================================================================================================================================
=====================================================================================================================================
next modify the xorg setup
Edit the /etc/X11/xorg.conf

remove the code in the file and replace with this code save and exit after your done..next reboot with the hdmi lead disconnected..
also give it time to boot up just wait till you see a steady blue led flashing
[/i][/u]

Code: Select all
section "device"
       Identifier      "ODROID"
        Driver          "fbdev"
        Option          "fbdev"         "/dev/fb1"
        Option          "Debug"         "false"
        Option          "DPMS"          "false"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ODROID"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Option          "BlankTime"     "0"
        Option          "StandbyTime"   "0"
        Option          "SuspendTime"   "0"
        Option          "OffTime"       "0"
EndSection

Section "DRI"
        Mode            0666
EndSection


==================================================================================
==================================================================================

if you boot it with the cable connected you will get the gui but will not get l.c.d

hit ctrl+alt+F2 and you will get the l.c.d login

[u][i]ok so you get the login screen
go ahead login and then go to the wb directory and code this
Code: Select all
cd /WEATHER-BOARD/c_weather#

Code: Select all
sudo ./weather_board /dev/i2c-1

you should be seeing the stats on the l.c.d now
Last edited by phaseshifter on Fri Apr 21, 2017 5:43 pm, edited 7 times in total.
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Fri Apr 21, 2017 3:43 pm

Good work, nice to see it does work and without all the other wires.
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 3:50 pm

i dont know about the git code though it is still reading 4-5 degrees high on the thermometer....it is prolly out dated if anybody can give a updated version to clone and make that would be good
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Fri Apr 21, 2017 4:36 pm

phaseshifter wrote:i dont know about the git code though it is still reading 4-5 degrees high on the thermometer....it is prolly out dated if anybody can give a updated version to clone and make that would be good

I get about 5° variation also (high).
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Fri Apr 21, 2017 7:09 pm

Thanks for your support guys, you are really dedicated!

Quite worrying the git code is outdated and the temp reading bugged...
Is the WB supported by Hardkernel or community supported?
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Fri Apr 21, 2017 9:23 pm

Both, no one really uses it. That I know of anyway.
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 9:51 pm

i think i will have it setup in my shell-II case just because i can i guess..
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Fri Apr 21, 2017 9:53 pm

Thanks for the info :)
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 9:57 pm

should be enough code there i hashed out to keep you busy..oh um if you open a terminal in the desktop and run the commands you can get the stats up on the screen in gui mode...just size down the terminal window..to make it smaller..

no probs hope it was enlightening...
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Fri Apr 21, 2017 10:05 pm

indeed it will, I still don't have the HW though...
it's a Proof of Concept I'm planning for my company
we are requesting the budget right now :)
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Fri Apr 21, 2017 10:22 pm

i got issues with it running on 4.9.xx..xx kernel so only use it on 3.xx.xx kernel 4 now but we will fix it i hope..
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Fri Apr 21, 2017 10:54 pm

well, we'll be doing some labs testing for months and then a trial on the field.
we'll see if HK will be able to provide a decent enterprise support
this kind of issues must be solved by them, quickly and efficiently, if they want to sell their product
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Sat Apr 22, 2017 2:19 am

we are a pretty good crowd here... support here is prolly one of the best..as far as forum`s are concerned..i hope you get your go ahead for your project...phase...
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Sat Apr 22, 2017 2:36 am

I will let you know.
Those Weather Boards could finally find a meaning for their existence :)
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Sat Apr 22, 2017 4:01 am

to what extent and or what qty of hardware would you be requiring ..i know for bulk product there is discount`s
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Sat Apr 22, 2017 4:12 am

I know there is a discount but it's too early to say how many.
It really depends if and how well it does satisfy the requirements.
The WB could be a nice addon but the main purpose is to use the XU4 as nginx http caching server.
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Mon Apr 24, 2017 9:11 am

It works fine on 3,xx.xx kernel but atm i we are working out to get it working for kernel 4.xx.xx it may be a while though..
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Mon Apr 24, 2017 5:45 pm

Ok, I will contact you then :)
In theory I'd like to stick to kernel 3.x being the safest and LTS.
Unless nginx is performing much better with kernel 4.x then I'd consider it...
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby odroid » Mon Apr 24, 2017 6:59 pm

The weather board should work on Kernel 4.9 if you use a correct I2C channel number.
You can find channel number with sudo i2cdetect -y n.
n is channel number you have to try.

Available channel numbers can be found in ls /dev/i2c* outputs.
User avatar
odroid
Site Admin
 
Posts: 23994
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Mon Apr 24, 2017 7:18 pm

Code: Select all
odroid@odroid:~$ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --                         
odroid@odroid:~$ ls /dev/i2c*
/dev/i2c-1  /dev/i2c-2  /dev/i2c-4  /dev/i2c-5
odroid@odroid:~$

phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby odroid » Mon Apr 24, 2017 7:23 pm

There should be two nodes 0x60 and 0x76 since there are two I2C devices on the weather board.
We will check it tomorrow.
User avatar
odroid
Site Admin
 
Posts: 23994
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Mon Apr 24, 2017 7:54 pm

thank you ...phase
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Tue Apr 25, 2017 2:44 am

mannix wrote:Ok, I will contact you then :)
In theory I'd like to stick to kernel 3.x being the safest and LTS.
Unless nginx is performing much better with kernel 4.x then I'd consider it...

4.9.y is LTS
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby rooted » Tue Apr 25, 2017 4:12 am

I've been working with the weather board 2 today and I think the altitude has to be divided by 10 to be correct.

Also I have to subtract 4.5° (F not C) for temperature to be accurate. Each BME280 has individual calibration data embedded but I'm certain it isn't being used or isn't used correctly.

I'm looking into it further.

@odroid
Could someone update the weather board git to use the latest arduino libraries? The new libraries are feature complete, the old libraries we are using are missing a lot.

I tried but I have no experience with arduino other than with esp8266, I just started with it a week ago.

I am going to try the new libraries over UART to verify if the data from the sensors is different, too difficult to use the Show2.
Last edited by rooted on Tue Apr 25, 2017 5:46 am, edited 1 time in total.
User avatar
rooted
 
Posts: 3652
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby mannix » Tue Apr 25, 2017 5:38 am

Yes but the EOL is Jan 2019... 3.16 is Apr 2020.
It really depends on how nginx runs.
We'll select the most conservative solution unless the gap in performance is worth.
mannix
 
Posts: 13
Joined: Thu Apr 20, 2017 12:41 am
languages_spoken: english
ODROIDs: XU4

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby odroid » Tue Apr 25, 2017 1:13 pm

@phaseshifter,

The weather board could be detected well when we directly connect to the XU4 30pin header pin 14/16 (GPB3.3/GPP3.2) on Kernel 4.9.20.
Try i2cdetect -y -r 5
User avatar
odroid
Site Admin
 
Posts: 23994
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby phaseshifter » Tue Apr 25, 2017 3:32 pm

Code: Select all
root@odroid:/home/odroid# i2cdetect -y -r 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --                         
root@odroid:/home/odroid#


trouble is with the shell connected to the 30 pin header it only leaves one choice and that is the 12 pin heaadr i2c-1
phaseshifter
 
Posts: 2168
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: opp sys.. ubuntu .kernel 4.9.xx.xx.c1+ ..c-2..xu3 lite,xu4...vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Odroid XU4 and Cloudshell with Weather Board 2

Unread postby odroid » Tue Apr 25, 2017 3:38 pm

Please look into the DeviceTree file in Kernel 4.9. Anyway, we will update the WiKi soon.
12 pin header Pin 4/6(GPA2.2/GPA2.3) is mapped to i2c-5 on Kernel 4.9.
Try i2cdetect -y -r 5
User avatar
odroid
Site Admin
 
Posts: 23994
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Next

Return to Hardware and peripherals

Who is online

Users browsing this forum: Priidu and 1 guest