Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Include additional boards.txt from user directory on: April 08, 2010, 07:41:39 pm
Quote
Don't use "arduino" as the sub-directory of the hardware directory.  If you use anything else, the boards will be added to the default ones instead of replacing them.  Documentation here: http://arduino.cc/en/Guide/Environment#thirdpartyhardware

That works just like it should.  Example: in the sketchbook directory, create a hardware directory.  Inside that directory, create another directory for the new board, and put the add-on boards.txt file there.  For example, on my FreeBSD system where ~/.arduino is my sketch directory:

~/.arduino/hardware/metaboard/boards.txt.

(Evidently board files have to go in subdirectories of hardware, not just in the hardware directory itself.)
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Include additional boards.txt from user directory on: March 14, 2010, 02:31:52 am
Quote
Arduino 018 includes some provision for doing this.  From the release notes
Quote
Quote:
* Added support for third-party hardware in the SKETCHBOOK/hardware folder,
mirroring the current structure of the hardware folder in Arduino.
That kind of works here: if the sketch folder has a hardware/arduino/boards.txt file, it is used.  However, it is used instead of the system boards.txt rather than adding to it.  So the earlier example shows only the Metaboard entry under Tools/Board.

Appending the user boards to the default ones on startup seems more elegant.  The user would automatically get changes to the board file when the IDE is updated.
3  Forum 2005-2010 (read only) / Troubleshooting / Include additional boards.txt from user directory on: March 13, 2010, 09:52:21 am
Suggestion: include additional board entries from a boards.txt in the user's sketch directory.  This file would be read on IDE startup and appended to the definitions read from the stock boards.txt.

Reasoning: Currently the user has to edit boards.txt to add new board definitions.  Those definitions can be lost when the Arduino software package is updated or removed.

Example: ~/.arduino/boards.txt to add Metaboard definition to the stock ones already defined in the system boards.txt:

##############################################################

metaboard.name=Metaboard

metaboard.upload.protocol=usbasp
metaboard.upload.maximum_size=14336
metaboard.upload.speed=19200

metaboard.build.mcu=atmega168
metaboard.build.f_cpu=16000000L
metaboard.build.core=arduino

metaboard.upload.disable_flushing=true

##############################################################
4  Forum 2005-2010 (read only) / Bugs & Suggestions / [m by=mellis destboard=swtrouble dest=1268491941]: Include additional boards.txt from user directory on: April 01, 2010, 03:37:57 pm
[moved] [link=http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268491941/0]Troubleshooting[/link] [move by] mellis.
5  Forum 2005-2010 (read only) / Bugs & Suggestions / "Burn Bootloader w/ Arduino as ISP" misnamed on: March 04, 2010, 07:28:40 pm
This menu option should be renamed to match the name used for the example sketch, ArduinoISP.  Maybe also refer to the sketch:

"Burn Bootloader w/ ArduinoISP (see Examples/ArduinoISP)"
6  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: FAQ bug in IDE on: February 19, 2010, 07:32:49 pm
Forgot to mention that this is with the Linux 32-bit download: http://arduino.googlecode.com/files/arduino-0018.tgz
7  Forum 2005-2010 (read only) / Bugs & Suggestions / FAQ bug in IDE on: February 19, 2010, 07:31:21 pm
The Arduino IDE code in pde.jar seems to have the link to the FAQ hardcoded as lowercase "faq.html".  That link doesn't work on case-sensitive file systems; the file isn't found.  Changing the link to match case with the actual file ("FAQ.html") should work regardless of whether the filesystem cares about case.
8  Forum 2005-2010 (read only) / Interfacing / Re: LCD Display not working on: March 30, 2010, 07:40:52 pm
Quote
Based on the datasheet on page 8, you need to supply a negative Voltage to contrast pin, here is the simple negative supply generator using CMOS 4049
http://www.freepicsupload.com/pics/phpo6deuO-4049-neg-supp-schematic.gif.


You can use a PWM pin instead of a 4049 to drive the final section (the last two 10uF capacitors and two 1N4148 diodes).

5V Arduino, 50% duty cycle--analogWrite(pin, 128)--and default PWM frequency gives about -3.7V under load to a 16x2 Optrex 16207-CEM LCD.

This particular LCD really needs the negative voltage for contrast.
9  Forum 2005-2010 (read only) / Interfacing / Re: 156 KHz output on 16MHz Arduino on: March 23, 2010, 05:11:37 pm
Excellent!  Is that limited to pin 11 because of setting it as an output before the timer settings are made, or are other pins affected also?  Thanks!
10  Forum 2005-2010 (read only) / Interfacing / 156 KHz output on 16MHz Arduino on: March 22, 2010, 07:27:12 pm
Is it possible to generate a 156KHz output from an 168 or 328 running at 16MHz?  Just a continuous square wave, frequency not too critical.  Don't need PWM or even on/off, just a frequency source.

Some searching shows various fragmentary settings of the timer control registers and maybe an indication that would only work on certain processors.  My first guess is that to do it in software needs an interrupt routine, but maybe it can be simpler.  If there are examples I've missed, please point to them.

Thanks!
11  Forum 2005-2010 (read only) / News / Port for Arduino on FreeBSD on: April 02, 2010, 12:14:30 pm
A new port has been created to install the Arduino environment on FreeBSD.
Required dependencies like avr-gcc, avr-libc, and avrdude are installed automatically by the ports system.

To install,  update the ports tree using csup or portsnap.  Then, as root:

cd /usr/ports/devel/arduino
make install clean


The preferences.txt file is located in ~/.arduino for each user.
Libraries can be added in ~/.arduino/libraries .

Steven Kreuzer generously assisted with the creation of the port, and Joerg Wunsch also deserves thanks for quick fixes to avr-libc.
Pages: [1]