Skip to content

Instantly share code, notes, and snippets.

View fape's full-sized avatar

Farkas Péter fape

  • Budapest, Hungary
View GitHub Profile
@fape
fape / esp-12f-esp3d.md
Last active June 1, 2019 14:04
Cheap ESP-12F based serial wifi module with ESP3d

I managed to flash ESP3D to cheap ESP-12F based serial wifi module (eg from aliexpress ). It contains built in 2way levelshifter. So we can power and use with 5V.

  • We need to manualy ground the IO0 to start in flash mode while powering up (there is no switch for that, neither for reset)
    • wiring
  • I used FTDI adapter as usb2serial
  • We have to see in console/serial monitor boot mode is (1,7).
    • baudrate: 74880
    • rst cause:2, boot mode:(3,7)
  • Then flash like other esp based board for esp3d
  • check flash size. Mine has 4M
# version
# Betaflight / MATEKF411 (MK41) 3.5.5 Jan 15 2019 / 10:06:08 (88921670b) MSP API: 1.40
board_name MATEKF411
manufacturer_id
# name
name Tinyhawk
# resources
@fape
fape / setdate.sh
Last active October 13, 2018 11:16
rdate m1q
#!/bin/sh
#export TZ='CET-1CEST,M3.5.0,M10.5.0/3'
#export TZ='CentralEuropeStandardTime-1DaylightTime,M3.5.0,M10.5.0/3'
/bin/echo "start setdate"
/bin/sleep 45
/usr/sbin/rdate -s 192.168.2.1
/bin/echo "rdate set"
#date -D '%s' +"%Y-%m-%d %H:%M:%S" -d "$(( `date +%s`+2*60*60 ))"
D=2
@fape
fape / target.h
Created September 12, 2018 15:26
inav 1.7.3 naze w/ ledstrip and w/o blackbox
#define LED_STRIP
#define WS2811_PIN PA6
#define WS2811_DMA_TC_FLAG DMA1_FLAG_TC6
#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH6_HANDLER
#define WS2811_DMA_STREAM DMA1_Channel6
#undef BLACKBOX
# version
# INAV/OMNIBUSF4PRO 2.0.0 Aug 19 2018 / 21:27:27 (dbdd1656a)
# resources
# mixer
mmix 0 1.000 0.000 0.000 0.000
# servo mix
smix 0 3 0 -100 0
@fape
fape / esp-07-wifi2uart.md
Last active July 12, 2018 06:18
esp-07 based wifi to uart bridge
@fape
fape / esp8266_ESP-07.md
Last active January 19, 2022 12:17
ESP8266 ESP-07 ESP07 Wifi Serial Transceiver Wireless Board Module 3.3V 5V 8N1 TTL UART Port Controller For Arduino UNO R3 One
AT+GMR

AT version:1.2.0.0(Jul  1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
Ai-Thinker Technology Co. Ltd.
Dec  2 2016 14:21:16
OK
# diff
# version
# Betaflight / STM32F7X2 (S7X2) 4.1.4 Feb 4 2020 / 17:27:35 (bc9715eec) MSP API: 1.42
# manufacturer_id: MTKS board_name: MATEKF722 custom defaults: YES
# start the command batch
batch start
board_name MATEKF722
@fape
fape / randy
Last active June 30, 2018 07:03
# diff
# Betaflight / SPRACINGF3 (SRF3) 3.3.3 May 31 2018 / 13:34:34 (3565182d3) MSP API: 1.38
name randy
feature -RX_PPM
feature -RSSI_ADC
feature -TRANSPONDER
feature RX_SERIAL
feature ANTI_GRAVITY
feature DYNAMIC_FILTER