Go to advanced search

by danpeirce
Tue Jan 08, 2013 3:12 pm
Forum: Teaching and learning resources
Topic: CAS Educational Manual: errata
Replies: 13
Views: 9380

Re: CAS Educational Manual: errata

On page 73 one is directed to use Idle3 which is fine for that page but when one continues to page 74 the import pygame produces an error. The simple solution is to exit from the python shell and this time use Idle (without the 3). Now the pygame examples work. Note that I tried doing an upgrade on...
by danpeirce
Tue Jan 08, 2013 3:00 pm
Forum: General programming discussion
Topic: Pygame
Replies: 10
Views: 3316

Re: Pygame

Python 3 is the future -- there is no further development on Python 2. However the decisions made in the changes between Python 2 and Python 3 seem to have irritated many developers and they have not moved over to 3 at all quickly. That means that a great many libraries, including Pygame, are only ...
by danpeirce
Tue Jan 08, 2013 2:16 pm
Forum: Teaching and learning resources
Topic: STICKY: Free Python Books / Tutorials
Replies: 58
Views: 98168

Re: Free Python Books / Tutorials

Computer Science With Python and Pygame 2nd edition Dr. Paul Vincent Craven http://cs.simpson.edu/cmsc150/ Originally posted by by bobba_dwj » Mon Apr 02, 2012 11:46 am Heading : This is an excellent book on Python by professorcraven » Mon Apr 02, 2012 1:51 pm Thanks for the mention of my book. The...
by danpeirce
Mon Jan 07, 2013 5:06 pm
Forum: Beginners
Topic: "Beginners" put off...
Replies: 297
Views: 36036

Re: "Beginners" put off...

The other thing I was going to say after reading though all these posts is that the one thing that truly astounds me is that anyone would still be promoting basic. I thought basic in the form of gw-basic was dead 20 years ago. One of the great things about Linux has always been the variety and qual...
by danpeirce
Mon Jan 07, 2013 1:36 am
Forum: Beginners
Topic: "Beginners" put off...
Replies: 297
Views: 36036

Re: "Beginners" put off...

The other thing I was going to say after reading though all these posts is that the one thing that truly astounds me is that anyone would still be promoting basic. I thought basic in the form of gw-basic was dead 20 years ago. One of the great things about Linux has always been the variety and quali...
by danpeirce
Mon Jan 07, 2013 1:16 am
Forum: Beginners
Topic: "Beginners" put off...
Replies: 297
Views: 36036

Re: "Beginners" put off...

Things will be much easier for beginners once starter packs are generally available and more complete education manuals become available. Considering I was not able to get my hands on my first Raspberry Pi until the end of July it seems to me things have developed very fast. Now new R-Pi's ship with...
by danpeirce
Sun Jan 06, 2013 8:24 pm
Forum: General discussion
Topic: 512MB -> IDE for C (Rasbian precompiled package)
Replies: 7
Views: 2464

Re: 512MB -> IDE for C (Rasbian precompiled package)

As a followup I came across Geany which seems to work nicely. It works fine on the older version 1 R-Pi.

I am keeping notes at
http://members.shaw.ca/danielpeirce/notes/geany.html (edited with updated URL since page moved)
by danpeirce
Sun Jan 06, 2013 7:02 pm
Forum: Teaching and learning resources
Topic: CAS Educational Manual: errata
Replies: 13
Views: 9380

Re: CAS Educational Manual: errata

On page 73 one is directed to use Idle3 which is fine for that page but when one continues to page 74 the import pygame produces an error. The simple solution is to exit from the python shell and this time use Idle (without the 3). Now the pygame examples work. Note that I tried doing an upgrade on ...
by danpeirce
Mon Oct 22, 2012 3:18 am
Forum: General discussion
Topic: Killer App for the Pi?
Replies: 8
Views: 6222

Re: Killer App for the Pi?

I don't normally think that way but I thought I'd answer anyway. The Raspberry Pi is the easiest and least expensive route I have seen for adding remote access and mass storage to simple Microchip PIC18 projects. This by itself should justify the cost for us (this is what I am thinking). I have not ...
by danpeirce
Fri Oct 19, 2012 12:50 am
Forum: General discussion
Topic: 512MB -> IDE for C (Rasbian precompiled package)
Replies: 7
Views: 2464

Re: 512MB -> IDE for C (Rasbian precompiled package)

There is no chance emacs will be used in our existing course regardless of the arguments for it. The students are learning to use C to interact with the real world via the ADC, timers and GPIO of a MCU. Maybe they will get some basic git. As far as the RPi goes (as I see things) it is just adding gr...
by danpeirce
Thu Oct 18, 2012 10:25 pm
Forum: General discussion
Topic: 512MB -> IDE for C (Rasbian precompiled package)
Replies: 7
Views: 2464

Re: 512MB -> IDE for C (Rasbian precompiled package)

I have three Raspberry PI's but got the last two just a couple of weeks before the upgrade announcement. I don't think I will get any more for a while (so for myself my projects will be compiled at the command line for now). If I start getting some real positive feedback about this NetBeans working ...
by danpeirce
Thu Oct 18, 2012 7:45 pm
Forum: General discussion
Topic: 512MB -> IDE for C (Rasbian precompiled package)
Replies: 7
Views: 2464

Re: 512MB -> IDE for C (Rasbian precompiled package)

Well I quite open to different possibilities. For seven years we have had a course where the students did C programming for PIC18 devices using MPlab C18 and MPlab IDE. I'm thinking it may be good to have some projects in which they could possibly add a Raspberry Pi for remote access. They could als...
by danpeirce
Thu Oct 18, 2012 6:39 pm
Forum: General discussion
Topic: 512MB -> IDE for C (Rasbian precompiled package)
Replies: 7
Views: 2464

512MB -> IDE for C (Rasbian precompiled package)

So now that new Raspberry Pi's are going to have 512MB RAM if this will reasonably broaden the possibilities for precompiled Raspbian Packaged IDE's for C?
by danpeirce
Sun Oct 14, 2012 6:17 pm
Forum: For sale
Topic: Solarbotics to sell Acrylic Raspberry Pi enclosure
Replies: 38
Views: 16297

Re: Solarbotics to sell Acrylic Raspberry Pi enclosure

I am very happy with this sturdy case. Now I have also tried a pi sandwich from Bud industries which has turned out to be a disappointment. It has internal tab supports that seem likely to break if one is not extremely careful with cables. The Solerbotics Raspberry Safe is far more rugged and a bett...
by danpeirce
Sun Sep 23, 2012 7:02 pm
Forum: General discussion
Topic: LaTeX on RPi
Replies: 9
Views: 13591

Re: LaTeX on RPi

My RPi is installing texlive at the moment. I have not used LaTeX much yet but it is on my windows PC. I'm thinking it will be handy having it run on the RPi and accessible remotely from my other devices.
by danpeirce
Tue Sep 18, 2012 3:38 pm
Forum: HATs and other add-ons
Topic: Adafruit Prototyping Pi Plate Kit?
Replies: 9
Views: 5773

Re: Adafruit Prototyping Pi Plate Kit?

I received a Pi Plate but have opted to start out just with some jumpers, a breadboard and a PIC running at 3.3 V.

Image

Notes at:
http://members.shaw.ca/danielpeirce/not ... c_led.html (edit -- update to URL since page moved)
by danpeirce
Thu Sep 06, 2012 6:26 am
Forum: Automation, sensing and robotics
Topic: DHT Humidity Sensing - Raspberry Pi with Google Docs logging
Replies: 63
Views: 55648

Re: DHT Humidity Sensing - Raspberry Pi with Google Docs log

adafruit wrote:stay tuned, we have a few hundred tutorials on the way... :)
I am curious about the Google doc's side of the project using the python package. Can you point out where we can find more documentation on that? Any security issues?
by danpeirce
Tue Sep 04, 2012 12:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 154934

Re: FTDI USB Serial Hangs

I am finding I am having the same issue of the rpi hanging if I open and close /dev/ttyUSB0 several times. In my case it is a PHP page that is accessing /dev/ttyUSB0. It typically works fine six or more times then hangs (so far as I can tell with a headless setup). On the other hand ... I don't see...
by danpeirce
Thu Aug 30, 2012 9:45 pm
Forum: HATs and other add-ons
Topic: Edimax EW-7811UN wifi & power
Replies: 7
Views: 3459

Re: Edimax EW-7811UN wifi & power

I don't understand the references to fuses. In my simplistic world, if a fuse trips then it has to be replaced or reset. So, what happens in the Pi? The raspberry pi contains surface mount versions of resettable poly fuses which have some resistance even before they trip. If the current gets too hi...
by danpeirce
Thu Aug 30, 2012 5:50 am
Forum: HATs and other add-ons
Topic: Analog temperature sensor- TMP36
Replies: 5
Views: 14084

Re: Analog temperature sensor- TMP36

There is no analog input among the GPIO pins on the R-Pi. You could resort to using a DAC perhaps with a SPI output that could connect to the header pins. I had a look at the datasheet for you device. Looks like the Max output current is too small to connect directly to a typical sample and hold ADC...
by danpeirce
Wed Aug 29, 2012 6:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 154934

Re: FTDI USB Serial Hangs

I am finding I am having the same issue of the rpi hanging if I open and close /dev/ttyUSB0 several times. In my case it is a PHP page that is accessing /dev/ttyUSB0. It typically works fine six or more times then hangs (so far as I can tell with a headless setup). On the other hand when I am using ...
by danpeirce
Wed Aug 29, 2012 1:27 am
Forum: HATs and other add-ons
Topic: Adafruit Prototyping Pi Plate Kit?
Replies: 9
Views: 5773

Re: Adafruit Prototyping Pi Plate Kit?

As for connecting directly to the GPIO - there is no real magic to it. Just follow basic precautions, make sure you're connecting to 3.3v devices, or use level shifters for anything else, if appropriate. e.g. you can signal to 5V logic without any issues, as long as a 5v circuit doesn't send back t...
by danpeirce
Tue Aug 28, 2012 4:58 pm
Forum: HATs and other add-ons
Topic: Adafruit Prototyping Pi Plate Kit?
Replies: 9
Views: 5773

Adafruit Prototyping Pi Plate Kit?

Has anyone used this kit? Any comments about it? http://adafruit.com/products/801 I am quite reluctant to attach directly to the GPIO header (given I have only one R-Pi and my spare will not arrive before October) but I am thinking with this board I can add a buffer for the UART and test the circuit...
by danpeirce
Mon Aug 27, 2012 5:44 am
Forum: General discussion
Topic: USB peripherals, performance and power management
Replies: 7
Views: 3660

Re: USB peripherals, performance and power management

If schools get the kit with the power supply as Gert had suggested above then schools should not need to splice a solution together. I think primary students all ready get lots of time with a word processor. It would be. nice and in my opinion better if they used the raspberry pi to teach some pytho...
by danpeirce
Sun Aug 26, 2012 4:13 pm
Forum: Staffroom, classroom and projects
Topic: Why Pi when you can just run Linux?
Replies: 98
Views: 20047

Re: Why Pi when you can just run Linux?

{snip}.... Hence why have Pi when you can write it in Linux (I am trying to figure out how many languages I can squeeze in my worn out brain ). Thank in advance Feel free to comment now(insults are fine too :), at this point any feedback I can use, or later I will be able to ask more specific quest...

Go to advanced search