hla
Junior Member
Posts: 29
|
Post by hla on Dec 13, 2014 14:54:22 GMT -8
Going back to the original topic, FT801 and capacitive touch. On www.rayslogic.com/Propeller/Products/NH4/NH4.htm you can se a picture of a breakout board for connecting the capacitive touch wires of Newhaven 4.3" capacitive touch lcd to I2C(SDA, SCL), 5V and GND. On FT800, pin 19-22 are for resisitive touch. On your board, these are connected to the 40pin LCD connector. If using FT801, pins 19-22 are for capacitive touch (through I2C) and must be wired differently (or make available as pins). How much effort will it take to make pin 19-22 available as breakout pins ? It will make it possible to replace FT800 with FT801 and have capacitive touch possibilities.
|
|
|
Post by atomsoft on Dec 14, 2014 16:56:42 GMT -8
|
|
hla
Junior Member
Posts: 29
|
Post by hla on Dec 15, 2014 3:25:57 GMT -8
If all surprises was like this one... :-)
|
|
|
Post by atomsoft on Dec 18, 2014 8:28:08 GMT -8
Ok good news is i think this is complete. I guess i can only check so many times so im ordering some PCBs! As soon as they arrive ill build a few up and test them. If they work then Ill sell them. Of course ill give you guys a discount code for my tindie
|
|
|
Post by jamesbowman on Dec 18, 2014 22:19:22 GMT -8
Awesome - I'll be getting one of each!
|
|
hla
Junior Member
Posts: 29
|
Post by hla on Dec 19, 2014 12:41:40 GMT -8
Me too !
|
|
|
Post by atomsoft on Dec 22, 2014 14:10:33 GMT -8
ok cool, boards are being made quick! they were moved to a 5day panel instead of 12day (This is day 2 or 3) also im ordering parts now from digikey. The FT801 are pricey. Im ordering like 4 only. Ill be sure to keep two for James and hla then sell the other 2 or 1, might keep me one I have all the other parts coming in but might take long, like the audio connector and regulators. got a bulk deal since i needed for other projects. So as soon as its all in ill inform you all
|
|
|
Post by atomsoft on Dec 31, 2014 11:15:47 GMT -8
Ok about to test this today but all parts are in. This one is for the FT800Q (Resistive Touch) I have some FT801 ICs here for those who need Capacitive Touch
|
|
|
Post by atomsoft on Dec 31, 2014 14:03:35 GMT -8
Having issues perhaps its my laziness in coding. Can someone whip up some quick test code? (For Arduino (uno, pro mini))
|
|
|
Post by jamesbowman on Dec 31, 2014 16:05:14 GMT -8
This is what I used... if the Arduino is talking OK, it should wake up the FT800. The LCD's backlight should light, so the screen is all-white. And it should report "7C" back to the serial connection, twice per second. If it reports "FF" or "0" then it means something is wrong with SPI.
Note the pin number for CS is 8. Also remember to tie PDN to something - 3v3 maybe?
/* * Simple FT800/FT801 bringup sketch. * Sends the enable signal code, then reports the FT800 ID register. */
#include <EEPROM.h> #include <SPI.h>
#define CS 8
void setup() { Serial.begin(9600); SPI.begin(); digitalWrite(CS, HIGH); pinMode(CS, OUTPUT); }
void loop() { // Wake digitalWrite(CS, LOW); SPI.transfer(0x00); SPI.transfer(0x00); SPI.transfer(0x00); digitalWrite(CS, HIGH);
// Reset digitalWrite(CS, LOW); SPI.transfer(0x68); SPI.transfer(0x00); SPI.transfer(0x00); digitalWrite(CS, HIGH);
delay(100);
// Try to read ID register. Expect to see "7C" on serial digitalWrite(CS, LOW); SPI.transfer(0x10); SPI.transfer(0x24); SPI.transfer(0x00); SPI.transfer(0x00); Serial.println(SPI.transfer(0x00), HEX); digitalWrite(CS, HIGH);
delay(500); }
|
|
|
Post by atomsoft on Dec 31, 2014 16:54:08 GMT -8
Take a look
|
|
|
Post by atomsoft on Dec 31, 2014 16:58:31 GMT -8
Any way to test audio quick ? I doubt it but its on board at least. Ill go through the pricing and put this on my tindie asap. But dont buy it. I know there are at least 2 people here that wants it. I will give you a special discount. Should be on tonight or tomorrow
|
|
|
Post by atomsoft on Dec 31, 2014 17:00:01 GMT -8
Even better to look at this
|
|
|
Post by atomsoft on Dec 31, 2014 18:49:14 GMT -8
|
|
hla
Junior Member
Posts: 29
|
Post by hla on Jan 1, 2015 5:23:18 GMT -8
|
|