Doorgaan naar hoofdcontent

Posts

DSP pitch changer, live radio stream, decode and transform, demo

Spindle 2.2 KW smoke test, AVE tribute

Yesterday I tested my new Chinese 2.2KW spindle with the VFD. After 10 seconds the whole place was smoking and I had to pull the cord. I took the VFD parameters from a blog, the writer appeared to be knowledgable, but man, it was a big fail. In this video I show how I set up a real low 3 phase voltage and Amp meter to verify the spindle. Enjoy.

wiznet W7500P cortex M0 circuit board and FreeRTOS 9.0.0rc2 working

I have made my new cortex M0 based microcontroller board operational with FreeRTOS. The chip is a W7500P - a cortex M0 with 16KB SRAM and 128KB Flash - hardware tcp/ip stack incl mac/phy on board (P101G) This chip is a single chip microcontroller/ethernet/internet IoT solution, no software TCP/IP stack that can fail or hacked. For TCP/IP buffers it has another 32KB SRAM, this can be used by 8 simultaneous TCP connections (sockets open at same time). I like this chip because it eliminates a lot of other stuff on the board. It is fast, and has lots of IO. I added a SD-card connector for data-logging applications. My main application will be small measurement and control applications, adding network easily and securely, super fast bootup times (0.1 sec instead of 20 sec, no linux based board with large bodies of software) ADC : 12bit, 8ch, 1Msps DMA 6-channel DMA controller Peripheral supported: UARTs, SPIs GPIO 34 I/Os  Debug mode Serial Wire Debug (SWD) Tim...

LoRa range experiments Urban test

Yesterday and some days before I did some experiments in testing the LoRa radio modules I have from microchip. The modules were connected to some laptops over USB serial. I wrote some python scripts to send data using the pyserial library. One laptop was sitting on a table indoors, no real antenna, just a piece of wire. The other laptop was outdoors, walking around, no real antenna, just a piece of wire. The spreading factor for LoRa was SF12, power was set to high. Further details available on request. (email me) This experiment was very successful, about 1 kilometer, good connection, no loss of data. In the picture above, Richard is holding the laptop and the RF module, we are about a kilometer away from TX and get perfect data, on the overpass above the A2 road. But when we got between a lot of buildings, the results were not that good. At 700 meter we lost connection. 500 meter was mostly fine. In Tilburg an experiment was done.. and 500 meter urban was not...

LoRaWan modules arrived (Long Range Low Power RF links)

Today the first LoRa modules arrived. I will be hooking these things up to a new board I am working on, it also contains a W7500P from wiznet (a cortex m0 with ethernet/IP/TCP stack inside) I Chose the complete LoRaWan implementation module from microchip to get started quickly. It communicates using a serial port using readable ASCII commands to the controlling MCU. Next step is making a break out board for this thing, it looks big but is only about 26.7 mm long and 3.3 mm thick. I will keep you updated. What is its use? It can communicate over RF (868 MHz) using LoRa protocol, using very little energy and over a very long range (10 km??) I am working on a easy to install sound-level and energy-monitoring/control system and think these modules can solve a piece of my very complex puzzle. It appears everyone in the world is jumping on the bandwagon right now to enable this IoT stuff, but real results and implementations are hard to find. If you need something like this, ...

Touch sensor, aanraaksensor, capacitief, voor attractiepark (video)

Voor een bevriende ontwerper van waterattracties een proof of concept. Het betaat uit 2 pads van een AED, een chip met 2 oscillatoren, waarvan 1 beinvloed wordt door de pads. Op youtube fimpje gezet, 1 foto 1000 woorden, 1 filmpje ook zoiets. Dat scheelt weer veel typewerk. tot laters. Heb je zoiets nodig, neem contact op. Met gemak door 8 mm acryl isolatie, zal worden gebruikt met glasvezel/epoxy. Schakelt 1 contact, optisch gescheiden, voor bediening van klep of pomp in waterattractie.

EMC/EMI in een auto of vliegtuig

In response op een discussie met een aantal "deskundigen" op het internet heb ik een filmpje gemaakt dat laat zien dat het gebruik van zenders, zelfs als zijn ze van laag vermogen, in voertuigen zoals auto's en vliegtuigen niet zonder risico is. Ik wordt altijd een beetje kwaad als ik mensen dingen hoor verkondigen met een zekerheid die grenst aan religeuze overtuiging en fanatisme over een onderwerp waar ze helemaal niks vanaf weten. Zo'n onderwerp is het effect van elektrische of magnetische velden op elektronische apparaten. Er zijn mensen (heel veel mensen) die beweren dat het gebruik van elektronische apparatuur en mobiele telefoons absoluut geen effect heeft op een auto of vliegtuig. De argumenten zijn dan : * "ik zet gewoon mijn telefoon aan, en we zijn niet neergestort" * "ze willen gewoon hun eigen telefoondiensten verkopen" * "die vliegtuigen hebben heel goede afscherming, dus dat maakt niks uit" * "Ik ken iema...

CNC milling OnShape design 20 mm aluminium

A few days ago I started playing with OnShape, an online design program. It can do a lot of things and I am very impressed by it. Check it out at https://www.onshape.com/ I designed a mounting bracket for my camera microscope (which needs to mount on my spindle motor) In 3D it looks like this  And after exporting the contour as a DXF file I milled it on my CNC machine. I used a 4 mm 2 flute end mill, at 20000 rpm. The mill had to stick out quite a lot, so I have some shatter markings on the surface, but it worked, milling 20 mm thick aluminium. The results are here. Impressive right ? Until next time, Greetings from Holland ;-)

Laptop repair (MSI 1035 OEM) saved money again

Today I repaired my laptop. It was not working anymore, completely dead. Here is a link to the manufacturer : http://www.msiwhitebook.com/product_spec.asp?model=MS-1035 It is an old one, it does not support Virtualbox, but runs Debian just fine. I like it because it has a 17" screen, nice to work in bed, full size keyboard too. Searching for problems without any schematic is just gambling so I postponed it. I found a YouTube channel by Louis Rossmann who repairs laptops, https://www.youtube.com/channel/UCl2mFZoRqjw_ELax4Yisf6w and he got some schematics from a website : laptop-schematics.com I ordered my schematics for about 10 euro. I got 57 pages of PDF. I had to take apart the whole laptop to get near the actual hardware. I took my time, did not break any plastic tabs off.. And after what seemed like an hour I was where I needed to be. I started at the beginning, the power input and verified it. 19.14 volts. At the end of the ...

Why? : Because we can...

Today I repaired a parking sign. Why? Because I need to have an excuse to use my CNC milling machine, that is why! I drew the sign with Q-Cad professional ( http://www.ribbonsoft.com/shop/ ) and imported it into USBCNC. I used a 2 flute 4 millimeter end-mill and created a couple of P characters. Do you want to make one too : here is the DXF file , have fun.

Deja Vu? (no picture on the screen) Bad caps again, and again Samsung.

Today I repaired a Samsung TV in just a few minutes. A friend walks in and says : My Samsung TV is ticking.. Red light blinking on/off... It is about 6 years old... What could it be? I just say : "Ah bad caps again?" Reply : "Do you really thinks so?" Let's fix this puppy a.s.a.p so you can watch TV again. So I take my screw driver and go with him to take a look at the TV. Indeed, it is trying to start but fails etc. tick tick tick blink blink blink... 1) remove power cord 2) take off back cover 3) look around 4) Notice caps with round caps in PSU??? Of course there are, 2 bad capacitors, 10 Volt 1000uF close to a thermal aluminium block. Alright, here they are... I say.. Exclamation : "Bad caps again? Can they not make anything anymore without bad capacitors, I bet most of these TV's get dumped in the trash for this" And that is probably true, a bad capacitor costing 20 cent will make your TV worthles...

RX TX of a USART is easy (right?)

Today I figured it out. What did you figure out, I hear you say... I finally resolved a problem with a USART on a STM32F407 board, that was easy to spot if I had just looked closely. I just lost a day in trying to find the fault. I am working with this board made by Olimex (https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware) And connected it using ST-Link interface to my PC. I connected the SWD pins to the JTAG connector of the Olimex SWD-pin-1 ------ JTAG-pin-1 (VCC) SWD-pin-2 ------ JTAG-pin-9 (TCK) SWD-pin-3 ------ JTAG-pin-4,6,8 (GND) SWD-pin-4 ------ JTAG-pin-7 (TMS) SWD-pin-5 ------ JTAG-pin-15 (TRST) SWD-pin-6 ------ JTAG-pin-13 (TDO) I connected the serial port (USART6 is pins 3 and 4 of UEXT) of the Olimex to the TX/RX lines of the ST-link (see the green circle) Then I wrote a program and tested it. I made sure the PLL of the STM32F407 was running, configured all the needed files. defined the target cpu in stm32f4xx.h (...

A new generator of PWM controller for AutoJet

Currently I am working on an alternative controller for AutoJet Technologies Spray controller made by Spray systems Inc. http://www.spray.com/spray_nozzles/pulsajet_nozzles.aspx I have been working on a more advanced and microprocessor controlled controller, it is intended to be used where the Model 1008 (AutoJet PWM driver modules, aka CP-PMDCT1008-XX) are not advanced enough or easy enough to install and set up. The 1008-AutoJet device is a pure analog box, it needs to be programmed with potentionmeter/trimmer inside the device and can be controlled externally using industry standard 0..20mA current loop to control frequency of pulses. The typical application I am looking at is the airless deposition of oils or emulsions used in the production of concrete products. The oils or emulsions are used as releasing agents with high viscosity, mould release agents designed for the production of expanded concrete blocks.  Deposition with air-driven nozzles leads to inaccu...

Failed to load session "gnome" and how to fix it on Ubuntu

It has been far too long since I wrote something on my blog. I have been writing on another site : http://blog.wisclub.nl/#home about my CNC machine, and about the mcHF transceiver I am building. Today I ran into a little problem after updating some packages on my Ubuntu 12.10 VM. (I know this is very old, but I have no choice since a vendor supplied a gcc/uclib toolchain for a specific product exactly on this version of Linux) However, my X did not start anymore, I got "Failed to load session gnome". After some digging I realized what had happened, the default X session was set to gnome (which is not really installed) instead of my normal XFCE4 session. If you know what the problem is, the fix is easy : $ sudo update-alternatives --config x-session-manager Then select the correct session manager. I hope this helps someone from having to search a long time. Until next time.

Exploding CAPS again, brand new CNC driver board goes BANG. (but will be replaced)

I have been working on my CNC milling machine and tested the new stepper motor controllers last Friday 13th. Brand new controller, power supply made of a large toroidal transformer, large diode bridge and lots of parallel capacitors made a very strong 42 volt. http://www.omc-stepperonline.com/4-axis-tb6600-cnc-stepper-motor-driver-controller-board-for-cnc-router-milling-p-309.html After the smoke cleared... I investigated the source of the problem. This was not a fault I made in wiring, nope... The exploded capacitors were 220uF/16 Volt types parallel to the power supply of 42 volt... Not a real surprise that they did not last 2 seconds. I do not think it is very hard to build a good CNC stepper board, but some engineers or buying departments still struggle with the basics like capacitor voltage specification. After removing the exploded capacitors we managed to get the motor controller working without problems (without the caps) The CNC machine now moves all Axis...

DDS UDB120x(s) serial protocol reverse engineering

I got a DDS with a serial interface https://bitbucket.org/tweetand/udb120x/overview You can now control the device over a serial/USB port if you want. Use my code, original research.

F-licentie behaald, radio-amateur (HAM radio), nu nog call-sign bedenken

De F-licentie is behaald, paar weken geleden examen gedaan. Met dank aan  http://www.radio-examen.nl/  (Stichting radio examen) voor het organiseren. Dit betekent dat ik nu officieel mag spelen met radio-zenders. (uit wikipedia) Met  radioamateurs  of  zendamateurs  (of in officiële terminologie  radiozendamateurs ) worden in brede zin personen bedoeld die zich voor hun  hobby  bezighouden met experimenteren op het gebied van het uitzenden en ontvangen van  radio - en/of  televisiesignalen . Hiervoor hebben zij de beschikking over een officiële  zendvergunning . Deze zendvergunning wordt door de overheid toegekend na het slagen voor een officieel examen, waarbij, afhankelijk van het gewenste vergunningsniveau, het kennisniveau met betrekking tot radio-elektronica en regelgeving getoetst wordt. Voor wie meer wil weten : VERON de Vereniging voor Experimenteel Radio Onderzoek Nederland Update : mijn officiële registratie ...

Nerdy EEV blog T-shirt, USA import.. tamelijk kostbaar

Ok, even een niet technisch verhaal. Voor mezelf en een paar knutselvriendjes heb ik een paar T-shirts besteld bij TEESpring http://teespring.com/NegativeFeedbackBlack  om Dave Jones en zijn EEVBlog te steunen. De T-shirts kosten 15 dollar per stuk, dat is in Euro's : 12,11 per stuk. Prima prijsje. Voordat je dit in huis hebt zit je met shipping : 20 dollar, en dan komt de BTW (21 %) en de afhandelingskosten (waarvoor PostNL je dan 13,00 euro rekent, dus meer dan de waarde van je T-shirt) Ondertussen ligt je T-shirt dus bij de inklaring...  weer weekje verder... Ik snap dat niet helemaal, als je namelijk iets uit China laat komen kost dat helemaal niks. Dat snap ik ook niet, hoe kun je nu iets opsturen met Free Shipping en dan is het er toch na een week? Ik snap er eigenlijk helemaal niks van. Onze postbode moet ook betaald worden, ook al zijn alle echte postbodes ontslagen en nu vervangen door huismoeders die de kinderen net op school hebben afgezet. (als postbo...

Fun with a laser cutter part 1 (Base for a relay board)

Theo Kleijn has his laser cutter setup and it was time to make something useful. Theo's blog :  http://pa0kn.nl/#home I took a board I had laying around, a 16 relay board, similar to one found here :  http://www.ebay.com/itm/16-Channel-12V-Relay-Module-Coupling-Optocoupler-High-Trigger-For-MCU-Arduino-/221358546298 and  http://www.miniinthebox.com/16-channel-12v-relay-module-board-w-power-lm2576-optocoupler-protection_p903439.html And decided to make a nice base for it, so it was not directly on the table. I started by designing the base plate, I measured the board and made a drawing in LibreCad, which was in the Ubuntu repository. This was not a success, when trying to save the file the program segfaulted and all my work was lost. I already had a license for QCAD 2.2 (on which LibreCad is based) and have used it without problems on my old linux machines (in 2008 and later). The old version I had was alright, many productive shortcut-keys etc, but many impr...