Show Posts
Pages: [1] 2 3 ... 1116
1  Using Arduino / General Electronics / Re: Measure a battery amps on: April 19, 2014, 06:06:29 pm
Read the Pin Functions on page 7:

ISET2, pin 7:
Programming the Input/Output Current Limit for the USB or Adaptor source:
High = 500mAmax,
Low = ISET, (another pin, see below)
FLOAT = 100mA max.

ISET, pin 6:
Programs the Fast-charge current setting. External resistor from ISET to VSS defines fast charge current value. Range is 10.8k (50mA) to 540 Ω (1000mA).

Also read more about these 2 pins on pages 18, 19.

And i have to calculate a resistor to different battery amps right?

Yes
2  Using Arduino / General Electronics / Re: Measure a battery amps on: April 19, 2014, 02:19:40 pm
Pins 1 & 2 determine whether it charges to 4.1V or 4.2V, and at 100mA rate or 500mA rate.
The IC does that automatically?

(...) at 100mA rate or 500mA rate.
This means that i can't charge a battery bellow 100mA or above 500mA?

Yes, and yes.
3  Using Arduino / Motors, Mechanics, and Power / Re: Adafruit Solenoid valve on: April 19, 2014, 09:59:04 am
It is not unusual for many solenoid valves to require some minimum 'upstream pressure' to allow the value to actually open. The solenoid mechanism just allows a gate to open (unlatches) but relies on upstream pressure to actually move the valve open. There are solenoid values that will open with 0 upstream pressure. One needs to review valve datasheets carefully for this kind of details as well as if rated or gas/liquid and material compatibility issues.

 
4  Using Arduino / Microcontrollers / Review of CrossRoad's through-hole 1284P Bobuino board on: April 19, 2014, 09:41:43 am

 It took me a while to get around to sharing my experience with Bob's design and offering of his through-hole "Bobuino 1284P board. This board is designed to be as compatible as possible to the Uno shield form factor and he did a great job in the layout but not sure my attached photo does it justice. Bob was offering both bare boards and parts kits so check with him if they are still available if anyone is interested. I'll just list a bunch of random points and observations but will be glad to answer any questions.

One great feature of this board is the control one has in setting up the behavior of the board manually on-the-fly with simple removable SIP jumper clips. No auto-voltage switch nonsense, you set the a jumper for USB or on-board regulator. The IDE DTR auto-reset is able to be enabled or disabled.

 At my age (eyesight) I am no fan of soldering SMD components, so through-hole is my preference. This board does use 3 SMD components, the 5V and 3.3V regulators and a 500ma thermofuse, but I had no problem soldering them in, but I do recommend you solder them first before any other components.

The board has four equally space holes on the corners that I installed 1/2" plastic standoffs so board is less likely to short out on metal objects as you work at a desk or work bench.

 The board will work equally well with a mega 644P as well as the mega 1284P chip as they are 40 pin DIP pin compatible. Bob's board layout give good access to both ends of the 40 pin socket so removing and installing the controller chip is no problem, just use a long thin flat-blade screwdriver and alternate slightly prying the ends a little at a time until the chip can be removed easily  by hand.

 I bought a removable FTDI 232RL module to perform the USB communications but Bob also designed pads to accept a mounted USB converter, but check with him on brand designed for.

 Setting up the IDE to work with non-standard arduino boards such as this one is not hard but does involve a lot of details and searching around for the correct files to install in the user's directory hardware folder. I did that part over a year ago and didn't take any notes so not sure I could talk (or write) anyone through it, but I'm sure others could help. Bob did have to get some help is setting up the needed custom pins_arduino.h file and others helped with patching a couple of the standard arduino core and library files. We may not have checked every possible compatiblity issue but I think it's pretty much all figured out and if anything does show up it shouldn't be too hard to fix the issue(s).

 I first used my USBasp (cheap $5 E-bay Asian ICSP programmer) to check out the board. This took awhile as my new computer is a Windows 8.1 laptop and it won't by default let one install 'unsigned' drivers. But I was able to get the needed information on the web on how to disable that to allow the unsigned driver to be installed. After that it went quickly, I did a burn bootloader operation for the IDE to set the fuse bytes and then I did a upload using programmer option of the blink sketch and was rewarded with a nice blinking led. Then I used the IDE again to reburn the bootloader. Then I plugged in the FTDI 232RL module and tested the IDE normal serial uploading function and it worked fine.

 For those that are not up to speed with the 1284P chip, it is currently the one with the most SRAM then any other AVR 8 bitter, 16KB. It has two hardware serial ports, more user interrupt pins, 128KB of flash, etc, etc. It is the AVR king of the hill as far as DIP packaged devices as far as I know.

 The only  components I didn't install onto the board are the send and receive LEDs/resistors as my FTDI module has those on the module so I thought it would be redundant.

 I'm using a optiboot bootloader on the 1284P and also have a optiboot version for the 644P chip. I considered setting the board up for 20Mhz but in the end decided to stay more 'compatible' with the rest of the arduino world.

 So all in all I'm quite pleased with Bob's design and feel is a very viable option over the arduino mega board and it makes a great development system.

 Again I will try to answer any questions anyone has, but go easy on me if it's a software question.

Lefty

 

5  Using Arduino / Sensors / Re: anemometer - frequency library on: April 18, 2014, 06:18:45 pm
Good how-to on Libraries (And new easy-install) on the ArduinoInfo.Info WIKI HERE:

Very nice Terry. I didn't even know about the 'new' way to install new libraries when using 1.05.

Lefty
 
6  Using Arduino / Motors, Mechanics, and Power / Re: Project a solenoid on: April 18, 2014, 01:10:35 pm
Also metal choice and design differs for AC solenoids Vs DC solenoids. At work we could retro fit different coil voltages but not change from DC to AC coils without also changing the plunger assembly.

7  Development / Other Software Development / Re: Arduino IDE compatibility with ATmega2561 on: April 18, 2014, 12:55:58 pm
No, I mean the INPUT_PULLUP command might not be supported for 2561. The internal pullups are still there.

But INPUT_PULLUP is not a function, it's just a macro defining a value that the current pinMode() function uses, so is not tied to any specific AVR chip, but rather just to the current IDE's pinMode function. But maybe I'm missing something?
8  Development / Other Software Development / Re: Arduino IDE compatibility with ATmega2561 on: April 18, 2014, 11:54:06 am
INPUT_PULLUP might not be supported for non-official chips like 2561 tho.

 Do you mean if the 2561 has programmable internal pull-ups in hardware or not? Otherwise it's just what version of the pinMode() library version one is using, i.e. what IDE version one is trying to add 2561 support.

9  Development / Other Software Development / Re: Arduino IDE compatibility with ATmega2561 on: April 18, 2014, 11:45:38 am
 Also the more current method:

pinMode (pinX, INPUT_PULLUP);  // enable internal pull-up for pinX

pinMode (pinX, INPUT);  // disable internal pull-up if prior was enabled, default from reset or power up is disabled.

10  Using Arduino / Project Guidance / Re: Cost sensitive project. Considering ATTiny85 with ATTiny84 option. on: April 18, 2014, 11:42:05 am
Quote
The real question is.... CharliePlexing and Resister Networks.... Occurs to me it could add component cost (material and labor) to the point that it erases allot of the benefit of the ATTiny84 to ATTiny85 substitution.


 Sounds like a basic front end design decision to analyze and compare the cost of a 84 chip + external components Vs using a chip with more pins that might require less external components, a process that most any project should probably go through.
11  Development / Other Software Development / Re: Arduino IDE compatibility with ATmega2561 on: April 18, 2014, 11:30:57 am
How can i know if i set on/off the internal pull up resistor ?

Sorry but I can't post the code for now. The code work perfect with the Atmega328P so i think's it's a problems of configuration.

Thx a lot

It's performed in the pinMode() function, hence the need to see the code.

12  Development / Suggestions for the Arduino Project / Re: Nano (breadboardable) Mega? on: April 18, 2014, 11:23:20 am
That was the concept of the 3rd party Sanguino board ( http://sanguino.cc/ ) which is breadboard and any .1" spaced proto type board construction compatible using a more powerful avr 644P chip then available on then arduino boards (pre-mega offerings). Unfortunately it doesn't appear to be supported as to IDE versions as there site shows support only for IDE version 18 and indeed may not even be available today.

 So the concept of designing and selling a DIP friendly module version of the avr mega1280/2650 is not a difficult product to produce. It just requires someone or firm to make the needed investment in hope that there is a large enough market to make it worth while. The popularity on the arduino Nano form factor does support that a more powerful version would also have a decent niche market.

 In the mean time the DIP version of the mega1284 offers the most powerful, easy to implement arduino compatible chip, abet needing IDE modifications/additions.
 
13  Using Arduino / LEDs and Multiplexing / Re: Quartz cristal SPK16.000G,who now the frequency tolerance? on: April 18, 2014, 09:58:12 am
People reprogram the 16U2 for HID interfaces & stuff, yes?
Turning on a PWM output wouldn't seem that difficult.
Maybe add to this file that is included in the IDE, do the makefile stuff, reload it via the 16U2 ICSP header.

 That is my point, when you get to using makefile and compilation, linking, etc, all outside the standard IDE you are definitely talking programmer guru territory. I certainly can't do it even after >5 years of arduino experience, and I suspect you don't have the needed knowledge and experience also? We both know it can be done, but would have little luck explaining to the OP how he can accomplish it?

14  Using Arduino / General Electronics / Re: Code compilation help needed . on: April 18, 2014, 09:51:59 am
The problem is i dont have an Arduino, I was hopping somebody who does have an arduino with that particular chip at90usb162 (since i read that there are arduinos witch have that) could compile the code and give me just the hex,.. i know is to much to ask for but just in case somebody had some spare time for me .


  I don't believe that the standard arduino IDE supports that chip type, but I could be wrong, I was once.  smiley-wink
15  Using Arduino / Project Guidance / Re: average noise level on: April 18, 2014, 09:33:37 am
What is the question ?

 I need a small program that will take samples to get the average noise level at regular intervolves. This average then becomes the base level until next time we sample it. Then I want to turn on the LED when the volume goes above the average level by a give amount.

Simple enough project, once you start learning how to create your own sketches. Or are you asking someone to write a sketch for you to your specifications?

Pages: [1] 2 3 ... 1116