Show Posts
Pages: 1 2 3 [4] 5 6 ... 514
46  Using Arduino / Project Guidance / Re: Need some advices on making a weather station on: August 24, 2014, 12:30:29 pm
Are all sensors connected to the same central location with the wireless transmitter? If yes, then just do print such as Temp=12, Humi=50\r each time you send data and disassemble the data on the receiver end.

If you wish to expand this project to include more sites, more locations, then you need to consider xbee. Cheap transceivers can't network.
47  Using Arduino / Project Guidance / Re: Need Help on creating a code for my Tank Project. on: August 24, 2014, 12:25:47 pm

Let's cut the noise and get to the point. Page 3. Turn the joystick 45 degree and each motor driven by one axis of the stick. I've mentioned this long ago on the forum. It must have been done by countless others.
48  Using Arduino / Project Guidance / Re: Need Help on creating a code for my Tank Project. on: August 24, 2014, 10:13:11 am
Hey Justin,

When you want to control two motors (speed direction) with a joy stick, you need to orientate the stick at 45 degrees angle so that if you push it up, then both "up/down" and "left/right" are increasing. This way you can use one channel to directly control each motor, pretty simple and gives you the right kind of movement corresponding to the joy stick's position. What you are doing is probably less simple and has very limited movement corresponding to the stick position.
49  Using Arduino / Project Guidance / Re: GPS Receiver guidance on: August 24, 2014, 10:05:04 am
Why do you say it is the code? Have you tried to power your setup with a separate battery from truck and keep it inside the truck instead of on your bike? I've used the EM406A module I bought from and recorded my trips on highways in my car.
50  Development / Other Software Development / EthernetClient.h questions: on: August 21, 2014, 11:32:11 pm
The following is taken from the said file from IDE 1.0.5 r2:
#include "Arduino.h"
#include "Print.h"
#include "Client.h"
#include "IPAddress.h"

My question is why the double quotation instead of brackets?

I'm writing my own xbee_wifi_client class and want to borrow what Arduino team did. Just curious.

Another question:

  using Print::write;

What does it do exactly?
51  Development / Other Hardware Development / Re: Trademark issues with using Arduino Leonardo bootloader on: August 20, 2014, 03:14:25 pm
Thank you guys for  your inputs. I think the USB-IF does state that subcontracting requires their written approval, on the application form. Some companies have this route such as FTDI.

In the case of open source, so few products are going to sell at large volume and paying $5K is just insane. If Arduino LLC can lead the effort to purchase some VIDs from USB-IF for the sole purpose to subcontract to open source communities, for a lower cost, developing ATMEGA32U4-based arduino compatible products will be a lot more promising.

As for me, I am not too sure about if I acquire one VID, am I entitled to use any PID? That would be a huge waste of resources. I'm only cranking out dozen different products for the life time of my project. Someone using my project to design other project could benefit from subcontracting from me but it's going to be NSF funded or school funded. They don't want to deal with selling stuff at all.
52  Using Arduino / Storage / Re: Program Stuck at SD.begin(4) on: August 20, 2014, 11:49:02 am
I actually sat down and read your attached program. You are using a huge amount of print with bits of webpages. That drains down your SRAM and causes crash when more memory is requested to start SD card. Try this: print(F("here is a bit of webpage")). The FLASH helper F() saves your SRAM. The ultimate solution is to print out a static webpage off your sd card and leaving dynamic contents to javascript.

(Curse forum, I had to type this response twice as my first response was lost in their silly problems.)
53  Development / Other Hardware Development / Re: Trademark issues with using Arduino Leonardo bootloader on: August 20, 2014, 09:35:47 am
Just a thought, as more people are moving towards ATMEGA32U4 and other processors with embedded USB controllers, this becomes a major issue for Arduino LLC and these developers. Purchasing a $5K vendor ID is out of the reach of most developers.
54  Development / Other Hardware Development / Trademark issues with using Arduino Leonardo bootloader on: August 20, 2014, 09:26:36 am
I just emailed Arduino LLC about this issue. I am hoping form some community response to this:

"I am working on a project based on Arduino design. Here is the background story that made me consider contacting Arduino LLC. There is a trademark issue related to Arduino USB vendor ID etc. that I would like to raise. I am considering using the ATMEGA32U4 processor that Arduino Leonardo and Micro are using. I also want to use the Arduino bootloader. The bootloader contains Arduino’s USB vendor ID and device ID. If I use this bootloader, then my device would identify itself as if it were an Arduino. This is an issue. I am willing to work with you before I put this product into any scale beyond prototyping and testing. I don’t have the skills to make changes to bootloader or recompile it (yet).

Here are my actual questions:
What does Arduino LLC do in case a third party is using aforementioned bootloader?
Does Arduino LLC kindly work with educational institutions in developing open-source projects and help them with bootloader trademark and technical issues?
Can someone purchase a section of device IDs from Arduino LLC for their open-source educational projects so they can use the same vendor id, different text to identify themselves? Purchasing one from USB-IF is $5K.

I know that forum member Brad has used the same MCU and purchased his own vendor ID. It's expensive. If I used an FTDI chip, I could subcontract with them but Atmel doesn't have this program. What advice do you have for me and others doing similar things?
55  Using Arduino / Programming Questions / Re: How to include a .h file that is inside of a library's utility folder? on: August 20, 2014, 09:06:19 am
Thanks pyro! I'll give it a try once I get home. I only needed the .h file that includes some typedef and #define smiley
56  Using Arduino / Programming Questions / How to include a .h file that is inside of a library's utility folder? on: August 19, 2014, 11:49:31 pm
The file in question is wl_definitions.h, which is inside the arduino sketchbook/libraries/wifi/utility/ folder. I am using some "original" wifi library, not the one included in newer IDE that require irreversible wifi shield firmware upgrade.

How do I include this file in my projects that don't use the wifi library? I'm creating multiple network options for a project. One option is arduino wifi shield, and another is digi xbee wifi module. I want to use the same definition in xbee wifi code to be consistent.

I should have done it in the past (a few years seem like forever) but I forgot what I did (maybe even prior to IDE 1.0).

Thank you!
57  Using Arduino / Project Guidance / Re: Arduino MEGA Pinout Diagram on: August 18, 2014, 02:16:38 pm
So glad you are back! I was just looking at a mega diagram you drew in Jan. 2013. The Arduino pins were not marked on the diagram so I started searching smiley

Here is something I did: I tried to shrink my printout and got an exact 1:1 match to an actual mega on your diagram, if I use Letter size paper (USA) and choose in Acrobat reader print menu "Fit" and then go into the printer properties menu and change the scale to be 79%.

I didn't print in color and I am using a third-part compatible board  smiley-red
58  Using Arduino / Storage / Re: Program Stuck at SD.begin(4) on: August 18, 2014, 01:50:44 pm
I have no problem using Ethernet and SD card at the same. They seem to take care of disabling the respective hardware after they function calls just fine.

Just to get a few simple questions answered:
1) Is there anything connected to pin 4 other than the SD card?
2) Is the CS pin of the SD card connected to pin 4?
3) What SD shield or module are you using? Give a link.

FYI the arduino Ethernet shield/library assumes pin 10 is used to select the Ethernet chip, regardless what arduino board. This better not conflict with SD card's chip select.
59  Using Arduino / Storage / Re: SD Card Shield configuration on Arduino mega 2560 REV3? on: August 18, 2014, 01:32:13 pm
The solutions:
1. Use an SD card shield that connects the SD card (via voltage converter) to the ICSP header, instead of pins 10-13. All Arduino official shields (wifi,ethernet,wireless etc.) work this way
2. In case your shield is hardwired to pins 10-13, enable software SPI mode by setting #define MEGA_SOFT_SPI 1 from #define MEGA_SOFT_SPI 0, or rewire it to MEGA's SPI pins.

Method 2, part 1 or 2 isn't as clean-cut as 1 since you are responsible for finding the line and changing it or wiring the pins.

I've been using sd cards with MEGA and arduino uno compatible boards I made myself for the past few years, Solution 1 works fine. I use arduino official shields.
60  Using Arduino / General Electronics / Re: Making a sturdy connection to membrane keypad on: August 06, 2014, 11:27:50 am
Sorry I am only now getting back to you guys. I tried to replace the housing with another hosing with locking tabs but that didn't work. The housings with locking tabs also have guides and grooves that take some space in the front of the housing, displacing the openings that catch retaining tabs further back. My keypad has pins with retaining tabs very close to front of the pins so they will not make good contacts.

I finally decided to extend my circuit board so that the flat cable of the keypad can be taped on to the back of the front panel, instead of needing extra cable etc.
Pages: 1 2 3 [4] 5 6 ... 514