Author Topic: NHD-4.3CTP-SHIELD-N  (Read 919 times)

CarlW

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
NHD-4.3CTP-SHIELD-N
« on: May 03, 2017, 11:16:12 AM »
Just starting a project with this shield. I'd prefer to use the Arduino MEGA

Can I ask a few beginner questions?

In the User Guide, the shield is shown plugged into an UNO and also shown plugged into a MEGA.
Assuming the MEGA is not a clone, is it safe to assume no solder jumpers need to be altered for my project to utilize the MEGA?

Any thoughts on getting access to pins (on the MEGA) that are not used by the Newhaven Display?
Would a PCB, pin breakout shield, sandwiched in between the Newhaven Display and the Arduino work?

On the MEGA, are these the only MEGA pins utilized by the Newhaven Display: D4, D8, D9, D10, SPI MISO, SPI SCK, SPI MOSI, 5V and GND?

There is a recommendation in the User Guide to use a 7V to 8V power supply, yet the MEGA allowable input is 7-12V?
Reason for the question is 12V power supplies are widely available.

How much current (from the 5V, MEGA regulator) will be available for my project?
I see the Newhaven shield uses about 400 mA MAX.

Thanks!


Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 250
  • Karma: 16
    • View Profile
Re: NHD-4.3CTP-SHIELD-N
« Reply #1 on: May 03, 2017, 12:11:44 PM »
Thank you for contacting me with this inquiry, I am happy to help clarify how you can prototype with our 4.3" Arduino Shield with Capacitive Touch!

Since you'll probably be connecting other things to the Arduino (LEDs, sensors, servos) you can purchase a breakout shield and sandwich the two together. Another option to purchase an Arduino clone that has the I/O pins brought out on a second connection.

The NHD-4.3CTP-SHIELD-N is compatible with the Arduino MEGA straight out of the box, no solder jumpers need to be configured. By default it will utilize the ICSP/SPI header which is on most genuine Arduino’s.

Finally, our advice is to stick with a 7V - 8V DC adapter since most Arduino's utilize a cheap LDO and have trouble regulating at higher voltages. 



CarlW

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: NHD-4.3CTP-SHIELD-N
« Reply #2 on: August 22, 2017, 02:50:44 PM »
Still on the topic of this shield.

 ;)

I found an Arduino clone (NERO at Digikey) with a stronger 5V power regulator.
Doesn't get warm, really.

My issue is fitting my sketch into the space on the UNO. My sketch compiled to...
"Sketch uses 24772 bytes (76%) of program storage space. Maximum is 32256 bytes.
Global variables use 912 bytes (44%) of dynamic memory, leaving 1136 bytes for local variables. Maximum is 2048 bytes."
Thought it might work but no. Loads fine but crashes after a few seconds.

I also tried the library example sketch FT_App_Lift.
"Sketch uses 20844 bytes (64%) of program storage space. Maximum is 32256 bytes.
Global variables use 869 bytes (42%) of dynamic memory, leaving 1179 bytes for local variables. Maximum is 2048 bytes."
Doesn't work for me either. Loads fine but crashes after a few seconds.

Surprisingly, library example FT_App_Jackpot works.
"Sketch uses 21434 bytes (66%) of program storage space. Maximum is 32256 bytes.
Global variables use 1159 bytes (56%) of dynamic memory, leaving 889 bytes for local variables. Maximum is 2048 bytes."

All the sketches compile and run fine on the MEGA.

Where can I find a MEGA with a powerful 5V power supply?

Has anyone else had stability issues with library example sketches on an UNO?


Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 250
  • Karma: 16
    • View Profile
Re: NHD-4.3CTP-SHIELD-N
« Reply #3 on: August 22, 2017, 03:39:57 PM »
Hey Carl,

I went ahead and pulled the NHD-4.3CTP-SHIELD-N from stock and powered it with an Arduino UNO clone (NERO) from the lab.

All three sketches have been tested and verified to run properly on the Arduino UNO (see picture attached)


Can you please clarify how you are powering the Arduino UNO clone?

Have you been successful running the "Basics" Arduino examples (Blink.io)?

Thanks!



« Last Edit: August 22, 2017, 03:56:26 PM by Paul_B »

CarlW

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: NHD-4.3CTP-SHIELD-N
« Reply #4 on: August 23, 2017, 06:34:32 PM »
Thanks Paul,
FT_App_Lift doesn't work for long on my Nero.

https://youtu.be/oQRlry1Pgak

Arduiono version is 1.8.2

My crash occurs on three different power supplies. USB (computer), 7.5V@0.7A, and 12V@2A (tried all 3)...

The sketch runs fine on a MEGA.

The FT_App_Jackpot sketch runs fine on my Nero.

Blink runs fine on my Nero.

Do you know of any MEGA clones with a "souped" up power supply? I've searched as best as I can, to no avail.

Paul_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 250
  • Karma: 16
    • View Profile
Re: NHD-4.3CTP-SHIELD-N
« Reply #5 on: August 24, 2017, 07:51:54 AM »
Morning Carl,

Very strange, I know this might sound odd but can you please tell me what brand micro SD card you are utilizing?

Regarding the MEGA you can always bypass the LDO by powering the board with a USB wall charger.

At this time I'm not aware of any Energy Efficient Arduino MEGA clones.

CarlW

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: NHD-4.3CTP-SHIELD-N
« Reply #6 on: August 24, 2017, 01:17:41 PM »
Thanks again, the USB power is a great idea

The SD card says "SanDisk" 2GB.

I bought a handful (used) off eBay just for the shield, as my actual files are under 256K.
Supposedly, these were from cell phones. One never knows about memory cards though.

Might have some larger size ones I could try...


 

NHD-4.3xxx-Shield - Vertical Mode

Started by talsitBoard Evaluation Tools

Replies: 2
Views: 1522
Last post May 05, 2017, 01:26:07 PM
by CarlW
NHD-4.3RTP-SHIELD-V Problem

Started by Matt_MBoard Accessories

Replies: 4
Views: 658
Last post August 04, 2017, 01:33:56 PM
by Paul_B
NHD-4.3RTP-SHIELD-N Pinout

Started by skmfgBoard TFTs

Replies: 1
Views: 193
Last post October 17, 2017, 08:31:08 AM
by Paul_B
arduino 101 on nhd-4.3 ctp-shield-n

Started by geraldcBoard TFTs

Replies: 0
Views: 480
Last post June 24, 2017, 10:35:13 PM
by geraldc
NHD-4.3CTP-Shield library appears to be invalid

Started by Tim_ColeBoard Evaluation Tools

Replies: 3
Views: 1358
Last post October 22, 2016, 01:11:02 AM
by Tim_Cole