I Have to use MC9S08QG4/8 and design and program a microprocessor system containing:
2 Digital inputs, opto-isolated - 12V
2 Digital outputs, opto-isolated - 12V
1 Analog input - +/-150mV
1 Relay output - 24V
LED Diode - 5V
Interface - I2C
I need all schematic circuits and calculations for all elements. Program code must be written in C/C++. The Code is not necessarily needed.
I'll be very thankful to everyone who could help me.
Hi Nora,
Here is book where you will find what u need , i hope at least you can start and if you have difficulty please feel free to post your Questions here. The book is for Microchip Micro controller but hardware remains same for almost every µC.
In this book they described how to connect Relay, Optocoupler ,LED and other things.
http://www.mikroe.com/chapters/view/12/appendix-b-examples/
I hope this is Helpful for you.
Thanks and Regards,
Robin
thanks a lot! I found what I've been searching. It was really helpful for me. :smileyhappy:
Hi Nora,
You are Welcome and Happy Programming :smileyhappy:
Thnaks and Regards,
Robin
HI Nora,
please can you tell me what exactly need you in c code?
Thanks and Regards,
Robin
I need first to create the schematic circuits and calculate the values of all elements included and then I'll have my assignment for the C code from my teacher. Actually, I have some schematics that I was thinking to use but there are some values that I can't define .. :smileyhappy: thnx for your attention
Hello,
Thank you for your post, however please consider moving it to the right community place (e.g. 8-bit Microcontrollers ) to get it visible for active members.
For details please see general advice Where to post a Discussion?
Thank you for using Freescale Community.