-
1Step 1
Get your Omega and Power Dock (or Expansion Dock) and run through the setup procedure here
-
2Step 2
Install nodejs
opkg update opkg install nodejs
-
3Step 3
Install git
opkg update opkg install git git-http
-
4Step 4
Clone the Omega_Mote repo
git clone https://github.com/JimJamUrCode/omega_mote.git
-
5Step 5
Follow the wiring instructions here. Yes I know it has an Arduino in the picture, but the Omega has all the same pins, so wire your circuit as such.
-
6Step 6
Now that your button is setup we need to setup the configuration file to reflect the pin that you setup the button on. Lets say you connected your button to GPIO pin 26. Then you would modify the configuration file in omega_mote/config.json to look like this:
{ "buttons": [ { "gpiopin": 26, "postAddress": "YOUR_POST_ADDRESS_HERE" } ] }
-
7Step 7
Get to the root directory of the Omega_Mote project and run the node apP
node omegamote.js
-
8Step 8
Note: You will also need to modify the omega_mote.js file. You need to change the "remoteHost" variable to match the local ip address of the device you are trying to post to. The variable "postAddress" inside of your config file should NOT include the "remoteHost" portion (Domain/IP) of a post address.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Hi James,
I can't seem to navigate the AutoDesk Library.io to coax it into giving me the circuit diagram (link "here" just goes to https://circuits.io/circuits/2257337-the-omega_mote, then immediately redirects to my account so i can't see your circuit or instructions).
Mind posting a link to a jpg or pdf of the circuit for idiots like me?
Thanks,
Joe
Are you sure? yes | no