Show Posts
Pages: [1] 2
1  Using Arduino / Project Guidance / Multiple frequency capacitive touch sensors? on: October 02, 2013, 05:08:59 pm
Hello smiley

I saw these videos on youtube that are a type of capacitive touch sensor but work over multiple frequencies so it can detect how an where the user touches an object. They look really cool and would be so much fun to replicate and try on my own projects:

VIDEOS
https://www.youtube.com/watch?v=E4tYpXVTjxA
https://www.youtube.com/watch?v=EcRSKEIucjk
Note: These use multiple frequencies (from 1khz to 3mhz) to detect a users touch position unlike capSense which can only detect a touch.

I've seen this library called capSense: http://playground.arduino.cc//Main/CapacitiveSensor?from=Main.CapSense
however (to my knowledge) it acts as more of a switch and is detecting only one frequency unlike the videos above.

This stuff looks like a lot of fun and it would be awesome if someone could point me in the right direction to get started.

Many thanks smiley
2  Using Arduino / Microcontrollers / Re: Putting Repetier Firmware on to a Sanguino board on: May 01, 2013, 03:59:05 pm
Hey again smiley

Thanks for the links! A little more searching led me to this blogger stevesfixitshop.blogspot.co.uk/ who is also using the 1284p chip on his sanguino board. He says that its a lot more sensitive than the alternative 644p chip and has a lot more problems when I comes to loading stuff to it.

For anyone interested:
http://stevesfixitshop.blogspot.co.uk/2011/12/sanguinololu-13a-part-2-trouble-in.html
http://stevesfixitshop.blogspot.co.uk/2011/12/sanguinololu-13a-part-3not-out-of-woods.html

I'm gunna give it a go and report back

thanks smiley
3  Using Arduino / Microcontrollers / Re: Putting Repetier Firmware on to a Sanguino board on: April 29, 2013, 02:58:00 pm
I got it from here: https://github.com/repetier/Repetier-Firmware

Where could I find other cores?

Thanks  smiley
4  Using Arduino / Microcontrollers / Re: Putting Repetier Firmware on to a Sanguino board on: April 29, 2013, 02:14:46 pm
Many thanks for helping smiley

I've managed to get the errors right down by starting again. I've also noticed that depending on which board I choose I get different errors for example:

Sanguino W/ ATmega644P = Compiles OK (but I dont have this board so no good for me)
Sanguino W/ ATmega1284p 8mhz = Error

Code:
In file included from Reptier.h:229,
                 from Commands.cpp:22:
/Users/james/Desktop/Arduino 1.0.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Arduino.h:212:26: error: pins_arduino.h: No such file or directory

Sanguino W/ ATmega1284p 16mhz = Doesn't even work! It says: "No board selected; please choose a board from the Tools > Board menu" - which I have obviously done so not sure whats going on there??

To answer your question I get exactly the same sort of results depending on the board selected.

I'm just not sure how to solve this problem :L

Thanks for helping
5  Using Arduino / Microcontrollers / Putting Repetier Firmware on to a Sanguino board on: April 27, 2013, 09:15:51 am
Hi,
Can anyone possibly help? I've been trying to get my head around this problem for quite a while now. I've searched the net and these forums but I either dont understand enough or the OPoster doesn't explain how they fixed the problems anyway...

I get this massive error which looks like something is missing or it cant find some files but I'm not sure how to fix the issue.

Im using arduino 1.0
and this is the link to the firmware:https://github.com/repetier/Repetier-Firmware#readme

Any help would be mega useful,

Many many thanks in advance!



Code:
In file included from Commands.cpp:22:
Reptier.h:226:19: error: Print.h: No such file or directory
Reptier.h:229:21: error: Arduino.h: No such file or directory
Commands.cpp:26:26: error: pins_arduino.h: No such file or directory
In file included from Reptier.h:234,
                 from Commands.cpp:22:
gcode.h:38: error: 'byte' does not name a type
gcode.h:82: error: expected class-name before '{' token
gcode.h:113: error: 'Print' has not been declared
gcode.h:124: error: expected class-name before '{' token
gcode.h:167: error: 'byte' does not name a type
gcode.h:168: error: 'byte' has not been declared
gcode.h:191: error: 'byte' does not name a type
In file included from Reptier.h:245,
                 from Commands.cpp:22:
ui.h:394: error: 'byte' does not name a type
ui.h:395: error: 'byte' does not name a type
ui.h:396: error: 'byte' does not name a type
ui.h:397: error: 'byte' does not name a type
ui.h:399: error: 'byte' does not name a type
ui.h:411: error: 'byte' has not been declared
ui.h:413: error: 'byte' has not been declared
ui.h:422: error: 'byte' has not been declared
ui.h:422: error: expected ',' or '...' before 'charmap'
ui.h:422: error: ISO C++ forbids declaration of 'byte' with no type
ui.h:424: error: 'byte' has not been declared
ui.h:425: error: 'byte' has not been declared
ui.h:772: error: variable or field 'beep' declared void
ui.h:772: error: 'byte' was not declared in this scope
ui.h:772: error: 'byte' was not declared in this scope
In file included from Commands.cpp:22:
Reptier.h:302: error: 'byte' does not name a type
Reptier.h:303: error: 'byte' does not name a type
Reptier.h:304: error: 'byte' does not name a type
Reptier.h:313: error: 'byte' does not name a type
Reptier.h:314: error: 'byte' does not name a type
Reptier.h:318: error: 'byte' does not name a type
Reptier.h:321: error: 'byte' does not name a type
Reptier.h:331: error: 'byte' does not name a type
Reptier.h:335: error: 'byte' does not name a type
Reptier.h:338: error: 'byte' does not name a type
Reptier.h:356: error: 'byte' does not name a type
Reptier.h:357: error: 'byte' does not name a type
Reptier.h:365: error: 'byte' does not name a type
Reptier.h:380: error: variable or field 'extruder_select' declared void
Reptier.h:380: error: 'byte' was not declared in this scope
Reptier.h:384: error: 'byte' has not been declared
Reptier.h:388: error: variable or field 'extruder_set_direction' declared void
Reptier.h:388: error: 'byte' was not declared in this scope
Reptier.h: In function 'void extruder_step()':
Reptier.h:404: error: 'HIGH' was not declared in this scope
Reptier.h: In function 'void extruder_unstep()':
Reptier.h:446: error: 'LOW' was not declared in this scope
Reptier.h: At global scope:
Reptier.h:483: error: variable or field 'extruder_set_direction' declared void
Reptier.h:483: error: 'byte' was not declared in this scope
6  Using Arduino / Project Guidance / Re: Controling 4 vibration cells with a attiny85 chip on: March 30, 2013, 06:52:53 pm
Thanks for your help guys, much appreciated smiley I've revised my circuit which now looks more like this:


These are the vibration cells I'm using https://www.sparkfun.com/datasheets/Robotics/310-101_datasheet.pdf which look very simular if not the same as the link you posted http://www.adafruit.com/products/1201.

Interestingly though the adafruit link says its safe enough to use them directly on an Arduino pin with a 100 ohm resister. Do you think thats safe with an attiny too? It would save a lot of components!

Thanks again smiley
7  Using Arduino / Project Guidance / Controling 4 vibration cells with a attiny85 chip on: March 29, 2013, 09:12:14 pm
Hi,

I'm trying to control 4 vibration cells Individually which rate at 2-3.6V. After some research I see it's safer to use a transistor so the motor isn't on the IC's pin directly and also to have diodes too as the motor can do weird stuff to the current or something, anyway..

I was wondering, does this circuit look feasible?



I'm a noobie a this stuff so probably have it wrong and really would like an experts eye before I start blowing things up  smiley-lol


Many many thanks in advance
8  Using Arduino / Sensors / Re: SE-10 sensor detects when no motion? on: March 29, 2013, 07:10:16 pm
Here's the simple sketch I'm using to test it


Code:
int alarmPin = 2;
int alarmValue = 0; //sensor value

void setup () {
  Serial.begin (9600);
  pinMode(alarmPin, INPUT);
  delay (10000); // it takes the sensor 2 seconds to scan the area around it before it can detect infrared presence.
}

void loop (){
  alarmValue = digitalRead(alarmPin);
  Serial.println (alarmValue);
  delay(200);
}
9  Using Arduino / Sensors / SE-10 sensor detects when no motion? on: March 29, 2013, 07:09:41 pm
Hi,

Could anyone help me?

I bought a PIR motion sensor from here: http://proto-pic.co.uk/pir-motion-sensor

I've wired it up as stated with a pull up resistor on the alarm pin


but when I test it I get some very random readings even though nothing is causing it to detect motion???

Bellow shows what 30 seconds looks like.
NOTE I've set a delay for 200 milli seconds in-between each reading

1 = HIGH = no motion
0 = LOW = Motion detected

111111111100010101111111001111111111110
111111111110101111111111111111111111010
111111000011111001111111111100011111111
11111000110011111111111111111110

Notice how many times it says it detects motion but in fact nothing was there?!!

I can't understand why this is smiley-sad I've check my wires are in the right places, given it 10 seconds to prepare and everything but no matter what I do it still doesn't work as it should.


Can anyone help I'm totally stuck,

Many thanks in advance smiley
10  Using Arduino / Microcontrollers / Re: Attiny25/45/85 with an rtc DS3231 using the Arduino platform. on: March 11, 2013, 04:47:05 pm
Thank you much, you're awesome!! smiley-grin I'm learning a lot today! Your links helped in leading me to here:
http://tronixstuff.wordpress.com/2010/10/20/tutorial-arduino-and-the-i2c-bus/
and here
http://tronixstuff.wordpress.com/2011/05/13/tutorial-arduino-and-the-spi-bus/

Which put it all into context for me and now I understand it allllll! smiley

Thanks again!
11  Using Arduino / Microcontrollers / Re: Attiny with an rtc DS3231, DS3234 or DS3231m via the Arduino Platform on: March 11, 2013, 03:20:24 pm
Thanks for this Jack, that looks very useful! I've been doing a bit more research on this RTC stuff (I'm a bit of a noob)  smiley-confuse and I've found a simular one called DS3234 which is SPI instead?? If someone could kindly enlighten me to what the difference is between I2C and SPI is that would be awesome. Also is this compatible with the attiny chips and the arduino platform.

..and then there's the DS3231m (http://www.maximintegrated.com/datasheet/index.mvp/id/6861) which is the size I'm looking for as its smaller and has less pins but I can't find it anywhere.. this is getting confusing smiley-confuse

any help would be much appreciated smiley
12  Using Arduino / Microcontrollers / Attiny25/45/85 with an rtc DS3231 using the Arduino platform. on: March 09, 2013, 03:36:05 pm
Is it posible to accuratly keep track of time using a attiny chip and a real time clock like a DS3231 (http://www.maximintegrated.com/datasheet/index.mvp/id/4627).

The usage would be for example to flash a light every 15mins over long periods of time for months or even years an stay relatively accurate over this period of time.

Many thanks


13  Using Arduino / Displays / Re: small LCD displays 6 chars across? on: January 21, 2013, 03:15:11 pm
Thanks BulletMagnet  smiley

I'm trying to find something with a smaller profile. The closest example I could provide would be something like this:

But I dont know where to buy the actual lcd component and it's numerical too.

this is the smallest i can find with a module attached: http://uk.mouser.com/ProductDetail/ELECTRONIC-ASSEMBLY/EA-8081-A3N/?qs=sGAEpiMZZMt7dcPGmvnkBtVaL0rYWIcVFdeIsLa0anY%3d
14  Using Arduino / Displays / small LCD displays 6 chars across? on: January 21, 2013, 11:04:49 am
Does anybody know where I can get hold small LCD displays? Ideally I need to fit 6 character across a single line.

Any help would be much appreciated

Many thanks,
James
15  Using Arduino / Sensors / Re: Cheap IR motion sensor solution? on: June 16, 2012, 07:27:47 pm
Hey thank you for your replies,

I agree, the sharp IR sensors are over kill which is why I wondered what else was out there.

I found this pair (i think they will work together) but like the other ones i found i have no idea what distances can be achieved:
Phototransistor: http://www.maplin.co.uk/infrared-phototransistor-2252
Emitter: http://www.maplin.co.uk/high-power-infrared-emitting-diode-2253
another Emitter: http://www.maplin.co.uk/3mm-infrared-emitting-diode-48038


I'm looking for something that can transmit over about 80cm. Could this pair really do that, or would i need to boost it's signal or oscillate something and if so how would i go about doing this?!

sorry for the simple questions, I'm a noob and I'm getting no luck on google
Pages: [1] 2