josephjw / arduino-tiny Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/arduino-tiny
License: Other
Automatically exported from code.google.com/p/arduino-tiny
License: Other
The following works (it uses empty25at8 from ATtiny25 - I'm not sure what that
is supposed to be). Burn Bootloader works fine to set the fuse bits to work at
8MHz. I would presume similarly copying the attiny25at1 entry would work to
produce the attiny24at1 entry.
###########################################################################
attiny24at8.name=ATtiny24 @ 8 MHz
# The following do NOT work...
# attiny24at8.upload.using=avrispv2
# attiny24at8.upload.using=Pololu USB AVR Programmer
# The following DO work (pick one)...
attiny24at8.upload.using=arduino:arduinoisp
# attiny24at8.upload.protocol=avrispv2
# attiny24at8.upload.using=pololu
attiny24at8.upload.maximum_size=2048
# Default clock (slowly rising power; long delay to clock; 8 MHz internal)
# Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms;
[CKSEL=0010 SUT=10]; default value
# Brown-out detection disabled; [BODLEVEL=111]
# Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0]
attiny24at8.bootloader.low_fuses=0xE2
attiny24at8.bootloader.high_fuses=0xD7
attiny24at8.bootloader.extended_fuses=0xFF
attiny24at8.bootloader.path=empty
attiny24at8.bootloader.file=empty25at8.hex
attiny24at8.bootloader.unlock_bits=0xFF
attiny24at8.bootloader.lock_bits=0xFF
attiny24at8.build.mcu=attiny24
attiny24at8.build.f_cpu=8000000L
attiny24at8.build.core=tiny
Original issue reported on code.google.com by [email protected]
on 7 Feb 2012 at 12:15
http://arduino.cc/forum/index.php?topic=87064.new;topicseen#new
Original issue reported on code.google.com by [email protected]
on 21 Feb 2012 at 5:48
I Use Attiny85. like this
http://hlt.media.mit.edu/?p=1695
#include <EEPROM.h>-- Compile is Passed.
But <EEPROM.h> does NOT Work.
How to use EEPROM with ATtiny?
or Will be Support?
Original issue reported on code.google.com by [email protected]
on 21 Feb 2012 at 6:19
Investigate adding PLL support...
http://arduino.cc/forum/index.php/topic,84551.msg633493.html#msg633493
Original issue reported on code.google.com by [email protected]
on 25 Dec 2011 at 8:10
Ensure the core builds with no warnings...
http://arduino.cc/forum/index.php/topic,85840.msg642903.html#msg642903
Original issue reported on code.google.com by [email protected]
on 5 Jan 2012 at 7:06
Update / provide instructions for the Tiny Tuner...
http://arduino.cc/forum/index.php/topic,69220.msg512998.html#msg512998
Original issue reported on code.google.com by [email protected]
on 14 Aug 2011 at 6:21
Ensure the empty / pseudo-bootloader images really are empty.
Original issue reported on code.google.com by [email protected]
on 24 Sep 2011 at 6:54
What steps will reproduce the problem?
1.Write some arduino code useing '#include <Servo.h>' to use the servo library
which is available for the arduino uno (and more)
2.Hit compile
3.Watch the error messages pop up
What is the expected output? What do you see instead?
What I get is:
E:\arduino-0022\libraries\Servo\Servo.cpp: In function 'void __vector_3()':
E:\arduino-0022\libraries\Servo\Servo.cpp:105: error: cannot convert 'volatile
uint8_t*' to 'volatile uint16_t*' for argument '2' to 'void
handle_interrupts(timer16_Sequence_t, volatile uint16_t*, volatile uint16_t*)'
E:\arduino-0022\libraries\Servo\Servo.cpp: In function 'void
initISR(timer16_Sequence_t)':
E:\arduino-0022\libraries\Servo\Servo.cpp:151: error: 'TCCR1A' was not declared
in this scope
E:\arduino-0022\libraries\Servo\Servo.cpp:152: error: 'TCCR1B' was not declared
in this scope
E:\arduino-0022\libraries\Servo\Servo.cpp:159: error: 'TIFR1' was not declared
in this scope
E:\arduino-0022\libraries\Servo\Servo.cpp:160: error: 'TIMSK1' was not declared
in this scope
And it is not compiling
What version of the product are you using? On what operating system?
I'm using the arduino IDE v22 on windows 7 ultimate and added the ATtiny85
cores accordingly to the readme.txt file in the downloaded package
Could you please consider implementing the servo library into the ATtiny85 core.
Thanks in advance
Original issue reported on code.google.com by [email protected]
on 20 Oct 2011 at 6:56
https://github.com/arduino/Arduino/commit/b14a3c501ebd62afff251fb69169df6a6bcf97
58
Original issue reported on code.google.com by [email protected]
on 26 Oct 2011 at 8:06
The Arduino IDE replaces WProgram.h with Arduino.h, breaking everything.
There's an easy fix: add a file "Arduino.h" inside cores/tiny/ with one line in
it:
#include <WProgram.h>
Easy fix. There may be more incompatibilities, but this got my basic sketch
compiling again.
Original issue reported on code.google.com by [email protected]
on 5 Oct 2011 at 10:33
http://arduino.cc/forum/index.php/topic,85238.0.html
Original issue reported on code.google.com by [email protected]
on 19 Feb 2012 at 9:09
Use this for Serial on the 2313?
http://arduino.cc/forum/index.php/topic,91377.msg696451.html#msg696451
http://arduino.cc/forum/index.php/topic,85207.0.html
Original issue reported on code.google.com by [email protected]
on 19 Feb 2012 at 7:30
For example...
http://arduino.cc/forum/index.php/topic,91314.msg735641.html#msg735641
Original issue reported on code.google.com by [email protected]
on 24 Mar 2012 at 8:22
http://arduino.cc/forum/index.php/topic,51984.msg469327.html#msg469327
Original issue reported on code.google.com by [email protected]
on 20 Jun 2011 at 7:41
What steps will reproduce the problem?
1.Make with tiny core including Arduino1.0 that referencesPrint.h
2.
3.
What is the expected output? What do you see instead?
Compile files due to cast differences. arduino.tiny's casts do not match the
arduino1.0's casts. Specifically, may observed failures is:
/home/user/arduino/arduino-1.0/libraries/SoftwareSerial/SoftwareSerial.h:92:
error: conflicting return type specified for ‘virtual size_t
SoftwareSerial::write(uint8_t)’
/home/user/arduino/arduino-1.0/hardware/tiny/cores/tiny/Print.h:71: error:
overriding ‘virtual void Print::write(uint8_t)’
What version of the product are you using? On what operating system?
arduino-tiny-0100-0010 on Linux amd64 (2.6.32-34-generic #77-Ubuntu SMP Tue Sep
13 19:39:17 UTC 2011 x86_64 GNU/Linux) and Arduino1.0
Please provide any additional information below.
Original issue reported on code.google.com by comer.edward
on 15 Feb 2012 at 3:42
I am not able to use an interrupt based on a timer overflow on Attiny 84.
This code doesn't work:
int counterT=0;
int starterT=0;
byte state=1;
#define LED 0
void setupTimer() {
float prescaler;
//during setup, disable all the interrupts based on timer 0
TIMSK0 &= ~(1<<TOIE0);
TIMSK0 &= ~((1<<OCIE0A) | (1<<OCIE0B));
//normal mode: increment counter until overflow
TCCR0B &= ~(1<<WGM02);
TCCR0A &= ~((1<<WGM01) | (1<<WGM00));
//normal mode: no pwm generation
TCCR0A &= ~((1<<COM0A0) | (1<<COM0A1));
TCCR0A &= ~((1<<COM0B0) | (1<<COM0B1));
//sets the prescaler depending on the system clock
if ((F_CPU == 16000000UL) || (F_CPU == 8000000UL)) {
TCCR0B &= ~(1<<CS02);
TCCR0B |= ((1<<CS01) | (1<<CS00));
prescaler = 64.0;
} else if (F_CPU == 1000000UL) {
TCCR0B &= ~((1<<CS02) | (1<<CS00));
TCCR0B |= (1<<CS01);
prescaler = 8.0;
}
starterT = 256 - (int)((float)F_CPU * 0.001 / prescaler);
TCNT0 = starterT;
TIMSK0 |= (1<<TOIE0);
}
ISR(TIMER0_OVF_vect) {
TCNT0 = starterT;
counterT++;
if (counterT>999) {
state ^=1;
counterT=0;
digitalWrite(LED, state);
}
}
void setup() {
pinMode(LED, OUTPUT);
digitalWrite(LED, state);
setupTimer();
}
void loop() {
}
Led lights up forever.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2011 at 11:12
What steps will reproduce the problem?
1. #include <SoftwareSerial.h>
2.
3.
What is the expected output? What do you see instead?
arduino-1.0/libraries/SoftwareSerial/SoftwareSerial.h:92:18: error: conflicting
return type specified for ‘virtual size_t SoftwareSerial::write(uint8_t)’
arduino-1.0/hardware/tiny/cores/tiny/Print.h:71:18: error: overriding
‘virtual void Print::write(uint8_t)’
What version of the product are you using? On what operating system?
0100-0012
Please provide any additional information below.
sample sketch
#include <SoftwareSerial.h>
void setup() {}
void loop() {}
Original issue reported on code.google.com by [email protected]
on 13 Mar 2012 at 11:01
Update the comments in pins_arduino.c to accurately reflect the code / hardware.
http://arduino.cc/forum/index.php/topic,65827.msg482860.html#msg482860
http://code.google.com/p/arduino-tiny/source/browse/trunk/hardware/tiny/cores/ti
ny/pins_arduino.c
Original issue reported on code.google.com by [email protected]
on 7 Jul 2011 at 9:07
Add to documentation...
http://arduino.cc/forum/index.php/topic,51984.msg528626.html#msg528626
Original issue reported on code.google.com by [email protected]
on 31 Aug 2011 at 10:15
https://github.com/arduino/Arduino/commit/18838fb44a64e6d2550f79d447360ec46dd832
ce
...sort of. Add "#define NO_LED_BUILTIN 1" to indicate there is no built-in
LED.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2011 at 8:08
Add / improve / document support for SPI / slave...
http://arduino.cc/forum/index.php/topic,71975.msg538527.html
Original issue reported on code.google.com by [email protected]
on 11 Sep 2011 at 6:39
http://arduino.cc/forum/index.php/topic,64105.msg668661.html#msg668661
Original issue reported on code.google.com by [email protected]
on 28 Jan 2012 at 9:34
Remove CORE_DIGITAL_FIRST and CORE_DIGITAL_LAST. Assume the pin numbers are
sequential starting from zero.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2012 at 9:16
After upgrading to Ubuntu Ocelot (11.10), projects targeted for ATtinys will
not compile due to an error with the round function in math.h. This probelm is
when using Arduino IDE v022.
The round function is duplicated by a macro in wiring.h. Even though this macro
has been around forever, and for some strange reason still works when targeting
ATmega chips, it causes the compiler to choke for ATtiny chips.
Simply commenting out the line (136) in wiring.h:
//#define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
fixes the problem.
Original issue reported on code.google.com by [email protected]
on 2 Nov 2011 at 4:14
Add an INITIALIZE_PRIMARY_TIMER option that controls the initialization of the
MillisTimer.
Original issue reported on code.google.com by [email protected]
on 1 Oct 2011 at 7:47
http://arduino.cc/forum/index.php/topic,80810.msg619507.html#msg619507
Original issue reported on code.google.com by [email protected]
on 20 Dec 2011 at 8:23
http://arduino.cc/forum/index.php/topic,87195.0.html
Original issue reported on code.google.com by [email protected]
on 15 Jan 2012 at 7:24
Add "arduino:avrispmkii" as one of the examples.
"changed it from "attiny85at8.upload.protocol=avrispv2" to
"attiny85at8.upload.protocol=arduino:avrispmkii" and it started working great"
Original issue reported on code.google.com by [email protected]
on 18 Oct 2011 at 7:28
http://arduino.cc/forum/index.php/topic,67921.msg379947.html
Original issue reported on code.google.com by [email protected]
on 29 Jul 2011 at 10:12
As part of Arduino 1.0, I'm hoping to make it easier to use the standard
Arduino core with different processors. In particular, there's been a lot of
work done to remove all #ifdef's based on processor names and replace them with
register names so that they should work on more processors. We've also added a
mechanism (a new BOARD.build.pins preference in boards.txt) that allows for
boards to use a custom version of the pins_arduino.h (the value of the
preference indicates the sub-directory of the new pins/ directory in which the
appropriate pins_arduino.h file resides). I'd like to improve and extend this
mechanism to allow for ATtiny support with the standard Arduino core and a
custom pins_arduino.h file.
I'd love to have your help with this. In particular, making sure the
mechanisms are flexible enough for ATtiny support and in creating the right
pins_arduino.h files, etc.
Feel free to reply here, on the developers mailing list
(http://mail.arduino.cc/mailman/listinfo/developers_arduino.cc), or just by
opening individual issues on the Arduino Google Code project with changes you'd
like to see.
The Arduino 1.0 code is available on GitHub:
https://github.com/arduino/Arduino/tree/new-extension and there's a beta
release:
Windows: http://files.arduino.cc/downloads/arduino-1.0-beta1.zip
Mac OS X: http://files.arduino.cc/downloads/arduino-1.0-beta1.dmg
Linux (32-bit): http://files.arduino.cc/downloads/arduino-1.0-beta1.tgz
Linux (64-bit): http://files.arduino.cc/downloads/arduino-1.0-beta1-64.tgz
Source: http://files.arduino.cc/downloads/arduino-1.0-beta1-src.tar.gz
BTW, I'm the lead software developer for Arduino. Apologies for getting in
touch this way, but I wasn't sure how else to reach you.
Original issue reported on code.google.com by [email protected]
on 29 May 2011 at 6:22
On release, follow-up here...
http://arduino.cc/forum/index.php/topic,86315.msg646427.html#msg646427
Original issue reported on code.google.com by [email protected]
on 9 Jan 2012 at 7:02
Running the following sketch at 8mhz (internal clock) will produce garbage on
the serial output:
void setup() {
Serial.begin(9600);
}
void loop() {
delay(1000);
Serial.println("hello world!");
}
At a 1mhz clock this code works fine. Is this due to out of spec attiny's? I
tested with 5 seperate attiny's. Or, am I missing something crucial here?
What can I do to troubleshoot this issue?
Original issue reported on code.google.com by [email protected]
on 18 Oct 2011 at 9:12
http://arduino.cc/forum/index.php?action=pm;f=inbox;sort=date;start=90#msg10654
Original issue reported on code.google.com by [email protected]
on 16 Sep 2011 at 4:17
The TIMER_TO_USE_FOR_MILLIS option in "core_build_options.h" should allow timer
0 to be selected for millis. This does not work correctly for the ATtiny85
processor. Details are here...
http://arduino.cc/forum/index.php/topic,51984.msg454229.html#msg454229
Original issue reported on code.google.com by [email protected]
on 2 Jun 2011 at 8:26
Add full support for the 328 family including...
http://arduino.cc/forum/index.php/topic,84210.msg630816/boardseen.html#new
Original issue reported on code.google.com by [email protected]
on 22 Dec 2011 at 6:25
The zip file, arduino-tiny-0022-0008.zip, contains an eeprom.h file with path
\tools\avr\avr\include\avr\, however in the stock Arduino-0022 software, a file
by that name already exists and is slightly larger than the one provided in the
zip file.
What is the correct course of action for this file?
Attached is a diff file between the two, seems to be related to the Mega2560.
Original issue reported on code.google.com by [email protected]
on 8 Jul 2011 at 8:41
Attachments:
When I try to compile a sketch for Attiny85 with an interrupt service routine
hooked to TIMER1_OVF I get this error from Arduino IDE:
core.a(wiring.c.o): In function 'init':
/home/percorso/alla/cartella/Arduino/arduino-tiny-022/hardware/tiny/cores/tiny/w
iring.c:234: multiple definition of '__vector_4'
sketch_sep27b.cpp.o:sketch_sep27b.cpp:36: first defined here
If I use the TIMER0 I get no compilation errors.
To reproduce the error, just create a new sketch and copy the following code:
void setup() {
}
void loop() {
}
ISR(TIMER1_OVF_vect){
}
If you change TIMER1_OVF_vect with TIMER0_OVF_vect the compilation ends without
errors.
(I simplified the sketch, I didn't copy all my code: the example above is
enough to reproduce the error).
What steps will reproduce the problem?
I'm using Arduino 0022 IDE with Tiny cores 0022.
Original issue reported on code.google.com by [email protected]
on 28 Sep 2011 at 8:05
I have seen on HardwareSerial.cpp that you disable the library to use the debug.
I'm opening this issue to you document how to enabled it back when you have a
USART capable ATTINY like attiny2313.
Original issue reported on code.google.com by [email protected]
on 30 Jun 2011 at 9:46
I want to make Tiny13A core with Tiny Arduino!
TINY13A core summary
MAX Frq 20Mhz
1KB FLASH
64byte EEPROM
64byte SRAM
Do you know how to make TINY13A core Arduino Tiny ?
Original issue reported on code.google.com by [email protected]
on 18 Nov 2011 at 1:23
http://arduino.cc/forum/index.php/topic,72121.msg487009.html#new
Original issue reported on code.google.com by [email protected]
on 13 Sep 2011 at 9:12
What steps will reproduce the problem?
1.able to program a atttiny 2313
2. pin as output works fine
3. can not find analog input
What is the expected output? What do you see instead?
n/a
What version of the product are you using? On what operating system?
latest
Please provide any additional information below.
how do you attach a analog sensor and read it from this chip
what pins are analog input for sensor.
Original issue reported on code.google.com by [email protected]
on 6 Mar 2012 at 11:12
http://arduino.cc/forum/index.php/topic,92547.msg706908.html#msg706908
Original issue reported on code.google.com by [email protected]
on 28 Feb 2012 at 7:02
Can someone add the attiny12(l) to the supported hardware, this chip is cheap
and can be usefull as FET or transistor or LED driver....
Original issue reported on code.google.com by [email protected]
on 18 Jul 2011 at 8:30
http://arduino.cc/forum/index.php/topic,64105.msg550700.html#msg550700
Original issue reported on code.google.com by [email protected]
on 24 Sep 2011 at 6:26
Please... Need very much.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2011 at 10:20
Does this need to be applied?
http://arduino.cc/forum/index.php/topic,70045.0.html
Original issue reported on code.google.com by [email protected]
on 22 Aug 2011 at 5:08
https://github.com/arduino/Arduino/commit/ec09ead6ac7528239d25853c41b94a6dbfb0bd
9b
Original issue reported on code.google.com by [email protected]
on 26 Oct 2011 at 8:07
http://www.makehackvoid.com/project/MHVLib
Original issue reported on code.google.com by [email protected]
on 9 Jan 2012 at 8:55
What steps will reproduce the problem?
1.Windows 7
2.
3.
What is the expected output? What do you see instead?
Compile an uploads to ATTINY85
What version of the product are you using? On what operating system?
Arduino 1.0 Windows 7
Please provide any additional information below.
Program:
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(0, OUTPUT);
}
void loop() {
digitalWrite(0, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(0, LOW); // set the LED off
delay(1000); // wait for a second
}
Compile errors:
Blink2.cpp:8:21: error: Arduino.h: No such file or directory
Blink2.cpp: In function 'void setup()':
Blink2:10: error: 'OUTPUT' was not declared in this scope
Blink2:10: error: 'pinMode' was not declared in this scope
Blink2.cpp: In function 'void loop()':
Blink2:14: error: 'HIGH' was not declared in this scope
Blink2:14: error: 'digitalWrite' was not declared in this scope
Blink2:15: error: 'delay' was not declared in this scope
Blink2:16: error: 'LOW' was not declared in this scope
I reloaded and and unzipped everything again. Tried to use the MIT hi low tech
Procedure. Using Arduino Duemilanove.
I would really like to get these inexpensive chips to work. It seems like the
compiler for got how to find the library files. I tried to add abunch of header
files but that is not needed if I compile and upload to an arduino.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2011 at 12:27
http://arduino.cc/forum/index.php/topic,70178.0.html
Original issue reported on code.google.com by [email protected]
on 23 Aug 2011 at 11:32
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.