• Announcements

    • bluehash

      Forum Upgrade   03/11/2017

      Hello Everyone, Thanks for being patient while the forums were being fixed and upgraded. Please see details and report issues in this thread. Thanks!

Search the Community

Showing results for tags 'Sharp'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Calendars

  • Community Calendar

Found 5 results

  1. This post covers my experiences with a Sharp IR sensor marked 2YOA2I F 7I I received courtesy of @@bluehash clearing his desk a while back. Sharp IR sensors can be obtained that cover ranges from 4 - 30 cm up to 100 - 550 cm. This one has a listed range of 10 - 80 cm. The coverage envelope / angle was not listed in the data sheet but seemed relatively narrow. Current consumption is around 30 mA on average. Response time is listed as 39 ms. The output from the sensor is an analog voltage which is inversely proportional to the distance in a nonlinear manner. Of particular note to those using TI microcontrollers is that it is a 5V device (the datasheet gives 4.5 to 5.5 V as the operating range for Vcc). Most of my gizmos run off of 2 batteries at nominally 3V so I was interested in how it would work at lower voltages and ran a series of tests. A bench power supply was used to supply constant voltage at 5.0, 4.5, 3.3, 3.0, and 2.5 Volts (accurate to better than 0.1 V). I used a tape to measure the distance from the face of the sensor to a wall (distance accurate to 2 mm). The voltage was measured with a digital multimeter and plotted against the inverse of distance to give a more linear curve. Here are the results: With Vcc set to 5.0 V and 4.5 V the output difference was minimal - the results are for all practical purposes the same and are in line with the datasheet. The data for Vcc at 3.3 V and 3.0 V might be usable with the understanding that the curves began to offset some as Vcc drops, and that at 3.0 V the accuracy falls off at 15 cm, and at 3.3 V it falls off at 10 cm. The sensor is not usable at 2.5 V. If highest accuracy is required, a test like the one described here can be undertaken instead of just using the curve in the datasheet.
  2. As discussed in this thread, I took a first stab at a Booster Pack for the 1.35" SHARP Memory Display. As suggested by @@greeeg, I added two footprints: FPC connector (on the back) zebra strip connector (on the front) While the outline is for the 1.35" variants (LS013B4DN01, LS013B4DN02, LS013B4DN04). The 1.28" (LS013B7DH03) and 1.26" (LS013B7DH01) displays should work too as the FPC cables are of similar length and zebra footprints are identical. The smaller, circular displays might work, but the length of the FPC cable might be too short. The larger displays have the same FPC cable, but will overlap with the LaunchPad connectors. I could fit the next size up (2.7", LS027B7DH01) when rotating the screen 90 degrees. I only supply 3.3V. The current small-sized displays are all 3.3V. The older 1.35" versions specify 5V supply voltage, but in my experience work fine with 3.3V. I don't know about the larger displays. Connections are as follows: SCLK -> P1.5 (SPI CLK) SI -> P1.7 (MOSI) SCS -> P2.5 (SPI CS) DISP -> P2.0 (display on/off) I did go with the BoosterPack recommendations for SCS and DISP, but I'm considering to put them somewhere on the upper 14 pins to maintain compatibility with my original code which was for the MSP430G2231. Not yet connected are EXTMODE and EXTCOMIN. These are to control how the LCD polarity-toggling is driven. If EXTMODE is high, toggling is done through EXTCOMIN, otherwise it's done through SPI. I might pull EXTMODE low with a resistor and expose jumper pads to change the configuration. I filled the front plane with 3.3V and the back plane with GND. The horizontal shape at right below the zebra strip pads is the cutout for the flex cable. Any input is greatly appreciated.
  3. Hi, I'm trying to read analog values from a SHARP IR sensor GP2Y0A41SK0F using the MSP430F5529 launchpad. There was not any error when I verified and uploaded the codes in Energia. However, when I clicked on the Serial Monitor, nothing showed up. But when I chose the MSP430G2452 from the "Tools" menu, the monitor successfully showed the analog values. I connect Vcc (red wire) to 5 V pin, the ground (black wire) to GND pin, and the analog output (white wire) to P6.4 pin/A4 pin. The same thing also happened to the MSP430G2553 launchpad. It only works when MSP430G2452 is selected. I looked at the codes very thoroughly but I couldn't see any mistakes: const int IR = A4; void setup() { Serial.begin(9600); } void loop() { int maxVal = 0, minVal = 1024, n=200; float x_i, total=0, mean; for (int i=1; i <= n; i++) { x_i = analogRead(IR); total += x_i; Serial.println(x_i); if (x_i < minVal) { minVal = x_i; } if (x_i > maxVal) { maxVal = x_i; } } mean = total / n; Serial.print("minimum = "); Serial.print(minVal); Serial.print(", maximum = "); Serial.print(maxVal); Serial.print(", total = "); Serial.print(total); Serial.print(", mean = "); Serial.println(mean); delay(100); }
  4. I have a MSP430FR5969 launchpad with the Sharp 96x96 LCD boosterpack. The out of the box application had a splash screen. I am aware that using CCS with the library, I could display .c images using the MSP430 image reformer that is included with the graphics library but I'm not really good at coding in C. I came from the Arduino, so I'm more familiar with the energia. Is there any way to display these .c image files on energia?
  5. Always a sucker for displays of any form and shape I ordered one of the 1.35 inch SHARP LS013B4DN02 memory LCD when it made the rounds last year. At $20 apiece it's quite expensive for its size, but it's sooo pretty I finally finished up the code and published everything on Github. https://github.com/a...-memory-display According to the datasheet, this display runs on less than 15uW. I was not able to measure current with my lowly multimeter, so I'm pretty positive that the MSP430 plus display use way below 1mA. If the display looks familiar, that's because it was featured in the Wolverine teaser a few months back http://www.43oh.com/...cd-boosterpack/ My code probably also works with the breakout board that fellow 43oh member reagle designed: http://forum.43oh.co...akout-for-sale/ More information about the display at SHARP: http://www.sharpmemo...memory-lcd.html According to Mouser LS013B4DN02 is end-of-life. However LS013B4DN04 has very similar specs and should also work with this breakout and code. Both displays are in stock at Mouser: LS013B4DN02 LS013B4DN04 I have two extra PCBs including matching FPC connector (10pos .5mm) sitting in my drawer. PM me if anyone wants one, I'll give or trade them away as long as it's within the US. Regards Adrian