# YAHEF Remote Control

**URL:** https://foil.zone/t/yahef-remote-control/7206
**Category:** Electronics (ESC, remote, batteries)
**Created:** [March 23, 2020, 4:53pm UTC](https://foil.zone/t/yahef-remote-control/7206 "2020-03-23T16:53:39Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![samisin](https://foil.zone/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@samisin](https://foil.zone/u/samisin)
#### Post date: [March 25, 2020, 7:01pm UTC](https://foil.zone/t/yahef-remote-control/7206/21 "2020-03-25T19:01:11Z")

</div>

That would be great! If it is bright enough I would love to switch to bigger display with more pixels! looked in data sheet make sure you don’t feed more than 100mah Curren to display .

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 12, 2020, 11:29pm UTC](https://foil.zone/t/yahef-remote-control/7206/22 "2020-04-12T23:29:03Z")

</div>

![image](https://foil.zone/uploads/default/original/2X/7/762a5db17de5be9ecffe8a32a756efaf36f87796.jpeg) ![image](https://foil.zone/uploads/default/original/2X/0/0d8a01705f345c6951d24a9c245791e3ee76dc8f.jpeg) ![image](https://foil.zone/uploads/default/original/2X/d/d562704d6b815c858ad2e80f8bd328681eb1db92.jpeg)

The last two weeks I’ve been struggling with the bluetooth modules. Originally I started out with the HC-05 unit, and apparently it comes in two different firmware versions, version 2. something and version 3. something where the version 2 is well documented and is working quite good according to the internet but mine was version 3 and not well documented and everyone is struggling to get it to work as a master device.  
I therefore ordered a couple of JDY-18 devices, and they worked as a dream, documentation was spot on compared to the actual behavior. The only problem was the range. Just putting your hand around the device made the connection break, therefore totally useless.  
Third device was a RYB080I, also well documented and good in range, but that one has some custom handshaking/cyclic redundancy check, making the data over 100ms delayed, also a 62 byte limitation in packet size you can send. This one went in the bin as well.  
So the only option was to take another look at the HC-05 device again and after spending quite some time during Easter I finally have got this one to work, but with a few drawbacks. The most obvious one is that HC-05 more than doubles (almost three times) the power consumption for the remote, but still having 4 - 5 hours of usage between charges.  
Sample code for handling the HC-05 module is available [here](https://drive.google.com/drive/u/0/folders/177cjCHnrvEZy0t-0nWy7JHcEDy5_d4zG).

 ![image](https://foil.zone/uploads/default/original/2X/4/4a2ed3a5ea38414c7550087c4a94a1398923ffad.png)

If someone successfully have used another bluetooth module as a master or have inputs regarding the HC-05, JDY-18 or RYB080I, please let me know.

The PCB is also coming along. I have tried to make it as simple as possible with only standard through hole components for easy soldering. I will need a few more reviews before I send it to manufacture and will at the same time release the Gerber files and at that time the full source code will also be available.

 ![image](https://foil.zone/uploads/default/original/2X/0/0697a887d2ab3e15b11b04583b9f9a65996d96bf.jpeg)

---

<div class="post-metadata">

### Author: ![samisin](https://foil.zone/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@samisin](https://foil.zone/u/samisin)
#### Post date: [April 13, 2020, 2:40am UTC](https://foil.zone/t/yahef-remote-control/7206/23 "2020-04-13T02:40:16Z")

</div>

Did you get a chance to test that LCD under direct sun?

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 14, 2020, 8:43pm UTC](https://foil.zone/t/yahef-remote-control/7206/24 "2020-04-14T20:43:49Z")

</div>

If the remote is in direct sunlight, then it will be hard to see anything, with a bit of angle away from the sun it becomes better but as with all LCD:s, sunlight is not helping the visibility. Don’t have any pictures since it’s hard to capture a realistic view.

---

<div class="post-metadata">

### Author: ![nice2cu](https://foil.zone/user_avatar/foil.zone/nice2cu/32/17766_2.png) [@nice2cu](https://foil.zone/u/nice2cu)
#### Post date: [April 14, 2020, 8:46pm UTC](https://foil.zone/t/yahef-remote-control/7206/25 "2020-04-14T20:46:41Z")

</div>

I alway asking people’s who build such great remote like you, why not using an eink Display?

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 14, 2020, 9:14pm UTC](https://foil.zone/t/yahef-remote-control/7206/26 "2020-04-14T21:14:37Z")

</div>

I have thought about it, there are some nice tri-color e-paper displays around and will probably give it a try if the ILI9341 doesn’t deliver, but not until next summer. I’m too far into the project and don’t have time to turn around and start all over again.

---

<div class="post-metadata">

### Author: ![Mantafoils](https://foil.zone/user_avatar/foil.zone/mantafoils/32/35362_2.png) [@Mantafoils](https://foil.zone/u/Mantafoils)
#### Post date: [April 15, 2020, 6:54am UTC](https://foil.zone/t/yahef-remote-control/7206/27 "2020-04-15T06:54:54Z")

</div>

I have tried e-ink but they have very slow refresh rate and libraries are not as good as TFT or OLED.

@YAHEF you could use an OLED also. they are smaller but really nice. and they can be seem a bit better on the sun. like the maytech for example).

[https://www.aliexpress.com/item/32846700363.html?spm=a2g0s.9042311.0.0.27424c4d2rN80s](https://www.aliexpress.com/item/32846700363.html?spm=a2g0s.9042311.0.0.27424c4d2rN80s)

keep up with the good work!

---

<div class="post-metadata">

### Author: ![nice2cu](https://foil.zone/user_avatar/foil.zone/nice2cu/32/17766_2.png) [@nice2cu](https://foil.zone/u/nice2cu)
#### Post date: [April 15, 2020, 7:34am UTC](https://foil.zone/t/yahef-remote-control/7206/28 "2020-04-15T07:34:40Z")

</div>

[https://www.amazon.de/dp/B0728BJTZC/ref=psdc\_1626220031\_t1\_B079QXFWZG](https://www.amazon.de/dp/B0728BJTZC/ref=psdc_1626220031_t1_B079QXFWZG)

[https://www.amazon.de/dp/B0728BJTZC/ref=psdc\_1626220031\_t1\_B079QXFWZG](https://www.amazon.de/dp/B0728BJTZC/ref=psdc_1626220031_t1_B079QXFWZG)

Fast ones. Partial Refresh 0,3s

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 15, 2020, 7:52am UTC](https://foil.zone/t/yahef-remote-control/7206/29 "2020-04-15T07:52:40Z")

</div>

@Mantafoils, @nice2cu, I wasn’t aware of that the refresh rate was that slow on e-paper. 300 ms for a partial update and almost 1 second for a full update. That is perhaps enough for showing speed and battery percentage but for a more graphical user interface it’s not enough. I think OLED is the way to go if the I can’t get the ILI9341 to perform

---

<div class="post-metadata">

### Author: ![Mantafoils](https://foil.zone/user_avatar/foil.zone/mantafoils/32/35362_2.png) [@Mantafoils](https://foil.zone/u/Mantafoils)
#### Post date: [April 15, 2020, 8:06am UTC](https://foil.zone/t/yahef-remote-control/7206/30 "2020-04-15T08:06:06Z")

</div>

I tried those… That is what I call slow 🙂

---

<div class="post-metadata">

### Author: ![JetboardCologne](https://foil.zone/user_avatar/foil.zone/jetboardcologne/32/9240_2.png) [@JetboardCologne](https://foil.zone/u/JetboardCologne)
#### Post date: [April 15, 2020, 9:07am UTC](https://foil.zone/t/yahef-remote-control/7206/31 "2020-04-15T09:07:01Z")

</div>

When i fly, i have no time for looking TV 😉 😉  
Greetings Frank

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 15, 2020, 10:30am UTC](https://foil.zone/t/yahef-remote-control/7206/32 "2020-04-15T10:30:59Z")

</div>

Hi Frank,  
I totally agree that there is limited time for “watching TV” while flying and once you have a setup that works and performs well you probably don’t want to look at the remote, just enjoying the ride. Personally, I will struggle to even keep my head above the water in the start, but hopefully, in time, I will be able to just enjoy the ride :-).  
To get there I must first have a reliable system and one piece of the puzzle for me is to be able to monitor how the system performs on the fly, being able to adjust parameters on the water without having to reprogram the entire system, adjust acceleration curves and so on. This was crucial when I developed my Segway and will continue with that winning concept.  
Having said all this, it might be “good enough” with the display that I use today to get started, get my efoil up and going but we want the best, don’t we 😉

---

<div class="post-metadata">

### Author: ![SoEFoil](https://foil.zone/user_avatar/foil.zone/soefoil/32/55_2.png) [@SoEFoil](https://foil.zone/u/SoEFoil)
#### Post date: [April 15, 2020, 11:52am UTC](https://foil.zone/t/yahef-remote-control/7206/33 "2020-04-15T11:52:57Z")

</div>

One second for a full refresh means 10/th second for a 1/10th of the surface. If we create a hierarchy in the parameters and areas/strips on the screen with high, middle and slow rate refresh, a screen with 1 second refresh might do the job.

---

<div class="post-metadata">

### Author: ![samisin](https://foil.zone/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@samisin](https://foil.zone/u/samisin)
#### Post date: [April 15, 2020, 7:46pm UTC](https://foil.zone/t/yahef-remote-control/7206/34 "2020-04-15T19:46:53Z")

</div>

I am moving to sunlight visible display. I checked couple of available data sheets for these LCD’s and it seems they are only 200 to 240cd/m2. The one I use is 400 to 500 cd/m2 but still struggling under direct sunlight. I am moving to sunlight visible display:

> **[TFT Displays | TFT LCD Displays | Newhaven Display International](https://newhavendisplay.com/tft-displays/?opt9=84&opt11=116&filter=true)**
>
> Standard, premium MVA, sunlight readable, or IPS display types with a variety of interface options including HDMI, SPI and LVDS. Our line of TFT modules include a custom PCB that support HDMI interface, audio support or HMI solutions with on-board...

available at Digikey and mouser. They have some rough drivers and there is drivers online for the similar lcd driver chips

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 15, 2020, 8:51pm UTC](https://foil.zone/t/yahef-remote-control/7206/35 "2020-04-15T20:51:46Z")

</div>

@samisin The Newhaven displays looks rely interesting. I will do a quick search to see if there are any libraries available for my teensy  
I might have a solution to my visibility problem. I tested t.o put my old flashlight behind the screen and what a difference! The images below doesn’t relay show the brightness. I have 4 or 5 mm between the PCB and the display so a couple of smd 2835 leds or similar will fit without any problem. The forecast is sunny in Oslo tomorrow so I will give an update on the flashlight trick, outside, in the sun

 ![IMG_20200415_223211](https://efoil.builders/uploads/default/original/2X/2/23280c4bd72725befe195fcfc7893f376a92dee2.jpeg) ![IMG_20200415_223218](https://efoil.builders/uploads/default/original/2X/c/c124443dfd90dd7235982c0f60a0025018f5e246.jpeg) ![IMG_20200415_223243](https://efoil.builders/uploads/default/original/2X/1/1f2bcd89e7fcd99d1b9e608dff8287914420a71d.jpeg)

---

<div class="post-metadata">

### Author: ![samisin](https://foil.zone/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@samisin](https://foil.zone/u/samisin)
#### Post date: [April 15, 2020, 10:46pm UTC](https://foil.zone/t/yahef-remote-control/7206/36 "2020-04-15T22:46:46Z")

</div>

That might work actually. To have smt led matrix in the back with thin defuser sheet between led’s and display and control the dim based on ambient light.Then you turn cheap lcd to day light visible! The draw back is power consumption. But let me give you another good idea! use emu to turn the backlight when user brings the remote up. Plus a single 3000 mah 18650 cell will provide more than 8 hours in worst power consumption scenario

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 16, 2020, 10:12am UTC](https://foil.zone/t/yahef-remote-control/7206/37 "2020-04-16T10:12:45Z")

</div>

@samisin I think we actually have a winner. Here is the display in direct sunlight and for once, the images reflects the reality, It’s crystal clear. You can clearly see on the middle of the battery indicator where the flash light stops. I’ll do some more experiments in the afternoon and get back.

Yes, you can do a lot of smart things with the IMU, proventing the battery to drain. Shaking the remote, move it to a defined position or …

 ![IMG_20200416_111615](https://efoil.builders/uploads/default/original/2X/4/467ec69896a33ef8782d5df896fd023b9fbcbce1.jpeg) ![IMG_20200416_111622](https://efoil.builders/uploads/default/original/2X/6/6f1d15648e0cf7f60bea8a121f9f8f1b6a163585.jpeg)

---

<div class="post-metadata">

### Author: ![YAHEF](https://foil.zone/letter_avatar_proxy/v4/letter/y/838e76/32.png) [@YAHEF](https://foil.zone/u/YAHEF)
#### Post date: [April 17, 2020, 9:54am UTC](https://foil.zone/t/yahef-remote-control/7206/38 "2020-04-17T09:54:34Z")

</div>

**PCB**  
The Gerber files are sent for manufacturing of the PCB. I have used [Seeed Fusion](https://www.seeedstudio.com/fusion_pcb.html), 10 copies and shipping to Norway with DHL for 25 USD.  
The files has been reviewed and accepted by Seeed and as of yesterday in production and expecting the PCB:s by the end next week.  
As the PCB has not been tested yet i real life, there might be updates, but hopefully not, and there might also be an update regarding the sunlight visibility once I’ve done a proof of concept.  
Since I’m not so happy with the bluetooth module I’ve added an extra connector that will be used as a jumper, being able to use either 3.3v or 5v power supply to the bluetooth module. That will give me a possibility to change the module later  
Also, I’ve added a connector for a GPS module making it possible for non VESC users to track the speed.

[Electrical schema](https://drive.google.com/open?id=1RQ0svGP-51l4JJpZHvAknr6syJA4ZyLd)  
[Gerber files](https://drive.google.com/open?id=1RQ0svGP-51l4JJpZHvAknr6syJA4ZyLd)  
[CircuitMaker source files](https://circuitmaker.com/Projects/Details/JohanGummesson/Yahef-Remote)

**Modules**  
Teensy 4.0 [Teensy® 4.0](https://www.pjrc.com/store/teensy40.html)  
ILI9341 2.2 Inch Display [https://www.aliexpress.com/item/33012793224.html](https://www.aliexpress.com/item/33012793224.html)  
HC-05 Bluetooth [https://www.aliexpress.com/item/4000587203886.html](https://www.aliexpress.com/item/4000587203886.html)  
Vibration Motor [https://www.aliexpress.com/item/32849172232.html](https://www.aliexpress.com/item/32849172232.html)  
Charger 5V no pin [https://www.aliexpress.com/item/32816412117.html](https://www.aliexpress.com/item/32816412117.html)  
Hall Sensor [https://www.aliexpress.com/item/32597268764.html](https://www.aliexpress.com/item/32597268764.html)  
MPU9150/6050 Gyro/Accelerometer [https://www.aliexpress.com/item/2035920870.html](https://www.aliexpress.com/item/2035920870.html)  
Tactile Switches 6mm or 7mm height [https://www.aliexpress.com/item/32857436208.html](https://www.aliexpress.com/item/32857436208.html)

**Resistors**  
R1. 100  
R2. 2.2k  
R3. 2.2k  
R4 10k  
R5. 3.2k  
R6. 2.2k  
R7. 6.8k  
R8. 2.2k  
R9. 2.2k  
R10. 2.2k

**Transistors**  
Q1. 2N3904  
Q2. 2N3906  
Q3. 2N3904  
Q4. 2N3904  
Q5. 2N3906  
Q6. 2N3904

**Connectors** :  
Any 1.25mm pitch through hole connectors will work. I’ve used these ones from AliExpress [https://www.aliexpress.com/item/4000134796645.html](https://www.aliexpress.com/item/4000134796645.html)  
2 x 2 pins  
1 x 3 pins  
2 x 4 pins  
2 x 6 pins  
1 x 9 pins

**Connector output. The names represents the pins on the actual module**

**Bluetooth:**

1. Vcc
2. Reserved, Not connected
3. AT mode (Pin 34 on the HC-05 module)
4. Rx
5. Tx
6. GND

**3v3-5v (This one is just a jumper to provide either 3.3v or 5v to the bluetooth module)**

1. +5v
2. When using the HC-05 module, connect this one to the +5v pin.
3. Vcc

**Display**

1. Vcc
2. GND
3. SCK
4. Reset
5. CS
6. DC
7. SDI (MISO)
8. SDO (MOSI)
9. LED

**LED**

1. Vcc
2. GND

**Trigger**

1. Signal
2. GND
3. Vcc

**Battery**

1. +5V
2. GND
3. Plus side of the battery
4. Small led on the charge board indicating charging

**Vibration**

1. Vcc
2. GND

**GPS**

1. GND
2. Vcc
3. Tx
4. Rx

**VBat**

1. +3v
2. GND

**MPU9150**

1. Vcc
2. GND
3. SLC
4. SDA
5. INT
6. Not Connected

 ![image](https://foil.zone/uploads/default/original/2X/7/72c76bb0ab690e0a404c00e0b3826a1fd7c81a48.png) ![image](https://foil.zone/uploads/default/original/2X/8/81b934a806472ed16685e923c3d28aabe2186d21.png)

---

<div class="post-metadata">

### Author: ![philippe](https://foil.zone/user_avatar/foil.zone/philippe/32/2435_2.png) [@philippe](https://foil.zone/u/philippe)
#### Post date: [April 17, 2020, 11:28am UTC](https://foil.zone/t/yahef-remote-control/7206/39 "2020-04-17T11:28:32Z")

</div>

Hello  
It is great your remote control, thank you for all this information, can explain how you do to install the program in the transmitter and in the receiver, thank you  
Philippe

---

<div class="post-metadata">

### Author: ![Foxyirish1987](https://foil.zone/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@Foxyirish1987](https://foil.zone/u/Foxyirish1987)
#### Post date: [April 17, 2020, 12:34pm UTC](https://foil.zone/t/yahef-remote-control/7206/40 "2020-04-17T12:34:51Z")

</div>

Fantastic! Great job!

[Previous page](https://foil.zone/t/yahef-remote-control/7206.md?page=1)

[Next page](https://foil.zone/t/yahef-remote-control/7206.md?page=3)
