Show Posts
Pages: [1] 2 3 ... 17
1  Development / Other Software Development / Re: Arduino IDE on usb android devices on: April 07, 2012, 07:54:23 am
I've gotten pretty far along with an online IDE, but it isn't quite ready to be released yet.  I really need to find a way to load the firmware to an arduino from a phone/tablet.  Most phones will require some sort of adapter and can load the firmware via the headphone jack. 

Tablets that have USB ports just need an app that can see the USB serial port and load the firmware, all compilation will be done remotely.

If anyone is interested in helping with creating an app for USB enabled tablets, please let me know.
2  Using Arduino / Project Guidance / Re: no-wait instant sketch execution bootloader for Mega 2560 on: February 26, 2012, 11:27:30 am
You can take a look at the actual code for the bootloader and make the adjustments.  https://github.com/msproul/Arduino-stk500v2-bootloader  It looks like there is a variable boot_timeout that you can probably adjust to your preference.  Then just compile a new bootloader from the modified code and upload with an external programmer.  It may take some trial and error to figure out how short you can make that.
3  Development / Other Software Development / Re: Arduino IDE on usb android devices on: January 30, 2012, 08:11:32 pm
I've decided to go ahead and start working on a cloud IDE and compiler. It will be fairly basic to start and we'll see how it progresses.

I am going to use http://codemirror.net/ as the core for the IDE syntax highlighting and code hints. I will also make use of one of the readily available Make files to compile the code without the IDE.  Overall it will be fairly simple, you create or upload your code to the online IDE.  When you are ready to compile it, the server passes it off to a project directory where it compiles it with an Arduino stand-alone makefile.  The server then either combines the necessary files into an archive for download or gives the links to the individual files unarchived.

I'm thinking there can be a lot of features added as it progresses.  Initially I would like to find someone to help write an app for Android devices that have a USB port.  The app will associate itself with the downloaded file and automatically open and upload it to a compatible Arduino device.  The app could also be stand-alone, with it's own IDE and would use an API to upload the code to the cloud server where it would be compiled and then given the resulting files.

I'm hoping to have an alpha release of the online IDE this weekend (Arduino version 1.0 compatible).  Then start working on an API and hopefully getting someone to work on an Android (tablet) App.
4  Development / Other Software Development / Re: Arduino IDE on usb android devices on: January 29, 2012, 01:55:00 pm
I think using the USB port would be important too.  But that would obviously require some sort of driver and also a program program the Arduino.  For older Arduinos and most Freeduinos which use the FTDI chip will need a driver to recognize that chip as a serial port.  But it looks like FTDI has already started working on that... http://www.ftdichip.com/Android.htm

I would think the newer Arduinos should be recognized without a driver.

As far as the actual online app... There seem to be several readily available online IDE's.  Maybe nothing that is perfect, but definitely enough to get some ideas from or to even port over to a compatible environment.  I'll do some more research on this and let you know of my findings and what I see as +'s and -'s.
5  Development / Other Software Development / Re: Arduino IDE on usb android devices on: January 29, 2012, 12:24:33 pm
I haven't seen any projects for an IDE.  I have seen some projects that allow you to program an Arduino.  I think the problem with an IDE it needs to be able to compile the code.  I think getting the compiler to work on Android is where the problem lies.

I have been thinking about this since I picked up a Asus Transformer, which is an android tablet that also has an optional docking keyboard.

Personally I think the best approach would be some sort of cloud platform.  The code would either reside on or be uploaded to a Linux server which would compile it and then return the resulting files.  If the app were actually a 100% cloud app, then it would work on anything with a web browser as long as there was a way to program the Arduino.  Programming the Arduino could be as simple as playing an audio file.  There is at least one bootloader out there that supports this.  Which implies any device with an audio jack and a web browser could then be an Arduino development platform.

I like this approach because it eliminates all compatibility issues.  I can use not only Android, but an iPhone  or even a smart tv.

I often find myself going to a clients or friends house where the proper development environment does not exist.  So I end up bringing my laptop which is not my main development platform.  If everything were available from a cloud like platform, then I wouldn't have to worry in these cases.  I could log in, my code would be up-to-date and I could program the Arduino from almost any internet connected device.

This approach also opens up a lot more doors.  Library repositories could be included as well as seamless versioning for source code and the ability to make your source code publicly available at the push of a button.

This could easily exist as a self hosted platform.  Someone could download the files and put them on any server for their private Arduino hosted IDE.  Or it could also be available as a ready-to-go service.

I am seriously considering starting work on something like this but would love to hear the feedback of you and others to help put it in the right direction.
6  Topics / Robotics / Re: ISAAC 32 robotics system on: December 17, 2011, 10:58:50 am
By browsing to the link you posted I noticed that have a "reference guide"  It answers most if not all of your questions.  Once you review that and have questions on how to interface it with an Arduino I'm sure someone will be glad to help you.
7  Topics / Robotics / Re: USE OF UNO REV3 IN AUTONOMOUS ROBOT on: December 17, 2011, 10:47:57 am
The main differences between the UNO and the Duemilanove are the USB to Serial interface.  The Duemilanove uses an FT232 which only has the capability of turning your USB port on your computer into a serial port that is capable of talking to the Atmega328 (Arduino processor).  The UNO replaces the FT232 with an actual microprocessor that has a real USB interface.  The "stock" firmware on this processor make it act similar to the the FT232.  It makes your USB port on your computer a serial port.

Now that you know the UNO has this microprocessor instead of a FT232 you may wonder why. The microprocessor has the capability to be reprogrammed and can change functions.  Maybe you don't want it to be a USB->Serial adapter.  You can program it to make the computer to think it is a keyboard, a mouse, or any other USB device.  You can even use it as a second Arduino like device to offload processing from the main Arduino processor.

From what I have heard (do some research to verify this) the R3 has upgraded the USB microprocessor for one with more flash.  It also has some extra shield pins to possibly prepare it for future shields that run or can't run on 3.3V I/O.

So how may all this concern your Autonomous Robot?  Well that all depends on what you want to do.  If you plan on having an onboard computer that need to interface to the USB of the Arduino for some reason other than serial data.  You would want an Uno.  If you need extra procession power and you want to take advantage of the extra processor on the Uno, than you want an Uno.  If you don't have an Arduino, get an Uno R3 if you are looking for a Genuine Arduino.  No reason to get an older model.  If you don't think you will need those extra capabilities and also don't want a Genuine Arduino, take a look at all the Arduino derivatives that exist. You may find something that fits your needs better.  Maybe something with built-in motor controllers or additional PWM outputs.
8  Development / Other Hardware Development / Re: Arduino compatable hardware - bootloader-fuse questions on: August 03, 2011, 01:41:10 pm
Not sure how to translate the fuse bytes into appropriate bits used by avr studio.

The AVR Fuse Calculator works great for that http://www.engbedded.com/fusecalc/
9  Development / Other Hardware Development / Re: Designing Custom Shield for MEGA2560 on: August 02, 2011, 10:50:18 pm
Have you looked into the Freemium version of Eagle?  I believe it gives you a 60 day trial commercial license.  Usually when you install Eagle (the newer versions) it will allow you to submit your email for the Freemium license key.  If you already have it installed as a freeware version, I think you can get the Freemium license from one of the "About" or "Help" menu options.
10  Using Arduino / Installation & Troubleshooting / Re: physical dimensions of arduino uno on: June 20, 2011, 07:54:42 am
Adafruit has a nice document for this...

Arduino Hole Dimensions Drawing
11  Development / Suggestions for the Arduino Project / Re: Why 5V? on: June 18, 2011, 11:43:24 am
Just curious about this.  Does anyone have a perspective on why the stock Arduino boards are 5v instead of 3.3? It seems like it would have simplified much with peripherals.

Back to the OP's question... I think it is important to note that if you are running an Atmega328 at 16MHz and 3.3V you are running it out of spec.  I don't think the Arduino team would want to mass produce a board that was not within the specs of the processor.  The only way around this would be to use some sort of level translator which is probably not worth the additional cost for most users.

Although running it at 3.3V is out of spec for 16MHz, I have never heard of anyone having a problem doing so.  Ladyada has a great tutorial on how to convert your 5.0V Arduino to 3.3V.  You just need to replace the 5.0V regulator with a 3.3V one.

I have also designed a board for this type of situation that keeps the Atmega328 running within spec.  The Freeduino Hybrid has a built in 3.3V regulator and an 8-bit level translator to allow you to use up to 8 I/O's at 3.3V.  There are also some other additions that a regular Arduino is lacking.

You other option is to just use something like a 74AHC125N tri-state buffer or an CD4050 level shifter.  Both of those parts are through hole components and will work well on a breadboard.
12  Development / Other Hardware Development / Re: 3.3 volt and 5.0 volt Freeduino Hybrid on: May 03, 2011, 04:37:20 pm
Quote
are the larger SMD components already installed? (2 plus 2 regulators??)

Yes they are... along with the LED's for the FT232 and a resistor for the level shifter.

Also I just finished building up all the boards so currently they are only available as fully assembled.  But I have another batch of boards coming in that will include some silkscreen fixes.
13  Development / Other Hardware Development / Re: 3.3 volt and 5.0 volt Freeduino Hybrid on: April 29, 2011, 08:59:07 pm
Thanks for the feedback.  After designing this I decided to make any future through hole boards also surface mount compatible.  It just makes sense to do if there is room and helps the design have a longer lifespan.

I personally prefer assembling boards where all the passives are surface mount.  It seems to go a lot faster for me and there is a lot less waste.  Although I haven't gone smaller than 0805 yet for manual assembly.

I'm also hoping to do some more 3.3V stuff in the future... maybe a 3.3V (or less) adapter shield or something.
14  Development / Other Hardware Development / Re: 3.3 volt and 5.0 volt Freeduino Hybrid on: April 26, 2011, 08:00:15 pm
Sorry... try now.  I saw it error out on you so I just re-uploaded it.  BTW woopra is great for seeing what is happening live on your website.

Also I will have the Eagle files available soon.  I am still working on cleaning them up a bit.
15  Development / Other Hardware Development / 3.3 volt and 5.0 volt Freeduino Hybrid on: April 26, 2011, 07:45:46 pm
After a couple weeks of testing the production version I figured I would make my official announcement of my new board the the forums. The JKD Freeduino Hybrid.

The board is an Duemilanove/UNO compatible Arduino with both a 3.3V and 5.0V regulator.  It also has a level shifter for up to 8 I/O's so the board can run at 5.0V while interfacing and powering 3.3V devices.  The level shifter was designed to also allow you to connect your own reference voltage if you need to interface with a device that is neither 3.3V or 5.0V

One other unique thing about this board is that you can use both surface mount or through hole parts for most of the components.  This allows the same board to work as a kit with through hole parts.  There are a few options for connecting power, a jumper for disabling auto reset and you can use a crystal or a resonator.

The design is released under the CC SA 3.0 license.





More info is available http://jkdevices.com/arduino-compatible/arduino-duemilanove-compatible
Pages: [1] 2 3 ... 17