Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/12/06 17:55
Read: times


 
#107180 - LCD problems
Responding to: ???'s previous message
At the moment when I turn my circuit on, it displays 'RPM: 00000_'. I'm not sure why the underscore is there.


That's probably the LCD's cursor. If necessary, it can be disabled by sending a different initiation sequence to the LCD at start-up. Instead of sending the LCD the 0Eh command, send it 0Ch. This will initialize the LCD with the cursor turned off.

When I cause a 1-0 transition on P3.4, nothing happens. I have simulated the code on Pinnacle 52 without any of the LCD code included and it seems to be doing what I want, so I have a feeling it has something to do with writing the RPM to the LCD.


Try this: If you have a LED on your circuit, have the microcontroller turn the LED on when the interrupt is triggered. This will allow you to verify that the interrupt is functioning as expected. If it isn't, you know you need to focus on the interrupt. If it's functioning ok, you need to focus on writing to the LCD.

Regards,
Craig Steiner


List of 28 messages in thread
TopicAuthorDate
Tachometer code with problems            01/01/70 00:00      
   have you tried to separate the elements?            01/01/70 00:00      
   LCD problems            01/01/70 00:00      
      from the left and from the right            01/01/70 00:00      
         Good point            01/01/70 00:00      
            I like the ideas so far...            01/01/70 00:00      
               Flashing cursor            01/01/70 00:00      
   underscore?            01/01/70 00:00      
   Set TR0 bit in TCON (TCON..4)            01/01/70 00:00      
      right there in "the bible" ch3 pg7): "TC            01/01/70 00:00      
         It works - well the software anyway...            01/01/70 00:00      
            ir does            01/01/70 00:00      
               I'm getting there...slowly            01/01/70 00:00      
                  the only problem with the sensor is that            01/01/70 00:00      
                     Personally            01/01/70 00:00      
                     How embarrassing...            01/01/70 00:00      
                     Noise pickup            01/01/70 00:00      
                        It's my own engine            01/01/70 00:00      
                           Averaging            01/01/70 00:00      
                              car rpm - mahmood            01/01/70 00:00      
                                 some links            01/01/70 00:00      
                                    much thanks            01/01/70 00:00      
   I've had some success...            01/01/70 00:00      
      not the points            01/01/70 00:00      
         Maybe not the points, but...            01/01/70 00:00      
            Screen the hall sensor.            01/01/70 00:00      
               Simple the better            01/01/70 00:00      
                  Hall vs Opto            01/01/70 00:00      

Back to Subject List