Go to advanced search

by Orange
Thu Aug 22, 2019 5:27 am
Forum: Beginners
Topic: Can't install etcher.
Replies: 13
Views: 7363

Re: Can't install etcher.

I ran some tests on both SSD drives and SD Cards and 64K seemed to be the optimal block size for me. People can set it to whatever suits them but personally i didn't see any advantage in going to a bigger block size. I've improved the script a bit since I first wrote it, it does xz images as well no...
by Orange
Thu Aug 22, 2019 5:21 am
Forum: General discussion
Topic: WiringPi Download (not for Raspbian)
Replies: 26
Views: 1301

WiringPi Download (not for Raspbian)

I'd like to download wiringPi to build on Gentoo but git.drogon.net seems to be permanently down. I see it's on Github but that page says it's not the official page and I should download it from git.drogon.net Is it ok to download from the Github page or should I wait and see if Gordon's site comes ...
by Orange
Fri Aug 09, 2019 5:46 am
Forum: Beginners
Topic: Can't install etcher.
Replies: 13
Views: 7363

Re: Can't install etcher.

I don't think this is true: For most RPi users there is no point to have Etcher installed on the RPi. Because, as we all know, anybody who owns a RPi, also owns a 2nd, 3rd, 4th and more Pi's ;) Anyway, it doesn't matter as I've written my own script now which people are welcome to use: #!/bin/bash i...
by Orange
Sat Aug 03, 2019 12:32 pm
Forum: Beginners
Topic: Can't install etcher.
Replies: 13
Views: 7363

Re: Can't install etcher.

I'm also trying to install Etcher for Raspbian as I now use it as my main desktop but there doesn't seem to be a version for this platform. Strange that the Raspberry Pi Foundation recommend it!

There is a version for Debian but not sure how to access it. Apt install doesn't find the etcher package.
by Orange
Fri Jul 26, 2019 6:00 am
Forum: General discussion
Topic: SOLVED - This file seems to be an executable script
Replies: 0
Views: 245

SOLVED - This file seems to be an executable script

The one thing that's been really annoying me since trying to use my Pi 4 as a desktop machine is Shortcuts. Why are they so hard to create (well, easy when you know you have to do it in Terminal and can't do it from the desktop!), and when you finally manage to create a valid one why does it always ...
by Orange
Wed Feb 27, 2019 7:44 am
Forum: Staffroom, classroom and projects
Topic: Raspberry Pi for Primary School Children
Replies: 11
Views: 16297

Re: Raspberry Pi for Primary School Children

I don't know if this is any use to you but I wrote a simple scripting language aimed at primary school children which is very easy to install. The scripts can be very simple (just a few lines) but can do some complex things. This is an example script: # This script demonstrates multi-tasking. # # It...
by Orange
Fri Oct 07, 2016 7:20 am
Forum: Other projects
Topic: Floppy Drive Music
Replies: 14
Views: 13565

Re: Floppy Drive Music

Sorry, I should have given instructions on how to compile the above code. Paste the source code into a file called floppymusic.c using nano, then compile it using this command: gcc -o floppymusic -std=c99 -lwiringPi floppymusic.c This creates an executable file called floppymusic. To run it just typ...
by Orange
Tue Aug 11, 2015 10:31 am
Forum: Other projects
Topic: Floppy Drive Music
Replies: 14
Views: 13565

Re: Floppy Drive Music

Sorry for reviving this old thread, but while studying your source code, I noticed that you use the following formula to determine the delay between to motor pulses: /** * Frequency (in Hz) is converted to Floppy Delay using the formula: * 314000 / frequency = floppy delay * so middle A = 314000 / ...
by Orange
Mon Jan 05, 2015 11:43 am
Forum: Other projects
Topic: Floppy Drive Music
Replies: 14
Views: 13565

Re: Floppy Drive Music

Sorry about that, not sure how it happened. I've fixed the original code now so comments are correctly marked with /* ... */
by Orange
Thu May 22, 2014 6:55 am
Forum: Teaching and learning resources
Topic: Pioscript - A GPIO Scripting Language for the Raspberry Pi
Replies: 1
Views: 2734

Re: Pioscript - A GPIO Scripting Language for the Raspberry

After some excellent primary school feedback Pioscript has gone through some extensive changes and is now simpler to install, simpler to use (from the GUI) and includes some simplified instructions for people who are using a Pibrella. It can be installed by running the following two commands on your...
by Orange
Sun May 11, 2014 11:40 am
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3095

Re: Analog audio and hardware PWM

That's an interesting solution.
I tried it but still no joy. ALSA still hangs after I run it.
by Orange
Sun May 11, 2014 8:46 am
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3095

Re: Analog audio and hardware PWM

Ok, I tried: rmmod snd_soc_bcm2708_i2s rmmod snd_usb_audio rmmod snd_hwdep rmmod snd_bcm2835 rmmod snd_usbmidi_lib rmmod snd_seq_midi rmmod snd_seq_midi_event rmmod snd_rawmidi rmmod regmap_mmio rmmod snd_soc_core rmmod regmap_spi rmmod snd_pcm rmmod snd_page_alloc rmmod regmap_i2c rmmod snd_compres...
by Orange
Sun May 11, 2014 8:12 am
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3095

Re: Analog audio and hardware PWM

Thanks. I'll give that a try and let you know if it works.
by Orange
Sun May 11, 2014 6:24 am
Forum: General discussion
Topic: Analog audio and hardware PWM
Replies: 14
Views: 3095

Analog audio and hardware PWM

After I use hardware PWM I find I cannot get any sound out of the audio jack until I reboot the Pi. Does anybody know how to reset the audio without rebooting?
by Orange
Wed May 07, 2014 9:25 pm
Forum: General discussion
Topic: Sounds Music and GPIO together
Replies: 7
Views: 2464

Re: Sounds Music and GPIO together

Recording, playing back recordings and saving them to wav files is now all incorporated into pioscript. I just need to add the triggering and then I'll upload a new version of pioscript to github.
by Orange
Mon May 05, 2014 6:38 am
Forum: Teaching and learning resources
Topic: Pioscript - A GPIO Scripting Language for the Raspberry Pi
Replies: 1
Views: 2734

Pioscript - A GPIO Scripting Language for the Raspberry Pi

Watch a video demonstration of pioscript here: http://youtu.be/078fXcP3jSI Source available here: https://github.com/scott-vincent/pioscript Pioscript is a script interpreter for the Raspberry Pi that sits somewhere between ScratchGPIO and Python. It is aimed at primary school children who want to p...
by Orange
Mon May 05, 2014 6:11 am
Forum: General discussion
Topic: Pioscript - A GPIO Scripting Language for the Raspberry Pi
Replies: 1
Views: 482

Pioscript - A GPIO Scripting Language for the Raspberry Pi

Watch a video demonstration of pioscript here: http://youtu.be/078fXcP3jSI Source available here: https://github.com/scott-vincent/pioscript Pioscript is a script interpreter for the Raspberry Pi that sits somewhere between ScratchGPIO and Python. It is aimed at primary school children who want to p...
by Orange
Sun May 04, 2014 12:59 pm
Forum: General discussion
Topic: Sounds Music and GPIO together
Replies: 7
Views: 2464

Re: Sounds Music and GPIO together

I've done some tests with an old webcam (with built-in mic) plugged into a USB port on the Pi and I've got portaudio working with it fine. I can now record a 44.1 KHz mono sample using the portaudio library and can play it back in stereo using the sdl_mixer library. This is all from a C++ program. N...
by Orange
Fri May 02, 2014 5:42 am
Forum: General discussion
Topic: Sounds Music and GPIO together
Replies: 7
Views: 2464

Re: Sounds Music and GPIO together

Hi Kerry, I have now renamed my program pioscript and you can download it from here: https://github.com/scott-vincent/pioscript It will do the sound and servo part of your project but doesn't support microphone input although that sounds like a great idea for an enhancement. I was already about to t...
by Orange
Mon Apr 14, 2014 5:04 am
Forum: Other projects
Topic: Floppy Drive Music
Replies: 14
Views: 13565

Re: Floppy Drive Music

I'm not sure I understand what you're trying to do. The whole point of this project is that it uses the GPIO pins on the Pi. If you build and run the binary on a Windows machine how is it supposed to control the GPIO pins on the Pi?
by Orange
Thu Apr 10, 2014 10:04 pm
Forum: General discussion
Topic: Diorama Scripting Language
Replies: 5
Views: 1860

Re: Diorama Scripting Language

Hi Steve I definitley think its the word "diorama" :) I've never heard of it :) Also, lack of any link to try it out might also have some influence on lack of uptake :) Simon Ah, I posted the link for people to try it out on my other post here: http://www.raspberrypi.org/forums/viewtopic.php?f=63&t...
by Orange
Thu Apr 10, 2014 9:43 pm
Forum: Other projects
Topic: Floppy Drive Music
Replies: 14
Views: 13565

Re: Floppy Drive Music

What IDE did you use? I am getting a lot of compilation errors using CodeBlocks, and I have already specified the necessary dependencies for WiringPi libraries. The compilation errors I am getting are basic code logic/structure problems (infinite for loops, redefining variables, etc.) I didn't use ...
by Orange
Sun Apr 06, 2014 7:25 am
Forum: General discussion
Topic: Music on the Pibrella
Replies: 0
Views: 508

Music on the Pibrella

My wife bought 3 Pibrellas for her primary school and I'm impressed with how easy they are to use. They work really well with ScratchGPIO and the kids love programming them. I found that for playing songs through the buzzer ScratchGPIO was ok but wasn't brilliant (well it is a buzzer after all). I d...
by Orange
Mon Mar 31, 2014 5:29 am
Forum: General discussion
Topic: I made a Raspberry Pi smoke machine, oops!
Replies: 7
Views: 1925

Re: I made a Raspberry Pi smoke machine, oops!

accident? you overvolted the motor of a small toy racetrack motor so much that it started to smoke, ten seconds later you turned the voltage up a few notches higher, then to the max up, al the way you filmed yourself doing it. accident?! I couldn't tell! :roll: but it was amusing to watch while it ...
by Orange
Sun Mar 30, 2014 1:49 pm
Forum: General discussion
Topic: I made a Raspberry Pi smoke machine, oops!
Replies: 7
Views: 1925

I made a Raspberry Pi smoke machine, oops!

The ending is the best when the motor decides to run away! I panicked and pulled the wires!
That chunky transistor was nice and toasty after that!

https://plus.google.com/110265018208679 ... oBxsKrhVFr

Go to advanced search