Recent Posts

Pages: [1] 2 3 ... 10
1
Project Guidance / Re: Bluetooth Lightsaber
Last post by marsthrax - Today at 07:55 pm
Update:

It looks like I can actually use asynchronous playback while keeping the BLE interface active. When I originally tested, I didn't have any code in place to set up the Bluefruit library. I'm not sure why that would have mattered, but ever since then I've been able to do interrupt driven async playback and still have bluetooth running. I'm assuming the comments/documentation saying you should disable bluetooth are for older Bluefruit devices (M0 and such).
2
Project Guidance / Electric circuit similation & ...
Last post by SHOLI - Today at 07:54 pm
Problem is that Matlab isn't free & I don't know much about octave or scilab(very new to matlab too)
so is there any free software that simulates exaclty like matlab or with simulation features like matlab to desgin a whole electrical circuit

& I need to know how to interface arduino in such a way that simulated appliance's(just some capacitive or inductive load) switch can be controlled( in real world like controlling Solid state relay) by arduino



My objectives are going to be like arduino has to read state of switch from & display it user & user gives instruction to switch it off or not , & arduino switches it off
changes in switching off/on is reflected in power consumption & that power consumption data is to be read by arduino too

if anyone has done something like this evenon matlab pls tell me how to get started

& any docs, links,  appericiated
3
after researching i very much agree with you, however i'm stuck with these. Is there any way that these can be used to get it working, even badly, until Tuesday when the NRF24L01's turn up?
4
Project Guidance / Re: Problems with analysing th...
Last post by aarg - Today at 07:52 pm
Did you create any intermediate test programs that only write test digits to the VFD hardware?
5
Displays / Bodmer's JPEGDecoder on a DUE ...
Last post by bjornenki - Today at 07:51 pm
Hi there,

I started with an Arduino DUE board that I've added WiFi and SD breakout modules to. I have a 2.8" TFT display that works fine using this https://github.com/marekburiak/ILI9341_due and JPEGDecoder. Unfortunately, this display has bad color distortion at various viewing angles so I'd like to replace it with slightly larger 3.5" 320x480 displays.

I have a WaveShare 3.5" that supposedly uses ILI9486 and appears a bit better at various viewing angles, but I've only gotten it working using ILI9488 from https://github.com/jaretburkett/ILI9488 - mostly because I can't find a ILI9486_DUE type of library...I believe that HX8357 can work, but I ran into trouble using it. While I can use Bodmer's TFT_HX8357_Due version, it's missing the ILI9486 driver that got merged into the regular TFT_HX8357 version. I can't use the regular TFT_HX8357 since I'm on a due. (Should I be trying to merge these two?) The sample code provided with the display isn't for due either (https://www.waveshare.com/wiki/3.5inch_TFT_Touch_Shield) but I'd rather work with something closer to what I'm used to if I can also.

The WaveShare mostly works for me; I am able to draw background colors, write text, and so on using the ILI9488 driver. This is the code that's specifically giving me trouble with ILI9488 and the JPEGDecoder library:

Code: [Select]
tft.pushColor(*pImg++); // Send to TFT 16 bits at a time
//tft.pushColors(pImg, 0, mcu_pixels); // Send the whole buffer, this is faster


I've tried both of the methods above and the first line (pushColor) produces distorted grey blocks with a slight resemblance of the original JPG, whereas the latter (pushColors) simply produces no output to the TFT for me.

This is all probably pretty vague, but I'm hoping someone a bit more familiar with this sort of thing can help steer me in the right direction... Should I be trying to modify the pushColor/pushColors functionality of the ILI9488 driver, or should I be using a different driver? Should I try merging the ILI9486 driver from TFT_HX8357 into TFT_HX8357_DUE? Should I be trying to use the ILI9341_DUE driver that I had working with the 2.8" display but adapting it to these WaveShare 3.5" displays?


Any advice would be appreciated!
6
I re-read the first post.
we can help with Aruino stuff. selecting and setting up circuits, etc.
some factory floor testing to make sure the results are as expected.

in case you did not know, I am in NJ, in the USA.

if you need to test a shipment, I would be happy to photograph what is received and re-label the package for return shipment.

7
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
8
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
9
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.
10
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.
Pages: [1] 2 3 ... 10