16labs
Posts: 1
Joined: Wed Oct 26, 2016 3:22 pm

Programming for Kids

Wed Oct 26, 2016 3:24 pm

We're just starting out and I'd like to know if there is an easy to learn, use, and deploy development platform that kids would be able to work with. My kids are beginning with Java and Python but looking for a "complete" solution to develop and deploy.

Basic goal of our first project is to read and display a temperature reading from a temperature censor. Possibly other censors too if the temperature goes well.

Thanks in advance!

W. H. Heydt
Posts: 10750
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Programming for Kids

Thu Oct 27, 2016 4:01 am

IDLE (on the Raspberry Pi) is, I believe, and IDE for Python.

jbudd
Posts: 948
Joined: Mon Dec 16, 2013 10:23 am

Re: Programming for Kids

Thu Oct 27, 2016 5:34 am

Take a look at Node-Red.
The user interface is a web page so it's immediately very familiar.
You drag inputs and outputs onto the screen and draw lines between them, click Deploy and it works straight away.
In the background it uses Javascript so as you and the kids learn you can make your own code and even share it with the world at flows.nodered.org


broe23
Posts: 903
Joined: Thu Jan 28, 2016 9:35 pm
Location: Central IL
Contact: Website

Re: Programming for Kids

Thu Oct 27, 2016 9:07 am

I was coding in Assembly when I was only 12. Python is really easy, so is C. It just depends on what exactly they are looking to do with their skills.
Ren: Now listen, Cadet. I've got a job for you. See this button? Ren: Don't touch it! It's the History Eraser button, you fool! Stimpy: So what'll happen? Ren: That's just it. We don't know. Maybe something bad, maybe something good.

MarkyV
Posts: 97
Joined: Wed Sep 21, 2016 1:52 pm
Location: Buckingham, UK
Contact: Website

Re: Programming for Kids

Thu Oct 27, 2016 10:05 am

I'm doing a series of Getting Started With Python for the Raspberry Pi - 2 episodes so far.
https://www.youtube.com/channel/UCFYRGu ... Y5LZVbP-WA
I will also be soon posting a Getting Started with the Sense Hat video that has a section on reading and displaying the temperature - hopefully get that finished and posted this weekend.

Hope that helps :)

Mark
My RaspberryPi Blog: http://thepimaker.online

zxs
Posts: 5
Joined: Thu Oct 20, 2016 9:03 am

Re: Programming for Kids

Thu Oct 27, 2016 12:10 pm

Take a look at these for Java programming language:

http://www.bluej.org/
http://www.greenfoot.org/door

texy
Forum Moderator
Forum Moderator
Posts: 5155
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Programming for Kids

Thu Oct 27, 2016 1:23 pm

broe23 wrote:I was coding in Assembly when I was only 12. Python is really easy, so is C. It just depends on what exactly they are looking to do with their skills.
I would recommend python or scratch, but to call c 'really easy', well - I must be really stupid :roll:

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

timrowledge
Posts: 1273
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Programming for Kids

Thu Oct 27, 2016 10:19 pm

Giving kids java surely counts as child abuse?

Start them with Scratch. Consider going on to Etoys. Possibly Python if you really insist on a quaint old-fashion dead-text language. Squeak Smalltalk if you want to do them some good.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

broe23
Posts: 903
Joined: Thu Jan 28, 2016 9:35 pm
Location: Central IL
Contact: Website

Re: Programming for Kids

Fri Oct 28, 2016 6:18 am

texy wrote:
broe23 wrote:I was coding in Assembly when I was only 12. Python is really easy, so is C. It just depends on what exactly they are looking to do with their skills.
I would recommend python or scratch, but to call c 'really easy', well - I must be really stupid :roll:

Texy
It depends on the kid. Some can pick up on C quicker than those who are using Python to do certain functions. It is a whole new world. If the kids of today are not taught how to develop apps for smartphones, tablets, including robotics in the classroom. We have a couple of schools in my state that the students are being taught how to use SBC's for controlling micro-controllers, robotics, etc..

If we do not teach them each layer of programming and how the different languages interface with each other to complete a task or such. Restricting them to just one programming language is going to dead lock them later on.

I grew up around programming languages, because my father had to code in C for the Unix system that they used when he worked for Ma Bell. I always had access to those like my father who started out with punch tape, punch cards. Then again he always loved to rub it in about having to deal with Magnetic Core Memory.
Ren: Now listen, Cadet. I've got a job for you. See this button? Ren: Don't touch it! It's the History Eraser button, you fool! Stimpy: So what'll happen? Ren: That's just it. We don't know. Maybe something bad, maybe something good.

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: Programming for Kids

Fri Oct 28, 2016 7:54 am

broe23 wrote:
texy wrote:
broe23 wrote:I was coding in Assembly when I was only 12. Python is really easy, so is C. It just depends on what exactly they are looking to do with their skills.
I would recommend python or scratch, but to call c 'really easy', well - I must be really stupid :roll:

Texy
It depends on the kid. Some can pick up on C quicker than those who are using Python to do certain functions. It is a whole new world. If the kids of today are not taught how to develop apps for smartphones, tablets, including robotics in the classroom. We have a couple of schools in my state that the students are being taught how to use SBC's for controlling micro-controllers, robotics, etc..
For the majority of beginners (not just kids) it's going to be best to start with something like Python, Ruby or Basic as it's much easier to understand the concepts and a lot of the complexity is hidden away (e.g. not having to deal directly with memory locations). That stuff can be introduced at a later stage once they've become interested. Starting with the likes of Python also means they can get some results quickly which keeps the motivation going.

Going back to the original question:
In terms of doing stuff with sensors on the Pi using Python on the raspbian os is probably the easiest place to start as there are lots of examples out there and some good libraries that just work. My preference is Ruby over Python but the libraries aren't always as good so can lead to more issues. Both Ruby and Python (and some other languages) will allow you to start off with something simple (read in a temperature and display it as a line of text) and gradually build up to a much larger system that could include a GUI and/or web interface, interact with remote sensors, keep a historical log etc.

tito-t
Posts: 298
Joined: Thu Jan 07, 2016 5:14 pm

Re: Programming for Kids

Fri Oct 28, 2016 8:02 am

hi,
@ 16labs :
maybe I missed that point - how old are the kids you're talking about?
- Tim

MarkyV
Posts: 97
Joined: Wed Sep 21, 2016 1:52 pm
Location: Buckingham, UK
Contact: Website

Re: Programming for Kids

Fri Oct 28, 2016 4:21 pm

I've posted the Sense HAT tutorial on my blog now : http://thepimaker.online/2016/10/28/get ... sense-hat/

Hope it helps :D

Mark
My RaspberryPi Blog: http://thepimaker.online

hooda
Posts: 2
Joined: Mon Oct 03, 2016 9:46 am

Re: Programming for Kids

Tue Nov 01, 2016 9:04 am

If you are looking for best tutorials (voted by the programming community) of Java and Python then you can try:
https://hackr.io/tutorials/learn-python
https://hackr.io/tutorials/learn-java

User avatar
B.Goode
Posts: 8238
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Programming for Kids

Thu May 16, 2019 8:58 am

Three years on, and those kids might be at work now...


This post was made in the first instance as a response to an apparent Spam link which has since been removed by a Moderator. I had no wish to resurrect the thread. But since I have unintentionally done that, the following advice might be relevant to anyone rediscovering the topic :

The Raspberry Pi Foundation have their own excellent resources such as Physical Computing with Python https://projects.raspberrypi.org/en/pro ... -computing, so it seems unnecessary to point users to third-party sites.



Edit history: modified after Moderator intervention to remove Necro/Spam. Unfortunately, the zombie necroed topic runs on...
Last edited by B.Goode on Thu May 16, 2019 9:28 am, edited 1 time in total.

jahboater
Posts: 4598
Joined: Wed Feb 04, 2015 6:38 pm

Re: Programming for Kids

Thu May 16, 2019 9:05 am

If you buy a HAT for the Pi, the chances are that the supplied software is in Python.

Return to “Beginners”