Pages: 1 [2] 3 4 ... 10
 on: Today at 09:10:36 am 
Started by HaWe - Last post by HaWe
ok, danke - ziemlich unsystematisch und verworren die Anleitung, finde ich.
Dazu muss man ja echt erstamal die halbe Encyclopedia Galaktika lesen, um zu wissen, was überhaupt irgendwo wozu auch immer steht.

Na gut, also verlöten.
Und dann kann ich also die libs doch so verwenden, so wie sie sind.

 on: Today at 09:09:59 am 
Started by mrburnette - Last post by mrburnette
I've checked my schematic, layout, and component values and I've looked at the pin voltages, 5V, and gnd.  Nothing funny is going on.  I can also talk to the Attiny85 with an ISP programmer, so the chip isn't dead.  Any suggestions for what might be going on?

The 'core' software used in the bootloader is from
That is the logical place to start as they have a forum discussing the state of that art.

However, if you have flashed the bootloader AND set the fuses correctly, the most likely culprit is the 3.6 volt zener diodes.  These simply must be low-capacitance junction devices which essentially boils down to a low wattage zener device.  Not all zeners are useful even though the published specs match.  I understand that hobbyists may balk at ordering directly from Newark because of the high-shipping cost, but unless you can cross-reference an exact duplicate zener from another source, your options are few.  I would suggest that you and a few Arduino friends go in together to share the cost of a moderate order, > 25 units.

Part: 3.6 V 0.5W Zener
#: Vishay 1N5227B-TAP
Newark SKU: 18M3528


 on: Today at 09:08:47 am 
Started by nonlinearmind - Last post by PaulS
The Micro has an SS pin?

 on: Today at 09:08:21 am 
Started by sleander - Last post by Vaclav
Hi Steve

This code will take the unsigned long frequency and format it into a string.  Puts a leading zero on the MHz. 

I don't have an LCD, so have simply printed the string to serial monitor. 



void setup() {

  char buffer[9];

  const unsigned long f = 142013UL;

  unsigned int MHz = f / 10000UL;
  unsigned int kHz = (f / 10UL) % 1000;
  unsigned int Hz = f % 10; // actually, 100s of Hz
  sprintf(buffer, "%02u.%03u.%01u", MHz, kHz, Hz);



Thanks Ray,
very nice and elegant solution. IMHO this is what this forum should be about. Atta boy

I have a similar "problem".
I have user to input the frequency via terminal and eventually send the code to DDS chip to generate it.
For now I have "fixed" format "123 456 789 M" to get 123456789 Hz to convert to DDS code.
On LCD I display "123,456,789 MHz" filling in comas and completing the unit.
Little stupid , but I was after the DDS code first . Than I worry about the "B&W" - bells and whistles.
Doing stuff like this one learns a lot about converting variables.

Cheers Vaclav

 on: Today at 09:07:58 am 
Started by Joyyan - Last post by Joyyan
This looks great. Do you think there are any downsides to this?

That, I could not say. It will be cheap and easy to test: a 555 for the transmitter and something like a TSOP34838 as receiver.

I was going to make one of those transmitters today but I don't have a 102 cap.... I'll get some tomorrow.

I guess one downside is making sure the followee always carries the transmitter so that the IR is pointing outward.
So how would you keep the IR emitter on all the time? A battery pack would be too large.

 on: Today at 09:06:59 am 
Started by mattoide - Last post by uwefed
In realtà le cose stanno in modo diverso e, per la legge delle maglie di Kirkoff (se non erro), ..
No, non ha niente a che fare con il capitano Kirk di Star Trek spento (Kirk-off)
Le leggi si chiamano Kirchhoff
Ciao Uwe

 on: Today at 09:06:26 am 
Started by mattoide - Last post by astrobeed
la resistenza da 330Ω serve a far sì che la tensione di 5V verso l’Arduino non generi una corrente così alta da danneggiare il processore stesso!
Questo discorso vale SOLO se i 5V li dai ad un pin configurato come OUTPUT con segnale LOW. Allora crei un corto diretto fra i 5V e massa senza nulla che limita la corrente. Ma un pin configurato come INPUT è un pin ad ALTA IMPEDENZA: in pratica è come se in serie al pin ci fosse una resistenza di altissimo valore, che riduce la corrente che fluisce al suo interno a valori microscopici. La R esterna in ingresso non è quindi necessaria sui pin dichiarati come input.

Corretto, però la R da 100-120 ohm (anche 220-330 ohm a seconda dei casi) in serie agli input è bene metterla quando colleghi tra loro device con alimentazioni diversificate, p.e. un Arduino alimentato da USB con un altro Arduino alimentato da Vin.
Questo perché possono esserci delle differenze significative tra le due alimentazioni e se la tensione applicata ad un pin di input è maggiore di Vdd+0.4V entra il funzione il diodo di clamping con possibile sovraccarico di corrente per l'output dell'altro device.

 on: Today at 09:05:34 am 
Started by CoolerOverheating - Last post by PaulS
Q1) how can i get data from the receiver?
Do you see a place to connect the receiver to the Arduino?

You will need to get into the world of USB Host shields and learn the black art of writing USB drivers. Somehow, I suspect that "You can't" is the more likely answer.

Q2)Is able to send data(such as rpm , temp. ,voltage etc.) from receiver to keyboard?
Sure. But what is the keyboard going to do with the data?

 on: Today at 09:02:20 am 
Started by applepie - Last post by PaulS
Those stupid smiley faces scrolling by contribute NOTHING to your post. The DO irritate the beejesus out of most of the regulars. Don't do that again.

 on: Today at 09:01:36 am 
Started by applepie - Last post by applepie
I just found that the potentiometer I was using was a logarithmic one.
Thank you! smiley-lol

Pages: 1 [2] 3 4 ... 10