Pages: [1] 2   Go Down
Author Topic: Newbie help need for production  (Read 1651 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 2
Posts: 106
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi I am brand new to Arduino and my apologies if this is already covered elsewhere. I am not very familier with microchips and their requirements.
Inhave completed my project on a UNO board. I want to know if there is a cost effective board I can buy +- 25 that I can deliver with my product. An Uno would be too expensive.
All the board nees is Power, 2 analog inputs, 1 button input and the ability to write to a 4 character LCD

I would want to put this into an enclosure powerd by 9vdc battery.
Any help would be appreciated.

Thanks
Liam
Logged

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What's the interface (or model #) of the LCD?
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Cleveland, TN
Offline Offline
Full Member
***
Karma: 2
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unless I am just missing the intent, take the 328P out of the UNO, put it on a board with an LDO Voltage regulator (and associated components) and you are in business. You will need the LDO because a 9V battery will only let you use a small percentage of it before the regulator will no longer convert the voltage. The LDO will greaty increase your battery usage.

You already know what pins are needed for what since it is all working with the UNO. For somthing this simple, you don't need to have a custom board made. Just use wires to connect everything. I would recommend getting a socket for the chip in case you run into programming issues. It would suck to have it hard soldered to a board and have to re-program it. While it is possible usng the Arduino as a programmer, the socket just makes it easier.

When you are done, buy another chip from Sparkfun, they have them already loaded with the Bootloader for $5.50. Stick it in the UNO and you still have your rather expensive UNO for your next project development.

I am convinced that this is a major misconception about AVR chips and the Arduino. I am an absolute newb at Arduino having come from a PIC background and I avoided Arduino for the longest time for exactly this reason. I was always convinced that you have to have the Arduino board in your finished project. You don't.

Luck,

Wade
Logged

Luck,

Wade

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27143
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This little board will do the trick for you.
Can buy the needed components from www.dipmicro.com pretty inexpensively.
http://store.nkcelectronics.com/arduino-runtime-board-rev-b.html
they have bootloaded processors too.
Get an FTDI basic for the USB/serial adapter for downloading sketches.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
When you are done, buy another chip from Sparkfun, they have them already loaded with the Bootloader for $5.50.

Just a note on that - you can get blank chips much cheaper, Digikey has qty 25 for $2.47 ea:

http://search.digikey.com/us/en/products/ATMEGA328-PU/ATMEGA328-PU-ND/2271026

and it's really easy to burn the bootloader yourself with Westfw's excellent Optiloader:

https://github.com/WestfW/OptiLoader

Good luck!
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think it's even possible using an atiny and controlling the LCD via I²C.
there are examples of how to program the atiny using your arduino.
Logged

Cleveland, TN
Offline Offline
Full Member
***
Karma: 2
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes they can be had cheaper but Bootloading for the novice (read me) can be a confusing topic that's why I find it worth the extra couple of bucks to get the one that is pre-bootloaded without having to yet learn those extra pieces of the puzzle.

As far as the ATTiny. You run into a couple of the same problems. For the beginner, programming the ATTiny is not quite as obvious as sticking a 328 in the UNO. Also, unless you buy the serial 7 segment display you are not going to be able to I2C it. And the cost difference between the Parallel and Serial displays is profound when you consider the minimal cost savings of going from a 328 to a tiny.

So for the absolute beginner as the OP (and myself) claim to be, the 328 is the way to go. Simple, yet elegant and CHEAP! Almost any enclosure that will hold the 4 digit 7 segment display will be big enough for the 328 and its peripherals.

I am developing on the UNO right now (I have had it for exactly 3 days but have researched it for a long time now) but due to size constraints will ultimately move to the TQFP package so all of these things will soon become very important to me but for now, as a novice, simple is better.
Logged

Luck,

Wade

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27143
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you need a little board with minimal parts for the TQFP, take a look at the Mini-uino at my signature link.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Full Member
***
Karma: 2
Posts: 106
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks
Imagree, simple is better and 2 bucks is no big issue. I ordered them and the boards which were $1.75 each.
Thanks for the help..
Logged

Smithfield, Rhode Island
Offline Offline
God Member
*****
Karma: 3
Posts: 843
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well the money saved by installing the boot loader yourself depends upon your business model, but do you really need the boot loader? It is possible to take the HEX file generated by the compiler and burn that directly into the processor. It will run your code every time you power it up. You won't be able to update the code using AVRDUDE, you would need a programmer. But you seemed to indicate you won't have a USB interface anyhow, so why not just deploy your product without a boot loader at all?
Logged

Cleveland, TN
Offline Offline
Full Member
***
Karma: 2
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Crossroads, even your board is too big. I have to fit a lot of components into a very small space. This includes a tactile switch with a cap, an Xbee and a Coin cell battery. even going 2 sided I am struggling to cram it all in. The XBee is killing me so I have been looking for other, more cost effective solutions for wireless comms.

In fact, I bought one of these http://search.digikey.com/us/en/products/C8051T610DB32/336-1505-ND/1850830 to make this a lot easier. I actually bought the last one they had in stock. Could not beat $25.

For the OP. Sorry to hijack. Keep us updated on your project.

Wade
Logged

Luck,

Wade

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27143
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

1.3" x 1.3" is too big? 
Well, The extra grounds can be deleted, 0.5" pins can be used, the xtal can go surface mount, the parts can go down to 0603.
Instead of TQFP, the even smaller leadless package can be used for the '328.
I don't see how that huge socket helps.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Cleveland, TN
Offline Offline
Full Member
***
Karma: 2
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The socket is merely to build a programmer. Sorry that was misleading. I was struggling with the challenge of having to program the TQFP package off board. I was going to build the ISP into the board until I ran across a post on the Jeenode site where he uses that socket for a programmer. Even a 2x3 header on my board was a lot of real estate I couldn't afford. I toyed with the idea of bringing the ISP out to a mini A usb connector but had the same problem and wasn't sure I could pull that off due to pin counts. It would have been nice to have the option of updated the software but it wasn't critical. 
Logged

Luck,

Wade

Smithfield, Rhode Island
Offline Offline
God Member
*****
Karma: 3
Posts: 843
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How many of these are you building? You can buy your processors already programmed from DigiKey.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27143
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are bringing the pins out to IOs that you can access, you can make an adapter cable & connect your programmer up that way also - as long as whatever you have on D11,12,13 are not outputs that will interfere with the programmer.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1] 2   Go Up
Jump to: