Menu
Categorie: Scripts

Scripts

  Shape Cuboid Sensing method Retro-reflective Sensing distance 4000 mm Sensing distance (min.) 100 mm Setting method Manual adjustment Connection method Cable Cable length 2 m Output type NPN Operation mode Dark-ON, Light-ON Response time 1 ms Material housing PBT …

Sensor – E3Z – Photoelectric sensor Read More »

Getagd met , , , , , ,

Source: https://www.programiz.com/python-programming/time/sleep Multithreading in Python Before talking about sleep() in multithreaded programs, let’s talk about processes and threads. A computer program is a collection of instructions. A process is the execution of those instructions. A thread is a subset of the process. …

Python – Multithreading Read More »

Getagd met ,

With this script you can send data to a serial port: Needed: Listbox First in the FORM LOAD section load the connected comports to the listbox:

Create a function for easy serial comport writing (using the comport selected in …

Visual Basic – Serial communication Read More »

Getagd met , , ,

Colorpicker With this script you can pick a color easily and set a color to a label (Visual Studio 2017): Needed: Button Label ColorDialog

To get the RGB values 0-255 you can use:

 

Getagd met , ,

There a diffrent kinds of ledstrips Simple These are the “dumb” led strips, you can only control all the LEDS at once, you can controll the LEDS trough MOSFETS and PWM, you can recognize these strips when there are 4 …

Module – LED Strip Read More »

Getagd met , ,

BESTELLEN Informatie (ENG) Features: The MPX5010/MPXV5010G series piezoresistive transducers are state–of–the–art monolithic silicon pressure sensors designed for a wide range of applications, but particularly those employing a microcontroller or microprocessor with A/D inputs. This transducer combines advanced micromachining techniques, thin–film …

Sensor – MPX5010DP – Luchtdruk sensor 0-10kPa Read More »

Getagd met , , , , ,

Informatie (ENG) Model: 400,600,360P/R incremental rotary encoder (LPD3806-360BM-G5-24C / LPD3806-400BM-G5-24C / LPD3806-600BM-G5-24C) AB two phases. The up-and-down counting pulse signal can be completed by the generation of the 90° phase between the A phase and the B phase. Performance: 400, …

Sensor – LPD3806 – Optical Rotary Encoder Read More »

Getagd met , , , , , , ,

BESTELLEN Informatie (eng) General Description The 74HC165 is an 8-bit serial-in shift register. It uses only 4 Arduino pins, while itself can read in from 8 digital pins. If the parallel load pin (PL) is LOW, the data is read …

IC – 74HC165 – Shift register input 8-bit Read More »

Getagd met , , , , , ,

  Met onderstaand voorbeeld kan je detecteren of er 230VAC aanwezig is. Let op!: Je bent wel met gevaarlijke spanning bezig, houd daar rekening mee! Wat heb je nodig? 1) Optocoupler 1-Kanaal SFH620A-3 DIP-4 2) 2x weerstand 100KΩ 3) evt. …

Arduino – 230VAC meten met arduino Read More »

Getagd met , ,

Het is mogelijk een arduino is te gebruiken als ModBus master, met ModBus RS485 RTU kan je datalijnen gebruiken tot ca. 1200m, dat is erg interessant! Wat je nodig hebt is een RS485 naar TTL converter om het differentiele signaal …

Arduino – ModBus RS485 RTU Master Read More »

Getagd met , , , , , ,