Recent Posts

Pages: [1] 2 3 ... 10
1
Displays / Re: How to use an SSD1603 (ole...
Last post by Bitto - Today at 07:49 pm
Oliver, just a question, the sketch that i'm using (which just print the written "Hello Word" on the OLED) used about 50% (so about 4kb) of the space on my Attiny85.
Can i do something to have more free space? Maybe use only defined parts of the library? Thanks
2
Deutsch / Re: Probleme mit I2C LCD
Last post by Tommy56 - Today at 07:47 pm
Ich bin mir auch nicht sicher, ob der Arduino den Strom für 3 Displays treiben kann.

Bist Du sicher, die genau gleichen Libs LiquidCrystal_I2C.h in der neuen IDE installiert zu haben, wie früher?

Gruß Tommy
3
Hi. I want to make a connection with NodeMCU. I found some codes on the internet but they are not working when i use them.



And the error messages:
Code: [Select]
Arduino: 1.8.4 (Windows XP), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 9600, 4M (3M SPIFFS)"

In file included from c:\documents and settings\aydın\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\string:41:0,

                 from c:\documents and settings\aydın\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\stdexcept:39,

                 from c:\documents and settings\aydın\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\array:38,

                 from c:\documents and settings\aydın\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\tuple:39,

                 from c:\documents and settings\aydın\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\functional:55,

                 from C:\Documents and Settings\aydın\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:27,

                 from C:\Documents and Settings\aydın\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

                 from C:\Documents and Settings\aydın\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

                 from C:\Documents and Settings\aydın\Belgelerim\Arduino\Deneme\15_nodemcu\15_nodemcu.ino:1:

c:\documents and settings\aydın\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\allocator.h:46:75: fatal error: bits/c++allocator.h: No such file or directory

 #include <bits/c++allocator.h> // Define the base class to std::allocator.

                                                                           ^

compilation terminated.

exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Could you help me?
Thanks.
4
Project Guidance / Re: How to use NRF24 and USB H...
Last post by MEKACI - Today at 07:44 pm
Pull one of the pins out of the header and wire it to a different pin.  Get a nRF24 that isn't on a shield and you can wire it any way you want.  Mount the shield somewhere other than on top of the board and wire it to whatever pins.  There are myriad different ways to change how a shield connects to a board. 

You'll probably want to also have a look in the library code for the one you change and make sure you change what pin it refers to there as well. 
at nrf24 config header , there are only these lines that makes you the change from coding part :
const uint8_t SOFT_SPI_MISO_PIN = 16;
const uint8_t SOFT_SPI_MOSI_PIN = 15;
const uint8_t SOFT_SPI_SCK_PIN = 14;

In addition, I found in an article which says SS pin's other name is CSN too.

For the SS pin which is pin 10 in arduino uno and mega, what kind of code do I need to add in the nrf24 config header file ? thank you very much.

Something like const uint8_t SOFT_SS_PIN = 11; // instead of the default pin 10 .

However once I do these changes that it only affects for nrf24, right ? because when I do a change like that it doesn't change the whole default SS pin 10 for other boards too ,like usb host shield when I write codes in the Arduino sketch,  right ( but it only changes for nrf24 ) ? thank you very much.
5
Deutsch / Re: Projekt: LCDMenuLib(2) - M...
Last post by dizzwold - Today at 07:44 pm
Hi,

 Wow Jomelo, this is impressive.

 Thank you for your hard work.

 Regards.

 Dizzwold.

Hallo,

 Wow Jomelo, das ist beeindruckend.

 Danke für deine harte Arbeit.

 Grüße.

 Dizzwold.
6
Hi,

Probably a very old topic, but my searches couldn't locate an answer to the question for the way I  am approaching the matter. Apologies in advance.


Could I take a pin to ground on a display driver to reset the driver by using the LOW output on a UNO - without using a relay or any other (transistor) device?

The UNO and the driver will have common 0V rail, and the driver is running on 5v (however the pic32 on-board the driver is a 3v device). The pull to ground is only momentary.


If the pin was 3v, and taking that 3v to ground, would it still be possible to do from the Uno?

Circuitry for the driver is here

If it is possible, is it just a question of holding Pin(reset) HIGH until needed LOW, then back to rest at HIGH?


7
Deutsch / Re: Probleme mit I2C LCD
Last post by HotSystems - Today at 07:44 pm
Hotsystems anbei schicke ich Dir den Schalplan ohne die Dimmersteuerung.
Ich sehe keine Pullups am I2C-Bus.
Das kann Probleme bereiten.
8
the transistor is a device that consumes power.

it has a gain.  the TIP120 is listed as 1,000 
a smaller switching transistor might be 150.

this is a ratio.

for the TIP120 you need to feed it power, you feed it 1 amp and it will allow 1000 amps to pass...

since your device is 1 amp, you need to feed it 1/1000 of one amp.

but..... since the opto consumes a tiny bit of power, you will not get 12.000 volts and the resistor will consume some, so you will not pass power without some changes. you might get 9 volts....

part of the calculations are to allow for the actual values at the pins.

the load will consume some power and the TIP120 has a resistance that will also have some effect.    

the bottom line is that you have to feed the TIP120 some current and it will drain that to ground, and while it is draining to ground it opens the gate for the larger current from the collector.  

in the TIP120 the ratio is 1000:1  you supply 1 and you allow 1,000 of the other to pass.

the calculations are to allow for all the voltage drops, resistance, etc.




9
i think that the arduino zero voltage regulator might work
10
Hm, that doesn't help me because I need it to work for an event on Saturday...
So there is no time for implementing a cap sensing chip.

Why do you say the library is not reliable enough? I tried two different ones and both worked fine so far.
Pages: [1] 2 3 ... 10