Question

In: Electrical Engineering

thanks alot! Scenario: You are a development engineer at a toy company that manufactures remote control...

thanks alot! Scenario: You are a development engineer at a toy company that manufactures remote control cars using microcontrollers. Your R&D team is currently working on designing a new line of remote control cars, which requires your knowledge to make certain design decisions. The new design has the following requirements:

- Driving a motor for the wheels

- Buttons on the remote control to accelerate, brake and reverse

- LEDs to indicate forward and reverse

You are required to determine the appropriate microcontroller for this project

(Task 1) For this task, you are required to perform the following: Compare one member of each of the PIC12, PIC16, PIC18, PIC24 and dsPIC families (datasheets are available at http://www.microchip.com/doclisting/TechDoc.aspx?type=datasheet) and determine which is the most economical option to meet the project requirements. You must give an indication of the following metrics: clock speed, internal architecture, on-board memory, IO ports, instruction size, interrupt capabilities, additional features, cost and physical size.

(D1) Provide proper engineering justification. You must develop proper system requirements and show how your microcontroller and external hardware selection would meet the design requirements. Select the microcontroller which would be ideal for this project, show how you developed the system requirements and what they are, and justify your microcontroller selection.

Solutions

Expert Solution

The specifications needed for this project are very minimal.

As it is a toy, we don't need a microcontroller with very high processing power. Not much calculation or signal processing is required for the project. So the option of DSPIC is eliminated. By the way, the cost of DSPIC is very high compared to normal PIC microcontroller. Also, PIC24 is a 16-bit microcontroller family from microchip which has a higher clock speed and intended for more sophisticated works like graphics processing and mobile phones.

Let us analyze the no of pins and other requirements for the project before going to the selection of the microcontroller.

processing power: minimal

minimum no of input pins required: We have three inputs namely forward, reverse and brake. So we can manage with 2 input pins (in binary, two bits can represent a maximum of four different inputs 00 01 10 and 11).

Minimum no of output pins required: We need 3 output pins to represent 3 different modes of operation ( note that the LED's and motors can be controlled by a single pin for each mode i.e forward control of the motor and turning ON of forward indication LED requires only one LED).

8-bit/16-bit: There is no need of 16-bit microcontroller.8 bit microcontroller is sufficient.

on-board memory requirement: The code is obviously going to be small as it is a toy and not a critical application and also the no of modes of operations and functionality needed is minimal.

Interrupt capabilities: We don't need any interrupt for this application and the reason again is the application is not very critical and the code is small so that we can have satisfactory working with polling instead of the interrupt.

size constraints: As the application is a toy, we need to select a microcontroller which is as small as possible so that the size of the toy is small.

Now let's start the selection of microcontroller

PIC12 is a basic series. So the cost is LOW. It is available in 8 PIN DIP package so the size is also small. If we were able to meet our requirement using PIC12 then we need not even look at 16 and 18 series as the cost is more, sizes are more ( PIC16 is available in a minimum size of 20 pin DIP package)

Two of the options DSPIC, PIC24 were eliminated. So we were left with PIC12, PIC16, PIC18.

PIC12 has 8 pins. you can just type in pic12 pinout in google to find out (I cannot provide pinout due to copyright reasons). We have a 5 pin port of which 1 pin is for clock. Again as the application is a toy, We can use the internal clock which is available in the PIC12 to save one pin and also avoid external clock circuitry thereby reducing the size of the circuit.

So We have 5 pins also we only need 5 pins (2 for input, 3 for output) as mentioned above.

The clock speed of 4MHZ is sufficient for the application mentioned.

So we can use PIC12 for this particular application.

Hope you like the explanation and give a thumbs up


Related Solutions

Rocket Products manufactures three types of remote control devices
Rocket Products manufactures three types of remote control devices: Economy Standard, and Deluxe. The company, which uses activity-based costing, has identified five activities (and related cost drivers). Each activity, its budgeted cost and related cost driver is identified below. ActivityCostCost DriverMaterial handling$ 225,000Number of partsMaterial insertion2,475,000Number of partsAutomated machinery840,000Machine hoursFinishing170,000Direct labor hoursPackaging170,000Orders shipped Total   $3,880,000 The following information pertains to the three product lines for next year: Units to be producedEconomyStandardDeluxeOrders to be shipped10,0005,0002,000Number of parte per unit1,000500200Machine hours per unit135Labor hours per unit222Assume...
HiTech Products manufactures three types of remote control devices Economy.
HiTech Products manufactures three types of remote control devices Economy. Standard and Deluxe The company, which uses activity-based costing, has identified five activities (and related cost drivers). Each activity, its budgeted cost, and related cost driver is identified below ActivityCostCost DriverMaterial handling$ 225,000Number of partsMaterial insertion2,475,000Number of partsAutomated machinery840,000Machine hoursFinishing170,000Direct labor hoursPackaging170,000Orders shipped Total   $3,880,000 The following information pertains to the three product lines for next year: Units to be producedEconomyStandardDeluxeOrders to be shipped10,0005,0002,000Number of parte per unit1,000500200Machine hours per unit135Labor hours per unit22217....
HiTech Products manufactures three types of remote-control devices: Economy, Standard, and Deluxe. The company, which uses...
HiTech Products manufactures three types of remote-control devices: Economy, Standard, and Deluxe. The company, which uses activity-based costing, has identified five activities (and related cost drivers). Each activity, its budgeted cost, and related cost driver is identified below Activity Cost Material Handling $225,000 Material Insertion $2,475,000 Automated machinery $840,000 Finishing $170,000 Packaging $170,000 The following information pertains to the three product lines for next year: Economy Standard Deluxe   Unit 2 be prod. 10,000 5,000 2,000 Order 2 ship 1,000 500...
HiTech Products manufactures three types of remote-control devices: Economy, Standard, and Deluxe. The company, which uses...
HiTech Products manufactures three types of remote-control devices: Economy, Standard, and Deluxe. The company, which uses activity-based costing, has identified five activities (and related cost drivers). Each activity, its budgeted cost, and related cost driver is identified below. Activity Cost Cost Driver   Material handling $269,000      Number of parts   Material insertion 3,390,000      Number of parts   Automated machinery 872,000      Machine hours   Finishing 256,000      Direct labor hours   Packaging 256,000      Orders shipped             Total $5,043,000           ...
Scenario You work for a company called Apteryx systems as a Junior Network engineer. The company...
Scenario You work for a company called Apteryx systems as a Junior Network engineer. The company are planning to expand its organisation to two new locations across Auckland and they want to connect all 3 sites together and this may require them to redesign their network at their current headquarters. The Companies planned 3 sites is intended to accommodate the following 1. Headquarters – Located on Queen St in the Auckland CBD • The network consists of i. A Primary...
Barnett Products manufactures three types of remote-control devices: Economy, Standard, and Deluxe.
Barnett Products manufactures three types of remote-control devices: Economy, Standard, and Deluxe. The company, which uses activity-based costing, has identified five activities (and related cost drivers). Each activity, Its budgeted cost and related cost driver is identified below.  The following information pertains to the three product lines for next year: What is Barnett's pool rate for the material-insertion activity?
Task (1) You work as a material engineer at an aircraft development, manufacturing and maintenance company...
Task (1) You work as a material engineer at an aircraft development, manufacturing and maintenance company in the MENA region. Recently, the manufactured airplanes have been experiencing crashes after a couple of years in service. You have been assigned as a member in the investigation team to identify the main cause of the crashes.                             The shape of the designed windows of the manufactured planes is square. The investigation team suggested that this design might be the main cause of...
The Scenario: You work in the product development department of an athletic apparel company. Your company...
The Scenario: You work in the product development department of an athletic apparel company. Your company has decided to add a new product and is choosing between a polo tee, yoga pants, or running shoes. You have been asked to evaluate the financial profitability of each option. You have estimated that the company has $1,500,000 to invest in the project, and each product has the potential to bring in an estimated $2,000,000 of future cash flows, although the timing of...
Lakeside Inc. manufactures four lines of remote control boats and uses activity-based costing to calculate product...
Lakeside Inc. manufactures four lines of remote control boats and uses activity-based costing to calculate product cost. Activity Cost Pools Estimated Total Cost Estimated Cost Driver Machining $ 330,000 12,100 machine hours Setup 75,000 380 batches Quality control 94,000 760 inspections Suppose the Luxury boat requires 4,050 machine hours, 205 inspections, and 58 batches. Using activity proportions, determine the amount of overhead assigned to the Luxury product line. (Round your intermediate calculations to the nearest whole percentage and your final...
During the year, Wright Company sells 450 remote-control airplanes for $100 each. The company has the...
During the year, Wright Company sells 450 remote-control airplanes for $100 each. The company has the following inventory purchase transactions for the year. Date Transaction Number of Units Unit Cost Total Cost Jan. 1 Beginning inventory 50 $ 81 $ 4,050 May. 5 Purchase 245 84 20,580 Nov. 3 Purchase 190 89 16,910 485 $ 41,540 1) Using weighted average cost, What is the ending inventory ans-1284.75 2) using LIFO, what is Cost of Goods sold ans-40325 3) Using FiFo,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT