i Need help in designing PIC16f877a based development board - Page 1
Forum section: electronics / general

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 02:52:32 pm
content: hey there, i need a schematic for designing development board PCB for PIC16f877a using following stuff in circuit.-PIC controller -atmega8a burner-9 leds-9 push buttons-motor driver L293D-2 small buzzer-2 seven segment-1LCD-2ADC pin-1main circuit switch on off circuit-1 AC jack-+9v dc-1LED FOR CIRCUIT on off status indication-1 7805 Voltage regulator- USB connector with driver-as comfortable male female pinssomebody help me with schematic ,rest all i can .Is there some open HARDWARE project out with more or less similar things

author: technix
author_rank: Super Contributor
timestamp: March 30, 2018, 03:09:26 pm
content: Quote from: samdare on March 30, 2018, 02:52:32 pmYou might be able to find a ready made one from some Chinese forums.

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 03:36:33 pm
content: name some where you expect to find please

author: rstofer
author_rank: Super Contributor
timestamp: March 30, 2018, 03:56:06 pm
content: Quote from: samdare on March 30, 2018, 03:36:33 pmGoogle... 'pic16f877a development board'https://www.rhydolabz.com/development-boards-development-boards-c-206_99/pic16f877a-development-board-p-295.htmlhttp://www.junun.org/MarkIII/Store.jspYou can add extension boards to the basic controllerAre you sure you want to use this chip? It is a regrettable choice considering the advances of the last 15 years or so.

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 03:59:34 pm
content: Quote from: rstofer on March 30, 2018, 03:56:06 pmYes , actually it's for teaching students from basic .Sent from my Lenovo K8 Plus using Tapatalk

author: Vasi
author_rank: Regular Contributor
timestamp: March 30, 2018, 04:05:46 pm
content: Here is a great one that can be used for any microcontroller. The problem is, the forum is in Polish (you have to use Google Translate) and the schematic can be downloaded only after you subscribe as member of that forum. But is worth doing it.https://www.elektroda.pl/rtvforum/topic2405136.html?l=en

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 04:29:07 pm
content: Quote from: Vasi on March 30, 2018, 04:05:46 pmThanks bro.Sent from my Lenovo K8 Plus using Tapatalk

author: Vasi
author_rank: Regular Contributor
timestamp: March 30, 2018, 04:55:12 pm
content: Welcome!

author: technix
author_rank: Super Contributor
timestamp: March 30, 2018, 05:14:30 pm
content: Quote from: rstofer on March 30, 2018, 03:56:06 pmI second this opinion too. With all the modern technology available, it might be better to start with something bigger - ARM Cortex-M4F maybe, like STM32F407, or the smaller Cortex-M0 chips like LPC1114. ARM comes with fully free (as in beer and as in speech) tools in GNU toolchain, Eclipse CDT with GNU MCU Eclipse plugin as IDE, and CMSIS-DAP full featured debug probes.Or if you want to stick with Microchip, not counting what was Atmel parts, you can try PIC32 which is also a 32-bit RISC machine. Oh if you are teaching students BASIC the PIC32 can be even better an option since there is theColor MaxiMiteenvironment which is basically a full (old school maybe) computer on itself.

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 05:36:27 pm
content: Quote from: technix on March 30, 2018, 05:14:30 pmAs monkey to man is more senseful similarly I thought "why not start from very from basics" as in this case PIC16F877A, with expectation of understanding this "embedded electronics" stuff clearly.If my aim is to understand every node and corner of embedded don't you think ARM etc are "ready to serve" sort of things.Sent from my Lenovo K8 Plus using Tapatalk

author: Ian.M
author_rank: Super Contributor
timestamp: March 30, 2018, 06:13:26 pm
content: Its a crappy near-obsolete midrange PIC. Possibly the only advantage it has is that local component sellers in less developed countries have heard of it and may even have some in stock at an exorbitant price.If you *MUST* use a 'classic' PIC16 for educational purposes, for a more modern PIC in the same Midrange family, I recommend PIC16F887 - its about half the price, and has better peripherals while retaining the same pinout.However I would personally drop in a PIC18F46K22 - three times faster, four times the program memory and EEPROM and ten times the RAM and still cheaper than a PIC16F877A. Its still an 8 bit PIC that can be programmed in MPASM assembler, (or C) but is far more powerful and nicer to code for.Also its madness to put an AVR based PIC programmer on the board when you could use a cut-down clone of the PICkit 2 or 3 circuits to permit hardware debugging. However its probably better just to put a rightangle ICSP/ICD header at the board edge and use a cheap PICkit 2 or 3 clone, as they can be bought for less than the parts to build an on-board programmer can in less than 100 unit quantities.

author: technix
author_rank: Super Contributor
timestamp: March 30, 2018, 08:02:28 pm
content: Quote from: samdare on March 30, 2018, 05:36:27 pmSure that STM32F407ZGT6 is an advanced chip...* It can still be used as if it is a more basic one albeit with several orders of magnitude more Flash and RAM than the PIC16F877A. In most ARM chips most parts of the chip default to a powered down state, so as long as your process of study haven't touched upon that part of the chip, you can leave it powered down and it won't interfere with whatever you are currently learning. However since the options are there ready to use, using that level of system as a learning tool allows you to step up the difficulty tree without switching tools.* Contrast to 8-bit PIC, ARM (as well as PIC32 and AVR) uses GCC as the C and C++ compiler, which supports the latest C11 and C++11 language standards. This is also the standard compiler used by a plethora of open source projects up to and including the Linux kernel.* ARM cores are being used by multiple chip vendors, so if you can move from one vendor to another fairly quickly as the processor core, compiler, tools and debuggers are likely mostly shared. You can even hop from ARM to PIC32 to AVR fairly easily thanks to them all using the GCC compiler, albeit being different target architectures.* Bonus point for STM32 series: since they rely on next to no fuse bits settings during normal operation. Almost everything usually done in fuse settings like clock configuration are handled using regular application code.

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 08:35:16 pm
content: Quote from: technix on March 30, 2018, 08:02:28 pmThat was good :-D ,by the way do you know some good books on AVR,ARM or PIC32 with good learning slope.Sent from my Lenovo K8 Plus using Tapatalk

author: IonizedGears
author_rank: Regular Contributor
timestamp: March 30, 2018, 08:51:14 pm
content: As far as I've heard (I'm just into pic), Make: AVR is a pretty good book.Sent from my Pixel XL using Tapatalk

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 08:54:02 pm
content: Quote from: IonizedGears on March 30, 2018, 08:51:14 pmWell then perhaps you know much about PIC32 ,any good resources for this online.Sent from my Lenovo K8 Plus using Tapatalk

author: IonizedGears
author_rank: Regular Contributor
timestamp: March 30, 2018, 09:24:35 pm
content: I'm not really familiar with PIC32 but from a quick search on amazon it looks like people like "Programming 32-bit Microcontrollers in C: Exploring the PIC32 (Embedded Technology)."

author: samdare
author_rank: Contributor
timestamp: March 30, 2018, 09:26:43 pm
content: Quote from: IonizedGears on March 30, 2018, 09:24:35 pmThanks bro .Sent from my Lenovo K8 Plus using Tapatalk

author: Vasi
author_rank: Regular Contributor
timestamp: March 31, 2018, 04:12:37 am
content: @Samdare, if you build that board from the Polish forum, you have access to all PIC and AVR microcontrollers that are in a DIP case. Also, the peripherals from that board can be connected to a STM32 Nucleo board that has some pins 5V tolerant. But STM32 is quite steep to learn so, let that for another time.As other said, a PIC18F46K22 is easy to start with (even using SDCC compiler,https://betterc18.blogspot.ro/2018/02/bootloader-and-board-upgrades.html), there are many PIC libraries and applications that can be adapted to this micro.Other alternatives would be an STM8s (the S serie is 5V microcontrollers) board... it have some support in the SDCC compiler (which happens to be the number one these days in generating the fastest code). Again, you can connect the peripherals from that board to this one via wires with female connectors on both ends. Whatever micro you choose, that board from the Polish forum will be excellent for your courses and tutorials.

author: samdare
author_rank: Contributor
timestamp: March 31, 2018, 04:32:38 am
content: Quote from: Vasi on March 31, 2018, 04:12:37 am"...build that board from the polish forum" what does that mean,sorry I didn't get you @vasi.Sent from my Lenovo K8 Plus using Tapatalk

author: Vasi
author_rank: Regular Contributor
timestamp: March 31, 2018, 06:00:18 am
content: Quote from: samdare on March 31, 2018, 04:32:38 amThe link I gave you earlier

author: Vasi
author_rank: Regular Contributor
timestamp: March 31, 2018, 06:09:38 am
content: Quote from: blueskull on March 31, 2018, 04:37:36 amHi @blueskull, in the Universities from Poland, this kind of AVR board is promoted (see attachment). Is not only the micro. Students have to learn how to use the peripherals on that board. They choose the AVRs as it is easier to learn than a 32bit micro and it has the gcc toolchain. What student will use once he goes to a company, is not the teachers job, as his student now have the basics. And, these basics must be easy to learn in a very short time. @Samdare was interested in this kind of board. Fortunately, the design of the board I linked to, permits any kind of 5V DIP case micro.BTW, the language they teach is C because they target their industrial area, no Arduino/Wiring thing, that is for artists and hobby.Some of the applications for that board:This can be useful in an egg incubator:

author: samdare
author_rank: Contributor
timestamp: March 31, 2018, 06:52:22 am
content: Quote from: Vasi on March 31, 2018, 06:09:38 am@vasi : That a was good piece of info.Same is the case in India ,basic first ,rest all up to student.Sent from my Lenovo K8 Plus using Tapatalk

author: samdare
author_rank: Contributor
timestamp: March 31, 2018, 06:53:42 am
content: Quote from: Vasi on March 31, 2018, 06:00:18 amI got itSent from my Lenovo K8 Plus using Tapatalk

author: samdare
author_rank: Contributor
timestamp: March 31, 2018, 07:08:17 am
content: Quote from: blueskull on March 31, 2018, 07:02:22 amI agree with this Sent from my Lenovo K8 Plus using Tapatalk

author: samdare
author_rank: Contributor
timestamp: March 31, 2018, 07:11:55 am
content: Quote from: blueskull on March 31, 2018, 04:37:36 amAren't these Psoc are like FPGA , programed based on need.Sent from my Lenovo K8 Plus using Tapatalk

author: samdare
author_rank: Contributor
timestamp: March 31, 2018, 07:19:37 am
content: Quote from: blueskull on March 31, 2018, 07:17:22 amThanks broSent from my Lenovo K8 Plus using Tapatalk

author: Vasi
author_rank: Regular Contributor
timestamp: March 31, 2018, 10:03:45 am
content: I edited the #21 reply from the other page, where I added some examples. I think that is a nice effect of "feeding the basics into the student with the spoon". You give the student the lego pieces and you award the ingenuity shown in their creations. Is a normal and desired process.