Home Lights ) Esp32 Platformio ... Boarddesign Esp32 Everything Esp32 Midi Usb Notes Plan Aboutlights Esp Notes Upload Wled

Don't Look! I'm changing!

URL Copied

<! __ WORKS __ > file:///C:/Users/carlos/Documents/Arduino/index.html

https://googlechrome.github.io/samples/web-bluetooth/notifications.html https://forum.arduino.cc/t/sending-data-from-esp32-with-ble-in-my-phone/676015

https://github.com/BNIA/bniaBuilder/blob/e9724c05095b91982745587f6440ff8acec44321/src/js/utils/bluetooth.js#L28

https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions

https://docs.github.com/en/github/managing-large-files/about-storage-and-bandwidth-usage

https://docs.github.com/en/actions/getting-started-with-github-actions/core-concepts-for-github-actions

https://docs.github.com/en/actions/reference/events-that-trigger-workflows#status

https://randomnerdtutorials.com/esp-now-two-way-communication-esp32/

https://www.espressif.com/sites/default/files/documentation/esp-now_user_guide_en.pdf

https://www.esp32.com/viewtopic.php?t=9018

https://www.youtube.com/watch?v=qxwXwNS3Avw

https://www.youtube.com/watch?v=aHA8S7JRit0

https://www.youtube.com/watch?v=w4R9VoY96h8&t=184s

https://esp32.com/viewtopic.php?t=6642

https://rntlab.com/question/esp-now-gateway-wifi_mode_sta-with-a-wifi-router/

https://revspace.nl/EspNowAudio

https://techtutorialsx.com/2019/10/20/esp32-getting-started-with-esp-now/

https://www.crowdsupply.com/nickstick/swarmdrive/updates/esp-now-peer-to-peer-communication

https://hackaday.io/project/164132-hello-world-for-esp-now/log/160570-esp-now-introduction

https://gist.github.com/Daniel-dk/0a31ca66240e076f270d2d65bb4ea7f1

https://www.reddit.com/r/esp32/comments/j2j1df/is_espnow_or_ble_more_power_efficient/

https://scholarworks.gvsu.edu/cgi/viewcontent.cgi?article=1920&context=theses

Satellite or Command

Raspberry Pi to flash binaries https://www.esp32.com/viewtopic.php?t=10227

a flooding approach based on MAC to identify nodes will be used for configuring and assigning IP addresses and range. Gateway is the responsible node for setting up the network. Mesh network is administered purely by MAC-based flooding. IP is only used for routing the regular packets, IP address 192.168.0.0 is for the gateway and 192.168.255.255 is for broadcast. I want the ESP32 to act as a router with a DHCP What I want help with is -

  1. How to connect an ESP32 to multiple ESP32's (for MAC based flooding)

  2. How to receive a packet and simply route them without any delays compatible with TCP/IP and must route using IP addresses MAC routing and as the number of nodes increases the space-efficiency is inversely affected. While the routing scheme designed by me is specifically designed to be more efficient and space conserving. How bigger the network grows the space complexity will remain a constant in my network [which I intend to build ](however the maximum number of nodes is 250). Since the routing is based on TCP/IP header, it is also interoperable with the existing TCP/IP networks.

https://esp32.com/viewtopic.php?f=21&t=7414

https://docs.espressif.com/projects/esp-mdf/en/latest/api-guides/general-notes.html https://esp32.com/viewtopic.php?t=5471 A router is mandatory during the ESP-MESH networking. Users need to configure the Service Set Identification (SSID), password and channel of the router for each node.

Looks like the whole root node election is done in part by the best Rssi to the target ssid. But, what happens if some of the fringe of your network won’t hear the ssid at all? Can you have that scenario? Do they default to worst rssi and resolve their position in the mesh with some tie breaker? ... if we were forced to have an AP, i would just write some code to designate an ESP as an access point if needed. I haven't had time to mess with mesh yet, but its on the chopping block.

i have been playing around with the mesh stuff and also tried the esp32 as a router. for some reason the mesh doesn't authenticate to the esp32 AP... even took my routers settings that worked and propagated to eh esp AP with no luck... Hacking away still. if i get a solution i will post.

https://docs.docker.com/install/linux/docker-ce/ubuntu/#prerequisites https://docs.docker.com/get-started/

https://towardsdatascience.com/top-10-statistics-mistakes-made-by-data-scientists-2d58ccf12ab1

http://vixra.org/pdf/1905.0239v1.pdf

https://news.ycombinator.com/item?id=20067480

https://en.wikipedia.org/wiki/Field_(physics)#Field_theory

https://vega.github.io/voyager2/

https://www.tindie.com/products/iohippo/esprog-esp8266-esp32-programmer-with-autoreset/

http://esp32.net/

https://www.cnx-software.com/2019/02/13/esp32-coincell-battery-board/

https://www.mouser.com/ProductDetail/Espressif-Systems/ESP32-D2WD?qs=chTDxNqvsynYfhF3um46Mw%3D%3D |

http://bastian.rieck.me/blog/posts/2018/cmake_tips/ CMake arguably makes life a lot easier for developers and users alike. Instead of fiddling around with autotools madness, we ideally now just issue the following sequence of commands to build a piece of software: $ mkdir build $ cd build $ cmake ../ $ make Writing a CMake module CMake modules are the prime reason for its success. Briefly put, they permit you to find other libraries that you need to link against. A good module can make your life easy. A bad module can lead to weird error messages.

JLC PCB cost for the PCB and the stencil can be calculated on the website

  1. Solder-resistance bridges: To do solder-resistance bridges, usually, the spacing between the pads /pins needs to be 0.254 mm at least, and special notes are required when ordering such as : solder mask bridge is required. Or it will be ignored easily.

  2. Plated edges/ slots( no longer than 6mm) If there is any edge plating needed, or any plated slots are needed, please make sure that is not longer than 6 mm

  3. Designs about slots/CUT OUT/ millings/ v-cut Please kindly make sure that the v-cut lines, cut outs, millings and slots are in the same layer with the board outline. If it is not in the same layer with the board outline, it will be missed.

  4. Silkscreen/ texts To make the texts printed clearly, the width for the texts( filled lines)need to be 0.15 mm with a height of 0.8 mm.

  5. About repeat order Usually the repeat order is directly produced according to the production file for your previous order, and we will not make any change to the production file anymore. So make sure you don't leave any note related to order changing when you place your order.

12、About the items in the board outline Basically, the board outline is to shown what your PCB looks like when it is finished. So all those need to be cut with the board outline should be added into this layer with this layer, such as v-cut lines, slots, milling, cut outs. Please remove those unnecessary to avoid any confusion.

  1. About the remark field There is a remark field when you place your order so that you can leave a note in case any import, but it is not recommended to use this option since all the order with an English note will take a longer time to get it through the audition process.

  2. About order cancellation For those order that there are some layers missed, such as no solder mask layer, no board outline and drilling, we will cancel the order directly. If there is no solder mask or drill is needed, etc, you had better to make a note about it when you place your order ,or it will be canceled directly during the audit process.

1.Stencil thickness Basically, there is no option to choose the thickness for the stencil on the website, and our engineers will choose the thickness for you according to your file

  1. Tooling holes If there are tooling holes needed for your order, please kindly ensure that it is the solder paste layer, or we will not make it for you.

To place an order on JLCPCB, please provide us with the data files needed for production. These are: Gerber files in RS-274x format for the copper layers, soldermask and legend layers, mechanical layer and SMD paste layers. Plus carbon, peel-off and via-fill layers as needed. Excellon drill file(s) for drilling. Note:

  1. Gerber files and the Drill file must be stored in the same folder/archive.

  2. The board outline must be provided.

Tansfer paper. Laser printer Etch with ferric choloride https://support.jlcpcb.com/article/22-how-to-generate-the-gerber-files https://www.sparkfun.com/search/results?term=jst https://learn.sparkfun.com/tutorials/how-to-read-a-schematic

https://support.jlcpcb.com/article/22-how-to-generate-the-gerber-files

Easy eda. Design schematic first then convert to pcb The PCB copper layers of EasyEDA are double, EasyEDA doesn’t support layout a signle layer directly. if you want to layout a single layer PCB(such as only layout on the bottom layer)... Method 2: Design your PCB at one side, if other side has pads etc, you don’t need to deal with them. Generate the Gerber. Add the comment for mention that you need to order the signle layer PCB when order the PCB.

Silkscreen is usually white and human readable letters, normally used to identify components, test points, PCB and PCBA part numbers, warning symbols, company logos, date codes and manufacturer marks.

PCB manufacturers are required by IPC to provide both a manufacturer’s mark and an identifier which will allow for lot tracing should problems occur. If you require these markings to be placed in a specific area or omitted, you need to specify it

Stencil need soldering paste and are cheaper than PCBA which requires the BOM.

Create the circuit. Ensure it works online. Create the circuit in real life and put in box. Create and make using PCBA. Make the 3d box. Print box and make sure it fits the PCBA. Order more PCB + Stencil + BOM.

https://www.reddit.com/r/arduino/comments/d4q30m/roughly_how_much_how_much_would_it_cost_and_how/

https://hackaday.com/2017/01/20/cheating-at-5v-ws2812-control-to-use-a-3-3v-data-line/

A microphone module MAX9814 with Electret Microphone (https://www.aliexpress.com/item/32660519341.html) $2

https://www.google.com/search?q=arduino+color+organ

The kinds of {devices} that makes lights bounce to music is called a "light organ" or a "color organ".

The ws2818b LEDs should be powered by the voltage they are specified. The control signal can be a lower voltage, eg 3.3 instead of 5v because the control signal is withing an acceptable range. The standard method to choose the power supply current is to multiply 0.060A * "qty of LEDs" ex: 0.060 * 100 = 6amps (6 amp supply for 100 LEDs) Wiring of the powe rto the LEDs depends on wha you want to accomplish. . In the example videos, it appears as though the the LEDs are in a strip with 2 branches. There can be a voltage drop based on the current drawn. If you had all the LEDs on the same, the LEDs furthest from the supply might appear dimmer. To prevent this voltage drop you add thick insulated wire from the supply to a multiple points on the strip.

you'll need to address the 3.3v arduino to 5v signal conversion for the LED strip (some have managed without this, but if you care about reliability, build for it). There are many ways to do this, search online, but I prefer an IC approach, look at bus drivers, or logic level shifters. For power, 110v to 12v then one or more 12v to 5v is how I would do this. Long cable runs between the LED strip and the arduino might call for slightly over 5v (up to 6v) so an adjustable PSU is desired. For a single strip, one of each 12v & 5v PSU is fine. 110 or 220 down to 12v - https://www.aliexpress.com/item/32213632527.html 12v down to 5 v - https://www.aliexpress.com/item/32892478980.html

level 4 braapstututu 1 point·1 month ago wouldn't a more direct 5v 20a power supply make more sense? I've got almost everything bought now aside from a power supply, bit confused about signal conversion though; I have heard about some method that has the first led at a lower voltage that provides the rest of the strip with data level 5 Nexustar 1 point·1 month ago If you can find an adjustable (output voltage) one, yes. If it comes with a cord & plug, or even 3-prong PSU socket, even better. You don't need 20A for one 5m strip. Calculate 0.05A x #of LEDs per meter x number of meters. So, for example 5m of 30 LEDs/m = 0.05 x 30 x 5 = 7.5A (at full white brightness). If you were forced to go with 5A, the fastLED library supports software power limits to keep you under that maximum.

https://easyeda.com/editor?authenticate=force#

https://www.screamingcircuits.com/

https://circuithub.com/

https://macrofab.com/digital-manufacturing/

http://dirtypcbs.com/store/print3d

http://www.seeedstudio.com/fusion_pcb.html

https://pcbshopper.com/

https://www.elecrow.com/

https://www.allpcb.com/

https://learn.adafruit.com/smt-manufacturing http://www.ladyada.net/library/pcb/inhouseetch.html https://learn.adafruit.com/all-about-laser-cutters http://www.ladyada.net/library/equipt/

I present a little project using the ESP8266 as transmitter and receiver for RC. Done with arduino for esp8266 ide. It uses PPMSUM imput to transmitter and PPMSUM output from receiver. It uses the ack-less ESPNOW protocol. This runs on a $4 esp8266 board like the W1-mini and is not a finished product but a base to develop your own stuff.

The switch between receiver and transmitter firmware is done by enabling or commenting the "#define server" line. Server means receiver. Receiver PPM out is D8, Transmitter PPM in is D4., easily reconfigurable.

You got to flash the server (receiver) first and write down the MAC. Use arduino serial monitor to see the MAC. You have to add this MAC in the transmitter "remoteMac[]" filed of the firmware. This tells the transmitter to which receiver it is connected, its the "binding".

This does 8 channels and 10 frames/sec. You can easily boost it to 100 channels and much higher refresh rate. Also rssi-feedback / sbus / telemetry in-out should be simple to add. One receiver can service up to 8 transmitters, ideal for autonomous longrange planes where takeoff and landing are manual and at differet locations.

If you test this leave a note.

https://www.hackster.io/p99will/esp32-wifi-mac-scanner-sniffer-promiscuous-4c12f4

I have been able to receive UDP packets in promiscuous AP mode and then send them out again with esp_wifi_80211_tx() function. It is fairly easy if you limit it to a particular protocol. Probably it would be a lot of work if you wanted it to do more than that. And sending seems to be limited to about 800 packets per second.

Battery would probably be a no-go here.

You can't put repeater into sleep mode[#], and in active AP+STA mode ESP8266 takes 70mA @3.3v, which is 3-4 times lower than best purpose-made wifi repeaters, but will still drain 3000mA*h battery in couple of days.

Why even use routing instead of switching (bridging network interfaces)? L2 bridge of WiFi access point to anything else (like wired Ethernet, for example) "just works".

On the other hand, L2 bridge of WiFi station to anything else (including STA<->AP bridge for a repeater operation) is quite messy: it needs special "4addr mode" packets which are only sent in "WDS" mode, which should be enabled on corresponding uplink AP. And WDS is universally disabled out-of-the box. Many cheaper routers don't have WDS at all. Plus, there are different incompatible flavours of WDS. Finally, there is question of WDS/4addr mode support on ESP8266 itself - in theory, there is some support in SDK, but I haven't seen any working application code doing it.

https://gitlab.com/painlessMesh/painlessMesh/wikis/bridge-between-mesh-and-another-network

IDF SDK and Arduino-ESP32

link

image.png

image.png

image.png

UART

https://randomnerdtutorials.com/esp32-pinout-reference-gpios/

pin 16 - RX2 and pin 17 TX2

http://www.lucadentella.it/en/2017/11/06/esp32-26-uart/

https://www.youtube.com/watch?v=Pc99tkwqS4Y Using Input 1

https://www.youtube.com/watch?v=ZR2ob_wYX60 You need the reset button to be pulled high and then when you press it pulls low. So maybe a 10k resistor to 3.3 and then a connection to ground on the button. He later says that in order to get into boot loader mode you need to press both buttons then release the reset button first and then boot.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/establish-serial-connection.html

Light Strip

https://learn.adafruit.com/adafruit-neopixel-uberguide/basic-connections

LDO

Charger

https://www.analog.com/media/en/technical-documentation/data-sheets/405642f.pdf

Cnlohr