This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
spi
#1
i cant activate any channels from the spi tab double click.. the value button opens its window.
i haven messed with it lately, but was doing some testing today with a acs712
i have the mcp3008 connected to spi ..spi is enabled in config.?
mare liberum
  Reply
#2
I have same problem
I had previously setup the MCP3008 and just wanted to change the SignalK keys - I now cant edit anything on that tab

OP V 0.17.0
  Reply
#3
i pulled the MCP3008 "desoldered it" from my proto board it was on, and put the imu there
i always got readings even without a sensor on it and had to zero it out in nodered.
same thing with arduino nodered, reading analog getting data with no sensor..
i am going to try a ADS1115 next or mqtt with a esp32..
mare liberum
  Reply
#4
(01-20-2018, 08:43 AM)jim321 Wrote: i am going to try a ADS1115 next or mqtt with a esp32..

That's what I have, ADS1115 & esp8266 - very easy to set up the esp using espeasy, though not sure that works with the esp32. Fewer wires going near the Pi as well, does it all over wifi. Fraction more power draw though. Using differential measuring gets rid of earth loop problems but uses more inputs. Really accurate!  Cool
  Reply
#5
Paddy
can you share some details of your ADS1115 setup please
  Reply
#6
found this
https://github.com/olewsaa/Yacht-compute...master/IoT

but would like to see how paddy has it working also..
mare liberum
  Reply
#7
So far - most of it working but need a bit tidying up-
Esp has esyeasy loaded onto it >
https://www.letscontrolit.com/wiki/index.php/ESPEasy

Then all the setting up is done on a web page, not as versatile as writing stright code but much easier Smile

There are 2 ADS1115, a voltage divider, BMP280 and a so far unconnected serial /TTL .
On the initial setup you connect the esp to the openplotter network then it connects to that automatically and has a 10.10.10.*** IP address. Everything goes out as MQTT, then some of it gets converted to signalk by openplotter and some other data is taken care of by node-red. 

Such a powerful little board for so little money!




[Image: espformqtt.jpg?dl=1]

The control(IDX) indicates where the data is sent to, MQTT is 1, UDP is also an option. Seems stable enough though occasionally it seems to restart itself - only noticed if you look for how many long it has been running on the main tab, 3 days 23 hours it says at the moment. Only one serial connection unfortunately, but better than none Smile
[Image: espformqtt2.jpg?dl=1]
  Reply
#8
Thanks PaddyB,
I've ordered one to experiment with.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)