WikiWirral is where great friendships are made.
Forum Stats
12448 Members
65 Forums
73742 Topics
996690 Posts
72 posts in the last 24hrs
Max Online: 7831 @ 8th Apr 2013 4:18pm
Who's Online - Click Me
68 registered (alan128, 14 invisible), 1293 Guests and 272 Spiders online.
Key: Admin, Global Mod, Mod
Social Media : Follow Us


(Views 7days)This Weeks Most Read
John Lewis advert 1198
The EU and us. 845
Insecure sites. 551
What is your Daily Exercise ? 361
Is this crime against humanity 315
Games for children 300
Cheap body repair / painting local? 271
Wanted Wii consul 234
Travelling Bus and Train Which Tickets? 205
Replacement Key Fob casing 197
New General Forums
Telephone Caller Alert - they are NOT BT BROADBAND
by Laraine
Today at 06:04 PM
Are you a Mathematician ?
by granny
15th Nov 2017 8:59am
Poor Bruce
by diggingdeeper
15th Nov 2017 1:15am
Charity fishing match
by paul110180
14th Nov 2017 8:03pm
New Wirral History
Downloadable oldwirral pdfs
by derekdwc
9th Oct 2017 12:26pm
Forum Tips
Photo Gallery Forums
Empty for years. Waste.
clipper yachts arriving for round the world race
Topic Replies
Charity fishing match
by paul110180
1 second ago
where to get cheap carpet
by venice
1 minute 53 seconds ago
Charity fishing match
by paul110180
4 minutes 4 seconds ago
John Lewis advert
by _Ste_
14 minutes 36 seconds ago
What song are you listening to?
by Dilly
Today at 07:42 PM
Are there any doctors or nurses on here.
by granny
Today at 07:39 PM
Gibson House
by snowhite
Today at 07:11 PM
Games for children
by granny
Today at 06:59 PM
The EU and us.
by diggingdeeper
Yesterday at 09:05 PM
November
M Tu W Th F Sa Su
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Recent Posts : What's On ?
The Lanterns at Chester Zoo
by granny
Yesterday at 01:05 PM
bonfire night
by snowhite
3rd Nov 2017 5:40pm
Topic Options
Rate This Topic
#1026599 - 30th Nov 2016 9:27pm Raspberry Pi in the classroom!
FelixCowden Offline
Newbeee

Registered: 26th May 2016
Posts: 19
Loc: Toronto

Top
Google Ads
#1026623 - 1st Dec 2016 6:05pm Re: Raspberry Pi in the classroom! [Re: FelixCowden]
Excoriator Online   content
Forum Addict

Registered: 21st Jan 2010
Posts: 1151
Loc: wirral
I'm less enchanted by these things. They are enormously complicated - driving a screen display or even a USB link is not a simple task - and the children are working not on the hardware itself but on a software platform that is running on it. They would do as well doing it on a PC. There is no additional 'learning' content in a miniature version of a PC.

Far better I reckon to provide them with a plug-in breadboard and a microcontroller chip. These are the little self-contained microprocessors that are used for controlling washing machines and many other domestic appliances. Although you can make them drive a small display, they are better doing things like reading the state of switches and switching on LEDs or small motors. They contain processor, memory, data registers, input and output for digital or analogue signals and are ideal if you want to build a small wheeled robot, say.

The advantage is that they can be programmed very easily using assembly language which is extremely easy to learn - only about 20 or thirty instructions need to be learned, and you are in complete control of how data is being moved about the chip and gain an excellent idea of what computers actually do. This is all invisible if you are using a Raspberry Pi for instance.

They are also dirt cheap, like 50p each, will run from a couple of batteries, and with a few switches and LEDs you can start doing things with them. You do need a PC to program them, but many classrooms have these. All the software you need is free.

I am currently using one to operate a small stepper motor and do some other things for a personal project, and use 'C' to write the program rather than assembler, but that is because I know the language.

My point is that if you want to teach children what goes on in a microprocessor chip, you need one that is not too complicated, and you don't want to remove them too far from the hardware either. The Raspberry Pi and the Arduino both fall into this trap.

Learning to write programs in a high-level language like Python is of doubtful educational use. You may think what I am suggesting is boring, but you have not seen the delight of a child who has successfully caused an LED to flash and knows exactly how it was done, and begins to realise the potential of these simple devices.

Top
#1026625 - 1st Dec 2016 6:20pm Re: Raspberry Pi in the classroom! [Re: FelixCowden]
diggingdeeper Offline

Wiki Master

Registered: 9th Jul 2008
Posts: 10788
Loc: Birkenhead
Its one of those things you can argue either way, it should be lower level, it should be higher level etc

What they have got is a highly versatile machine that can do all levels (including assembly).
_________________________
In a time of universal deceit - telling the truth is a revolutionary act. George Orwell

When the debate is lost, slander becomes the tool of the loser. Socrates

Top
#1026627 - 1st Dec 2016 6:33pm Re: Raspberry Pi in the classroom! [Re: Excoriator]
FelixCowden Offline
Newbeee

Registered: 26th May 2016
Posts: 19
Loc: Toronto
I do agree, and i think microcontroller use in a classroom would fall into three categories:
  1. Advanced High school Computer class
  2. Used by primary school teacher, as a demonstration/introduction
  3. Rigidly structured class module for middle school students

Top
#1026642 - 2nd Dec 2016 12:01am Re: Raspberry Pi in the classroom! [Re: FelixCowden]
Excoriator Online   content
Forum Addict

Registered: 21st Jan 2010
Posts: 1151
Loc: wirral
Nonsense.

Microcontrollers are easy to use. Much easier than the Pi where the unfortunate student is stuck on top of a tottering pile of software and has little clue as to what is really going on at machine level.

The idea that a computer MUST have a brightly coloured screen is a nonsense for a start, as is the idea that before any student can do anything, there has to be a text editor with copy and paste facilities. The reason that Sinclair's machine with its wobbly keys and dodgy power unit was so popular was that it was simple to write low-level code for it and get reasonable games running on it.

Youngsters managed all sorts of clever stuff on it.

It seems to me that much computer science these days seems to consist of learning how to write code in high level languages which remove a lot of the detail of how the data is actually manipulated. I came across a fine example of this some years back in a - very expensive - program which was supposed to calculate how many spare equipments you needed to have, given the number in service, their failure rate, and the level of reliability you needed. It worked OK for small numbers, but as the numbers increased it gave increasingly crazy results. At one point, the more equipments you deployed, the fewer failures you could expect! Nutty! It was, however, gorgeously presented with all sorts of windows and scroll bars and pop-ups.

It turned out that these calculations involve the ratio of factorials which are in themselves huge numbers. The programmer had gaily written a program that computed - say - 100! (or 100x99x98x...x2x1) directly, leaving it to the compiler to sort out how to handle the resulting enormous number. It didn't of course, and the result was nonsense. A colleague and I rewrote the offending bit in assembler using a strategy that kept the ratio of these factorials to a reasonable level and it worked fine.

When I phoned the company and told them of the problem, they tried to blame the compiler and said they intended to take it up with them! (Good luck with that one, I thought as I hung up!) They were a young company and had probably all been educated in what passes as computer science these days.

Had they ever done any low-level work it would not have happened. Not only is it easier to teach if you start with the basics, it gives better results in the end.

Top
#1026646 - 2nd Dec 2016 1:19am Re: Raspberry Pi in the classroom! [Re: FelixCowden]
diggingdeeper Offline

Wiki Master

Registered: 9th Jul 2008
Posts: 10788
Loc: Birkenhead
A Raspberry Pi is only a glorified microcontroller, a risc processor with a load of IO stuck on it.

Very little programming doesn't involve a GUI, the old skill set of writing fast code in minimum space is very limited.

I'm a die-hard old fashioned programmer, I've written far more programs in assembly than any language, but what is the use of assembly now? Its all about libraries and object orientated stuff, repeatedly writing everything in assembly is inefficient, libraries are only another name for a language (or pseudo-language if you wish).

I punched paper-tape by hand (literally with a single hole punch and hammer), there is no need to go back to the roots. It was valuable at the time, its not now. It wasn't efficient then and its not efficient now.

The biggest market for programmers by far is in internet programming followed by data processing/analysis, that is where the job vacancies are, that is where the money is.

The jobs are in C++ or HTML(and its associations), JAVA may have more applications running than anything else but a relatively small number of programmers.

Got to admit I avoided microcontrollers as getting my head around a 14 bit architecture on an 8 bit bus didn't seem to make any sense to me when I was looking at code level, I don't think I ever got round to switching my PIC development board on. Give me a 6521 or a Z80 pia any day.

These days I'm happy doodling with PHP, a beautiful and totally insane conglomeration of the best and worst of many other languages - but I do miss my assembly, I load up emulators sometimes just to have a play like the old days.
_________________________
In a time of universal deceit - telling the truth is a revolutionary act. George Orwell

When the debate is lost, slander becomes the tool of the loser. Socrates

Top
#1026662 - 2nd Dec 2016 10:32am Re: Raspberry Pi in the classroom! [Re: FelixCowden]
Excoriator Online   content
Forum Addict

Registered: 21st Jan 2010
Posts: 1151
Loc: wirral
I like Pascal best for what I am interested in, but I consider programming a tedious and uninspiring business. Calling it 'software engineering' irritates me too. The important thing about any engineering design is the ability to give provable and testable guarantees of its strength or performance - the load capacity of a bridge, or the bandwith of an amplifier etc. then labelled 'features' and the work is shipped. That isn't engineering. It is 'contrapting'.

Having read lots of them, I still think the best book on computers and how to program them is Donald E Knuth's "The art of Computer Programming" in which he defines an arbitrary instruction set - a pseudocode language if you like - which he uses in the book to illustrate various methods of doing things like sorting or multiplying etc. with an analysis of their speed and memory usage etc. You can relate them directly to microcontrollers using assembly language, but high-level languages like C or Pascal obscure it, and the result is often rather inefficient in terms of its size and speed.

I think 'horses for courses' is important in choosing what processor you are going to use. A PIC is pretty perfect for my current application, but I wouldn't attempt to use it for probabilistic primality testing of a thousand digit prime for instance. Arguing about what it the 'best' microprocessor is a bit futile, therefore. I use C, a language that doesn't suit me well, because it is there and free, and if you are not too bothered about its performance it is quicker to write than assembler. I use assembler if I want speed or fine control of the machine, and link the two.

As to what is the most 'saleable' skill, I don't think that should have much if anything to do with education which should not be primarily organised for the benefit of industry. If you have a good grasp of what the machine is capable of learning a high-level language is pretty easy to pick up anyway. In my case I am retired and it's a fun activity, so I am unconcerned about its saleability.

My main point is that if you want to teach kids, you should use the simplest possible form of processor. As Turing showed, they are all equivalent, and if you can get your head round the simplest of them (In his case the UTM) then you can understand ALL computers. It might be better if such a simple processor were to be designed for kids to learn on. Teaching them a high-level language on a system equipped with quite sophisticated facilities like Ethernet, USB, and a graphics driver strikes me as exactly the wrong way to go about it.

Top
#1026675 - 2nd Dec 2016 3:16pm Re: Raspberry Pi in the classroom! [Re: FelixCowden]
diggingdeeper Offline

Wiki Master

Registered: 9th Jul 2008
Posts: 10788
Loc: Birkenhead
That was funny, I deleted a paragraph before I posted, in it declaring Pascal as one of my least liked languages, then your first few words mentioned it.

I never fully understood why C became so popular, its a fairly simple language to write code (apart from a few anomalies) but not so easy to read, when debugging a 3rd party C code I've sometimes had to look as the assembly language.

I've probably spent more than half of my programming life debugging other peoples' code and see languages in a different light.

I'm glad the schools have gone adrift from the plethora of turtle graphics stuff, while its a good concept for primary schools I always thought it a bit repetitive for secondary pupils. It gives an insight to "pure" programming (ie a series of steps) but it almost completely obliterates the real world stuff such as storage.

I thought education was mostly about preparation for jobs, it wouldn't be much use teaching students wheel-tapping but would be great to have them see and use inductive, ultrasonic or dye crack detection. Its also more motivating if they can see a reason/outcome for what they are learning, "pure" subjects can result in glossy eyes far too quickly.
_________________________
In a time of universal deceit - telling the truth is a revolutionary act. George Orwell

When the debate is lost, slander becomes the tool of the loser. Socrates

Top
#1026720 - 2nd Dec 2016 11:32pm Re: Raspberry Pi in the classroom! [Re: FelixCowden]
Excoriator Online   content
Forum Addict

Registered: 21st Jan 2010
Posts: 1151
Loc: wirral
I like Pascal because it is easy to read and remember. I can pick up pascal units, functions and procedures that I wrote 20 or more years ago and they still make sense. I can't do that with C.

I have a load of routines for manipulating very large numbers, representing them, performing arithmetic on them, exponentiating them modulo another large number and so forth that I wrote years back on a VAX machine and am still using - unchanged - on a PC.

As a teenager, I got a summer job one year in STC helping to design crystal filters. I think I learned more about both filters and transmission theory in six weeks than I did in years at university! One day, I was asked if I'd like to help out working nights on a thing called a computer at Cardiff University, running some elliptic filter calculations. It paid a penny an hour more so I did that. The machine was huge and slow. It was also unreliable and prone to mains-borne noise. The University charged more for night use as it worked better then. Even so, we had to run each calculation several times to get a consistent answer! All assembler by the way. No TV screens - horrible clanking electromechanical telex terminals!

Algol had just been written then, but I've never used it. A good PASCAL program is a joy to read, like a mathematical proof. Logical and easy to follow.

I disagree fundamentally that education is anything to do with jobs. It is about encouraging students to pursue their interests to the limits of their abilities. Who is to say, for instance, that music - or the arts in general - is less important to the economy or the individual than engineering. The arts certainly earn a load of foreign exchange in music, television, advertising, books etc. All strongly arts based. You need to pursue your personal star, not study something you hate because it will get you a 'good' job. There is nothing worse than spending decades dragging yourself day in day out to a job you loathe!

I'm not a programmer by enthusiasm, training or inclination. It is just that I've had to use it over the years to solve problems and to implement functions less expensively than designing hardware to do it. As a skill I have little respect or liking for it. It seems to me to be largely a matter of training yourself to follow someone else's ideas and it generally doesn't work very well. There are almost no programs which don't experience 'crashes'. I am actually baffled as to why politician seem to think it so important to teach our children 'coding'. Perhaps its just that politicians are generally clueless about technology, and don't know what they are talking about, but surely that can't be true. Can it?

Top
#1026724 - 3rd Dec 2016 12:45am Re: Raspberry Pi in the classroom! [Re: FelixCowden]
diggingdeeper Offline

Wiki Master

Registered: 9th Jul 2008
Posts: 10788
Loc: Birkenhead
I'll have to have another look at Pascal, apart from helping a uni student with his project the last time I looked at it was back in the CP/M days.

I love what schools are doing in design technology, with all the laser cutters, 3D printing and suchlike, design will be a growth industry creating opportunities for techies and artists. It can't be long before you will be able to order domestic appliances (TV's etc) in the size you want instead of the preset sizes they produce.

Didn't realise that STC actually produced crystal filters, I always assumed they were badged. I'm fairly sure I've still got a few 5 pole and 7 pole STC 10.7MHz filters stashed away somewhere, I used them to modify receivers for weather satellite use.
_________________________
In a time of universal deceit - telling the truth is a revolutionary act. George Orwell

When the debate is lost, slander becomes the tool of the loser. Socrates

Top
#1026754 - 3rd Dec 2016 11:04pm Re: Raspberry Pi in the classroom! [Re: FelixCowden]
Excoriator Online   content
Forum Addict

Registered: 21st Jan 2010
Posts: 1151
Loc: wirral
Pascal is really nice and easy to understand. Consider:

index, total : integer;

total := 0;

for index = 1 to 10 do
total := total + index;


I bet anyone - with no experience of the language - could work out that this is summing the numbers from one to ten. Compare it with the 'C' equivalent! You can, by the way, download the object-oriented version of Borland Turbo Pascal as 'Delphi' for free. It's quite sophisticated, despite being sustained these days by enthusiasts.

As to STC's crystal filters, I doubt if it is still doing them, even if the company still exists. They were, in the late 1950s, primarily a cable manufacturer, and this led them into developing frequency division multiplexing equipment. I worked in a transmission lab attached to a cable factory in Newport, South Wales, and was fortunate in falling under the wing of an engineer who was keen to get back into education and was as keen to teach me the theory as I was to learn ikt. He later left and went back to university as a lecturer. I think STC became part of ITT shortly after.

By today's standards, they were primitive times. I recall an instrument about five feet tall that you wheeled about the lab. It was a frequency counter! The display consisted of perhaps eight moving coil meters with the scales labelled one to nine - there were no numerical displays at the time! These days frequency counters are the size of your phone!

I also recall my walking about a mile from the factory with my adopted tutor to the bus station. One evening, I noticed him moving rather slowly and more stiffly. He soon started sweating profusely as we walked along, and I got quite worried about him. He said he would be OK once he got to the bus station toilets, and he shot in when we got there. I noticed he had put on quite a bit of weight as he went in. He emerged shortly after grinning broadly and looking much slimmer and carrying a large coil of TV coaxial cable - which was made at the factory. He explained that they had acquired a TV set - pretty rare then and expensive - but couldn't afford the cable! He had smuggled it out wrapped around his waist and the extra weight and thermal insulation had damn nearly done for him!

Top
#1026774 - 5th Dec 2016 11:13am Re: Raspberry Pi in the classroom! [Re: FelixCowden]
Gibbo Offline
Forum Addict

Registered: 27th Dec 2010
Posts: 1833
Loc: Oxton
A very old article. The Pi has been and gone. Its now the Micro Bit.

https://www.microbit.co.uk/

To be honest its not brilliant.

Top
#1026775 - 5th Dec 2016 11:17am Re: Raspberry Pi in the classroom! [Re: Excoriator]
Gibbo Offline
Forum Addict

Registered: 27th Dec 2010
Posts: 1833
Loc: Oxton
Originally Posted By: Excoriator
The reason that Sinclair's machine with its wobbly keys and dodgy power unit was so popular was that it was simple to write low-level code for it and get reasonable games running on it.


And price. Clive Sinclair wanted to be the first to market a 99 machine.

Micro Men is an absolutely brilliant programme of the computer wars at the time:

https://www.youtube.com/watch?v=XXBxV6-zamM

Top

Moderator:  Mark 
Random Wirral Images

Click to View Topic.
Newest Topics
Games for children
by granny
Today at 01:35 AM
Are there any doctors or nurses on here.
by granny
Yesterday at 11:52 PM
Bath Lifts
by locomotive
Yesterday at 06:22 PM
Anyone read this ?
by venice
Yesterday at 03:22 PM
The Lanterns at Chester Zoo
by granny
Yesterday at 01:05 PM
For Sale & Free
where to get cheap carpet
by mickturner
Today at 04:24 PM
White radiator single panel 1400 x 600 - good cond
by gerrymoore
Yesterday at 09:16 AM
Samsung Galaxy S7 Titanium Silver + Extras
by j_demo
15th Nov 2017 7:29pm
Vaping set
by paul110180
15th Nov 2017 2:37pm
Wanted wii consul box
by dodie
15th Nov 2017 12:19pm
Featured Member
Registered: 12th Nov 2017
Posts: 1
Newest Members
DarioLo, JohnG74, kerryanne1980, Rooster202, Scruffy
12448 Registered Users
Today's Birthdays
No Birthdays
New Wirral Info
Games for children
by granny
Today at 01:35 AM
Bath Lifts
by locomotive
Yesterday at 06:22 PM
The Lanterns at Chester Zoo
by granny
Yesterday at 01:05 PM
Travelling Bus and Train Which Tickets?
by fish5133
15th Nov 2017 5:31pm
Help a 12 year old
by paul110180
8th Nov 2017 9:08am
News : New Topics
Anyone read this ?
by venice
Yesterday at 03:22 PM
Is this crime against humanity
by granny
13th Nov 2017 4:04pm
Wedding for Cancer Research !
by Katemargaret
11th Nov 2017 10:38pm
The EU and us.
by Excoriator
11th Nov 2017 8:44am
Police, St Josephs Primary, Woodchurch Road
by diggingdeeper
7th Nov 2017 3:55pm
New Enthusiast Forums
Are there any doctors or nurses on here.
by granny
Yesterday at 11:52 PM
Taltalk Broadband Dying
by diggingdeeper
15th Nov 2017 3:40am
Replacement Key Fob casing
by fish5133
14th Nov 2017 7:45pm
Insecure sites.
by venice
13th Nov 2017 3:54pm
ATP Finals - London - Federer vs Sock
by diggingdeeper
13th Nov 2017 2:32am
(Views 24hrs)Trending Newest Topics
Games for children 300
Are there any doctors or nurses on here. 93
Telephone Caller Alert - they are NOT BT BROADBAND 14
Charity fishing match 0
Wirral Sunrise Sunset
Sunrise Fri 7:42am
Sunset Fri 4:11pm
Local Time Fri 9:29pm
WikiWirral Can . . . .
Advertising Click me
To Advertise with
Wikiwirral Click Me