Raspberry Pi 3


Ian J

Advanced Member
Joined
Aug 27, 2010
Messages
1,880
Jane bought me one of these for Christmas and I'm loving tinkering with it.

I've set up a couple of MicroSD cards with emulators but I'm after some inspiration for what else to do.

Would really like to get into coding, can anyone recommend a book for the absolute beginner.
 
I put Ubuntu MATE 16.04 on mine, it runs very well and is essentially a full computer. I plan to install GitLab, and later on run a small multiplayer game server for some future projects.

For coding, it depends on what you'd like to make. Games, web stuff, small utility scripts? Any past experience you could build on?
 
I'd love to have a go at a game, something really basic like pong or breakout to start with to get the hang of moving graphics around, reading keystrokes keeping score that kind of thing.

Only experience I have was programming in basic on a BBC and Spectrum back in the day (yeah I know, don't laugh)
 
  • Like
Reactions: rSl
when your code is final and rockstable rockin', get a picade kit at the dragonbox-shop and make a tabletop arcade machine. :)
 
I'd love to have a go at a game, something really basic like pong or breakout to start with to get the hang of moving graphics around, reading keystrokes keeping score that kind of thing.
Sounds like a job for Python with the Pygame library, here are some links to get you started:

http://inventwithpython.com/chapters/
http://www.pygame.org/wiki/tutorials
https://learnpythonthehardway.org/book/

Everything you need is probably preinstalled on the Pi, so you're ready to go :)
 
If you're running Raspbien (or whatever they called it), then it should have Scratch on, which is a drag-drop programming language. Might be a place to start

I keep meaning to get stuff done with my Pis.
 
I have five pi`s. three pi3`s and two pi2`s. All but one are doing something interesting. The spare will go into my magic mirror
 
Sounds like a job for Python with the Pygame library, here are some links to get you started:

http://inventwithpython.com/chapters/
http://www.pygame.org/wiki/tutorials
https://learnpythonthehardway.org/book/

Everything you need is probably preinstalled on the Pi, so you're ready to go :)

Those are excellent links, thank you.


I have five pi`s. three pi3`s and two pi2`s. All but one are doing something interesting. The spare will go into my magic mirror

Care to share?
 
Both pi2`s are doing cctv motion work. One has a pinoir and IR lamps and the other is just a regular pi cam with a 4" touch screen on it. I set up pikrelcam for both ( excellent software )
Pi3 is running my Ikeatable top arcade machine and another pi3 is a dedicated Amiga one.
So I have a spare one going into a magic mirror :)
 
I think GLBasic compiles for the PI, I´m not sure how good it is though, I have only seen a few tests from forum members.
Since it is a basic language, it should be fine with your prior experience.
 
1 running kodi media center
1 running a stripped raspbian with SFTP server
1 as a piehole
 
For a coding book: Programming in Lua by Roberto Ierusalimschy
You can then switch to Löve.
 
I'd love to have a go at a game, something really basic like pong or breakout to start with to get the hang of moving graphics around, reading keystrokes keeping score that kind of thing.

Only experience I have was programming in basic on a BBC and Spectrum back in the day (yeah I know, don't laugh)

I learned programming on the Timex Sinclair 1000. This interactive instructional site covers the programming things you mentioned:

Program Arcade Games
With Python And Pygame
http://programarcadegames.com/
 
Many thanks to everyone for the links, I've been reading through them but been unable to do anything yet as my Pi power supply died and I'm waiting for a replacement.

I have been trying to put some ROMS on my SD card though and have hit a snag

I've been using a bootable image of Ubuntu to access the SD card but now it won't allow me to put anything on the card even though I can drag things from it fine.

I'm hoping there is Linux master that help me sort this out as I would like to get the card ready to go for when the power supply turns up.
 
Is your card write protected? Perhaps this is normal behavior for Live Ubuntu. Did you try with a fully installed OS?
 
I've now tried two SD cards, both write enabled (if you mean the little plastic tab)

I tried the Live method (successfully) as the files I wanted to transfer were large (Playstation ISO images and Amiga Hard Drive Partitions) and they worked fine.

I also used the live image to transfer over copies of my Amiga hard drive partitions (1GB, 2GB and 2GB) for use on a different SD card, that worked fine too.

I don't want to start installing a second OS on my current machine as it's used for business.

I just don't understand why I have used it on a few occasions without issue and now it's saying the cards are read only.
[doublepost=1484440248,1484438350][/doublepost]
Output of 'mount' typed inside a terminal with the SD card inserted would definitely help rule out a few good possibilities of where the problem lies.

Hopefully this will help:

Screenshot from 2017-01-15 00-25-02.png
 
Thanks, I think that rules out it being mounted as read-only - both partitions on the SD card seem to be mounted under /media/ubuntu read/write just fine. You could see if that switches to read-only after you try to install stuff to it, as it is configured to drop back to read-only if there's an error (it detects corruption or something), but so far it looks fine.
 
Back
Top