[Klug-general] Motor system on GPIO Raspberry Pi
Kevin Groves
kgroves at ksoft-creative-projects.co.uk
Mon Oct 21 17:45:31 UTC 2013
you should. cant remember if ive brought in my arduino tank....
On 21/10/13 18:07, Nathan Friend wrote:
> James - Raspberry Pi running a motor, demo at Klug please.
>
> Nathan.
>
>
> On Sun, Oct 20, 2013 at 8:50 PM, Paul Lenton <lentonp at gmail.com
> <mailto:lentonp at gmail.com>> wrote:
>
> Sorry, to clarify:
>
> Type "cd /home/pi/Desktop/Python\ programs" to make LXTerminal
> understand that there's a space in the path.
>
> I was typing the reply on my phone and hit send before I meant to,
> so thought I'd clarify =)
>
> Cheers
>
> On 20/10/13 20:45, james snyder wrote:
>>
>> Re: GPIO
>>
>> Some new students need help running a GPIO system on a model B
>> raspberry pi running Raspberian Linux, so I am forwarding this
>> message to our KLUG group mailing list on their behalf....
>>
>> "We have connected the motor and battery to the GPIO RPi .
>> We have saved a Python program (developed using the Python Shell)
>> in :
>> /home/pi/Desktop/Python programs
>> If we click on: Python programs, we see the file: motor.py
>>
>> The problem is
>>
>> when we open LXTerminal we type:
>> cd /home/pi/Desktop/Python programs (is where our motor.py is)
>> We get the error message
>> "No such file or directory"
>>
>> We have formatted another Raspberian SD Card from scratch.
>>
>> In order to make our motor to work we need to use LXTerminal to
>> find a directory where we have saved our file, and once we are in
>> the directory we have to run the command: sudo python motor.py
>> to start our motor but LXTerminal says "No such file""
>>
>> Without actually seeing the system, based on the above log,
>> any thoughts on what the problem is here?
>>
>>
>>
>> --
>> James Snyder
>> Telephone: +447914011154 <tel:%2B447914011154>
>> snyder.webmaster at googlemail.com
>> <mailto:snyder.webmaster at googlemail.com>
>> Skype Name: michael.james.snyder
>>
>>
>>
>> _______________________________________________
>> Kent mailing list
>> Kent at mailman.lug.org.uk <mailto:Kent at mailman.lug.org.uk>
>> https://mailman.lug.org.uk/mailman/listinfo/kent
>
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk <mailto:Kent at mailman.lug.org.uk>
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
>
>
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20131021/a53f6d59/attachment.html>
More information about the Kent
mailing list