Recomendations for a board/ to duplicate keyboard characters via tilt switches

Hi im new to this, so would appriciate some advice.

i need a Arduino board to duplicate button pushes on my keyboard, there are 5 letter characters on the keyboard i need to duplicate, via tilt switches then via the Arduino board, to the pc, i need 2 tilt switches for each keyboard character, i will need to be able to switch between 1 bank of tilt switches to a second bank that are more sensitive tilt switches.

The board will also need to activate one more keyboard letter character via 1 touch sensor.

Also i need to switch between the keyboard and Arduino as i think the Arduino takes over from the keyboard when in use.
if you could reccomend the most suitable board for this setup that would be much appriciated.and any simalar project details, wiring schematic e.t.c

And any code i could download for this.

Many thanks
Lee

If you want an Arduino to send data into a PC and make it look like it came from a keyboard, use a Leonardo or a Micro.

i will need to be able to switch between 1 bank of tilt switches to a second bank that are more sensitive tilt switches.

What are "more" sensitive tilt switches? The respond to a tilt angle so there is no such thing as tilt sensitivity in my book. These switched work by a metal ball or blob of mercury sloshing about in a tube and shorting a pair of contacts at one end.

Also i need to switch between the keyboard and Arduino as i think the Arduino takes over from the keyboard when in use.

No both sets of input work at the same time and are, at the PC end indistinguishable from each other.

The board will also need to activate one more keyboard letter character via 1 touch sensor.

Simple enough, lots to choose from, this one is fine Adafruit Standalone 5-Pad Capacitive Touch Sensor Breakout – Pimoroni

Smaller tilt switch with a different operating angle, so thus more sensitive to tilt then a larger tilt switch with a larger operating angle ..

Look at the Arduino keyboard library. It is a standard library included in the base Arduino installation. It only works on Arduinos with "native USB" such as the two already mentioned and the Due and the Teensy series.

leegillman:
Smaller tilt switch with a different operating angle, so thus more sensitive to tilt then a larger tilt switch with a larger operating angle ..

I am not sure you understand what a tilt switch is. Either that or I don't understand. All tilt switches go off at the same angle. Or are you talking about an accelerometer?

Can you post links to the two different types?

If you look on Farnells website for example, the tilt switches come with different beam angle values, allowing for different levels of sensitivity.

https://uk.farnell.com/c/sensors-transducers/sensors/tilt-switches

Why a tilt switch as opposed to anything else?

leegillman:
If you look on Farnells website for example, the tilt switches come with different beam angle values, allowing for different levels of sensitivity.

https://uk.farnell.com/c/sensors-transducers/sensors/tilt-switches

Well if that is what you think those data sheets are telling you then good luck. In fact they only define a dead zone in terms of angle.

i can see where you get your user name from, im on her looking for guidence in an area thats new to me, your reply dosent offer anything, except sarcasam, if you have something to add regarding the explanation of beam angles on tilt switches, and the variance this has in switching,then say it, or dont waste my time...

then say it, or dont waste my time

I’ve said it. I think it is my time that is being wasted.

Unless you want to change your attitude and ask about what you don’t understand in my replies.

what i dont understand is you saying that " All tilt switches go off at the same angle"

When there listed specifications, deatil different operating angles/ differential angles/beam angles etc

like these zero power tilt switches clearly showing different closed circuit angle options.

What the tilt angles are showing you is where the transitions occur between being switched and not being switched. This depends on the internal construction of the switch but ultimately the contact is made or broken by exceeding a specific tilt.

Let’s say you have a switch where the tilt angle changes the contacts at 45 degrees, and another one where the tilt angle cause a change at 70 degrees. You might think the first one is more sensitive but it is not because the tilt angle to trigger the device is a very small change in tilt between the off position and the on position.

If you mount the 45 degree tilt switch at an angle of 40 degrees then you only need to tilt it 5 degrees in order to change the switch contacts. What manufacturers have done is to arrange the internals of the tilt switch to be the same sort of thing as mounting another tilt switch at an angle. So as to change the trigger angle not the sensitivity of the switch.

If you want true sensitivity control you should use an accelerometer to measure the tilt and let the software decide on the switching point.

yes i know what a accelerometer does and it was not suitable for my design.
Your explanation of your comment "All tilt switches go off at the same angle"
is nonsense you should be a politician..
my projects done now finished

Your explanation of your comment "All tilt switches go off at the same angle"
is nonsense you should be a politician..

And you are a very silly person who asks for advice and are incapable of comprehending it, or admitting you are wrong. Just like a political reporter you take words out of context and then deliberately misunderstand them.

I think we are through here. Sorry I wasted my time on you, you don't seem worthy of it.

thats halarious,just for the record ill point out your very obvious contridiction, as your obviously insecure about needing to know it all,but clearly dont.

Your words i quote

" All tilt switches go off at the same angle"

"you might think the first one is more sensitive but it is not because the tilt angle to trigger the device is a very small change in tilt between the off position and the on position"

The bottom line is tilt switches come with different operating angles small or whatever,as advertised, on the links i posted.

You very obviously didnt know this previously or you wouldnt of used these words

" All tilt switches go off at the same angle"

Nothing has been taken out of context, this is obvious for anyone reading this thread.

i would like to conclude this pointless chat by saying thankyou for your help! but unfortunatley you offered nothing except ego driven insecure dribble.

The appropriate response from you should of been "oh right not seen them before"
just so your clear on not looking like a total retard in the future