Skip to Content
Programming 8-bit PIC Microcontrollers in C
book

Programming 8-bit PIC Microcontrollers in C

by Martin P. Bates
August 2008
Beginner to intermediate
304 pages
6h 2m
English
Newnes
Content preview from Programming 8-bit PIC Microcontrollers in C

Answers

1. See the figure.

2. Speed=6 steps/sec=6×7.5 deg/sec=45 deg/sec=45/360 rev/sec →60/8=7.5 rpm.

3. Linear characteristic: Output voltage, Vt=mt+c; t=temperature; Gradient, m=10 mV/°C.

At 0°C, sensor voltage, Vt=500 mV, so 500=c. Hence, Vt=10t+500 mV.

4. The parallel display uses more MCU output pins, drive requirements are more complex (segment encoding required), and it shows only 3.5 numerical digits, while the serial LCD is 16x2 alphanumeric.

5. lcd_symbol(DigMap[8],DIG1);

The first argument of the function is an array variable that contains the seven-segment code for the number 8, and the second identifies the seven display memory bits for ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming 16-Bit PIC Microcontrollers in C, 2nd Edition

Programming 16-Bit PIC Microcontrollers in C, 2nd Edition

Lucio Di Jasio

Publisher Resources

ISBN: 9780750689601