[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Toon onderwerp - Nodo Arduino • nodo-domotica.nl

nodo-domotica.nl

Nodo Arduino

Laat hier anderen je eigen gemaakte Nodo projecten zien.

Re: Nodo Arduino

Berichtdoor softwareregi » 20 jul 2012, 16:44

Hans,

Niet alle merken i2c display's worden door de library ondersteund.
kijk eens op:

http://arduino.cc/playground/Code/LCDi2c

En welke Arduino gebruik je ?

gr. John
Gr. John
softwareregi
 
Berichten: 254
Geregistreerd: 29 aug 2011, 14:05

Re: Nodo Arduino

Berichtdoor manjh » 21 jul 2012, 11:26

Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Nodo Arduino

Berichtdoor manjh » 21 jul 2012, 11:52

Ik had overigens de site van Elecfreaks al gevonden, dit is de module die ik heb:


De bijbehorende library heb ik gedownload, maar als ik het "hello world" voorbeeld wil compileren, dan geeft hij fouten:

In file included from sketch_jul21a.cpp:18:
D:\arduino-1.0.1\libraries\SPI_IIC_LCD/LiquidCrystal.h:89: error: conflicting return type specified for 'virtual void LiquidCrystal::write(uint8_t)'
D:\arduino-1.0.1\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Nodo Arduino

Berichtdoor mvdbro » 22 jul 2012, 10:52

Hans,

Je zou het eens kunnen testen met de Arduino V22 compiler. Volgens mij zijn er diverse libraries die nog niet geschikt zijn gemaakt voor Arduino 1.0.

Ik heb zowel V22 als V1.0 op mijn computer staan omdat nog niet alles werkt met de 1.0 compiler. (bij voorbeeld de ISP sketch voor Arduino werkt bij mij alleen als ik die via V22 heb gecompileerd. waar dat aan ligt weet ik niet)

gr
Martinus
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: Nodo Arduino

Berichtdoor manjh » 24 jul 2012, 20:38

Ik had al de oude V23 erbij gepakt, las ergens dat de wire lib nog niet goed zou werken met de nieuwe Nodo compiler.
Maar welke LCD lib ik ook probeer, ik krijg nooit een zinvolle tekst op de display. Meestal blijft het bij een rijtje grijze vierkantjes.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Nodo Arduino

Berichtdoor manjh » 06 sep 2012, 13:39

OK, nieuwe ontwikkeling op het LCD front: met rel23 werkt library LCD_IIC_LCD goed!
Met release 1.0.1 krijg ik foutboodschappen, heeft iets met write() te maken, en met de wire lib.
Omdat ik deze LCD wil gebruiken in de Nodo release is het wel belangrijk dat hij ook werkt in de nieuwe Arduino release.
We knutselen vrolijk verder.

Als het lukt is het misschien voor meer mensen interessant, de LCD unit kostte me bij DealExtreme slechts $12, inclusief verzenden... het is een I2C unit, dus de aansluitiingen hebben we al en het blokkeert geen andere functies.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Nodo Arduino

Berichtdoor BasPost » 06 sep 2012, 15:26



Afbeelding
BasPost
 
Berichten: 118
Geregistreerd: 03 jul 2012, 06:46
Woonplaats: Tolkamer

Re: Nodo Arduino

Berichtdoor mvdbro » 06 sep 2012, 15:32

De DFRobot I2C LCD kost ongeveer 16 euro en de library doet het met Arduino 0022, Arduino 1.0 en Arduino 1.01.
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: Nodo Arduino

Berichtdoor manjh » 06 sep 2012, 16:13

Ik ben eruit, heb een aangepaste library die ook werkt met 1.0.1.
Inmiddels ben ik druk bezig om een simpele UserPlugin te schrijven. Voorlopig niks bijzonders, gewoon even ermee knutselen.
Maar het werkt!
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Nodo Arduino

Berichtdoor mvdbro » 07 sep 2012, 12:02

Goed nieuws Hans!

Misschien kun je ergens op de NodoWiki een pagina maken met aankooptips/links inclusief de benodigde libraries. Er zijn meerdere typen hardware/libraries. Degene die door Nodo leden zijn getest kunnen wellicht een vermelding krijgen op de site.

Ben benieuwd naar je userplugin. Mijn userplugin gebruikt ook LCD maar feitelijk doe ik er nog bijzonder weinig mee. Ik zie nu alleen de inkomende events voorbijkomen...

Ik zit te denken aan een soort van "displaymode" via een variabele van de Nodo.
Dus b.v.
variabele 1 = 1, dan tonen van events
variabele 1 = 2, dan tonen van temperatuur e.d.
variabele 1 = 3, dan tonen van systeem info
etc

Dan kun je via de webapp de displaymode instellen met een +/- button.

gr
Martinus
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

VorigeVolgende

Keer terug naar Show je Nodo

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 6 gasten