Jump to content

Search the Community

Showing results for tags 'touch'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 9 results

  1. Hello. I'm very new to the MSP430. I am having a lot of trouble getting the Capacitive Touch libraries to work in Energia. When I try to use the zip on the forums, Energia will not open. I download the zip and unzip it to the energia libraries folder in my documents. Have I done this incorrectly?
  2. New LCD BoosterPacks are here. Both are 2.4" 320x240, one with touch panel, one without. Both feature the same pinout as their "little" 2.2" brother, same configuration options and SD socket. Can be used with my graphics library without any changes! Available on Tindie 2.4 LCD BP v3.pdf 2.4 LCD BP v2.pdf
  3. New LCD BoosterPacks are here. Both are 2.4" 320x240, one with touch panel, one without. Both feature the same pinout as their "little" 2.2" brother, same configuration options and SD socket. Can be used with my graphics library without any changes! V2 schematic (note that BL MOSFET is optional) - 2.4 LCD BP v2.pdf V3 schematic - 2.4 LCD BP v3.pdf
  4. Decided to try out the glass touchpanel that Noritake so graciously sent to me a while back (see http://forum.43oh.com/topic/5167-noritake-capacitive-touch-keypad-sample-offer/ ). Used Energia to talk to the panel via I2C and was pretty pleased with the overall performance of the panel. I used the numeric underlay that was one of the included paper templates. The key mapping codes weren't intuitive so hopefully this can save some time if you decide to put one of these panels into play. Test setup (please forgive the phone camera picture quality): #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); // start serial communication at 9600bps pinMode(P2_3, INPUT); } int reg3 = 0; // setup variable for Noritake key press status register 3 int reg4 = 0; // setup variable for Noritake key press status register 4 void loop() { if (digitalRead(P2_3) == LOW) // check if CHANGE line from touch controller has sensed a key press { Wire.beginTransmission(28); // Initiate I2C to touch controller PC at address 0x28 Wire.write(byte(0x03)); // sets register pointer to read from register 3 (0x03) Wire.endTransmission(); // Wire.requestFrom(28, 2); // request 2 bytes from slave device at 0x28 if(2 <= Wire.available()) // if two bytes were received { reg3 = Wire.read(); // receive byte from register 3 reg4 = Wire.read(); // receive byte from register 4 if (reg3 == 8) // Test values to see which key was pressed and print translated result to the screen { Serial.println("Keypress = 7"); } else if (reg3 == 4) { Serial.println("Keypress = 8"); } else if (reg3 == 2) { Serial.println("Keypress = 9"); } else if (reg3 == 32) { Serial.println("Keypress = 4"); } else if (reg3 == 16) { Serial.println("Keypress = 5"); } else if (reg3 == 1) { Serial.println("Keypress = 6"); } else if (reg3 == 64) { Serial.println("Keypress = 1"); } else if (reg3 == 128) { Serial.println("Keypress = 2"); } else if (reg4 == 8) { Serial.println("Keypress = 3"); } else if (reg4 == 1) { Serial.println("Keypress = *"); } else if (reg4 == 2) { Serial.println("Keypress = 0"); } else if (reg4 == 4) { Serial.println("Keypress = #"); } } delay(200); // delay to prevent multiple print outs of the data to the screen } } Here is the terminal output when a familar three key sequence is entered. Keypress = 4 Keypress = 3 Keypress = 0
  5. Hello! i made this boosterpack some weeks ago! this is the upgrade of LCD BOOSTERPACK V1 ( http://forum.stellarisiti.com/topic/626-ssd1289-32-320x240-tft-16bit-parallel-interface-touch-libraries/ ). Old version only has parallel control, this new version has improved all things: Serial or parallel, i2c drivers for touch and backlight, better layout... Unlike LCDBPV1, LCDBPV2 is compatible with any MCU in the market. You only have to migrate some basic code about specific i/o of your MCU and is done!! (you have to do if I have not yet done... but if you ask me for this and i have mcu to develop i can do this). You can buy on my web (paypal) or on the tindie store Check out LCDBPV2 tag on my web: http://danirebollo.es/index.php/bundles/lcd-bp-v2 You cand find some videos and other articles. For example, this is latest review i made between some MCUs on the market (better view on my web): MCU MODE FRAMES TIME FPS LOW LEVEL FUNCTION Chipkit MAX32 EHA 300 1.172 255 LATDSET(1<<y) ; LATDCLR(1<<y) Stellaris Launchpad EHA 200 1.553 128.78 HWREG(SCS_BASE + ((SCS_PIN) << 2)) = SCS_PIN ; HWREG(SCS_BASE + ((SCS_PIN) << 2)) = 0; Arduino UNO EHA 200 4.903 40.8 PORTD|=(1<<y) ; PORTD&=(~(1<<y)) PIC16F877A EHA 200 7.863 25.44 bit_set(PORTLCD,bCS) ; bit_clear(PORTLCD,bCS) MSP430 EHA 200 11.64 17.18 P2OUT |=y ; P2OUT &= ~(y) Chipkit MAX32 Serial 50 15.12 3.31 Stellaris Launchpad Serial 1 0.54 1.83 Arduino UNO Serial 1 1.264 1.264 MSP430 Serial 5 14.05 0.35 PIC16F877A Serial 1 6.681 0.15
  6. I got myself a mini-STM32 development board with a nice LCD with a touch screen (from DX, SKU 157301). The main reason I ordered it was that I read a thread on somebody's experiments with that kit (or a very similar one), and I thought it would be fun to play with. I thought the thread was here on 43oh forums. But now I can't find it, which is a shame, because whoever wrote that thread had a lot of experiments and things tested, which would be a great starting point. Oh well, I should have bookmarked it.
  7. Problem solved! Here is a basic touch screen with 4 wires, YP-XP-YN-XN as per this specification sheet. The screen has no controller for touch. The sketch works fine on Arduino Uno but not with the Stellaris. When I move my finger horizontally, both x and y values change. Same problem occurs when I move my finger vertically. Only one value should be impacted. What's going wrong? I suspect some initialisation problem, especially with the open pin. // Core library for code-sense #include "Energia.h" // Include application, user and local libraries // Define variables and constants uint16_t x, y, z; #define TOUCH_XP A9 // TOUCH_XP PE4 A9 Resistor touch screen terminal (Left) analog #define TOUCH_YP A8 // TOUCH_YP PE5 A8 Resistor touch screen terminal (Top) analog #define TOUCH_XN PA_3 // TOUCH_XN PA3 Resistor touch screen terminal (Right) digital #define TOUCH_YN PA_2 // TOUCH_YN PA2 Resistor touch screen terminal (Bottom) digital void getRawTouch2(uint16_t &x0, uint16_t &y0, uint16_t &z0) { // Read x // xp = +Vref // xn = ground // yp = measure // yn = open pinMode(TOUCH_YP, INPUT); pinMode(TOUCH_YN, INPUT); digitalWrite(TOUCH_YP, LOW); digitalWrite(TOUCH_YN, LOW); pinMode(TOUCH_XP, OUTPUT); pinMode(TOUCH_XN, OUTPUT); digitalWrite(TOUCH_XP, HIGH); digitalWrite(TOUCH_XN, LOW); x0 = analogRead(TOUCH_YP); x0 += analogRead(TOUCH_YP); x0 = 4095 - (x0/2); // Read y // xp = measure // xn = open // yp = +Vref // yn = ground pinMode(TOUCH_XP, INPUT); pinMode(TOUCH_XN, INPUT); digitalWrite(TOUCH_XP, LOW); digitalWrite(TOUCH_XN, LOW); pinMode(TOUCH_YP, OUTPUT); pinMode(TOUCH_YN, OUTPUT); digitalWrite(TOUCH_YP, HIGH); digitalWrite(TOUCH_YN, LOW); y0 = analogRead(TOUCH_XP); y0 += analogRead(TOUCH_XP); y0 = 4095 - (y0/2); // Read z // xp = ground // xn = measure // yp = measure // yn = +Vref pinMode(TOUCH_XP, OUTPUT); digitalWrite(TOUCH_XP, LOW); pinMode(TOUCH_YN, OUTPUT); digitalWrite(TOUCH_YN, HIGH); digitalWrite(TOUCH_XN, LOW); pinMode(TOUCH_XN, INPUT); digitalWrite(TOUCH_YP, LOW); pinMode(TOUCH_YP, INPUT); int z1 = analogRead(TOUCH_XN); int z2 = analogRead(TOUCH_YP); if (x0>0) z0 = (4095-(z2-z1)); else z0 = 0; } // Add setup code void setup() { Serial.begin(9600); delay(10); Serial.println("Touch Test"); } // Add loop code void loop() { getRawTouch2(x, y, z); if (z>0) { Serial.print("\txyz0\t"); Serial.print(x, DEC); Serial.print("\t"); Serial.print(y, DEC); Serial.print("\t"); Serial.println(z, DEC); } delay(100); } Thank you for your help.
  8. Has anybody looked at possibly porting these to Energia? He built these libs so that there are separate hardware defines for AVR, ARM, and ChipKIT. As you all know - I am fairly new to all of this...but I am wondering how tough it would be to port these to Energia for the MSP430, and ESPECIALLY for the Stellaris (it has enough pins, and power to be very effective at driving a 3.2 inch touch screen, plus everything else you might want to hook up.) Just curious if someone better at this than me could take a quick peek and let me know what you think. UTFT lib - - - http://henningkarlsen.com/electronics/library.php?id=52 UTouch - - - http://henningkarlsen.com/electronics/library.php?id=56 He also has a really good library for GRAPHICS on the Nokia 5110 displays. ---L293D
  9. Hey, just saw this on H'a'D: Nothing new there, basically only 8 leds, an msp430, a battery and some pcb, but i really like his design More Details
  • Create New...