C.H.I.P. my controller choise



  • almost a year ago i was browsing on kickstarter when i saw the new micro pc C.H.I.P. from Next Thing Co. (www.getchip.com) , i order one just for fun 9usd + 6usd shipping , this machine took too long to arrive almost a year ,
    but when arrive i get amazed of all the fetures that this $9 machine can do

    1GHz Allwinner R8 processor
    512MB of RAM
    8GBytes of flash
    Wifi
    Bluetooth 4.0
    video output (composite video)
    linux debian distribution

    CHIP is powered at 5V and draws about 500mA during boot,On the header terminals, we find a variety of power sources include 5V, 3.3V and 1.8V. The maximum current draws on these are 2A, 700mA and 50mA respectively

    already included with a connector for a battery ( 1s) with " sudo battery.sh "we can have battery stats
    BAT_STATUS=0
    CHARG_IND=1
    BAT_EXIST=1
    CHARGE_CTL=0xc9
    CHARGE_CTL2=0x45
    Battery voltage = 3951.2mV
    Battery discharge current = 0mA
    Battery charge current = 510.0mA
    Internal temperature = 56.8c

    so i decide to make a controller for my sensors as i dont had a pi (to expensive for me 😞 )
    so i decide to install mycontroller (mycontroller.org) it works pretty well but i decide to use Domoticz the installation for domoticz is pretty simple

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install build-essential nano cmake git libboost-dev libboost-thread-dev libboost-system-dev libsqlite3-dev curl libcurl4-openssl-dev libssl-dev libusb-dev zlib1g-dev python3-dev
    mkdir ~/domoticz
    cd ~/domoticz
    wget https://releases.domoticz.com/releases/release/domoticz_linux_armv7l.tgz
    tar xvfz domoticz_linux_armv7l.tgz
    rm domoticz_linux_armv7l.tgz
    ./domoticz 
    

    and thats it
    http://chip-ip:8080

    domoticz is really nice controller i gonna test it for a couple of months.

    also we can install node-red and johnny-five gpio for chip

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install build-essential
    sudo apt-get install python
    cd /tmp
    mkdir node
    cd node
    wget https://nodejs.org/dist/v4.4.7/node-v4.4.7-linux-armv7l.tar.xz
    tar -xvf node*
    cd node*
    sudo cp -R * /usr/local
    cd /usr/local/bin
    cd ~
    mkdir node-red
    cd node-red
    npm install node-red
    cd node_modules
    cd node-red
    npm install node-red-contrib-gpio johnny-five chip-io
    node red.js
    

    Go to http://chip-ip:1880 and play
    i test node-red and works great
    if you know how to use a pi you will know how to use chip

    on the chip forum danjperron manage to add a nrf24l01 to the chip se meaby we can use a controller and gateway in the same device or make wifi sensors
    https://bbs.nextthing.co/t/success-nrf24l01-on-spi-works/7919


Log in to reply
 

Suggested Topics

  • 87
  • 1
  • 2
  • 3
  • 10
  • 7

72
Online

11.4k
Users

11.1k
Topics

112.7k
Posts