Having issues with this code
pilot00
Posts: 30
I am having issues with this code. I am attempting to use the Ping sensor and simply simulate a tracked robot to go forward and stop a particular distance from an object, reverse, turn right and left then go forward again.
I have the lcd in place and am also using the serial terminal to monitor the simulation. After a couple of passes in front of the ping sensor, the lcd goes out and the
code stops.
Anybody got any ideas as to what I am missing?
The code is attached.
Post Edited By Moderator (Joshua Donelson (Parallax)) : 4/2/2009 9:17:57 PM GMT
I have the lcd in place and am also using the serial terminal to monitor the simulation. After a couple of passes in front of the ping sensor, the lcd goes out and the
code stops.
Anybody got any ideas as to what I am missing?
The code is attached.
Post Edited By Moderator (Joshua Donelson (Parallax)) : 4/2/2009 9:17:57 PM GMT
spin
562B
Comments
Could this be a simple hardware problem such as low voltage under load when running off batteries or a small power supply?
Perhaps if you added an LED indicator to the supply and even measured it when it failed.
BTW, in general we are not forum Nazis but we will summon the Gestapo if you fail to add a subject line to your post
*Peter*
Regards,
John Twomey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
Those who can, do.Those who can’t, teach.
I am using a seven volt power supply that was suggested by the tech guys at Parallax and will check the voltage.
Three servos from Parallax are onboard, lcd screen and the Ping. I will look at the total current also.
Thanks
Just go and edit your first post. That's the one that holds the title meta-data. The icon is at your upper right.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Wiki: Share the coolness!
Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
Safety Tip: Life is as good as YOU think it is!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i@arrl.net
The name is Polish but my mother is German.
Perhaps I needn't summon the Gestapo then? I will just summon my mother
Ich kann verstehen mehr als ich sprechen
*Peter*
Post Edited (Peter Jakacki) : 4/2/2009 2:08:27 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
Das ist besser als mehr sprechend, als Sie verstehen!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering