Loading...
  Show Posts
Pages: [1] 2 3 ... 8
1  Using Arduino / Project Guidance / Re: arduino as bluetooth keyboard - no scancodes sent? on: Today at 03:43:51 am
You can try out my library if you got a leonardo board. I made this library to a custom board I designed.. So it's optimised for that board.. But a leonardo will work fine.. If you want to use it with a UNO you'll have to change all the "Serial1" with Serial, and hopefully it will work then (not guaranteed), but hopefully you'll learn something from it..

Here is the link @ github: https://github.com/baselsw/BPLib
2  Using Arduino / Microcontrollers / Re: Selfmade Due running way to slow on: May 17, 2013, 11:05:20 pm
Sorry for doupleposting, but could anyone look on their Due to tell me which Crystal is installed? I read several Threads where it says there is an 16mhz Crystal, which would explain the whole thing here.

Hmm, I've built a Due barebones some time ago.. And the blink sketch is working AÒK!! Here is the thread: http://forum.arduino.cc/index.php?topic=152234.0.. I used 12MHz and  32.768kHz crystals...
3  Using Arduino / Interfacing w/ Software on the Computer / Re: Need A Computer Program That Sends Mail With Arduino Trigger. on: May 17, 2013, 02:38:05 pm
Well, I didn't say that it's a complete solution.. It's a good start-point.. You'd have to change a couple of things in the processing sketch, like adding serial capability (there is a library for that, use google) and setup some kind of communication "protocol" for the serial com between arduino and processing (like if serial.read equals 1 send a email with the following message, etc).

But like I said, you'd have to do a little work (YAYY =D). Otherwise I hope someone else here have some other kind of solution for you..

Good luck =)

//Your friendly neighbourhood spider-man
4  Using Arduino / Interfacing w/ Software on the Computer / Re: Need A Computer Program That Sends Mail With Arduino Trigger. on: May 17, 2013, 01:24:00 pm
I need A Windows Program That sends a mail to configured mail address when a sensor triggers the arduino the Program need mail send function to Gmail. Please give some Idea. Also Please dont suggest Gobetwino , I already tested It and Found Some Bugs in The Software and also it cannot send mail to Gmail. Thanks.

I can write a program for you, but I don't have that much free time =D.. A quick google search came up with a processing sketch of sending emails using a gmail POP/SMTP server. And another google search came up with how to setup your gmail with a POP/SMTP server =D..

Processing sketch: http://www.shiffman.net/2007/11/13/e-mail-processing/
Gmail to POP/SMTP: https://support.google.com/mail/troubleshooter/1668960?hl=en#ts=1665119,1665162

//Basel
5  Using Arduino / General Electronics / Re: Who do Arduinos with USB microcontrollers need a separate USB chip to program? on: May 10, 2013, 12:23:54 am
Hmm, hmm, hmm.. Do you want to re-check the schematics of the leonardo for me? I'm not blaming you, one can get confused seeing that there are two atmega32u4 IC's in the schematics. The reason is that the schematics are for the two different packages of the atmega32u4. Meaning that you can use the schematic with either the AU (TQFP) package or the MU (VQFN) package [http://www.atmel.com/devices/atmega32u4.aspx].. The leonardo is a fully one uC board (meaning that one atmega32u4 is used both for the programming (USB) and running the sketch...

The DUE is a bit more complicated, it's true that the atsam3x8e has USB and can be programmed through the native usb port without the need for a second uC. The reason for the use of the second uC is the "erasing before flashing". If you program the board through the native port then a "software" erase will be performed before the actual flashing. In some cases the software erase will fail which in turn can have many consequences.. By using the second uC, a hardware erase is triggered before flashing.. Which is clearly more secure/robust than the software one..

//Basel
6  Using Arduino / Project Guidance / Re: Arduino Micro and Bluetooth serial communication on: April 23, 2013, 06:23:53 pm
- Does the silvermate and arduino share the same ground?
- Did you check the RX, TX lines..?? RX (arduino) to TX (bluetooth) and vice versa..
- Did you try a baudrate of 115200.. From my own experience and according to the datasheet that is the default one..
- When you're in command mode it's important to send a carriage return each time you finish of a sub-command.. (you enter command mode with three "$" without a carriage return)..
- If it's a yes on all of the above and it's still not working, then please provide us with some kind of schematic of how you connected everything together...

Just a note: I'm working on a library that will simplify the communication and command set between a leonardo and this bluetooth module.. It's working pretty good so far, but unfortunately not finished yet..

//Basel
7  Using Arduino / Microcontrollers / Re: [Solved] Help with ATSAM3X8E (Due barebones) on: April 05, 2013, 03:32:51 pm
Hmm, I'm looking to build a barebones board like yours, but from goldphoenix PCB using EAGLEcad and will want to find a way to upload hex files via the native USB port.  So it sounds like I can do that but not sure about the user interface yet.

I need a very simple way for a third party to update via a hex file though, possible w/ the DUE?

Hmmm, wasn't I clear in the previous post? To begin with it's a "bin" file that you upload in this case (not hex).. You can use arduinos "uploader tool" bossac manually, see post #3 in this topic: http://arduino.cc/forum/index.php/topic,153630.0.html.

Another option AGAIN! is to use the SAM-BA program (I said it like a 1000 times already). To download and use SAM-BA go to the following site: http://www.atmel.com/tools/ATMELSAM-BAIN-SYSTEMPROGRAMMER.aspx
8  Using Arduino / Microcontrollers / Re: [Solved] Help with ATSAM3X8E (Due barebones) on: April 04, 2013, 10:02:52 pm
Looks good.   A lot more capacitors than I anticipated, and I wasn't sure if both crystals were necessary myself.

So what's the programming process w/ the USB attached directly to the MCU?  Erase program w/ the button, then hit reset and upload via arduino user interface or what?  Can you just upload a hex file with another program instead?

The caps are important specially for the USB communication. Getting fluctuations from the power supply/circuitry can lead to the USB connecting and disconnecting randomly.

Well, you program it through the USB native port. The first time you plug in the board it will present itself as AT91 USB to Serial Converter (use the drivers that comes with the SAM-BA program). To program it just go through the normal process through the arduino IDE(Select Arduino Due Native Port in the boards menu). After programming the USB will remount as the Arduino Due in which case you'll have to point the driver wizard to the arduino drivers located somewhere in the arduino ide folder.

After that it's simple really. Just program it with the option Arduino Due Native port (The bootloader will do a soft erase each time it flashes the chip).

NOTE: Regarding the hardware erase switch. If you press it, the chip will be whipped and you'll have to do the process all over again (choosing the SAM-BA drivers etc etc).

NOTE-2: Yes, you can program the chip with Atmels SAM-BA program. I use Atmel Studio sometimes with this chip. What I did is add a external script that programs the chip after compilation.
9  Products / Arduino Due / Re: what can be removed to make a "barebones" due? on: April 04, 2013, 04:01:42 am
Did you try the search function? I made an arduino Due barebones.. See post #21 for the schematic and board files in the following topic: http://arduino.cc/forum/index.php/topic,152234.msg1151179.html
10  Using Arduino / Project Guidance / Re: Android tablet with Arduino UNO communication over USB - basic program on: April 03, 2013, 10:53:33 am
You only need HOST on one side for this to work.. My phone (HTC One X) and tablet (ASUS TF300) can both act as HOST and work flawlessly over USB with my UNO (NO HOST-SHIELD!!!!!!!)... Upload a Serial sketch to your UNO and download the following app to your phone/tablet: https://play.google.com/store/apps/details?id=jp.ksksue.app.terminal&feature=search_result#?t=W251bGwsMSwxLDEsImpwLmtza3N1ZS5hcHAudGVybWluYWwiXQ.... It's a free and simple app that communicates through USB Serial..
11  Using Arduino / Microcontrollers / Re: Burning Bootloader onto Atmega 2560 on: March 31, 2013, 10:15:48 pm
Did you try Nick Gammons tutorial?? The tutorial is easy and awesome at the same time =).. Try the Atmega Board Programmer, a lot easier than the built in Arduino IDE solution.. Here is the link: http://www.gammon.com.au/forum/?id=11635
12  Using Arduino / LEDs and Multiplexing / Re: eagle libraries with led matrix on: March 30, 2013, 05:08:45 pm
I've used a 8x8 LED matrix (20mm).. Didn't find any library so I made my own.. Here is the library and the datasheet.. I hope it's useful for someone!
13  Using Arduino / Project Guidance / Re: Licensing Question on: March 27, 2013, 05:30:56 pm
Got a fast and very helpful response from Dean (who's somewhere on this forum/or got spies here =P). Here is his reply to my email:
Quote
Basel,

The bad news is that even though the Arduino group has purchased a license for their bootloader, the license does not automatically transfer to you; to receive a commercial LUFA license you would need to purchase one from me.

The good news is that this really shouldn't affect you; without a commercial license the *only* restriction is that you must put a copy of the full LUFA license text in your product manual. That's it - as long as you do that you can modify the code, sell your product in the ones or millions, print out the code and burn it, translate it into Klingon -- you get the drift, and all without paying me a cent. The commercial license is really for those companies that either a) don't want to deal with the inconvenience of reproducing the license text or b) want priority, dedicated support from me.

One restriction that might be an issue for you is the VID and PID values - I can't sublicense the ones I have from Atmel, so you would need to source these elsewhere. There's a number of cheap options but if your project is indeed open source you can apply for a free one from here: http://wiki.openmoko.org/wiki/USB_Product_IDs .

Hope that helps!

Thank you again Dean (wherever you are =P)
14  Using Arduino / Project Guidance / Re: Can you send information through infrared? on: March 27, 2013, 02:14:39 pm
Hello everyone,
I've been looking around the web for tutorials but I guess it's a bit confusing. Is it possible to send data such as 1 or 2 to a receiver? And how is this achieved? Will I need a 3 pin detector or just a 2 pin?

Thank you
The answer is YES you can (how do you change channels on your TV????)! Here is a great tutorial from LADYADAAAAA!!! =D http://learn.adafruit.com/ir-sensor
15  Using Arduino / Project Guidance / Re: Licensing Question on: March 27, 2013, 02:11:20 pm
Section 22 of the datasheet
http://www.atmel.com/Images/doc7766.pdf
does not mention VID/PID at all. Let us know what Dean says.

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

Code:
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
Pages: [1] 2 3 ... 8