Tag: JSN-SR04T

2 articles found.

Arduino MKR WAN 1310 Library for Proteus: LoRa Water Tank Monitor

Arduino MKR WAN 1310 Library for Proteus: a LoRa water tank monitor with a JSN-SR04T, a relay and a T-Deck

Hello friends, I hope you all are doing great. Today, I am going to share the Arduino MKR WAN 1310 Library for Proteus. The MKR WAN 1310 is Arduino's small long-range board: a SAMD21 processor and a Murata LoRa module on a slim 25 mm wide board, made for sensors far away from any Wi-Fi. With this library it runs your Arduino sketch in Proteus 8.5, and its radio really talks to our other LoRa boards in the same design. For the demo we built a LoRa water tank monitor. The MKR WAN 1310 stands at a tank at the far end of a field, with a waterproof JSN-SR04T ultrasonic sensor in the lid and a relay for the pump. Our LilyGO T-Deck Library for Proteus is the handheld, 2 km away. It shows the level on its screen, and a tap on the glass switches the pump. There is not a single wire between the two. NOTICE: Proteus has no SAMD21 model, so our team has put a lot of effort into building this board ourselves: the MKR's pins, its LoRa radio and its serial monitor are all our own model, and your sketch compiles with our free TEP Boards for Proteus add-on. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Arduino MKR WAN 1310 board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Arduino MKR WAN 1310 Library for Proteus: The MKR WAN 1310 belongs to Arduino's MKR family of slim boards. Its main processor is a SAMD21G18A, an Arm Cortex-M0+ at up to 48 MHz, with 256 KB of flash ...

JSN-SR04T Waterproof Ultrasonic Sensor Library for Proteus V1.0

JSN-SR04T Waterproof Ultrasonic Sensor Library for Proteus V1.0: the module with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new JSN-SR04T Waterproof Ultrasonic Sensor Library for Proteus V1.0. The JSN-SR04T is the waterproof cousin of the HC-SR04: a small driver board and a sealed probe on a long cable, so it can measure the water in a tank, the distance to a car in a garage or the ground under an outdoor robot, from about 20 to 600 cm. Now you can test those projects in Proteus. Behind the part sits our own model, not a delay with a number. It has all three modes of the board, set by the R27 pad: trigger and echo like the HC-SR04, a serial frame every 100 ms, and a serial frame each time you send 0x55. It times the echo with the speed of sound at the air temperature, has the probe's blind zone, and reports no echo the way the module does. You move the object, pick a preset, or run a sweep, an approach or a water surface with waves. You get two devices: a Simple device with a live STATUS panel and an Advance device with a pop-up window and the test tools. The demo runs on our Arduino UNO V4.0. NOTICE: an ultrasonic sensor is easy to fake: a pulse as long as the distance. We wanted more. Our JSN-SR04T has the real board's three modes and its serial frames, so a sketch that pings too fast, asks again too soon or reads the wrong mode fails exactly as it does with the real module. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in ...