Show Posts
|
|
Pages: 1 [2] 3 4 ... 8
|
|
16
|
Using Arduino / Project Guidance / Re: Licensing Question
|
on: March 27, 2013, 02:11:20 pm
|
Hey CrossRoads! Well I kinda went through the datasheet and some app-notes before posting here.. But unfortunately they don't clearly state what I'm up against! I don't want to make something (my first real project) and get like a thousand lawsuits from day one! I know that one should get a lawyer for this kind of things, but the project will be community funded, so not enough money for lawyers.. I know that IF (I want my own VID/PID == 1){ I'll have to pay for every license that I'm going to use (USB and LUFA) } else{ I want to use the original arduino bootloader (USB + LUFA) license without any direct modifications.. I don't know what to do here! }
I'm awaiting a email from Dean.. He doesn't like to answer emails (he said that on his blog).. But still I hope he'll give me a answer soon.. I'll post his answer as soon as I get it! //Basel
|
|
|
|
|
17
|
Using Arduino / Project Guidance / Re: Licensing Question
|
on: March 27, 2013, 10:14:57 am
|
It seems to me that these questions should be addressed to the Arduino team, rather than being aired here.
I thought that maybe someone knew something here.. Anyway thanks for even answering this topic =P, I've sent a email with the question to Dean (creator of LUFA)..
|
|
|
|
|
18
|
Using Arduino / Project Guidance / Licensing Question
|
on: March 27, 2013, 01:13:25 am
|
|
Hey Everyone! =)
I'm working with a project that is going to implement an atmega32u4 uC. The basic schematic is going to follow the original Leonardo schematic. The software is going to be based on the Arduino bootloader for the leonardo together with the Arduino IDE (plus new libraries).. I know that as long as the project files/hardware are open source then there should be no problem of manufacturing and selling the board (which I intend to do of course). My question is the USB licensing.. Will it be free/be tied to the original Arduino USB license (I'm an engineer, so excuse my juridical terms), or will I have to register a new VID/PID from the USB company? I know that the Leonardo also uses the LUFA project, will this give me any problems (if I indirectly use there source in my project)? Do I have to inform them in any way (LUFA) ???
Thank you in beforehand..
|
|
|
|
|
19
|
Using Arduino / Motors, Mechanics, and Power / Re: How Do I Run Two Motors Same Time WIth Arduino Motor Shied R3
|
on: March 25, 2013, 08:04:04 pm
|
int E1 = 3; int M1 = 12; int E2 = 11; int M2 = 13; void setup() { pinMode(M1, OUTPUT); pinMode(M2, OUTPUT); } void loop() { digitalWrite(M1,LOW); digitalWrite(M2, LOW); digitalWrite(E2, HIGH); digitalWrite(E1, HIGH); delay(5000); }
Please use the code quotes next time... Anyway I can directly see that you didn't define the pins of E1 and E2 as outputs.. Try this to begin with: int E1 = 3; int M1 = 12; int E2 = 11; int M2 = 13; void setup() { pinMode(E1, OUTPUT); pinMode(E2, OUTPUT); pinMode(M1, OUTPUT); pinMode(M2, OUTPUT); } void loop() { digitalWrite(M1,LOW); digitalWrite(M2, LOW); digitalWrite(E2, HIGH); digitalWrite(E1, HIGH); delay(5000); }
|
|
|
|
|
20
|
Using Arduino / Microcontrollers / Re: Problem with serial communication from Tiny84 to Arduino
|
on: March 25, 2013, 10:13:53 am
|
I believe that the pinout will differ from core to core.. In most cores you'll find a "Ascii art" of the pinout for the tiny-IC your working with.. Look under ROOT_DIR\hardware\tiny\cores\tiny\pins_arduino.c .. You'll see something looking like the image bellow.. If you can't find any Ascii art, then you'll have to go through the pins_arduino.c file and look for the connection in the code.. The 84V won't differ from the 84 according to the datasheet.. 84V works in a different voltage range, but still both 84V and 84 should yield the same results at 5V.
|
|
|
|
|
21
|
Using Arduino / Microcontrollers / Re: Problem with serial communication from Tiny84 to Arduino
|
on: March 24, 2013, 01:02:39 pm
|
You're obviously doing something wrong because I just REdownloaded the core and opened up the boards.txt and there you have it: attiny84at8.name= ATtiny84 @ 8 MHz (internal oscillator; BOD disabled)So if you're not seeing this in the IDE then I believe your putting the files in the wrong directories.. Follow these steps and report again: 1) Download the core: http://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0100-0015.zip2) Extract the directory "tiny" to "C:\arduino-1.0.1\hardware" (change to your path to the hardware folder of the arduino IDE). You will get the following tree under the hardware folder: C:\arduino-1.0.1\hardware\tiny\boards.txt C:\arduino-1.0.1\hardware\tiny\cores C:\arduino-1.0.1\hardware\tiny\bootloaders and so on...... 3) Download the updated manchester library and extract the files to "C:\arduino-1.0.1\libraries".. You will get the following tree under the libraries folder: C:\arduino-1.0.1\libraries\MANCHESTER\MANCHESTER.cpp C:\arduino-1.0.1\libraries\MANCHESTER\MANCHESTER.h 4) Try the sketch that I posted in the previous post. @Erni: Thank you for trying out the library! =)
|
|
|
|
|
22
|
Using Arduino / Microcontrollers / Re: Problem with serial communication from Tiny84 to Arduino
|
on: March 24, 2013, 12:16:45 pm
|
I've always used this core: https://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0100-0015.zip&can=2&q=.. Without any problem! Which version of the Arduino IDE are you using??? Use the standard core together with the library that I've posted above.. And use the option Attiny84 @ 8MHz (Internal Oscillator; BOD Disabled).. Compile, upload and post your results here.. Edit: Here is a sketch I believe will work.. Connect the Data pin of the transmitter to D4 (Physical pin 7). Connect a switch between GND and D2 (physical pin 5). Everytime you press the switch the tiny will transmitt 12345 to the reciever. #include <MANCHESTER.h>
unsigned int Data = 12345; void setup() { MANCHESTER.SetTxPin(4); pinMode(2,INPUT); digitalWrite(2,HIGH); attachInterrupt(0,sendData, FALLING); }
void loop() { }
void sendData(){ MANCHESTER.Transmit(Data); }
|
|
|
|
|
24
|
International / Scandinavia / Re: Arduino Design
|
on: March 23, 2013, 09:03:37 am
|
Vad hade du tänkt att det ska användas till? När du säger att du vill bygga in en del lull-lull på kortet så tycker jag att det låter som att det mest ska användas som universellt utvecklingskort och då har väl inte storleken så stor betydelse? Ska man bygga in kortet någonstans på ett mer permanent sätt vill man väl ha mindre storlek men då vill man väl heller inte ha fler funktioner än man behöver?
Om du ska ha mycket kringutrustning på kortet så kanske du behöver köra mega2560 eller liknande med mycket flashminne. Sketcher som utnyttjar all hårdvara kommer nog att behöva utrymme. Om du nöjer dig med 32KB flash så är nog 32u4 att föredra så kan du rationalisera bort det externa USB-chippet för att spara utrymme.
Själv använder jag bara Arduinokorten för prototyping och när koden fungerar bygger jag ett eget kort utan onödiga komponenter.
Vad det används till är upp till användaren att bestämma.. Vad jag vill veta är vilken/vilka funktioner/komponenter som är vanligast hos användarna.. T.ex. en RTC klocka, vilket kräver en extern komponent (för precision).. Jag känner till allt som du nämner ovan och det var inte det jag sökte direkt.. Jag vill bara veta vad är vanligast eller mest eftersökt som en första "arduino board"... Det behöver inte vara ett kort, det kan vara fler.. Jag försöker bara sammanställa vad användarna vill ha som minimum på ett kort.. Du kan se detta som en statistik undersökning =).. Låt oss ta ett exempel: Jag är en användare som behöver ett kort som har minst 2 reläer och en RTC klocka. SRAM och Flash minne är inte så viktiga eftersom mitt program är väldigt liten, så en atmega328p hade varit bra som utgångspunkt. Dvs ett kort som ser ut som en UNO plus 2 reläer och en RTC klocka..
|
|
|
|
|
25
|
International / Scandinavia / Arduino Design
|
on: March 22, 2013, 06:33:50 pm
|
|
Tjenare!
Jag vill designa en förbättrad/utökad variant av Arduino med en massa inbyggda "accessories" och med en "small factor"/liten i storlek. Vad jag behöver hjälp med är svar från er användare:
- Vilken typ av microprocessor skulle ni vilja ha i (atmega328/2560/32U4, ATSAM3X8E (DUE) eller kanske en XMEGA). - Vad skulle ni vilja ha inbyggt i en arduino (Ja förutom grundkomponenterna som huvudprocessor och FTDI/atmega8-16U2)? - Har ni några speciella krav på storlek (Vi kan använda Arduino UNO som startpunkt i storlek, dvs mindre/större än UNO)?
|
|
|
|
|
27
|
Using Arduino / Microcontrollers / Re: Decreasing the baud rate of Serial communication.
|
on: March 21, 2013, 06:17:23 pm
|
Hi Arduino Forum. Recently I've got my Attiny85 talking to the Computer through an Arduino UNO. I followed the tutorial here: http://www.instructables.com/id/Attiny-serial-monitor-using-arduino-walkthrough/?ALLSTEPSEverything worked perfect. I just had to connect one of the pins on the Attiny85 to the TX pin on the Arduino board. However I need to extend the capabilities of Serial communication between the Arduino and Attiny85. I want to go wireless with these RX linkers from SparkFun: https://www.sparkfun.com/products/10534 - RF Link Transmitter (434MHz) from SparkFun for about 4$ https://www.sparkfun.com/products/10532 - RF Link Receiver (434MHz) from SparkFun for about 5$ I have them already, but they require a baud rate of less than 4800bps. I don't know why, but when I change the number in the Serial.begin() function from 9600 to some less number, it gives me an error. It says that its possible only to have a 9600, 32300 or 110000bps baud rate. Is it possible to fix this problem, or can you suggest a way on how to get the communication working. Do you have to use the serial library???? I've personally used the Manchester library together with RF Link transmitter/receiver.. Without any issues.. I had the transmitter connected to the Attiny85 and the receiver to a atmega328p.. Here is the library if you want to try it out: https://github.com/mchr3k/arduino-libs-manchester/
|
|
|
|
|
29
|
Using Arduino / Programming Questions / Re: Need help with a Math problem
|
on: March 19, 2013, 01:02:26 pm
|
You got it backward... Try this instead... az = az * DegreeToRadian; el = el * DegreeToRadian; _XX = (1 / DegreeToRadian) * ( atan(cos(-az) / tan(-el) ) ) + 90.0; _YY = (1 / DegreeToRadian) * ( asin(sin(-az) * cos(-el) ) ) + 90.0;
|
|
|
|
|
30
|
Using Arduino / Programming Questions / Re: Need help with a Math problem
|
on: March 19, 2013, 09:55:55 am
|
I see that you're using degrees. All trigonometric math functions use radians. Meaning convert your degrees to radians (90 degrees == pi/2 radians). Second, making a variable a float or double doesn't make the math float/double. Here is a example: float x = 90 * 1.1;
Won't necessarily give you 99 because the number 90 is an integer. Type this instead to fix the problem: float x = 90.0 * 1.1;
By putting a ".0" in front of the number you automatically turned it from an integer to a float. I'm not home, otherwise I would have tried your code...
|
|
|
|
|