Show Posts
Pages: [1] 2 3 ... 13
1  Development / Other Software Development / Re: Custom configuration in sketchbook folder -- how to use default arduino core? on: May 28, 2012, 02:34:04 am
Yes, but the whole trick is only achieved with undocumented second part:

Code:
atmega8noxtalfast.build.variant=arduino:standard
2  Development / Other Software Development / Re: Custom configuration in sketchbook folder -- how to use default arduino core? on: May 27, 2012, 02:49:59 pm
I've found a solution here: http://arduino.cc/forum/index.php?topic=91890.0

It should be specified in the following form:

Code:
atmega8noxtalfast.build.core=arduino:arduino
atmega8noxtalfast.build.variant=arduino:standard
3  Development / Other Software Development / Re: Custom configuration in sketchbook folder -- how to use default arduino core? on: May 16, 2012, 02:35:31 am
Have you tried moving the file from

        %Sketchbook%\hardware\arduino-addons\boards.txt

to

        %Sketchbook%\hardware\boards.txt
Yes, I've tried. In that case only my boards.txt is processed (no default boards appear in menu in IDE).

I also notice that some boards.txt files use the syntax:

        atmega8noxtalfast.build.core=arduino:arduino

I'm not sure what that does but it might do what you want.
Such syntax (and my overall configuration) worked on the IDE versions (older than 1.0). For 1.0 it has to be separated to:

Code:
atmega8noxtalfast.build.core=arduino
atmega8noxtalfast.build.variant=standard
4  Development / Other Software Development / Custom configuration in sketchbook folder -- how to use default arduino core? on: May 15, 2012, 03:31:24 pm
Good day!

I've a custom hardware configuration in my Sketchbook, like this:
%Sketchbook%\hardware\arduino-addons\boards.txt

Code:
##############################################################

atmega8noxtalfast.name=ATmega8A (8MHz int. RC osc, short bootloader delay, 38400 baud rate)

atmega8noxtalfast.upload.protocol=stk500
atmega8noxtalfast.upload.maximum_size=7168
atmega8noxtalfast.upload.speed=38400

atmega8noxtalfast.bootloader.low_fuses=0xe4
atmega8noxtalfast.bootloader.high_fuses=0xc2
atmega8noxtalfast.bootloader.path=atmega8a
atmega8noxtalfast.bootloader.file=ATmegaBOOT.hex
atmega8noxtalfast.bootloader.unlock_bits=0x3F
atmega8noxtalfast.bootloader.lock_bits=0x0F

atmega8noxtalfast.build.mcu=atmega8
atmega8noxtalfast.build.f_cpu=8000000L
atmega8noxtalfast.build.core=arduino
atmega8noxtalfast.build.variant=standard

The problem is that on compilation it tries to found arduino core files in subfolder of my Sketchbook, like this:

Code:
C:\Tools\avr\arduino-1.0\hardware\tools\avr\bin\avr-g++
-c
-g
-Os
-Wall
-fno-exceptions
-ffunction-sections
-fdata-sections -mmcu=atmega8
-DF_CPU=8000000L
-DARDUINO=100
-IC:\Users\ArtVolk\Documents\Arduino\hardware\arduino-addons\cores\arduino
-IC:\Users\ArtVolk\Documents\Arduino\hardware\arduino-addons\variants\standard C:\Users\ArtVolk\AppData\Local\Temp\build4338802608793804970.tmp\Blink.cpp
-oC:\Users\ArtVolk\AppData\Local\Temp\build4338802608793804970.tmp\Blink.cpp.o
Blink.cpp:8:21: error: Arduino.h: No such file or directory

How can I force it to look into default include folders?

Thanks!
5  Using Arduino / Installation & Troubleshooting / Re: Arduino Duemilanove with broken power switching circuit on: October 03, 2011, 02:17:20 pm
Thank you a lot -- I've found that some pins of LM358 was not soldered, so I resolder them and it works.
6  Using Arduino / Installation & Troubleshooting / Re: Arduino Duemilanove with broken power switching circuit on: October 03, 2011, 01:53:34 pm
Here are voltage pins of LM358 when powered from USB (no DC jack):

1 - 0
2 - 3.3
3 - 1,66
4 - GND
5 - 0
6 - 2,59
7 - 2,59
8 - 4 (Vcc)
7  Using Arduino / Installation & Troubleshooting / Arduino Duemilanove with broken power switching circuit on: October 02, 2011, 02:52:53 pm
Good day!

I've an Arduino Duemilanove board clone with power issues. I want to get my hands dirty and repair it.
Here is a schematics that I use: http://arduino.cc/en/uploads/Main/arduino-duemilanove-schematic.pdf

Issue description: When powered from USB the +5V is about 3,8V, when powered from DC jack -- I have 5V on +5V line.
That's not USB port issue, I've tried a couple of PC and standalone USB chargers.

What I've measured when powered from USB:

- I've 5V on USB jack
- I've 5V before and after fuse F1
- I've 5V on T1's D pad
- The voltage drop on diode inside T1 (measured from D to S) is about 1V
- When powered from USB I've 2,56V on G pin of T1 (I suppose it should be low?)
- When powered from USB I've 3.3V in Vin


Questions:

1. Is voltage drop on T1's D-S junction in 1V a correct value? If anyone can measure the voltage drop between 2 and 3 pin of T1 on working board and post results that's will be great!

2. When I look into schematics I assume that when board is powered from USB I should read 0V from Vin. Can anyone check on their board?

3. What voltage is on your +5V line when powered from USB?

4. Is there anything else I can check?

Thanks in advance!
8  Using Arduino / General Electronics / Re: TQFP to DIP breakout board layout on: April 25, 2011, 02:09:03 am
Thanks for the example, I've already routed the half of my first own board smiley A lot of fun smiley
9  Using Arduino / General Electronics / Re: TQFP to DIP breakout board layout on: April 23, 2011, 07:01:47 am
It seems this will be a good reason to improve my Eagle skills smiley
10  Using Arduino / General Electronics / Re: TQFP to DIP breakout board layout on: April 23, 2011, 03:51:37 am
For now I just want to try soldering TQFP and the easiest way to check if it works -- put it into the breadboard after soldering.

Limitation of Eagle is not a problem -- one can print to virtual PDF printer and than duplicate and allign small boards in any vector editor. Do you have a layout in Eagle already?

Unfortunatelly cheap boards are not-so-cheap including shipping to my country. And I really like to etch boards at home smiley
11  Using Arduino / General Electronics / Re: TQFP to DIP breakout board layout on: April 22, 2011, 02:16:01 pm
My primary targets are TQFP32 and TQFP44. Having such things for SOIC is also great smiley
12  Using Arduino / General Electronics / TQFP to DIP breakout board layout on: April 22, 2011, 12:54:30 pm
Good day!

I'm looking for a layout for converter like this:



I want to etch it at home. Before I started to route one in Eagle I'm wondering if someone already created one?

Thanks in advance!
13  Using Arduino / Audio / Re: Improve sound detection with ADC via LM386 amplifier on: March 29, 2011, 12:52:34 pm
Thank you for the detailed responses. In case anybody interested, here are results:

My schematics is as following:



Details:

- I haven't use "gain" capacitor (marked as C2 on DimKo's schematics)
- I use R2=10K
- The actual problem with my readings was in a software, my readings were slow and I missed short sounds
- My circuit run without bypass capacitors on LM386 (because my target was to detect only loud sound), but I've tried adding them and they reduce noise from PWM and switching pins significally
14  Using Arduino / Audio / Improve sound detection with ADC via LM386 amplifier on: March 21, 2011, 04:06:18 pm
Good day!

I've get the simple electret mic preamp to work using this (speaker is used for debug):



I use Arduino on a breadboard using ATmega8. My goal is to detect loud sounds like screams or short like handclaps by ADC. My ADC channel 0 is connected to pin 5 of LM386 (before capacitor to speaker).

Here are some questions:

- I power amplifier from the same power supply (LM7805) as my MCU, my ATmega has all bypassing capacitors according to datasheet and Mike's pages. But I hear cracks in the speaker when leds are switched on a breadboard and I clearly hear my PWM frequency if I lower it to audible frequencies. When running from a battery the sound is clean. Is there any way to filter this, should I even consider this?

- The output is biased to the half of supply votlage (around 2.5V), that's how LM386 works? It is a single supply op-amp, so it biases itself, right?

- My ADC readings are inconsistent, I'm missing short sounds, it seems I need an envelope follower like this to "catch" short loud sounds:



Can anybody point me to the information how to calculate it for this case?

Thanks in advance!
15  Using Arduino / General Electronics / Re: DIY perfboard with breadboard-like layout on: March 21, 2011, 09:59:16 am
My main source for parts are local suppliers, traditionally DIY electronics culture is a bit hardcore here in exUSSR. So we have a limited number of prototyping\hobby parts available locally (average breadboards costs twice than from China for example). The only style of copper perfboards is something like TQFP adapters, that's it.

So I have to deal with this myself smiley
Pages: [1] 2 3 ... 13
Powered by SMF 1.1.19 | SMF © 2013, Simple Machines