
crobertsbmw
Members-
Content Count
24 -
Joined
-
Last visited
Everything posted by crobertsbmw
-
Yeah, after coming back a day later to play with this further the contrast is still super dark and when I disconnect the ground pin the contrast then goes way too light. I am thinking that if the contrast is supposed to be internally set then there isn't an easy way to mess with the contrast and I probably just got a bad screen.?
-
Yeah, this LCD however has pin three listed on the datasheet as a n/c. Just because it is a 3.3v LCD instead of 5v.
-
IT WORKED! I am so stoked. Sorry that I have to bother everyone with my stupid errors. I feel dumb. So I think this version, the 3v version, of the LCD is supposed to have the contrast internally set. But the screen is really dark and you can hardly see the text? Any ideas on how to fix that? Should I just start messing with pin 3, which is supposedly a no-connect? edit* I disconnected the Vss pin on the screen and now my contrast is awesome. However, I am baffled how this screen works without having the ground pin connected to anything? And why would that screw up my contrast?
-
It's the operational enable signal. Which is falling edge triggered. So you take it high, turn on whichever signals and then drop it low.
-
I am trying to use my launchpad with a g2152 to write to an LCD. I have a 3.3volt LCD from New Haven Display (http://www.newhavendisplay.com/specs/NHD-0216HZ-FSW-FBW-3V3C.pdf). I am pretty sure I have it wired up correctly, I have torn it all down and reconnected everything just in case. This thing is driving me up the wall. The code is pretty much ripped straight from NewHaven's forums and double checked with the datasheet. I don't know where I could have gone wrong. Any hints? //--------------------------------------------------------- /* 8_bit_character.c Program for writing to charac
-
Blue Hash, you were right. oPossum, thanks for that delay loop. Very clean.
-
I just edited and added the #includes, with that it is my full test program. I just installed CCSv5 on this computer today so all the defaults are intact. I went into project properties and looked at optimizations and it was at level 0. So I don't think so. Is that what you are talking about?
-
I feel like an idiot asking this question. I had this program working on my msp430f2274. Now I am trying to play with it using CCSv5 and putting it on the launchpad. For some reason it is skipping over my subroutines. #include #include //*********************************************************************** void delaySec(int n){ int i; int j; int k; for (i=0;i for (k=0;k<1000;k++){ for (j=0;j<100;j++){ ;} } } } void main(void) { WDTCTL = WDTPW + WDTHOLD; //disable watchdog delaySec(2); P1DIR = 0xFE; //set p1.6 as output,and P1.0 as input. P1OUT = 0x40; //p1.6 is pul
-
It wasn't compiling, that was the problem. I ended up downloading CCSv4 and it threw the same error. The path defined was weird because the windows account I was using is named "MOM & DAD" with spaces. Code Composer stopped looking when it saw the space after MOM so it couldn't find the file. I logged on to a different user account on my computer and that solved the problem. Thanks.
-
I am able to build the project, but it is not compiling. I think a ".out" file is supposed to be created somewhere but it isn't.
-
I got a TI launchpad and am trying to run one of the test programs they have on their wiki. I followed their walk through but when I debug I am getting an error. "MSP430: GEL: Encountered a problem loading file: C:\MSP430_LaunchPad\Labs\Lab2\Project-TS\Debug\Temperature_Sense_Demo.out Could not open file" I have tried making new projects in other directories. Tried the "Blink the LED" they give you. All to no avail.. I opened the debug folder and sure enough I can't find any .out files. I am sure there is a simple solution for this? Anyone know what's up?
-
Allright I tried throwing a pot on there and I couldn't get any gray squares to show up. This LCD from NewHaven, http://www.mouser.com/ProductDetail/New ... 2s1Q%3d%3d just has the contrast pin as a no connect. Could it be that the contrast for this other LCD is the same deal and that it is internally set? I am baffled as to why I cannot get this thing to work..
-
So, I thought that maybe I was just getting the contrast off on this thing. It's supposedly a 3.3v model so I hooked up an external power supply to Vo and raised the voltage to 4.2, 4.5, 4.8, 5.0 Still nothing. Am I supposed to see black bars or anything? The back-light is on but that's about all I can get. Any ideas would be so awesome.
-
So I made those changes and still cannot get the LCD to print any characters. Is there anything else obvious that I have done wrong or am missing?
-
Thanks Rob. It always seems obvious when someone else points it out to you. In addition to that error, the datasheet is for this LCD is wrong. It has Vdd and Vss flipped. Or maybe I have it flipped, but I thought traditionally Vdd was supposed to be your supply voltage while Vss was your ground. I now at least can get the LCD to put off light. I am now having trouble with getting the debugger to work, and I am going to talk to one of my professors tomorrow and see if he can help me troubleshoot the thing. Thanks again Rob. -Chase
-
I have a character display that I am trying to write to. I even got a 3.3v one because I thought it would be easier than trying to deal with one that needs 5.0volts. I set up a test blinky program on my msp430x2274 so I know I am getting my code onto the microcontroller but then when I try to run my program for the LCD, I get no response from the LCD. I have looked over my code and feel like it is pretty sound. It's mostly a rip off from some newhaven display sample code, but I did have to change it a little bit for it to work for me. This is the LCD I am using http://cdn.shopify.com/s/files/1
-
So I think I blew my triac switch. I ended up buying some new ones, breadboarded the thing up. And now it works wonderfully.
-
So this is what I did. However I can't get the light bulb to switch off. At first I thought something is wrong with the optocoupler (or the way I set it up) but even when I disconnect the gate of the triac (let it float) and plug in the circuit the light is on (actually with a floating voltage it's not that odd that the bulb is on, is it?) so maybe the way I have this optocoupler set up is wrong... I followed the exact schematic that is pictured on the optocoupler datasheet for common applications. I am still baffled...
-
Funny thing about that. At first when I was playing with it I had the leads of the triac confused and I had it hooked up to a little led. Well I started thinking I needed more power so I hooked my circuit up to the wall socket and blew up my triac mighty quick. I also blew the fuse on my function generator. I will take a second look at the datasheet, I thought I could trigger it with really small voltages but maybe i'm mistaken. Ideally I want to trigger it with an output port of my msp430 I think it should work. I am suprised that even with smaller voltages and currents I couldn't
-
So I got all these pieces and breadboarded it up to do some testing. I can't seem to get the triac (TO-220AB Insulated) nor the opto-coupler to do what I think it should. First I tried this: and when putting 5 volts across the anode/cathode I got nothing. So I tried to look at just the optocoupler. I put 7Vpp 60Hz across the two main terminals. And the voltage across the resistor is 0 and the voltage across the main terminals is 7 as expected. When I put 5 volts dc across the LED of the opto-coupler I thought the switch should close and allow the voltage across the two main termina
-
So do optoisolators have TRIACS built into them? So I need to buy a TRIAC/optoisolator combo correct? I have kiCad on my computer and wish I knew how to use it well enough to draw up a quick schematic to confirm how to integrate this optocoupler into my circuit. I have to have my buddy give me a crash course in kiCad sometime. Is there anything I need to know about opto-couplers when picking one out? It won't let me post off site URL's because I'm new. This is the TRIAC I was looking to use: digikey part # 568-1780-1-ND Now I am thinking of getting this: digikey part # 751-
-
I have a circuit that I need to develop. I want to add a switch to a 220v ac source and switch it on or off with an MSP430. At first I was intending to use a solid state relay. However, I could not find an SSR that could handle 220vac, and have a coil voltage low enough to be triggered by a micro-controller, and keep the circuit inexpensive. I then looked at using a TRIAC as a switch and I bought one and was messing around with it and I couldn't get it to work the way I thought it should (it was always closed, even when I thought the thing should be open. I may have destroyed it while trying t
-
I am an electrical/computer engineering student. In one of my classes they gave us a development board with a 430-f2274 and a bunch of buttons, leds, pots, an lcd screen etc. I got through the class with a lot of help and now I have a few projects of my own that I am working on and struggling to find how all the connections are made between the micro-controller and an lcd screen. I have a couple newhaven character displays that my teacher gave me when I told him what I was doing, but I am no way locked into that brand. Anyway this stuff is a little overwhelming for me at times. So that's