Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16465
Available for Design & Build services
|
 |
« Reply #270 on: March 24, 2012, 08:13:57 pm » |
How do you need to operate the LiPos? 4 cells individually? 1 large pack of 4 in series? How much current is drawn when active?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 68
|
 |
« Reply #271 on: March 26, 2012, 07:10:59 pm » |
I would like to use 4 cells, I need it to run 9 feet of LED strip, I think its about 2A, and also power the micro at 5v 5.5 max
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 68
|
 |
« Reply #272 on: March 26, 2012, 07:12:08 pm » |
Yeah that is what steered me away at first
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16465
Available for Design & Build services
|
 |
« Reply #273 on: March 26, 2012, 07:24:16 pm » |
I would look into a charge control chip such as this http://www.maxim-ic.com/datasheet/index.mvp/id/4534
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 68
|
 |
« Reply #274 on: March 26, 2012, 07:31:00 pm » |
This would be very nice to integrate into my chip!  Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16465
Available for Design & Build services
|
 |
« Reply #275 on: March 26, 2012, 08:01:57 pm » |
Into your chip, or onto your board? 
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16465
Available for Design & Build services
|
 |
« Reply #276 on: March 26, 2012, 08:25:09 pm » |
« Reply #267 on: March 24, 2012, 12:06:20 AM » Charge chip turned itself off about 15 minutes ago, so that part of the circuit seems to work okay. Will let it blink away overnight, see how it is in the morning. 3.281V out of the regulator now. 9:15pm Monday night, almost 72 hours, LED flashing became erratic. Time for a recharge!
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #277 on: March 29, 2012, 06:13:55 pm » |
Got my through-hole PCB from CrossRoads today and got it all put together and soldered up. Works like a champ (except Mouser sent me the wrong size DC power jack, but I made do). Thanks for your work laying out, producing, and distributing the board, CrossRoads!  Went together pretty easily. The main difficulty I had was, the silkscreen doesn't make it very clear which way the LEDs go. L and PWR are pretty obvious since you can see that one side ties into the ground plane, but for TX and RX I had to dig back through the thread for the schematic to see which side the +5V would be coming from. Also, my surface-mount soldering looks like crap (especially that poor PTC fuse. Ugliest solder job I've done in a while), but that's on me, and anyway it gets the job done  .
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15312
Measurement changes behavior
|
 |
« Reply #278 on: March 29, 2012, 06:31:47 pm » |
Got my through-hole PCB from CrossRoads today and got it all put together and soldered up. Works like a champ (except Mouser sent me the wrong size DC power jack, but I made do). Thanks for your work laying out, producing, and distributing the board, CrossRoads!  Went together pretty easily. The main difficulty I had was, the silkscreen doesn't make it very clear which way the LEDs go. L and PWR are pretty obvious since you can see that one side ties into the ground plane, but for TX and RX I had to dig back through the thread for the schematic to see which side the +5V would be coming from. Also, my surface-mount soldering looks like crap (especially that poor PTC fuse. Ugliest solder job I've done in a while), but that's on me, and anyway it gets the job done  . Good to hear. Any difficulties getting a bootloader burned into the 1284p? Can you describe the method and steps you took to perform loading the bootloader? I too bought a pair of THB PCBs, but don't know when I will get around to acquiring the odds and ends parts to get it going. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16465
Available for Design & Build services
|
 |
« Reply #279 on: March 29, 2012, 07:17:08 pm » |
Cool! @amateurasu , how about a picture? I see what you mean about the LED marking: It looks so clear on the Eagle layout, cathodes to the left, or up for the power LED - but loses just enough on the stenciling to make it not clear.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #280 on: March 29, 2012, 11:15:04 pm » |
I've been programming it with ICSP, using my Pololu USB AVR programmer, so I can't speak to how it works over FTDI or that Mikroelektronika board (I put the FTDI header on, but didn't buy a Mikro to put on). I still haven't got the Arduino software to be able to burn to it directly (keep getting data mismatch errors when avrdude tries to verify the burn), but after it fails, I can find the .hex file it leaves in the temp directory and burn that using AVR Studio 5. I'll see about getting a picture up tomorrow. For now, it's bedtime. 
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15312
Measurement changes behavior
|
 |
« Reply #281 on: March 30, 2012, 09:47:09 am » |
I've been programming it with ICSP, using my Pololu USB AVR programmer, so I can't speak to how it works over FTDI or that Mikroelektronika board (I put the FTDI header on, but didn't buy a Mikro to put on). I still haven't got the Arduino software to be able to burn to it directly (keep getting data mismatch errors when avrdude tries to verify the burn), but after it fails, I can find the .hex file it leaves in the temp directory and burn that using AVR Studio 5. I'll see about getting a picture up tomorrow. For now, it's bedtime.  So basically you haven't proved that you can program the board using the arduino IDE with either ICSP or bootloader. Are you planning on pursuing that 'problem'? Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #282 on: March 30, 2012, 12:36:27 pm » |
I was having the same problem even with just a basic breadboard setup. The Arduino software sees the 1284P, gets the right Device ID response, and I can successfully burn the bootloader and set the fuses. But when I try to actually upload a program, avrdude seems to get the responses it's looking for and sets about programming the chip, but then when it's checking the burn, it gives me a "verification error; content mismatch". It's not always at the first byte, either. On my breadboard setup, the mismatch would happen at 0x0000 or 0x0002, seemingly randomly, but on the board it's happening at 0x0157 pretty consistently. I've attempted to use the IDE to program some other ATtiny's, offboard 328P's, etc. before, and it never seems to work right. The few times I've been able to get it to work, if I change settings to do something else and then change back to what worked, it no longer works. Personally, I just don't think it's worth the effort trying to force the Arduino IDE to do something it is so clearly ill-suited for, when I have a workable, if inelegant, solution using AVR Studio. Arduino IDE works great if you're plugged into an Arduino over USB. Everything else I've tried has been a headache. Anywho, pictures! If you could all just pretend not to see that poor little polyfuse, I'd appreciate it.  edit: Wow, didn't notice until I looked at the pictures, but looks like I must have hit the female header strip with my soldering iron near D5. Oops... 
|
|
|
|
« Last Edit: March 30, 2012, 12:42:28 pm by amateurasu »
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 6
Posts: 1399
Arduino rocks
|
 |
« Reply #283 on: March 30, 2012, 12:56:37 pm » |
Beautiful board! Regarding burning the bootloader on 1284 and using it with Arduino IDE, did you follow this thread (especially the last few posts)?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16465
Available for Design & Build services
|
 |
« Reply #284 on: March 30, 2012, 01:06:13 pm » |
Nice job! Wow, those resistors look so old school now.
I was envisioning the 2x3 header in the corner to be pins also, to select whether SCL/SDA or A4/A5 (or) D18/D19 went over to the shield header.
Did you cutoff the Power header to make it 7 pins instead of 8?
|
|
|
|
|
Logged
|
|
|
|
|
|