Notifications
Clear all

Looking for the best way to make a push button that activate a light on another board ...

7 Posts
3 Users
0 Reactions
590 Views
(@vampsh)
Member
Joined: 10 months ago
Posts: 4
Topic starter  

Hi, here's a few things to know about this project.

The push button is a momentary one and is fixed on a stearing wheel of a car. it has to be small, no wire, battery powered. The other module that received the signal is outside of the car so the strength of the signal has to be strong enought and, as I'm in Canada, there is winter. The outside module is also battery powered but there is more space to fix a battery.

My first taught is to use BLE, but I never used it !!

Anyone who would be gentle enought to show me some code and propose me witch board to use, would be appreciated.

Thx

This topic was modified 10 months ago by VampSH

   
Quote
Topic Tags
(@davee)
Member
Joined: 3 years ago
Posts: 1794
 

Hi @vampsh,

   Without knowing more details, it is difficult to know where your project is going, but my first thought  is does this need to be a 'complex' approach, or could an 'off the shelf' approach do the job with less hassle?

If you are only looking for a simple 'push' for something to happen, like a garage light to switch on, then there are countless offers in the usual bazaars. Of course, some may be rubbish, but that is way life is!

A two minute Google came up with:

https://www.aliexpress.com/item/1005004858462358.html

image

I emphasise, I have no connection with the product, nor have I actually seen one, let alone use it, so this is NOT a recommendation for the product ... it might be absolute junk .. but it is probably typical of many such product offers around, and some will probably work.

So for less than say US $5, there MIGHT be a product that already does what you want ... or at least gives you a prototype to try out your idea.

One thing to beware of, you don't say much about happens when the button is pressed. If it involves security, like opening a door to your house, you need to ensure it isn't a signal that is easily replicated by a potential burglar. It is common to use chips that try to guard against this, but I have no idea if this one has any such features. (Chips specially designed for this purpose have been made for a few decades, so it is likely that many commercial products would use them ... but you will have to check.)

------

Of course, there are many more complex solutions, including Bluetooth, but I thought it was a good idea to consider simple approaches first.

Best wishes and goood luck with your project, Dave


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7410
 

@vampsh I am also in northern Canada, so I understand your battery concerns. It would help if you told us more about what you are doing.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@vampsh)
Member
Joined: 10 months ago
Posts: 4
Topic starter  

The project is so simple, when pressing the button on the steering wheel, there's a light outside the car that blink in the shape of a hand to say hello !! as motorcycle or van do manually. the mos important thing is that the button is not causing any interference with the conductor's driving, so it has to be small and cordless in order to fully rotate the steering wheel.

 

Thanks for all your comments


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7410
 

@vampsh OK, now we can deduce a few more requirements. You will need a radio transmitter and receiver; you will need a microcontroller or microprocessor in the car and outside. You will need a fairly powerful battery pack for the TX and RX, as radios are power-hungry. Because you said it is in Canada somewhere, it may be too cold to allow Lithium batteries or most conventional AA, AAA, C, D batteries as they all contain water. I am sure there is some chemistry that works but off the top of my head I don't know what that is. I used to use Lithium and never had a problem, but now I understand that I may have been lucky (as low as -20C or maybe even lower)

You could use Lithium with a self-heater option, that would be my choice.

Your last sentence is a little concerning. You could definitely build a small box maybe 3" x 1" x 2" to contain everything, but most jurisdictions make adding any kind of potential impediment to the steering wheel illegal so we can not advise such behaviour.

Does that help?

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@vampsh)
Member
Joined: 10 months ago
Posts: 4
Topic starter  

@davee Youre right, for less than 5$ I could be doing a prototype version of my project.

Thx !


   
ReplyQuote
(@vampsh)
Member
Joined: 10 months ago
Posts: 4
Topic starter  

Yes, youre also right about the law ans battery, maybe I should use a button elsewhere in the car and use the car battery for the outside part.

Thx !


   
ReplyQuote