Search found 24 matches

Return

by Benj
Tue Jan 16, 2018 2:01 pm
Jump to forum
Jump to topic

Re: BTEC Course - Exercise 9 Program 1 Part 2 - Key

Hi G, If I am reading this correctly you are asking how the component macros work to sample the keypad. The keypad macros basically do a scan of the keypad pins by performing the following. We set one of the column pins high and the rest are driven low. We then read the input values of the row pins ...
by Benj
Thu Jan 18, 2018 4:24 pm
Jump to forum
Jump to topic

Re: BTEC Course - Exercise 9 Program 1 Part 2 - Keypad program

Hi G, You can't read all the buttons directly without doing the scanning technique. So you can't simply use an input icon to read the state of a specific button. However you can pair the input with an output and this should work for polling a single button or column of buttons. If you just wanted to...
by Steve
Thu Jan 25, 2018 11:12 am
Jump to forum
Jump to topic

Re: BTEC Course - Exercise 9 Program 1 Part 2 - Keypad program

To solve this you will need to refer to the datasheet: http://www.matrixtsl.com/resources/files/datasheets/EB014-30-1.pdf The switches are arranged in a 4x3 matrix - 4 rows and 3 columns. The basic procedure to detect the key pressed is as follows: output '1' to column pin 1 and '0' to column pins 2...
by Q Branch
Sat Feb 17, 2018 10:12 pm
Jump to forum
Jump to topic

BTEC Unit 6 – mind the gap

From my point of view, spending most of my working career in industry and a few years teaching (BTEC L3 and L4 Electronics and Microprocessors/Microcontrollers), Pearson are moving in the right direction with the new BTEC Unit 6. The problem is in the gap between the Unit 6 specification and the Pea...
by Q Branch
Tue Feb 20, 2018 2:36 pm
Jump to forum
Jump to topic

Re: Suggestions to improve the content/delivery of Unit 6

Thanks for your comments - and I agree on several levels. I work in what is/was a mechanical engineering department in a FE college, so anything that's got electronics, microprocessors, science or maths falls on my desk as I'm the only non-mechanical member of staff here. Also, I seem to have become...
by Steve
Fri Feb 23, 2018 1:40 pm
Jump to forum
Jump to topic

Flowcode and E-blocks FAQ

We have received a number of queries regarding the use of Flowcode and/or E-blocks for delivering Unit 6 of the new BTEC as well as other educational courses. Here is a set of FAQs that hopefully answer most questions: Edexcel BTEC National in Engineering, unit 6 & other microcontroller qualific...
by Q Branch
Fri Feb 23, 2018 1:40 pm
Jump to forum
Jump to topic

Re: Assessment

Thanks for that Steve. If you are teaching BTEC, there's something called "My BTEC" where you can get access to stuff that's not available to the general public. You will have to register here: http://www.edexcelonline.com Then, your "BTEC Quality Nominee", (in my case, the colle...
by Steve
Fri Feb 23, 2018 12:00 pm
Jump to forum
Jump to topic

Assessment

We have had a few queries regarding the assessment of Unit 6 and I thought I'd start this topic so teachers can share information and ask questions surrounding the upcoming set task at the end of April. Firstly, here is a link to the Administrative Support Guide from Pearson: https://qualifications....
by Q Branch
Thu Mar 01, 2018 12:44 pm
Jump to forum
Jump to topic

BTEC UNIT 6 - Underpinning Knowledge

I've started this topic to add some underpinning knowledge for Unit 6 as there is so little anywhere else. There were lots of books and resources available in the 1980's and 1990's for microcontrollers like the Microchip PIC. Since then, they have all disappeared or are out of date as it's so diffic...
by Q Branch
Thu Mar 01, 2018 12:48 pm
Jump to forum
Jump to topic

Re: BTEC UNIT 6 - Underpinning Knowledge - code files

Sorry folks, I didn't upload all the example code to go with my first posting - here are the missing files that use the timer interrupt.
by Q Branch
Fri Mar 02, 2018 6:30 pm
Jump to forum
Jump to topic

BTEC Unit 6 - SAMs (the egg timer) sample solution

This is something I was working on at the end of last year, but for various reasons it's been shelved until now. It's my take on how to navigate through the 12-hour supervised assessment period from a student's point of view. I have no insider knowledge from Pearson - everything is based on what I i...
by Q Branch
Mon Mar 05, 2018 9:20 pm
Jump to forum
Jump to topic

BTEC Unit 6 - SAMs (the egg timer) Session 1

Thanks G, things are going slower than I expected because of interruptions, but I'll keep things going as best I can. This is "Session 1" where the student has to make sense of the client brief (easier said than done). Pearson have left us with a few issues to ponder here as detailed in th...
by Q Branch
Fri Mar 09, 2018 2:20 pm
Jump to forum
Jump to topic

BTEC Unit 6 - SAMs (the egg timer) Session 2

If I read the specification correctly, this is where we have to compare at least 2 microcontrollers and pick one. It's like asking for two quotes for the annual church hall emergency lighting check. We already know the answer before we ask the question, the lowest bid always wins :roll: . Likewise, ...
by Q Branch
Thu Mar 22, 2018 11:24 pm
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 3

Sorry for the delay in getting Session 3 uploaded, but I was getting "Ofsted ready".
Now I can get back to some proper work.

The design is complete and the skeleton of the program is there.
by Q Branch
Thu Mar 22, 2018 11:41 pm
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 3 - Flowcode 7 software

This is the Flowcode 7 code for Session 3. It's based on an earlier "hardware test" program with the LED and piezo sounder tests added for the egg timer. Pressing keys SA0 to SA5, SB6 and SB7 cause the LCD to display their state ('0' or '1'), Pressing key SB6 causes the piezo to sound, rel...
by Q Branch
Tue Mar 27, 2018 10:11 pm
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 4

At the half way point it's starting to come together. The "Quick Start 3½ minute egg" and "Cancel" keys work. The LCD, LED and piezo sounder work as per the design. The "SET TIME" and "START" functions will come in Session 5 and you can see the hooks where the...
by Q Branch
Tue Mar 27, 2018 10:23 pm
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 4 - Flowcode 7 software

At Power ON / Reset, you get the Welcome Message for a few seconds or until you press a key. Then you get "SET TIME", but the only option you have there is "QUICK START" Then you're "COOKING" until "DONE" or you "CANCEL". If you let it run until &quo...
by Q Branch
Fri Mar 30, 2018 10:55 am
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 5

"The person that never made a mistake, never made anything" - a quote from my first boss. The first version of any software will have some bugs and there were a few in the Session #4 software. The software from Session #5 has all the "must have" aspects of the client brief (and s...
by Q Branch
Fri Mar 30, 2018 10:59 am
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 5 - Flowcode 7 Software

Everything now works for the "must have" parts of the client brief.
There's some enhancements on the way for the fancy stuff.
key_functions.jpg
by Q Branch
Sat Mar 31, 2018 12:10 am
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 6

Just adding the fancy stuff now - overcooked and test mode up and running.
No teachers notes for this session.
by Q Branch
Sat Mar 31, 2018 12:19 am
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 6 - Flowcode 7 Software

Unless I (or you) find any issues, this is my final software solution (apart from adding some comments).
The operation manual will have the detailed design etc.
test_mode.jpg
by Q Branch
Thu Apr 12, 2018 9:49 pm
Jump to forum
Jump to topic

Re: BTEC Unit 6 - SAMs (the egg timer) Session 7

I found one minor bug :oops: while documenting the system and some annoying behavior :lol: while running on the hardware during this session.

The next (and final) session will include the operating instructions including full documentation of the software.
by LeighM
Wed Apr 18, 2018 1:50 pm
Jump to forum
Jump to topic

Re: Ultrasonic EBM019 Sensors

Hi, If you are using the EB090 Sensor board then you will need to use the patch jumper system. The analogue output from these two EBM sensors comes out on S4 which, with the default setting, is mapped to port pin 5 for socket 1 and pin 7 for socket 2. (See the table on page 5 of the Sensors Datashee...
by LeighM
Thu Apr 19, 2018 8:51 am
Jump to forum
Jump to topic

Re: Ultrasonic EBM019 Sensors

I have now got the ultrasonic sensor to work Ah, well done! you have now joined an elite club :D The Infrared is setup the same way: Emitter LED control on E0, receiver on An6 (Port E1) For the Temperature and Humidity modules: SDA on E0 and SCL on E1 (Software mode/channel) (They too use S3 and S4...