pyFirmata and Firmata for LPC812As mentioned in previous blog, I ported Firmata from Arduino to my LPC812MiniKit in order to instantiate MCU on board. I used pyFirmata as the starting point for my demo testing code. And it can be used a baseline for future desktop applications in Windows/Linux/OSX.In microcontroller side, Firmata for LPC812's footprint is 9KB ROM and 1KB RAM, including serial driver, ring buffer management, printf, system timers, SCT, PWM and firmata protocol parsers.Quick testing for analog channelsI have learnt a testing trick from Sparkfun, print analog bar in console. By this way, we can quick check analog channels such as PWM, ADC, DAC or sensor raw data. It works like a osilloscope, excepts vertial scanning.SCT PWM libraryDuring my development, I found some problemes and bugs. Among them, SCT based PWM takes longer time than my expectation. I have to say, NXP's SCT is a great and flexible pheripheral. And they have offered related tutorials and source co…
Since LPC812MiniKit is application oriented, we will publish a series of applications available now. LPC812 has an advanced peripheral SCT, which is suitable for timing related algorithm. NXP has offered comprehensive application notes and demo codes for SCT in LPC812. Although SCT in LPC812 has only two state variables, its counterpart in LPC18XX/43XX has much more variables. It is still very handy for most simple timing applications, such as infrared remote control used in consumer electronics. You can donwload cookbook of LPC812 SCT from LPCware.com. There are serveral demo projects for Keil inside the zip file, which has rc5_send and rc5_receive. RC5 is widely used in many devices from Philips electronics, including TV, DVD, lighting and others. Philips has introduces RC6 standard to replace it, but RC5 is still popular. Labs on LPC812 Mini Kit The rc5_send and rc5_receive are straigh forward. You can test them on LPC812MiniKit easily. RC5_RECEIVE Lab Setup You can use LPC812MiniKit wit…
Recently I have released some LoRa Development Kit and products, check these out.
Fig 1: LoRa RFM100L (AI version) with NUCLEO-F103RB
Fig 2: LoRa RFM110L (NPLINK version) Shield
Fig 3: LoRa USBLR1000 (in enclosure) and USBLR110M (PCBA) USB Dongle
Fig 4: LoRa USBLR110M USB Dongle (433MHz and bare PCB)
Among these products, USBLR110M become the popular one, it is made up of STM32F103C8 mini board (Blue Pill) as well as RF modules for SX1278/SX1276/SX1272. Since STM32 and RFM are all pin to pin compatible, developers can use another mini board, STM32 micros or radio chip to custom their designs.
I will post more details on these products. Futhermore, I will release a WiFi/LoRa and BLE/LoRa combo products.