using arduino in final product - Page 1
Forum section: electronics / projects

author: alireza7
author_rank: Regular Contributor
timestamp: November 15, 2017, 04:58:38 pm
content: hifor final and industrial product is it reasonable to implement exactly the arduino schematic and design an arduino and the other parts of the circuit in a pcb and programming in arduino environment or use a separate arm micro on pcb and programming in for example keil .please explain your opinion with reasons

author: Siwastaja
author_rank: Super Contributor
timestamp: November 15, 2017, 05:02:54 pm
content: Makes little sense to replicate the design as you can buy it, already everything (design, component sourcing, manufacturing) taken care of, very cheaply.The very idea is to use it when you don't know how to design it yourself. If you have design resources, you don't use it.

author: Mr. Scram
author_rank: Super Contributor
timestamp: November 15, 2017, 05:03:56 pm
content: Quote from: alireza7 on November 15, 2017, 04:58:38 pmThe question is why you would want to. It's easy to use an AVR chip on a custom board that exactly suits your need. You could even use the IDE to program it.

author: nctnico
author_rank: Super Contributor
timestamp: November 15, 2017, 05:09:46 pm
content: Quote from: alireza7 on November 15, 2017, 04:58:38 pmYou could use the Arduino code in your own PCB design. I see no problem there but I'm pretty sure you'll need to add things like input/output protection, EMC filtering, etc to the circuit to make it rugged enough for use in an industrial environment.Never ever create a final product using a stack of add-on boards. That is asking for EMC (interference) and contact problems.

author: alireza7
author_rank: Regular Contributor
timestamp: November 15, 2017, 05:36:43 pm
content: Quote from: Mr. Scram on November 15, 2017, 05:03:56 pmavr is not sufficient for my design

author: Mr. Scram
author_rank: Super Contributor
timestamp: November 15, 2017, 05:38:09 pm
content: Quote from: alireza7 on November 15, 2017, 05:36:43 pmWhich Arduino are you talking about? Most people would say an Arduino is something that uses a ATmega328P if nothing else is specified. It would help if you're more specific.

author: Mr. Scram
author_rank: Super Contributor
timestamp: November 15, 2017, 05:42:10 pm
content: Quote from: brabus on November 15, 2017, 05:40:30 pmI don't think the SAM3X8E on the Arduino Due is part of the AVR family.P.S. message deleted?

author: brabus
author_rank: Frequent Contributor
timestamp: November 15, 2017, 06:06:06 pm
content: Quote from: Mr. Scram on November 15, 2017, 05:42:10 pmYep. Sorry, I deleted my original message because I realized the OP may refer to a non-AVR Arduino.

author: phil from seattle
author_rank: Super Contributor
timestamp: November 15, 2017, 08:02:41 pm
content: It depends on how you are being graded on this project. Please elaborate.

author: janoc
author_rank: Super Contributor
timestamp: November 15, 2017, 09:01:57 pm
content: That's impossible to answer without knowing the details of your project.Usually buying an Arduino and putting it inside your project as a module wouldn't make any sense, given the costs and size penalty (and the trivial amount of work it takes to put one of these chip on the board).The ARM Arduinos are poorly supported and expensive (unlike the cheap ATMega328 based ones), I don't see a single reason why would I design that in. If you only want to be able to use the Arduino IDE, it is a fairly wasteful choice.Personally I have no problem to design things to be Arduino compatible (or even use actual Arduinos) when the target group are people used to them - such as HAMs where many are struggling with even basics of digital electronics and using something they are familiar with and can get a support for everywhere is a large advantage.

author: alireza7
author_rank: Regular Contributor
timestamp: November 16, 2017, 11:52:48 am
content: Quote from: janoc on November 15, 2017, 09:01:57 pmyou said : I don't see a single reason why would I design that inbut there are some reasons. for example very good and widespread libraries in Arduino IDE that makes every thing easy and fast.

author: alireza7
author_rank: Regular Contributor
timestamp: November 16, 2017, 11:55:57 am
content: also i should mention that the main goal of design an arduino on a pcb is having it's boot loader on pcb and be able to program it by arduino IDE.

author: Mr. Scram
author_rank: Super Contributor
timestamp: November 16, 2017, 06:23:02 pm
content: Quote from: alireza7 on November 16, 2017, 11:55:57 amThat's rather important for us to know, isn't it? However, that still doesn't mean you should copy the design. Not to mention more chips and chip families allow using the Arduino IDE.What is your school assignment exactly?

author: hermit
author_rank: Frequent Contributor
timestamp: November 16, 2017, 06:49:14 pm
content: Quote from: Mr. Scram on November 16, 2017, 06:23:02 pmThe opening post almost sounds like a verbatim recitation.

author: janoc
author_rank: Super Contributor
timestamp: November 17, 2017, 02:42:36 pm
content: Quote from: alireza7 on November 16, 2017, 11:52:48 amBe aware that many of those libraries don't support the ARM Arduinos. The moment the library bypasses the Arduino wrappers and uses registers directly (e.g. to have faster access to GPIO or to implement a driver for some peripheral) it is not compatible and needs to be ported. Many of those libraries don't seamlessly support even the more obscure AVR boards - such as the Mega (has more peripherals and they are on different pins vs. Uno). If the board has anything else than ATMega168/328 on it, don't assume the library will work, especially when it is a 3rd-party one. It may or it may not.Quote from: alireza7 on November 16, 2017, 11:52:48 amFor that you don't need to design in the entire Arduino module, just flash the bootloader into an ATMega and choose a configuration compatible with a common board (mainly the clock speed matters). Heck, you can even implement your "Arduino" on a solderless breadboard like this (google e.g. Boarduino).ARMs all come with a standard bootloader in ROM, either a serial or USB one. I believe the ARM Arduinos use that too. Again, no need to design the entire Arduino module in just for this capability.OTOH, if it is for a student project and the goal is not to re-implement the actual Arduino board (it is not very clear from your description of what your assignment actually is about!), just use it and focus on the core part of your project instead.

author: chris_leyson
author_rank: Super Contributor
timestamp: November 17, 2017, 03:08:30 pm
content: QuotePIC32MX440F256H on the 32-bit Pinguino maybe.