LOOKY WIFI ESPEasy Board

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

LOOKY WIFI ESPEasy Board

#1 Post by Otti20vt » 31 Jan 2021, 16:59

Hi folks,
after 2 years of development, i have finished my ESPeasy Hardware project and yes i don't worked permanently on this project. :D

Looky L Wifi V8 Assembled.jpg
Looky L Wifi V8 Assembled.jpg (2.23 MiB) Viewed 9841 times
Looky L Wifi V8 Enclosure.jpg
Looky L Wifi V8 Enclosure.jpg (1.81 MiB) Viewed 9841 times

The goal was a PCB with terminals to connect the DS18B20 sensors and everything should fit in a cheap Enclosure for Aliexpress, unfortunately this project ended a little bigger. :twisted:
During the CAD drawing, I kept adding sensors/options, you want to use all GPIOs, but at one point i had to stop adding Functions, otherwise this thing will get too complicated. Just an example, you can use "relay 1" or the "RS485 interface" or the GPIO15, but not all together.

1x Analog Input 0-36V DC, MCP3221A5T-I/OT
1x Digital Input 5V or 24V, galvanically isolate with Optocoupler 6N137S1(TA)
3x Relay with 6A 400 VAC 125 VDC switching current
1x DS18B20 Onboard and to the Terminal
5x WS2812B Neopixel LED Onboard or external with Terminal
1x Touchbutton for Oled Control TTP223
1x OLED 128x28 over I2C
1x I2C Output to Terminal
1x Onboard BMP280 or similar
1x RS485 with MAX485CSA+T (Not Tested)

and everything fits in a cheap 95x90x40mm aliexpress housing. :)

This PCB is also compatible with the Aircookie / WLED project.


I do not want to sell this board on tindie or somewhere and I am not interested to making money, I just want to push the ESPEasy project.
When I have tested everything I will publish the circuit diagram and the PCB on EASYEDA.com and everyone can order a board from JLCPCB.
The Price for 10 Boards with SMT Assembly is $68.96 +Shipping.


If someone is interested on PCB he should get in touch. I am happy to send you a board to test, but only in Europe.
I'm already working on the next variant, 99% with SMT components and a little smaller.
if someone is interested we could make a thread for the design of an ESPeasy hardware?

Looky L Wifi V8 Ports and Pins.jpg
Looky L Wifi V8 Ports and Pins.jpg (2.75 MiB) Viewed 9841 times
Looky L Wifi V8 PCB.jpg
Looky L Wifi V8 PCB.jpg (1.33 MiB) Viewed 9841 times
PCB_PCB_V8_2021-01-18_11-30-30_2021-01-31.png
PCB_PCB_V8_2021-01-18_11-30-30_2021-01-31.png (98.15 KiB) Viewed 9841 times
Last edited by Otti20vt on 06 Feb 2021, 21:29, edited 1 time in total.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: LOOKY L WIFI

#2 Post by TD-er » 31 Jan 2021, 18:09

Looks nice!
What is the chip below the OLED?
And do you have a link t othe enclosure?

User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

Re: LOOKY L WIFI

#3 Post by Otti20vt » 31 Jan 2021, 19:24

Hi TD-er,

This is the Link of the Enclosure (95x90x40mm)
https://www.aliexpress.com/item/3297214 ... web201603_

Under the OLED is the Optocoupler chip, i dont know why i select this big chip, next version will have a smaller version :)

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: LOOKY L WIFI

#4 Post by TD-er » 31 Jan 2021, 19:34

what is isolated?
RS485?

User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

Re: LOOKY L WIFI

#5 Post by Otti20vt » 31 Jan 2021, 20:01

Nope, only the one Digital Input is isolated.

really at the last moment i integrated the rs485 chip in the circuit diagram. I think the circuit should be sufficient to read an electricity meter. but i haven't tried it yet. :oops:

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: LOOKY L WIFI

#6 Post by TD-er » 31 Jan 2021, 20:21

Do you use a separate pin for the DE/RE pin?
Or have you made it switch automatic between send/receive?

User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

Re: LOOKY L WIFI

#7 Post by Otti20vt » 31 Jan 2021, 21:03

Yes, GPIO 15 Control "Relay1" or RS485 "RE" and "DE", you can select this via Jumper.

One of the "hardware" bugs is that I connected the TX RX form ESP8266 directly to the RS485 Chip, so you canot flash de ESP if it is in the circuit. :oops:

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: LOOKY L WIFI

#8 Post by TD-er » 31 Jan 2021, 21:13

Maybe better use GPIO 13 & 15 (Serial 0 swapped) to the MAX485
Make sure to add a PNP transistor to GPIO-15, to make sure it can be pulled down at boot.
For DE/RE pin you can use some pin that should be pulled up at boot (GPIO-0 or 2 for example)

User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

Re: LOOKY L WIFI

#9 Post by Otti20vt » 31 Jan 2021, 21:27

oh man, I totaly screwed up that
i never noticed that there are a second Serial port. :oops:

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: LOOKY L WIFI

#10 Post by TD-er » 31 Jan 2021, 21:31

It isn't a second one, it is exactly the same as Serial0, only with pins swapped :)
Hence the name "Serial0 swapped"

User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

Re: LOOKY L WIFI

#11 Post by Otti20vt » 31 Jan 2021, 22:04

If i swap the Serial in Software, can i use the GPIO1 and GPIO3 for other Functions? Mabe to Control Relay? or as a Input?

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: LOOKY L WIFI

#12 Post by TD-er » 31 Jan 2021, 22:09

Yep you can.
Only 'problem' is that you still should have GPIO-1 and -3 available for flashing.
So if you can either "disconnect" anything connected to those pins via some jumper, or just add things that can handle serial data during flashing (and don't interfere with the flashing) you're fine.

N.B. some pins also may rapidly change state during boot. Keep this in mind when using a relay or something else connected to those pins.
See: https://espeasy.readthedocs.io/en/lates ... on-esp8266 (and also the links mentioned there)

User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

Re: LOOKY L WIFI

#13 Post by Otti20vt » 04 Feb 2021, 19:32

OK the RS485 will never work, theMAX485CSA+T Needs 5V Power but on the board, the chip is only powered with 3.3v :lol:

But no problem in the next version i will use MAX3485ESA+

I've ordered a couple of MAX3485ESA+ and will test them on breadboard.

User avatar
Otti20vt
Normal user
Posts: 10
Joined: 14 Jan 2021, 00:05

Re: LOOKY L WIFI

#14 Post by Otti20vt » 06 Feb 2021, 12:45

I tested the digital input, wanted to know how high the frequency can be measured.

https://youtu.be/kLDFesXSjzo

Tested on: ESP_Easy_mega_20210114_test_beta_ESP8266_4M1M
10 Active Tasks!

300 HZ it works fine
500 HZ it works, but signal begining to distortion
800 HZ still works
999 HZ still works :)

That is far higher than I even wanted to measure.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: LOOKY WIFI ESPEasy Board

#15 Post by TD-er » 07 Feb 2021, 00:11

Ah nice :)
Did not expect it to be so stable in counts with so many interrupts.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 54 guests