Show Posts
Pages: 1 [2]
16  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 27, 2013, 04:49:31 pm
Thanks for the reply.  The Sparkfun board has a means of running at 5v (basically de-solder a link and bridge the two pins ( https://forum.sparkfun.com/viewtopic.php?f=15&t=21234 )

Like I said, it works fine when using the normal 328P with the uno bootloader.  It looks to me as if the optiboot isn't talking the same language or at the same speed ! - hence the protocol error
17  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 27, 2013, 04:01:26 pm
Well after spending most of my time sorting out the arrangements following a bereavement in the family I have been able to spend a few hours trying to get the 1284P to talk with the PC and upload a program.  But to no avail.

Just to prove that the FTI breakout board was working fine, I breadboarded the 328P chip I received off e-bay, and could upload the blink and fade exampled with no issue.  Breadboarded the 1284P and hooked up the FTI board - no matter what board I select from the dropdown option I get the attached error.

Looks like I'll have to have a re-think on my project to see if I can do all the control I want using the 328P smiley-sad
 
18  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 26, 2013, 06:11:27 am

 @malc-c

 What FTDI are you using? Also, it is possible you have the RX and TX swapped. It will not hurt anything to try swapping those leads.

It's a sparkfun FT232 Brakeout board.  It worked fine with the original 328P, and I've also tried swapping the TX and RX lines over.  I get pulses on the TX / LX leds, its as if the software is sending a request to upload the data, but not receiving the Ok to send it.  I'll strip the breadboard and re-wire it just in case I've missed something (I seem to remember I had a similar issue with the 328P until I tied one of the voltage reference pins to supply.)
19  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 25, 2013, 03:04:18 am
Lets see if this works



ignore the ISP connections, I've just used the serial connection shown

and yes I've tried DTR connected via the 0.1uf capacitor, and without - It doesn't get that far to reset the chip
20  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 24, 2013, 05:53:34 pm
Robert,

Fantastic service - and whilst I wait for a few of the other components to arrive I've breadborded the 1284p as per this schematic



having downloaded the files from the site http://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/  I can select the board in the drop down list, however when I come to upload the blink example I get the attached error.

I've tried swapping the TX / DX leads - no affect, different baud rates - no affect - on my FTDI board I get what seems to be a good comms as both TX and RX leds pulse, and shorting these wires results in an echo on the serial monitor, so the FTDI is working fine.

Anyone have any suggestions.  I thought the transition from PIC to AVR / Ardunio was going to be a smooth one !

21  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 17, 2013, 02:49:59 pm
Hi,

Yes, using a 16mhz xtal with caps.

Have sent you a PM regarding the previous mail etc

Malcolm
22  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 17, 2013, 04:23:09 am
Crossroads... sent you a mail but not received a reply.. looking for the cost of a bare board and a bootloader programmed 1284 posted to the UK.  Can you advise please
23  Using Arduino / LEDs and Multiplexing / Re: Aquarium lighting, multiple PWM channels on: January 17, 2013, 04:20:19 am
Thanks for the replies... Need to order some bits for the breadboard and start experimenting soon  These Arduino things look more promising than trying to program PICs with PicBASIC pro smiley
24  Using Arduino / LEDs and Multiplexing / Aquarium lighting, multiple PWM channels on: January 14, 2013, 02:33:44 pm
Hi,

Total newbie here... I'm basically looking for some guidance on how to code three independent PWM channels for my DIY aquarium lighting rig.  For example, channel 1 would come on at say 10:00am, and fade up from 0 - 100 (0 to 254) over the course of an hour, so basically each step would be 14.75 seconds.  Fine if you were using a simple pause statement, but if I want to turn on channel 2 at say 10:15am and fade up from 0 - 100% over 90 minutes couldn't have two pause statements running at the same time as each step would be 21.17 seconds for the latter.

Any ideas how to have three channels running at the same time, plus the ability to read a a RTC and monitor switches at the same time  - Don't want much do I smiley
25  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 14, 2013, 03:26:49 am
Looks like it smiley

I'll drop you an e-mail shortly
26  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 13, 2013, 05:56:39 pm


Google for "standalone arduino"...


Have done, but most throw up breadboarded 328 chips, which is what I currently have
27  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 13, 2013, 04:36:35 pm
Thanks for the links...

To be honest, I need to do some further research, I wasn't under the impression that the AVR could be programmed like a PIC chip.  If that is the case then one of those ISP might be the option.  I'll also look at shift registers, but ideally having direct ports would be easier for my brain cells round smiley

28  Using Arduino / Microcontrollers / Re: atmega1284 programming from a 328 chip on: January 13, 2013, 04:01:47 pm
Thanks for the input.

Is there already a 40 pin DIP Arduino that can be purchased with a bootloader installed ?

The idea is to breadboard the project and then design a PCB, rather than go down the route of using shields.  I did something similar with a PIC some years back



However, I had a lot of assistance with PicBASIC Pro and having now discovered Arduino's love how easy it is to develop the code and move the project along quickly...
29  Using Arduino / Microcontrollers / atmega1284 programming from a 328 chip on: January 13, 2013, 01:21:09 pm
Hi guys,

I've purchased a chip off e-bay which was programmed with the bootloader so I could learn about these devices, but without purchasing the normal arduino board as funds were tight.  I have the device running on a breadboard flashing the led using the default example code.  However one of the projects I want to build requires a 40 pin chip as there isn't enough pins on the standard chip.  If I purchased a blank atmega1284p can I upload a bootloader to it using the current chip running the Uno platform ?
Pages: 1 [2]