Try pseudo-code :
Open door
gpio write 6 0 # Disable motor
gpio write 4 1
gpio write 5 0
gpio write 6 1 # Re-enable
Close door
gpio write 6 0 # Disable motor
gpio write 5 1
gpio write 4 0
gpio write 6 1 # Re-enable
led
Search found 15 matches
- Mon Aug 17, 2020 6:28 am
- Forum: General discussion
- Topic: DC Motor doesn't spin anti-clockwise in Rpi using L298N
- Replies: 7
- Views: 320
- Mon Jul 13, 2020 5:35 am
- Forum: Raspberry Pi OS
- Topic: STICKY: Buster bug report thread
- Replies: 398
- Views: 105793
FreeCAD 0.18 crashes
FreeCAD 0.18 crashes on a Pi 4B 4G - Buster - 32 or 64 bit kernel. Same result on a Pi 3B+
From the opening screen...
Selecting 'File - New' or 'File - Open' results in a complete crash of the program (back to desktop).
FreeCAD 0.16 on Stretch OS runs ok on a Pi 3B+.
led
From the opening screen...
Selecting 'File - New' or 'File - Open' results in a complete crash of the program (back to desktop).
FreeCAD 0.16 on Stretch OS runs ok on a Pi 3B+.
led
- Mon Jul 06, 2020 8:27 am
- Forum: General discussion
- Topic: Mirror site problems
- Replies: 3
- Views: 169
Re: Mirror site problems
Thanks for the advice, however I think I am not making myself clear enough! I have used apt, apt-get AND synaptic. However the mirror site (raspbian.melbourneitmirror.net - 202.124.241.168) is not providing the software that apt requests, even though I can ping the site ok (while it is NOT sending m...
- Mon Jul 06, 2020 7:26 am
- Forum: General discussion
- Topic: Mirror site problems
- Replies: 3
- Views: 169
Mirror site problems
Using apt-get I am having big problems with my mirror site here in Melbourne Oz
Where is this configured, so that I may try other mirrors. Goggle wasn't much help
(although I never seem to be able to ask the right questions!)
TIA -- led
Where is this configured, so that I may try other mirrors. Goggle wasn't much help
(although I never seem to be able to ask the right questions!)
TIA -- led
- Tue Nov 01, 2016 9:30 am
- Forum: Off topic discussion
- Topic: Spinach leads to new version of the PI?
- Replies: 2
- Views: 1123
Spinach leads to new version of the PI?
Interesting news article... http://www.abc.net.au/news/2016-11-01/spinach-used-to-detect-explosive-materials/7983426 Which naturally leads to... A new version of the PI is coming, 50% larger in size. The extra "real estate" used for surface mount spinach! Still designing the water-cooling ...
- Sun Dec 27, 2015 6:42 am
- Forum: Bare metal, Assembly language
- Topic: Platform detection
- Replies: 14
- Views: 3568
Re: Platform detection
You can try some code like this... /******************************************************************* Defined elsewhere... unsigned int PERIPH_BASE; // Base address to add to Register offsets #define BASE_1 0x20000000 #define BASE_2 0x3f000000 // RaspberryPi B2 The 'else' code works out the model ...
- Mon Apr 06, 2015 8:14 pm
- Forum: Bare metal, Assembly language
- Topic: Contributions now welcome for Baking Pi
- Replies: 2
- Views: 1051
Re: Contributions now welcome for Baking Pi
Thanks for sharing your work with us. A truly amazing, almost Pi-fect, job. Best regards.
- Thu Mar 12, 2015 8:19 pm
- Forum: General discussion
- Topic: DietPi | Minimal Raspbian. Optional "ready to run" software
- Replies: 642
- Views: 273923
Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft
Just an update on busybox. A good exercise (in futility) but basically not worth the effort!
After replacing 200+ commands with busybox I saved only 10 MB of disk space.
Therefor busybox is probably only useful for SOCs with limited onboard flash memory.
Thanks again for the distro though.
After replacing 200+ commands with busybox I saved only 10 MB of disk space.
Therefor busybox is probably only useful for SOCs with limited onboard flash memory.
Thanks again for the distro though.
- Mon Mar 09, 2015 1:55 am
- Forum: General discussion
- Topic: DietPi | Minimal Raspbian. Optional "ready to run" software
- Replies: 642
- Views: 273923
Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab
Just loaded up a minimal installation - great job! I notice that you have not used busybox, is there a reason? With 347 commands in a 1MB file, should be good savings in size. I will start to replace commands with busybox and check savings (first cab off the rank is to add 'vi'). FYI: For anyone int...
- Fri Jan 30, 2015 7:41 pm
- Forum: General discussion
- Topic: Problem with sudo apt-get upgrade
- Replies: 33
- Views: 10654
Re: Problem with sudo apt-get upgrade
I had the same (similar?) problem with one of my B+ boards - the one with the Gertduino board installed. I have stayed out of this thread so as not to confuse matters. My problem I believe I caused by recently running raspi-config and deleting en_US and en_GB from the locales while keeping my en_AU ...
- Thu Jan 29, 2015 10:34 am
- Forum: General discussion
- Topic: Problem with sudo apt-get upgrade
- Replies: 33
- Views: 10654
Re: Problem with sudo apt-get upgrade
I have the same problem with one of my B+ boards. It currently has the gertduino board installed and whatever recommended software. Will find some time to try and track this down, unless someone else hasn't already. The kicker line is with dpkg: unable to make backup link of `./usr/share/i18n/locale...
- Mon Jan 26, 2015 8:16 pm
- Forum: Bare metal, Assembly language
- Topic: Bare metal programming - downloading programs
- Replies: 12
- Views: 4598
Re: Bare metal programming - downloading programs
I have set up a system, mainly using Dave Welch's code - modified. Currently I'm using it "pi2pi" where I use my mini-terminal program plus his downloader program to download, test and reboot WITHOUT pulling the SD card or powering on/off the bare metal pi. Some examples including gpio, sp...
- Tue Jul 22, 2014 11:13 pm
- Forum: General discussion
- Topic: Happy Pi Approximation Day!
- Replies: 10
- Views: 2507
Re: Happy Pi Approximation Day!
7/22 is an approximation of ip not pi
- Sun Jul 20, 2014 8:10 am
- Forum: General discussion
- Topic: Pi B+ won't shutdown? Tying pin 28 to GND seems to solve it
- Replies: 57
- Views: 15954
Re: Pi B+ won't shutdown? Tying pin 28 to GND seems to solve
Using that bootcode.bin ::
Both the Model A 256MB & the Model B 512 MB appear to behave as normal.
The Model B+ seems to have fixed the "proximity switch reboot" feature
including, as noted previously, return of the ten pulse shutdown sequence.
Both the Model A 256MB & the Model B 512 MB appear to behave as normal.
The Model B+ seems to have fixed the "proximity switch reboot" feature
including, as noted previously, return of the ten pulse shutdown sequence.
- Sat Mar 15, 2014 9:49 am
- Forum: General discussion
- Topic: hostapd.conf won't load wifi driver
- Replies: 7
- Views: 5237
Re: hostapd.conf won't load wifi driver
Try 'comment out' the driver line with a # in front.
The system should pick up the correct driver.
Works for me.
Rgds
led
The system should pick up the correct driver.
Works for me.
Rgds
led