Thanks for the assistance, it works now!
Posts made by CoffeeCat
-
RE: Unable to setup Crontab file
Completed the steps you recommend and working through this issue, and keep encountering this message when trying to enter the first line:
Trying to enter the following:
# * * * * * python3 plantTracker.py #
I have no clue as to what is causing it.
Thanks again!
-
RE: Unable to setup Crontab file
Thanks, I will give that a try soon.
In the meantime, update the ric.local file at
/etc/rc.local
Using this page as a reference:
https://docs.onion.io/omega2-docs/running-a-command-on-boot.html
It runs the program, but think getting the Crontab to work is “best practice” than keeping the Omega2 in an indefinite boot cycle (flashing light).
-
Unable to setup Crontab file
Following the tutorial for setting up a crontab to run a task:
https://docs.onion.io/omega2-docs/running-a-command-on-a-schedule.html
But each time, receive the following error message after trying to close and save with
:wq
Any suggestions?
Thanks in advance!
-
Can you swap out a TMP36 with a DS18B20?
Wondering if it’s possible to switch out a TMP36 with a DS18B20 for temperature sensors? Working on the project with the adc expansion:
https://onion.io/2bt-python-iot-sensors/
So, thinking about switching out the TMP36 with the
DS18B20 because it’s available with longer wires and water proof connections to its pins.Using this other project for reference on the DS18B20 for code and necessary update to schematics, such as adding a resistor to it.
https://docs.onion.io/omega2-starter-kit/starter-kit-temp-sensor.html
Thanks in advance!
-
RE: Readings from TMP36 - Inaccurate
Figured out the jumpers and addresses in the code for the moisture sensor and temperature sensor were mismatched in the illustration from the tutorial.
Updated the code, temporarily, to verify the connections and components were working:
https://onion.io/wp-content/uploads/2018/07/fritzing-model-1024x738.jpg
Sensors are providing readings now in line with other independent sensors.
-
RE: Readings from TMP36 - Inaccurate
Tried a new TMP36 and checked the connections, but no readings yet.
-
RE: Readings from TMP36 - Inaccurate
Switch to a new breadboard to hold the sensors and new wires, also tried two TMP36’s and receive the same reading. Not sure if both are bad from mis-wiring. The other sensors’ readings look normal.
Might order another TMP36 to see if that changes anything.
-
RE: Readings from TMP36 - Inaccurate
Thanks for the information!
Also found these two sites about the TMP36
https://learn.adafruit.com/tmp36-temperature-sensor/overview
http://cdn.sparkfun.com/datasheets/Sensors/Temp/TMP35_36_37.pdf
I’ll check out the jumpers and make sure they are connected to the correct sockets and making contact.
-
Readings from TMP36 - Inaccurate
Working on the project for the IoT Sensors:
https://onion.io/2bt-python-iot-sensors/
Added the packages and code to run the sensors.
The first time powered up and ran the program, the jumper connectors were heating up. Worked out the pin connections for it and restarted it all, but receiving the following temperature readings:
What might cause the inaccurate readings?
-
RE: Installing Python3-adc-exp
Thanks! Used the distfeeds.conf file from the Onion.io site
https://docs.onion.io/omega2-docs/using-opkg.html
Replaced the content, ran opkg update, and opkg install python3-adc-exp.
Success, no error messages!
Thanks for trying it out on your end!
-
RE: Installing Python3-adc-exp
Thanks, I ran the opkg update, but wonder if the distfeeds.con file has an incorrect url in it or some other typo on the device when it was updated by removing the #’s.
I’ll try looking up some examples and post back if there are any it.
Also, what version of python does your device have? My device has version 3.
-
RE: Installing Python3-adc-exp
The adc-exp utility file is located on Github.
adc-exp/Makefile
Update the distfeeds.conf, re-run opkg update and rebooted the Omega2, but it still does not work?
Is it possible to manually install in using the code/file from GitHub
-
RE: Installing Python3-adc-exp
Runninf opkg list | grep -i adc-exp does not return anything.
Is the adc-exp package still available?
-
RE: Installing Python3-adc-exp
Thanks update the following:
Error Message:
Not sure if I missed the wrong lines. Any ideas?
Thanks again!
-
Installing Python3-adc-exp
Trying to install the package for ADC expansion and receiving the following message:
What could cause it?
-
RE: Moisture Sensors for Omega2
Just found this on the Onion.io site:
https://onion.io/2bt-python-iot-sensors/
Has anyone tried it out? Think it will provide an answer to my initial question on using moisture sensors with the Omega2.
-
Moisture Sensors for Omega2
Are there any moisture sensors that are compatible with the Omega2 using the Power Dock2 instead of the Arduino Dock?
Have not found any yet, thanks in advance!
-
RE: Windows 10 does not recognize Arduino dock
Thanks for the advice! Bought a cable with the Silicon Labs chips. Plan to use it for accessing the Omega2+ in addition to WiFi access.