Archive for the ‘Communication’ Category

FN-M16P (Part 2)

Part 1, 2 As seen in the previous post, the MCU (e.g. arduino) and the module are talking each other through a serial communication (UART) at a quite modest rate of 9600 baud. Data is exchanged as packets of 10 bytes according to the following structure: Byte# Function Value Comments 0 Start Byte 0x7E constant 1 […]

PLD (Part 4)

Part 1, 2, 3, 4, 5, 6 Using the HL2 PLD (Place and Leave Device) is easy and usefull. We ran the earliest tests on… soil moisture. The reason why we chose this one is that I have always liked to have a green plant in my office and this one might last longer than the others. Because it is fitted […]

Simple command parser (Part 2)

Part 1, 2 In the previous version, the command parser is using one single alpha character as an opcode while the argument is computed on the fly using simple arithmetic. In this version, the opcode is extended to (almost) any number of characters and the argument is stored in a vector which is then converted […]

Bug Of The Day

And this is a strong one! We are using quite many UNO platforms for fast prototyping. In spite of their relative high price, we always bought boards from Arduino, not because we fear the ‘hall of shame’, but because we understand that that buying these boards contributes to the business model of the Arduino team and […]

Publication of the day

I am very glad to announce the first official publication involving the PlainDSP kit and the team behind the scene. We also congratulate Kostas and his team for designing such an awesome detector. Although PlainDSP kits can be used in the context of ludic applications, it provides all the means necessary for the design of much […]

When the compiler matters (Part 1)

Part 1 Recently, I worked on a library to manage LED strips. It worked perfectly using the Window’s version of Arduino. It worked as well on the GNU/Linux’ version with a LED strip… but not with another strip ! An advanced issue for an advanced headache… In the Arduino environment , when the “verify” or […]

Memory (Part 5)

Part 1, 2, 3, 4, 5, 6, 7 The code sample from the previous post shows how to read and write bytes on the EEPROM chips. Just fine !  But what about reading and writing other types of data such as short and long integers or floating point values ? This post contains an example of use of the PlainSPI_EEPROM library which […]

Serial Comm Ports for ever and ever… (Part 8)

Part 1, 2, 3, 4, 5, 6, 7, 8 This post couldbe nammed at “The doc of the day”, or “The ultimate RS232 vademecum”, or “The RS323 digest”, etc. National Instrument did it in on one, clean and refined page: the  “Serial Quick Reference Guide”

Connecting AVRISP to Arduino (Part 1)

Part 1, 2, 3, 4 This post introduces a new series dedicated to Avr programmers We will start today with the AvrISP mkII, a small, quite cheap and handy programmer. Not like usual, I will not put a good word on Arduino. Arduino boards are missing the little red dot next to pin 2 from the ICSP connector in […]

Quadcopter Magic Revealed

I am missing my words to express how awesome is this presentation Many Arduinoos visitors are aware about quadcopters, but we were probably missing the capacity of executing  cooperative works  of these drones.