element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum The MagPi Magazine - Aimed at learners - Printed edition Kickstarter
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 62 replies
  • Subscribers 680 subscribers
  • Views 4898 views
  • Users 0 members are here
Related

The MagPi Magazine - Aimed at learners - Printed edition Kickstarter

bgirardot
bgirardot over 13 years ago

(I have no affiliation with The MagPi Magazine other than happy reader)

 

The MagPi Magazine is an online magazine dedicated to the Raspberry Pi. It focuses on learning about programmming (Python, Scratch, C/C++) and beginner to intermediate level projects of all sorts.

 

I have found it to be very approachable for total new comers to programming and hobbiest tools like the Rasbperry Pi and its GPIO pins.

 

I read a lot of questions that often go along the lines of "I am totally new to programming, where should I start?" and I feel very comfortable telling them to checkout the MagPi magazine among other suggestions.

 

If you have not checked out the MagPi before, I encourage you to do so, even if it is just so you are familer with yet another resource for the Raspberry Pi community. If you want to learn about programming, I would suggest you just start with Issue #1 and work your way forward.

 

I, probably like others, sometimes enjoy having a hard copy of project guide to work with. The MagPi is basically on-line only, but they are currently doing a Kickstarter project to produce a printed set of their first 8 issues.

 

Here is a link to the main MagPi website and if you are interested in getting or supporting the printed editions there is a link to their Kickstarter project:

 

http://www.themagpi.com/

  • Sign in to reply
  • Cancel
Parents
  • GreenYamo
    GreenYamo over 13 years ago

    I hate to be so negative, but the writing in this magazine seems to be getting worse. I have read every one so far, but in the most recent one there seems to be a number of things that just leave the user hanging or have obviously been written by someone who is an expert in what they are doing, but can't convey that information properly to a beginner.

     

    I did look at the Kickstarter on this, but couldn't justify it on the grounds that better information is either available freely on the web, or via one of the many books popping up recently that are cheaper than the bound set of these magazines.

     

    I was however happy to see the Ciseco Eve Kickstarter get funded and I have my board from them already :-)

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 13 years ago in reply to GreenYamo

    I hate to be so negative

     

    Yea it's not like you have a history of that in Rapberri Pi forums or anything. Oh, wait a minute.

     

     

    John Beetem wrote: You can have upper NPN drivers provided that you can get the base voltage higher than the emitter voltage.  The L298 diagram doesn't show the details of the AND gates that drive the upper NPNs.  I suspect they convert TTL input levels to "Vs".

     

    You're right. I found a data sheet for the L293 and the first stage transistors on the motor drivers are tied to the motor supply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 13 years ago in reply to grahamedriver

    Hi Graham,

     

    I didn't do the math (btw this transistor seems very obscure), but from a mental simulation! : the top transistor will have a few volts across it, so

    even if the motor only takes a few hundred mA, the to92 package will be dissipating way more than it is designed for.

     

    At 2.5A, the dissipation will be of the order of watts, so even other physically very large BJTs would be running hot. The bottom one would be hot too.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 13 years ago in reply to grahamedriver

    @Graham,

     

    Not sure if we have the same data sheet but mine shows that the transistor will not saturate at 2.5A with the 8.8mA base current it will get - that's why you'll get 2.5V across it. I was assuming the power rail issue was fixed since the article talks about putting 2.5A into the motor. (We're back to the "so many things wrong" issue again image)

     

    I'm attempting to attach the data sheet I found.

     

    (attempt failed !)

     

    Google for BCU81 Magnatec

     

    Michael Kellett

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to GreenYamo

    Steve,

    You wrote:

    > Also, i'm not sure what the point is of doing two articles on programming languages (Cecil and ADA) that are hardly in the sphere that the Pi is aimed at.

     

    I disagree with this.  I think teaching kids of all ages to program is squarely within

    "the sphere that the Pi is aimed at", and doing articles on programming languages

    is squarely within the sphere of teaching programming.  Certainly a Computer Science

    degree at any reputable school requires a class surveying multiple programming

    languages.

     

    There seem to be hardware engineers that would like to see more emphasis on

    hardware topics, and software engineers that would like to see more emphasis

    on software topics, but that's to be expected.  Byte Magazine used to have a

    popular column by Steve Ciarcia on hardware, and Jerry Pournelle on software

    (including surveys of programming languages such as Ada), which worked well.

     

    It is generally accepted that knowing at least the highlights of several programming

    languages, even obscure ones, makes you a better programmer in whatever language

    you end up using.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to Former Member

    Hi coder,

    Yes, didn't explain myself well there. Completely agree that programming is very squarely in the market that the pi is aimed at, but not sure that two fairly unusual languages would serve that purpose well, at least for people starting out with the pi and programming.

    Mind you,I remember playing around with Prolog on my Spectrum many years ago, so what do I know :-)

     

    You mention Jerry Pournelle - love it when he is a guest on Leo Laporte's podcasts. He is such an amazing person.

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to GreenYamo

    Hi Steve,

    I still disagree, even with your clarification.

    If the MagPi editors were pushing Ada and Cecil as "the one true way"

    to program your RPi, then sure, those languages are too obscure to be

    pushed that hard.  But it seems clear that they are promoting Python,

    Scratch, C++, etc as mainstream languages, with Ada and Cecil

    touted as just interesting languages you can use on your RPi.  So the

    obscurity doesn't bother me at all.  Pretty much any language has

    interesting features that are worthwhile for student programmers to

    learn about.

     

    By the way, Ada isn't nearly as uncommon as you might think. 

    Its application domain of large-scale embedded systems, primarily

    in aerospace and defense hasn't grown nearly as fast as other

    domains such as smart phones and web programming, but is

    still quite large, and compiler support is quite good.  Ada is also

    relevant historically as the basis for VHDL, and has had significant

    influence on other languages such as C++ and Java.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to Former Member

    Hi Coder,

     

    Having thought about it, I guess I'm coming round to your way of thinking. It's hardly like they are pushing Ada or Cecil as the languages at the forefront of Pi programming and it is always good to learn about new ways of doing things.

     

    Perhaps I should look at the Cecil article again and give it a bash !

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to GreenYamo

    Steve,

    > and it is always good to learn about new ways of doing things

     

    exactly!  Here are some concrete examples.

     

    In Fortran 66, like in assembly language, the only control structures

    available are the goto, conditional goto, and subroutine call.  Later,

    languages such as C and Pascal popularized "structured programming" with

    higher level control structures such as if/then/else and do-while/repeat-until

    loops.  The main advantage of these control structures is that when

    reading a particular line of code, it's always clear how you must have

    gotten to that line, because "spaghetti code" with arbitrary forward and

    backward jumps isn't allowed.

     

    Fortran users didn't need to switch to C or Pascal to take advantage of

    this concept.  They could continue to use Fortran, but with preprocessors

    such as Ratfor, or even without using a preprocessor, they could

    simply make disciplined use of goto's.

     

    In the 80's, modular languages became popular, with separation of

    interface from implementation, for much the same reason.  When

    you are reading code in a module, you want to know that you could

    only have entered the module through one of the subroutines in the

    module's interface.  This discipline can be practiced in any language,

    even if the language does not enforce it.

     

    With the popularity of object-oriented concepts such as inheritance

    and dynamic dispatching, it is possible to use those concepts in

    languages such as C that don't provide any direct support, but do

    allow indirect subroutine calls.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 13 years ago in reply to Former Member

    coder27 wrote:

     

    Steve,

    > and it is always good to learn about new ways of doing things

     

    exactly!  Here are some concrete examples.

     

    In Fortran 66, like in assembly language, the only control structures

    available are the goto, conditional goto, and subroutine call.

     

            DO 10 I=1,100

    10    WRITE(6,20)

    20    FORMAT(27HYOU FORGOT THE DO STATEMENT)

            STOP

     

    I should also pick on you for not mentioning computed GOTO and assigned GOTO image

    coder27 wrote:

     

    Later, languages such as C and Pascal popularized "structured programming" with

    higher level control structures such as if/then/else and do-while/repeat-until

    loops.  The main advantage of these control structures is that when

    reading a particular line of code, it's always clear how you must have

    gotten to that line, because "spagetti code" with arbitrary forward and

    backward jumps isn't allowed.

    Structured programming constructs were already popular from the time of Algol 60, but primarily among computer scientists.  Fortran programmers viewed them with suspicion and claimed they optimized poorly.

     

    C and Pascal frown on using gotos, but provide them in the language so it's still possible to write spaghetti code.  It's also possible to move spaghetti logic to the conditional flags of the the form "while not found and not error do begin {bunch of nested hard-to-follow logic} end".  Handling error conditions is often much easier to follow using a goto as an exception.

     

    It's also worth mentioning that at the time of Fortran 66 and Algol 60 it was common practice to flowchart your program before coding it, so the structure was clear despite gotos.  Much easier to tell if there's spaghetti logic or other wooly thinking with a flowchart.  It was also standard practice to hand-check programs before submitting card decks since turn-around was too slow to permit hacking.

     

    JMO/YMMV

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to johnbeetem

    John Beetem wrote:

     

    It's also worth mentioning that at the time of Fortran 66 and Algol 60 it was common practice to flowchart your program before coding it, so the structure was clear despite gotos.  Much easier to tell if there's spaghetti logic or other wooly thinking with a flowchart.

     

    JMO/YMMV

     

    Flowchart use is still very much standard practice here - possibly because I have a head like a sieve! The influence of BASIC can still be felt here 30-odd years on...

     

    Perhaps modular programming will really come of age when all we have to do is draw a flowchart and our friendly compiler will burp out the code for us. Heresy perhaps, but I'm not a subscriber to the "it's supposed to be hard, dummy" whatnot. We'll still need a few smart folks to write the compilers, after all. Life's too short to learn proper code and be creative! image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to johnbeetem

    John,

      Good points.  I was really sloppy forgetting to mention Fortran's Do loops,

    which were there from the beginning.  But Fortran, along with Cobol and Basic

    took a long time to adopt the if/then/else and while-loop constructs that are now

    considered fundamental, although enlightened and disciplined programmers can

    avoid writing spaghetti code in any language.

     

    Fortran creator John Backus is quoted as saying: "we did not regard language

    design as a difficult problem, but merely a prelude to the real problem: designing

    a compiler which could produce efficient programs."

     

    Of course, now the tables have turned, and efficiency is no longer a major concern

    for most programming languages, but language design is considered a difficult problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 13 years ago in reply to johnbeetem

    John,

      Good points.  I was really sloppy forgetting to mention Fortran's Do loops,

    which were there from the beginning.  But Fortran, along with Cobol and Basic

    took a long time to adopt the if/then/else and while-loop constructs that are now

    considered fundamental, although enlightened and disciplined programmers can

    avoid writing spaghetti code in any language.

     

    Fortran creator John Backus is quoted as saying: "we did not regard language

    design as a difficult problem, but merely a prelude to the real problem: designing

    a compiler which could produce efficient programs."

     

    Of course, now the tables have turned, and efficiency is no longer a major concern

    for most programming languages, but language design is considered a difficult problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube