Recent Posts

Pages: [1] 2 3 ... 10
1
Displays / Re: Cannot detect LCD display ...
Last post by bperrybap - Today at 10:16 pm
There are several things that could cause this.
incorrect pins being used, incorrect wiring, bad/broken wires, or incorrect pullup resistors.

My suggestion would be to use my hd44780 library. The hd44780_I2Cexp i/o class included in the library is for hd44780 LCDs that are using a i2c backpack.

The library will auto locate the backpack i2c address, and self configure the pin mappings used between the backpack and the LCD.
It should "just work" with your LCD device.

If it doesn't, the library also includes a diagnostic sketch that will test the i2c connections, the backpack and the LCD.

The library can be installed using the IDE library manager.
Here is a link to the github page for more information: https://github.com/duinoWitchery/hd44780
It also has information about installation and which IDEs are compatible.
While IDE version 1.7 should work ok, at some point you should consider upgrading to a newer IDE version as there have been many useful updates and bug fixes since then.
Use the library manager to install the hd44780 library. Do not download it from the github page and install it using a zip file.
Here is a link to the wiki for additional information about the library and the i/o classes:
https://github.com/duinoWitchery/hd44780/wiki

The i/o class for your device is hd44780_I2Cexp.
I'd recommend first running the diagnostic sketch, I2CexpDiag,  to make sure everything is working correctly.
The diagnostic sketch will print information on the serial port about the tests and any issues that it may find.
After that is working, then look at the HelloWorld sketch to see what header files need to be included and how to declare the lcd object.

--- bill
2
Deutsch / Re: LCD Menu für UNO erstellen
Last post by HotSystems - Today at 10:14 pm
Wenn ich helfen darf:

Code: [Select]
   case 3:
     if (aktMillis - zubereitungMillis >= zubereitungszeit)


Stimmt und danke agmue.
Hatte ich übersehen.
Postmaster-ino hatte es ja auch schon erwähnt.

Es ist eben nicht einfach fremden Sketch ohne Kommentare zu lesen. ;)
3
Le bar / Re: Darth Vader dans une boula...
Last post by bricofoy - Today at 10:13 pm
elle passe moins bien à l'écrit, celle là... :D
4
Software / Re: problema lectura de temper...
Last post by Adrian7557 - Today at 10:12 pm
Si, es un sensor encapsulado en metal para meter en el agua de dos pines, que lo tengo conectado al GND y a 5v con una resistencia de 10k que va desde la pata de 5v al pin A6, de todas formas ese no me falla nunca, ni en solitario ni en el grupo, el que falla es el otro el LM35, de hecho pensé que estaba estropeado, pero si borras la parte logarítmica del otro, éste funciona perfecto, así que no lo entiendo....
5
Software / BMP180
Last post by Jordim15 - Today at 10:12 pm
Hola buenas, mi nombre es Jordi y estoy haciendo un proyecto con Arduino. Dicho proyecto consiste en una estación meteorológica con un RTC-DS3231, BMP180, BH1750 y DHT11.

Todo esta correcto y funciona a la perfección, pero cuando me da la altitud, me la da con valor negativo y no se como solucionarlo. Llevo probando más de 24 horas y me estoy agobiando un poco.

AYUDA POR FAVOR!!!!!!!
6
Deutsch / Re: Sensor auslesen und printe...
Last post by postmaster-ino - Today at 10:11 pm
Hi

Du musst doch nur auswerten, ob die Lichtschranke bereits für 5 Sekunden NICHT unterbrochen wurde - daraufhin die Anzeige auf Null setzen (oder erst bei der nächsten Unterbrechung mit 1 anfangen).
Hochzählen bei Flankenwechsel Low->High, Wartezeit starten bei Flankenwechsel High->Low.

Würde Beides mit einem Interrupt erschlagen wollen.

Da elektronische Schalter, ist kein Prellen vorhanden also auch kein Endprellen nötig, sonst würde durch den Interrupt ziemlich schnell gezählt werden ;)


MfG
7
I'll be happy to as I think others might find it pretty useful too if you are using batteries. you can't take full advantage of power down as you can using a RTC because it's using the WDT but it's a huge improvement from 28mA to .07mA 50 seconds out of every minute that it isn't doing anything. the actual library was in the first post if you want to give it a look. If I can edit the .h and .cpp file as ULHeliBob suggested I'll post them as well.

any ideas of how to get rid of the speaker pop when the board gets powered up?


this is one of the best youtube tutorials on how to make a bare ATMegea 328P-PU with 5 components in 5 minutes and where I discovered to sleep mode library. it's worth checking out if you make battery powered stuff.

https://www.youtube.com/watch?v=npc3uzEVvc0     
8
Generale / Controllo umidità dell'aria di...
Last post by Emi_crania - Today at 10:10 pm
Salve a tutti,
sono un neofita di Arduino; avendo fatto fino ad adesso solo piccoli e semplici progetti.

Solitamente trovo sempre le informazioni che cerco sul forum ma stavolta non sono riuscito a incontrare esattamente ciò che avevo in testa. Ho una piccola serra indoor (3 mt2) circa che mi sto divertendo ad automatizzare passo passo.

Per adesso il problema più grave che devo risolvere è il controllo dell'umidità dell'aria, che risulta sempre essere molto più secca di quello che vorrei.

Vorrei creare un nebulizzatore che si attivi quando l'umidità scende sotto il valore desiderato, che ad esempio faccia una nebulizzata al minuto finché il valore non rientra nei parametri voluti.

Ho già vari elementi, credo di poter realizzare tutto senza dover acquistare null'altro, ma non riesco a capire quale sia la miglior soluzione incrociando semplicità di realizzazione ed efficienza.

Qualcuno di voi ha realizzato progetti simili, sapreste indirizzarmi?

Grazie molte a tutti a prescindere,
questo forum per me è spesso fonte di ispirazione  :D

Emiliano
9
Hardware / Re: Sensor de Voltaje para AC
Last post by jjcoronas2014 - Today at 10:10 pm
Desconozco si usaste lo del trifásico como ejemplo, pero por si las dudas aclaro que solo requiero medir un Vrms de 120 VAC (tensión nominal en mi pais). Los cálculos los basé en dicha tensión ya que como mencioné 120 volts es la tension que entrega el Proveedor eléctrico en mi pais. Corrijame si estoy mal por favor. Con respecto al divisor de tension, pude notar que recomendabas usar si asumiamos la resistencia a GND de 4.7k, segun los calculos, la resistencia superior debe ser de 20k, sin embargo, al usar tales valores en esa disposicion, el voltaje maximo llega a 2volts, inviertiendo la posicion de dichas resistencias, el voltaje alcanza el valor de 5.03 volts.
10
I make USB to serial adapters with the ch340g all the time there cheap chips but a really good one from my stand point .

I use it to add to my esp boards so I can program without having to hook anything up.

The ch340g worked the best of any chip I've used.
Pages: [1] 2 3 ... 10