Show Posts
Pages: 1 2 [3] 4 5 ... 72
31  Community / Exhibition / Gallery / Re: Reptile Enclosure Controller on: March 14, 2014, 06:32:48 pm
Thanks for sharing your experiences.  I had considered upgrading our enclosure.  Though we don't have a basking species, temperature and perhaps water level monitoring would be sensible and potentially save us some power too.

I'll be watching for your updates with interest on this one.

Cheers ! Geoff
32  Using Arduino / Microcontrollers / Re: Atmega 328 @8Mhz voltage? on: March 06, 2014, 03:54:09 am
I came on pages 8Mhz/3,3V from Sparkfun and other companies.
Hi Dylan

I think that's more to dissuade you from trying 16MHz or even 20MHz at 3.3V, though I understand that can often work fine.  Section 28.3 of the ATMega328 datasheet shows the recommended frequency range versus voltage with the recommendation not to exceed 10MHz below 2.7V.  Based on that graph 8MHz will be fine for supply voltages from somewhere below 2.7V up to 5.5V. 

I've used 8MHz for circuits which are 3V coin-cell powered, or for reducing the power consumption of 5V projects, and for anytime where speed isn't so important but I could do without the extra components on the board (ie on my lazy days).

Cheers !
Geoff
33  Using Arduino / Microcontrollers / Re: Arduino Pro Mini - LCD shows garbage on: March 06, 2014, 03:34:47 am
Sometimes there is some very simple error that can drive us nuts and then we find the problem and say "wow, what a stupid mistake I made."
+1 to that!

You can never overestimate the benefit of walking away, taking a break and coming back with a hot coffee and a fresh perspective.

Cood luck!
Geoff
34  Community / Exhibition / Gallery / Re: Electromagnetic Accelerator on: February 21, 2014, 05:31:41 pm
That's unique and really very clever - thanks so much for sharing it here.

Geoff
35  Using Arduino / Microcontrollers / Re: Using Vusb on an Attiny 85 with the Arduino IDE on: February 21, 2014, 05:28:47 pm
I'm pretty sure DigiSpark uses VUSB and is certainly ATTiny85 based.  I've not looked into it too deeply but you may find a hint you need in the Micronucleus bootloader.  Be sure to check and adhere to their license terms if you do however.

Cheers ! Geoff
36  Using Arduino / Microcontrollers / Re: aurdino programming.......... need help on: February 21, 2014, 05:19:27 pm
hey friends..
i got my problem solved  smiley
What was the problem and the solution in the end?
37  Using Arduino / Microcontrollers / Re: ATtiny2313 as usb to serial on: February 20, 2014, 04:18:01 am
Do you mean something like Arduino-Tiny?  Others are also linked from that page.

Cheers ! Geoff
38  Using Arduino / Microcontrollers / Re: How interchangeable are arduino uno pins? on: February 19, 2014, 07:08:13 am
Hi,

It turns out you're in luck and there's only one pin you need to define differently. 

These are the hardware SPI pins (link to wikipedia entry for SPI) for the Arduino.  This is a serial protocol that has 3 lines common to all SPI devices, and a unique SS pin for each SPI device on the bus.

While the two you are using default to the same SS pins, from the comments of one of the example
Code:
// By default the SPI-SS line used is D10 on Atmega328.
You can change it by calling .SetCS(pin) where pin can be {8,9,10}
So that library includes a method of defining the SS line to something other than D10 to allow that module co-exist nicely with other SPI devices.

Cheers !
Geoff
39  Using Arduino / Microcontrollers / Re: STM32 discovery +Arduino Bootloader on: February 17, 2014, 08:10:58 am
Hi,

The Arduino bootloader is very specific to the underlying (often but not always Atmel) microprocessor so you're not going to be able to use that direclty.

Having said that, if you google "STM32 Arduino IDE" you'll find a couple of projects where an Arduino-like IDE has been made to suite STM32.

Cheers !
Geoff
40  Using Arduino / Microcontrollers / Re: aurdino programming.......... need help on: February 15, 2014, 07:35:20 pm
Wow now these threads are all merged this reads very confused.

Please post your code as it currently is, inside CODE tags (the # button gives you these) so we can see where you're up to now.
41  Using Arduino / Microcontrollers / Re: aurdino programming.......... need help on: February 15, 2014, 07:41:13 am
At what point does this code set the value to 0x62 ?
42  Using Arduino / Microcontrollers / Re: aurdino programming.......... need help on: February 15, 2014, 06:01:55 am
could you help me in serially interfacing aurdino with cc1101??
Give it a go yourself, and when you get stuck, put the details in the forum and you'll often find people who can help.

All the best with your project,
Geoff
43  Using Arduino / Microcontrollers / Re: aurdino programming.......... need help on: February 15, 2014, 05:47:32 am
Hi

Firstly, it's always best to use the code tags here - makes your inserted code so much more readable.

I've not tried your code, but there's a few issues.  I don't think it would compile since it will still need another } to conclude the setup() function, SS_PIN is undefined, and the elseif...but that aside let's look at your logic.
Code:
if (SS_PIN == LOW)
{
Serial.println ("low enabled");
}
else if (SS_PIN == HIGH)
{
Serial.println("problem");
}
(space and extra } added).

Presuming SS_PIN is defined at the top of your code as 10 and that SS should be SS_PIN, that value never gets changed.  Specifically, anything in a #DEFINE is actually just substituted as text in-line before the compiler does its work, so it isn't a variable that can be changed, but that probably doesn't matter for what I think you're trying to achieve.

Presently what's happening in your code is you've set  digital IO pin number 10 as output, subsequently tell the Arduino to pull that pin low with a digitalWrite(), and then test to see if SS_PIN which is inserted by the compiler as the value 10, is either 0 (the mathematical value that equates to low) or 1 (the actual mathematical value representing high) which it will never be since 10 will always remain 10.

If you want to test the state of that IO pin you could use digitalRead() on it and test the value of that.  I suspect that's what you intended too.
Code:
if (digitalRead(SS_PIN) == LOW) {
Serial.println ("low enabled");
}

For bonus points, understanding LOW is the same as 0 and the same as false also means you can shortcut the above test to:
Code:
if(!digitalRead(SS_PIN) Serial.println("low enabled");
But now I've typed that I know that may just cause confusion, so maybe ignore it until you get this current logic settled.

Hope this helped,
Geoff
44  Community / Exhibition / Gallery / Re: The DHG - Dynamic Hi resolution Graphics driver on: February 07, 2014, 05:55:39 pm
I'll show you more.
Please do. This sounds very interesting.  Are you using some kind of memory external to the 328 to cater for swapping out tiles or is 11x11 the theoretical limit?

Will this leave much RAM for the rest of your project, or is the idea to have a standalone 328 that just drives the display with data received from another Arduino/328 project?

Geoff
45  Using Arduino / Project Guidance / Re: Wireless Surveillance System on: February 06, 2014, 06:14:48 am
I have created whole arduino code for my application by myself, by learning c language... smiley-razz
Congratulations. It's a great feeling.

Did you manage to achieve all you set out to do?

Cheers !
Geoff
Pages: 1 2 [3] 4 5 ... 72