What libraries would you want to use with Z-Uno?

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
uwerner
Posts: 2
Joined: 24 Dec 2016 15:24

Re: What libraries would you want to use with Z-Uno?

Post by uwerner »

PoltoS wrote:This lib uses SPI, it should not be hard to adopt it to use Z-Uno SPI functions.

Unfortunatelly we don't have h/w to test with.
Thanks for the reply,

I would even send you a TFT display for you to keep but the shipping costs are likely higher as the display itself.

An ST7735 for e.g. is available here for 8 Euro. Not sure about Russia.
finnvid
Posts: 1
Joined: 30 Dec 2016 09:06

Re: What libraries would you want to use with Z-Uno?

Post by finnvid »

Hi,

Thank you for an excellent product, I am already using it in my home to measure electrical consumption.

I would very much like you to implement the library for WS2801, controlling LED-strands.

/tobbe
droll
Posts: 48
Joined: 20 Dec 2013 01:37

Re: What libraries would you want to use with Z-Uno?

Post by droll »

Any interest for a library to control the ultra low power Sharp Memory LCD displays, like this one from Adafuit?
The library has been written from scratch to be sufficiently resource optimized that it fits into Z-Uno projects. It provides the following functionalities:
  • Communication to the LCD display via the Z-Uno SPI library
  • 5x7 dot font library, stored in the code space (see discussion https://forum.z-wave.me/viewtopic.php?f=3427&t=24262).
  • Support of 8x11 and 10x14 dot fonts (via extrapolation)
  • Character, string and integer write functions
  • Write function to fit a string/integer into a specified area, taking the biggest possible font
  • Line, rectangle and circle
Below there are some examples how this looks like.
Let me know if there is interest in this library.
Attachments
Z-Uno library for Sharp Memory LCD display (e.g Adafruit 1.3" 96x96 display)
Z-Uno library for Sharp Memory LCD display (e.g Adafruit 1.3" 96x96 display)
SharpMemoryLCD.jpg (86.62 KiB) Viewed 10928 times
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: What libraries would you want to use with Z-Uno?

Post by PoltoS »

Looks really cool! Would be nice to have your cool project on our Projects page:
http://z-uno.z-wave.me/examples/#projects
droll
Posts: 48
Joined: 20 Dec 2013 01:37

Re: What libraries would you want to use with Z-Uno?

Post by droll »

No problem. I need still a few days to clean up and document things and will contact you then to discuss the project transfer. The project is a radiation monitoring system and I use it to measure the radiation in the cellar due to the infiltration of radon gas (I leave in a radon rich region). Radiation, temperature and humidity data are displayed on the Sharp display as well as transferred via Z-Wave to a controller.

But we start discussing things outside of the main topic here. We should come back to the discussion about library needs ...
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: What libraries would you want to use with Z-Uno?

Post by PoltoS »

Looks interesting! Seeking forward for you to finish it. We would be happy to present photos of your device, schematics and sketchs to share with other users. With credits to you of course and only if you want it to share. Up to you.

About the lib, I think people will be happy to have such a lib in addition to the current we have (OLED - https://github.com/Z-Wave-Me/Z-Uno-Core ... O_OLED_I2C).

Anybody willing to use it?
10neWulf
Posts: 41
Joined: 21 Nov 2016 14:16
Location: Australia

Re: What libraries would you want to use with Z-Uno?

Post by 10neWulf »

Definitely! I'm waiting for the Z-Uno in Australia, so that I can monitor water tank levels by z-wave. It would be great to have a screen showing the levels at the tank also. This Sharp display looks like a good fit for me!
droll
Posts: 48
Joined: 20 Dec 2013 01:37

Re: What libraries would you want to use with Z-Uno?

Post by droll »

The Sharp Memory LCD display library is now available on Github (use this link).
And the Z-Uno radiation monitoring application is also available on Github (use this link).
In case of problems please use the Github issue tracking system to submit your problems. Feedback is welcome!
If the z-wave.me team would like to add the library to the Z-Uno software distribution and/or the application to the Z-Uno project page, please contact me (just respond to one of my mails from Jan 29 or Feb 6).
MastrUsr
Posts: 15
Joined: 13 Sep 2017 18:54

Re: What libraries would you want to use with Z-Uno?

Post by MastrUsr »

I would love support for the Adafruit Fingerprint Sensor.

Library here: https://github.com/adafruit/Adafruit-Fi ... or-Library



I get the error:

Code: Select all

Build options changed, rebuilding all

	************* Building Arduino Sketch *************
	C:\Users\MastrUsr\AppData\Local\Temp\build1723504221617287370.tmp/fingerprint_softwpin9_10_Z-uno.ino.cpp
	***************************************************

Preprocessing file: C:\Users\MastrUsr\AppData\Local\Temp\build1723504221617287370.tmp/Custom.c with SDCPP... 

Preprocessing file: Print.cpp with SDCPP... 
Compiling Print_sdcpp_.cpp ...
Preprocessing file: Stream.cpp with SDCPP... 
Compiling Stream_sdcpp_.cpp ...
Preprocessing file: HardwareSerial.cpp with SDCPP... 
Compiling HardwareSerial_sdcpp_.cpp ...
Preprocessing file: HLCore.cpp with SDCPP... 
Compiling HLCore_sdcpp_.cpp ...
Preprocessing file: Adafruit_Fingerprint.cpp with SDCPP... 
Compiling Adafruit_Fingerprint_sdcpp_.cpp ...
Adafruit_Fingerprint_sdcpp_.cpp:671:10:warning:array index 1 is past the end of the array (which contains 1 element)
Adafruit_Fingerprint_sdcpp_.cpp:692:10:warning:array index 1 is past the end of the array (which contains 1 element)
Adafruit_Fingerprint_sdcpp_.cpp:745:10:warning:array index 1 is past the end of the array (which contains 1 element)
Adafruit_Fingerprint_sdcpp_.cpp:780:19:warning:array index 2 is past the end of the array (which contains 1 element)
Adafruit_Fingerprint_sdcpp_.cpp:782:20:warning:array index 3 is past the end of the array (which contains 1 element)
Adafruit_Fingerprint_sdcpp_.cpp:784:10:warning:array index 1 is past the end of the array (which contains 1 element)['__cxx__Stream__method__println020a11', '__cxx__Stream__method__readBytesUntil030dp0d08', '__cxx__Stream__method__clearWriteError00', '__cxx__Stream__method__print010d', '__cxx__Print__method__printFloat021505', '__cxx__Adafruit_Fingerprint__method__verifyPassword00', '__cxx__Stream__method__readBytes02p0508', '__cxx__HardwareSerial__method__write0105', '__cxx__HardwareSerial__method__find010d', '__cxx__HardwareSerial__method__readBytes02p0508', '__cxx__Print__method__print020a11', '__cxx__HardwareSerial__method__write0109', '__cxx__HardwareSerial__method__available00', '__cxx__Stream__method__print020511', '__cxx__HardwareSerial__method__parseInt010d', '__cxx__Stream__method__println021511', '__cxx__Stream__method__printNumber020a05', '__cxx__HardwareSerial__method__printByteArr03p050505', '__cxx__Stream__method__findUntil02p05p0d', '__cxx__Stream__method__find02p0508', '__cxx__Stream__method__print020a11', '__cxx__HardwareSerial__method__find02p0d08', '__cxx__Print__method__print01p0d', '__cxx__HardwareSerial__method__write010a', '__cxx__Stream__method__println010d', '__cxx__HardwareSerial__method__write0112', '__cxx__HardwareSerial__method__write0111', '__cxx__Stream__method__findUntil04p0d08p0d08', '__cxx__Stream__method__println020911', '__cxx__Stream__method__readBytesUntil030dp0508', '__cxx__Print__method__setWriteError0111', '__cxx__Print__method__printNumber020a05', '__cxx__Print__method__println021211', '__cxx__Stream__init00', '__cxx__HardwareSerial__init0105', '__cxx__Print__method__print010d', '__cxx__Adafruit_Fingerprint__method__storeModel0108', '__cxx__Stream__method__println021111', '__cxx__Stream__method__print01p0d', '__cxx__Adafruit_Fingerprint__method__writePacket040a0508p05', '__cxx__Print__method__println020511', '__cxx__HardwareSerial__method__println00', '__cxx__HardwareSerial__method__flush00', '__cxx__HardwareSerial__method__find02p0508', '__cxx__Stream__method__println021611', '__cxx__Print__method__println021111', '__cxx__Stream__method__getWriteError00', '__cxx__HardwareSerial__method__peekNextDigit00', '__cxx__Adafruit_Fingerprint__init01prHardwareSerial', '__cxx__HardwareSerial__method__print020511', '__cxx__HardwareSerial__method__find01p0d', '__cxx__Print__method__println021511', '__cxx__Stream__method__println020511', '__cxx__HardwareSerial__method__printFloat021505', '__cxx__Stream__method__available00', '__cxx__Print__method__println021611', '__cxx__Stream__method__printByteArr03p050505', '__cxx__Print__method__println00', '__cxx__Print__method__println010d', '__cxx__HardwareSerial__method__setTimeout010a', '__cxx__Print__method__getWriteError00', '__cxx__Print__method__write02p0508', '__cxx__Stream__method__parseFloat00', '__cxx__Adafruit_Fingerprint__method__getImage00', '__cxx__HardwareSerial__method__getWriteError00', '__cxx__HardwareSerial__method__printNumber020a05', '__cxx__Adafruit_Fingerprint__method__emptyDatabase00', '__cxx__HardwareSerial__method__readBytesUntil030dp0508', '__cxx__HardwareSerial__method__println021511', '__cxx__Stream__method__findMulti02prMultiTarget11', '__cxx__HardwareSerial__method__print01p0d', '__cxx__Stream__method__findUntil02p0dp0d', '__cxx__HardwareSerial__method__readBytes02p0d08', '__cxx__HardwareSerial__method__peek00', '__cxx__Adafruit_Fingerprint__method__begin0108', '__cxx__Stream__method__println00', '__cxx__HardwareSerial__method__println021611', '__cxx__Print__init00', '__cxx__HardwareSerial__method__find01p05', '__cxx__HardwareSerial__method__timedPeek00', '__cxx__Print__method__printByteArr03p050505', '__cxx__Stream__method__write02p0508', '__cxx__Stream__method__setTimeout010a', '__cxx__Adafruit_Fingerprint__method__createModel00', '__cxx__Stream__method__print021211', '__cxx__Stream__method__setWriteError0111', '__cxx__Print__method__println020a11', '__cxx__HardwareSerial__method__print010d', '__cxx__HardwareSerial__method__parseFloat010d', '__cxx__HardwareSerial__method__parseInt00', '__cxx__Print__method__write0105', '__cxx__Adafruit_Fingerprint__method__loadModel0108', '__cxx__Stream__method__find02p0d08', '__cxx__Stream__method__flush00', '__cxx__HardwareSerial__method__findUntil04p0d08p0d08', '__cxx__HardwareSerial__method__parseFloat00', '__cxx__Stream__method__find01p05', '__cxx__HardwareSerial__method__write02p0508', '__cxx__Print__method__print020911', '__cxx__HardwareSerial__method__println021211', '__cxx__Print__method__println020911', '__cxx__Stream__method__parseInt00', '__cxx__Stream__method__timedRead00', '__cxx__HardwareSerial__method__findMulti02prMultiTarget11', '__cxx__Stream__method__read00', '__cxx__Print__method__print021211', '__cxx__HardwareSerial__method__println021111', '__cxx__Stream__method__print020911', '__cxx__Print__method__println01p0d', '__cxx__HardwareSerial__method__println020511', '__cxx__Stream__method__readBytes02p0d08', '__cxx__Stream__method__peek00', '__cxx__HardwareSerial__method__end00', '__cxx__Adafruit_Fingerprint__method__deleteModel0108', '__cxx__HardwareSerial__method__println020911', '__cxx__HardwareSerial__method__setWriteError0111', '__cxx__Print__method__print021511', '__cxx__HardwareSerial__method__findUntil02p05p0d', '__cxx__Adafruit_Fingerprint__method__getModel00', '__cxx__Print__method__print020511', '__cxx__HardwareSerial__method__read00', '__cxx__Adafruit_Fingerprint__method__image2Tz0105', '__cxx__Stream__method__println021211', '__cxx__Print__method__print021611', '__cxx__HardwareSerial__method__println010d', '__cxx__HardwareSerial__method__print021211', '__cxx__Stream__method__find01p0d', '__cxx__HardwareSerial__method__print021611', '__cxx__HardwareSerial__method__print021511', '__cxx__Print__method__print021111', '__cxx__Stream__method__timedPeek00', '__cxx__Stream__method__peekNextDigit00', '__cxx__HardwareSerial__method__print020911', '__cxx__HardwareSerial__method__timedRead00', '__cxx__Stream__method__parseInt010d', '__cxx__HardwareSerial__method__print021111', '__cxx__HardwareSerial__method__begin00', '__cxx__Stream__method__println01p0d', '__cxx__Stream__method__print021611', '__cxx__Stream__method__printFloat021505', '__cxx__Stream__method__print021511', '__cxx__Print__method__clearWriteError00', '__cxx__Stream__method__parseFloat010d', '__cxx__Stream__method__write0105', '__cxx__HardwareSerial__method__println020a11', '__cxx__Stream__method__find010d', '__cxx__HardwareSerial__method__readBytesUntil030dp0d08', '__cxx__Adafruit_Fingerprint__method__getTemplateCount00', '__cxx__HardwareSerial__method__print020a11', '__cxx__HardwareSerial__method__println01p0d', '__cxx__Adafruit_Fingerprint__method__getReply027208', '__cxx__HardwareSerial__method__clearWriteError00', '__cxx__HardwareSerial__method__begin010a', '__cxx__Stream__method__print021111', '__cxx__Adafruit_Fingerprint__method__fingerFastSearch00', '__cxx__HardwareSerial__method__findUntil02p0dp0d']
Adafruit_Fingerprint_sdcpp_.cpp:656:1:error: uCxx:Can't find method __cxx__Adafruit_Fingerprint__method__getReply02p0508 for object ((cxx__class__Adafruit_Fingerprint*)v__this) of class Adafruit_Fingerprint 
uCxx returned error code:-1

Fel vid kompilering.
SergioP
Posts: 10
Joined: 29 Jan 2017 10:36

Re: What libraries would you want to use with Z-Uno?

Post by SergioP »

Hi all,
Not sure if it is too late but ...

Another nice feature to support would be the Nextion touchscreens (https://nextion.itead.cc/). You can get one from 20 EUR (up to 100..) depending on the size but can be used to build typical touchscreen for the living room to manage full home automation control center.
This kind of TFTs has their own IDE to design and build WYSIWYG screens and applications. then you can connect with Arduino via serial port.

thanks

Sergio
Sergio
Investigating for fun. Trying more confortable DIY home appliances
Post Reply