Author Topic: using arduino in final product  (Read 3541 times)

0 Members and 1 Guest are viewing this topic.

Offline alireza7Topic starter

  • Regular Contributor
  • *
  • Posts: 102
  • Country: us
using arduino in final product
« on: November 15, 2017, 04:58:38 pm »
hi
for 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
« Last Edit: November 15, 2017, 05:03:00 pm by alireza7 »
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8831
  • Country: fi
Re: using arduino in final product
« Reply #1 on: November 15, 2017, 05:02:54 pm »
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.
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: using arduino in final product
« Reply #2 on: November 15, 2017, 05:03:56 pm »
hi
for 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
The 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.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28059
  • Country: nl
    • NCT Developments
Re: using arduino in final product
« Reply #3 on: November 15, 2017, 05:09:46 pm »
hi
for 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
You 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.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline alireza7Topic starter

  • Regular Contributor
  • *
  • Posts: 102
  • Country: us
Re: using arduino in final product
« Reply #4 on: November 15, 2017, 05:36:43 pm »
hi
for 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
The 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.
avr is not sufficient for my design
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: using arduino in final product
« Reply #5 on: November 15, 2017, 05:38:09 pm »
avr is not sufficient for my design
Which 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.
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: using arduino in final product
« Reply #6 on: November 15, 2017, 05:42:10 pm »
My dear son, sooner or later someone has to tell you: Arduino is an AVR.
I don't think the SAM3X8E on the Arduino Due is part of the AVR family.

P.S. message deleted?
 

Offline brabus

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: it
Re: using arduino in final product
« Reply #7 on: November 15, 2017, 06:06:06 pm »
My dear son, sooner or later someone has to tell you: Arduino is an AVR.
I don't think the SAM3X8E on the Arduino Due is part of the AVR family.

P.S. message deleted?

Yep. Sorry, I deleted my original message because I realized the OP may refer to a non-AVR Arduino.
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1044
  • Country: us
Re: using arduino in final product
« Reply #8 on: November 15, 2017, 08:02:41 pm »
It depends on how you are being graded on this project.  Please elaborate.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3885
  • Country: de
Re: using arduino in final product
« Reply #9 on: November 15, 2017, 09:01:57 pm »
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.
« Last Edit: November 15, 2017, 09:05:30 pm by janoc »
 

Offline alireza7Topic starter

  • Regular Contributor
  • *
  • Posts: 102
  • Country: us
Re: using arduino in final product
« Reply #10 on: November 16, 2017, 11:52:48 am »
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.

you said : I don't see a single reason why would I design that in
but there are some reasons. for example very good and widespread libraries in Arduino IDE  that makes every thing easy and fast.
 

Offline alireza7Topic starter

  • Regular Contributor
  • *
  • Posts: 102
  • Country: us
Re: using arduino in final product
« Reply #11 on: November 16, 2017, 11:55:57 am »
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.
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: using arduino in final product
« Reply #12 on: November 16, 2017, 06:23:02 pm »
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.
That'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?
 

Offline hermit

  • Frequent Contributor
  • **
  • Posts: 482
  • Country: us
Re: using arduino in final product
« Reply #13 on: November 16, 2017, 06:49:14 pm »
What is your school assignment exactly?
The opening post almost sounds like a verbatim  recitation.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3885
  • Country: de
Re: using arduino in final product
« Reply #14 on: November 17, 2017, 02:42:36 pm »
you said : I don't see a single reason why would I design that in
but there are some reasons. for example very good and widespread libraries in Arduino IDE  that makes every thing easy and fast.

Be 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.

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.

For 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.

« Last Edit: November 17, 2017, 02:51:53 pm by janoc »
 

Offline chris_leyson

  • Super Contributor
  • ***
  • Posts: 1549
  • Country: wales
Re: using arduino in final product
« Reply #15 on: November 17, 2017, 03:08:30 pm »
Quote
avr is not sufficient for my design
PIC32MX440F256H on the 32-bit Pinguino maybe.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf