What is a DOM trading window? link please. I like bluetooth. Wondering if I can do bluetooth with the custom big push button.
I am loving all the hardware you posted and thanks for the tips. 1- I am wondering if bluetooth would be a more stable connection in this case? my PC supports bluetooth; Wondering if it's possible to link like 10 of ESP devices to my PC using bluetooth *simultaneously? 2- What is a good source to buy the ESPs? I see some Chinese ones too very cheap ~$1...but want to avoid bad hardware. Link please if you have a preferred vendor. 3- Will I need jumper wires, bread board, resistors for this or can I simply connect the the big push button to GPIOs and throw it in a box with AA batteries? 4- "Makers" site? like a Freenlancer site or is there one for IoTs? I would like to source this out. 5- Found this cool button which has LED too: https://www.sparkfun.com/products/9181 6- I would need a box for the sparkfun push button though; Maybe something like this: https://learn.sparkfun.com/tutorials/adding-a-timed-button-to-a-project / or get it 3D printed?! 7- In order to power the ESP with LiPO AA batteries, what do I need? is there like a casing and does it directly connect to ESP? (I will still need to power the push button too) but would probably like to do this with AA batteries so it's movable as it will be wireless. 8- I am also thinking of having like 10 of these on a single board maybe rather than have each one separately getting lost etc...I also have to label them as they will run a different strategy on my trading platform. Maybe if they came with an display board to label them digitally would have been really really cool. Thanks,
In general bluetooth is good, and you can use "bluetooth low energy" to get even less power usage. However it's also sometimes more tricky to get things up and running, thinking about sending the triggers to the server, it's much easier to use standard HTTP protocol (like for the web) So yes you could, but I would still suggest WiFi, and yes you could connect 1,000 of them without an issue. I usually buy them from China, as they're all produced to pretty much the same standard. Now it's not perhaps not so easy because of Covid. Sparkfun as you mentioned is a solid vendor. You'll need some jumper wires for this, and a breadboard is preferred to test things out. Then later you just solder the wires from the button to the ESP and throw them all together in a box yes. The LED will usually require one or two resistors. If you want it to be more robust, you can order some basic PCB board online and solder the components to that after you've tested it works. Looking at something like https://maker.pro/projects/category/iot, and then messaging people might be a good bet if you'd like to get the entire build done for you. Yes, looks perfect! It even has a demo project "Whack-a-dome" where they give same code to turn on and off the LED to make a whack-a-mole style game. I would suggest some kind of box, but if you're going to be using them always side by side it might be better to use a single box. The ESP has many pins, and you could hook up a few buttons to a single ESP. If you really needed the ESP can have a pin extender, and you could fit many more: https://www.instructables.com/id/IO-Expander-for-ESP32-ESP8266-and-Arduino You'll need something like this: https://www.aliexpress.com/item/4001008150456.html, and then you'll need a "Voltage regulator", (stepping). What the voltage regulator does is take a voltage which is greater than 3.4 volts, and lowers it to 3.4 volts for the ESP. Passing in 5-8 volts from multiple AA batteries will fry it, so a voltage regulator is required. Yep, that's the great part of building stuff yourself. If you can get past the initial difficulty of learning how to build things like this, adding more or changing the layout is super easy. If you have to pay someone every time you want something done it's expensive, and not as fun. I would suggest that you find someone nearby you who can help with electronics advice. I fried quite a few LEDs etc at the start before I understood what was going on. Perhaps there's an electronics workshop, or hobby group who you could ask. If not, certainly check online at places like https://np.reddit.com/r/diyelectronics (also maybe a good place to post about finding someone to build it for you, if it's beyond you.) The part which hosts a server on your computer and triggers events can be run using NodeJS + express, as I mentioned earlier. You can probably find someone on fiverr or upwork to build this server if you're unable. Just ask them to build it to trigger a set hotkey or something like that. Integration with your trading system is a bit more tricky and you might have to give them some access, unless you can describe exactly what it is you need. If you have some trouble with this part, PM me, perhaps I can help..
Thanks again. I have been planning to use the API for Interactive Broker (my broker) for some time now. I need to do that anyway for various strategy reasons so this will be the external portion to it. Push button light will illuminate indicating a strategy is present in Button #1 for example where human intervention will make the final decision to go or not to go. A- Can you recommend a stepper with link as well please? B- By the way is ESP the best option you can think of for this or there are other cheap contenders too? I will PM you once I gather things and if any further help is needed. Thanks a bunch!
Yep, API is far easier to do than triggering clicks or similar. A- Can you recommend a stepper with link as well please? Stepper I used before is a Ht7333-A as far as I remember B- By the way is ESP the best option you can think of for this or there are other cheap contenders too? ESP is awesome, it's cheap, durable, low-power and WiFi enabled. for me it blows the Arduino etc out of the water. No worries!
There are many development boards based on ESP8266 seems like. I wonder what the difference is. Here is the Esspressif original dev kits: https://www.espressif.com/en/products/devkits There there is the amazon ones for ~$12: And then the Aliexpress ones for: https://www.aliexpress.com/item/33051171807.html Are these all similar things?
Hi @salamanderforex Yep, the NodeMCU (development board) is very good to develop the first version of your button. They're quite OK for use as a production variant as well, but they have slightly more power draw and a larger size footprint. The normal development flow with ESP is to use a dev board to get everything setup, and then you can move to production boards if you decide to build like 1,000 of these buttons. A factory will use a production ESP (like ESP12) to attach directly to the circuit board, and so it ends up really professional. Another benefit to the dev board is you can power them directly from micro USB, so it's a great way to start out. The NodeMCU also has a small voltage regulator, meaning you're less likely to fry the board. And you can load the software directly from your computer via Micro USB. There are quite a few options between development and production too, take a look at this sheet: https://blog.squix.org/2015/03/esp8266-module-comparison-esp-01-esp-05.html Probably the ESP01 would be a good choice for the rest of the buttons if you plan to build these all by hand, and the ESP12 would be a good choice if talking to a factory for the build.