Skip navigation
2015
This week I was able to get the DF1 protocol operational. It is not a compete implementation of the protocol, but it implements read and write operations for data transfer to/from a SLC 500 processor. RS-232 communication As mentioned in a previous post I am using a USB to RS232(Product Link) cable to be able to communicate to a SLC 500 PLC. The data sheet can be found here http://www.farnell.com/datasheets/814051.pdf. I had to make up a 9 pin (DB9) Female connector to connect to the PLC.  ...
Introduction Gertbot Pins Modes Code Demo Conclusion   Introduction   In a previous guide, I covered how to control stepper motors using Gertbot. For this post, I'd like to cover the built-in endstop functionality.   Endstops (also know as "limit switches") can be very useful to stop motors when an end position has been reached. This is for example the case with 3D printers or CNC milling machines where the motors controlling each axis, back up until ...
  So here's the video I could not get uploaded over the weekend. I still want to do a couple more videos to show the readouts better for the demo's since the working screen is on the device and is a TFT 2.8R display. The demo indicates the sensors, switches, some controls and wiring. Schematic to follow. ...
Introduction Meditech will be used in many different environments and not always the visual information provided on the screen maybe useful. Receiving helpful audio hints and suggestions on-the-go is a good solution; when the user should activate a probe, start or stop the data acquisition nearby the patient it is very useful to control the entire system with a simple infrared controller but maybe not sufficient. This is the reason that to improve the system usability the TTS (Test-To-Speech) su ...
Day 93 Picorder in operation My Partner in crime: Hard at work!! CHASSIS: Power regulator Power Supply: 5Vdc for testing The Face of Pi: New PIR sensor Power Board: Pull-up resistors PIR MOUNTING: Standoff Placement IMPERFBOARD: PIR mounts SENSOR: removal of CO2 and alcohol sensors FLAME DETECTOR: sensor module EASPBERRY PI: B+ model replaced model B VIDEO CONFERENCE: Collaboration on Picorder Project ...
Older Posts: [Project VIRUS][Week 0]Project Description [Project VIRUS][Week 1] Another RPi Robot Part 1 [Project VIRUS][Week 2] Another RPi Robot Part 2: Python and Remote Control [Project VIRUS][Week 3] Getting started with OpenCV and RPi Camera [Project VIRUS][Week 4] Live Streams with OpenCV and Creating Time Lapses [Project Virus][Week 5] A delayed update [Project VIRUS][Week 6] A bit on 3D printing [Project VIRUS][Week 7] An forgotten Update- Designing Wheatley   The RPi Robot ...
Previous posts for this project: Sci Fi Your Pi: PiDesk - Project Description Sci Fi Your Pi: PiDesk - Project Update #1 Sci Fi Your Pi: PiDesk - Guide: Setting Up the Raspberry Pi 2 Sci Fi Your Pi: PiDesk - Project Update #2 Sci Fi Your Pi: PiDesk - Review: Bare Conductive Touch Board Sci Fi Your Pi: PiDesk - Project Update #3 Sci Fi Your Pi: PiDesk - Guide: Stepper Motors with Gertbot Sci Fi Your Pi: PiDesk - Project Update #4 Sci Fi Your Pi: PiDesk - Project Update #5 Sci Fi Your Pi ...
Regarding Charles Gantt's "Design Challenge Summary, Week Ending July 18th" article and the Picorder project progress:   I apologize for the lack of recent pictures of the Picorder to all of element14, challengers, readers and followers. However, previously I wrote that I'm removing the CO2 and alcohol sensors due to their excessive power requirements and replacing them with other types of less power demands which requires redesign of the Picorder. This has been ongoing since that posting. ...
As mentioned in a previous post I will be using python Twisted architecture for the asynchronous communications that are required I chose to use twisted partly because I was interested in learning more about it but also because it supports all the functionality that I needed serial communication(for  RS-232 and RS-422 protocols FTP and SMTP all in one package Twisted certainly is capable of much more but these are the communication channels I need to support   All of the popular Linux ...
The frame is almost completed I encountered more difficulties than I expected in assembly a structure using steel wires...     It's not very clear in these pictures, but there are three "parallels" corresponding to three "levels" On the upper level, the raspberry and the accelerometerers will be mounted The middle level will host the two engines and propellers The bottom level will host the control surfaces At the bottom of the sphere (so outside the sphere) I will place the ...
Introduction Meditech internal architecture is built by a network of Raspberry PI devices specialised to manage some acquisition probes producing several kind of data. The information of the running system should be shared with the devices and collected for the graphical representation and for historical purposes so the ideal data collector is represented by a centralised database hosted on the main unit RPI master (Raspberry PI 2).   To efficiently organise the data the acquired informati ...
Introduction One of the core elements of the Meditech software is the controller, managing the user interaction for the entire system. We can consider the controller module as an application - running as a process that never stops - as a simple task-manager and task launcher. The rest of the job is done by the automation components of the Meditech device. The only one part that is directly managed by the controller software is the control panel communication. The reason is that in the system ar ...
I've been a little sick this week and I haven't been able to work too intensely on PizzaPi. I did get the parts I ordered. I haven't tested the temp probe, but I'll post more about that soon. The pizza delivery bag was totally disgusting. It did say "used" but I kind of expected at least that they'd wash it! It had a GIANT tomato stain on the inside. After washing it twice, once with the stain inside, once with the stain on the outside, it still remains. I think I will have to scrub it to get it ...
Introduction Meditech device has been  though to be as simple as possible for the user. It is oriented to users that does not need having some kind of IT knowledge and its interface should be extremely simple to use. Usability is one of the most important aspects for two reasons: The possible conditions of use and the accessibility of the device to non-specialized users. Users interact with the device through three components: the controller, the LCD color display and the status LCD alphanu ...
  Again I apologize for being late on blogging. Unfortunately my accident included some damage to my eye. My sight is almost back to normal. I had double vision for some time : C   Main Components have come together:   My goal is to automate the processes as much as possible. I already have the camera installed with dropbox and now can load the pictures to the cloud and access the pictures on my laptop and Blackberry.   We were given the Raspberry Pi B+ and the Raspberry ...
Previous posts for this project: Sci Fi Your Pi: PiDesk - Project Description Sci Fi Your Pi: PiDesk - Project Update #1 Sci Fi Your Pi: PiDesk - Guide: Setting Up the Raspberry Pi 2 Sci Fi Your Pi: PiDesk - Project Update #2 Sci Fi Your Pi: PiDesk - Review: Bare Conductive Touch Board Sci Fi Your Pi: PiDesk - Project Update #3 Sci Fi Your Pi: PiDesk - Guide: Stepper Motors with Gertbot Sci Fi Your Pi: PiDesk - Project Update #4 Sci Fi Your Pi: PiDesk - Project Update #5 Sci Fi Your Pi ...
Here is video of the PiFace LCD menu program in action   ...
Hi, again.   As promised, here is a video showing the sort of responses that you can expect to get from running the code on GitHub at https://github.com/TaoDude/Shared_I_Ching.git   Please read the Readme note about disabling the IR receiver code before running the software, or you will receive the error that Enrico describes in his Comment on my Part I update from Sunday.   ...
Introduction One of the main characteristics of the control panel features - controlled by the ChipKit PI board - is that it supervise all the Meditech status changes, manages the alarms and does not need a control menu. Despite what is shown on the LCD color screen display - controlled by the RPI master Raspberry PI - the control panel is autonomous supporting a bidirectional communication meta-language with the RPI master. In this scenario the LCD display will constantly show the most updated ...
I thought this week I would share my adventure into USB enumeration. As I have mentioned in a previous post I am using the following USB/Serial converters USB to RS232 Cable (Product Link) USB to RS422 cable (Product Link) When these cables are plugged in, the system generates a ttyUSBx device in the /dev directory. Serial USB devices are added in the order in which they are recognized, so the first device will be ttyUSB0, the second will be ttyUSB1 and so on. If the cables are plugged in befor ...
Welcome to crunch time! Since my last posting until day eighty has been, to say the least, challenging. After partially constructing the Picorder in its case, all sorts of unknowns have came to light. I have practically had to throw out all previously conducted testing of hardware and software and start over. That which works in a "black box" environment, rarely functions in the same manner as a complete unit or system. That saying about inventions being 99% perspiration and 1% inspiration holds ...
Introduction In the previous post it was explained how the control panel communication between the ChipKit PI and RPI master (Raspberry PI 2) works, based on a rigid syntax sequential command language. The hardware layer of the communication between the two boards implement the TTL direct serial communication at the speed of 38.400 bps. This is an average speed sufficiently high to grant a good data exchange between the two boards without penalising the interrupt-based tasks that are managed by ...
I had a funny glitch on one of my Raspberry Pis this weekend. Somehow the operating system corrupted and wouldn't boot anymore. Luckily it was on the one running PiFace and I have not done much with it so I didn't lose much. I should have probably run recovery mode....but I forgot. Oh well, I wiped the whole thing and reinstalled the various packages needed to run PiFace and Paho (for communicating with mosquitto, the MQTT broker). This was on an older Raspberry Pi, not on one of the new ones th ...
Introduction Introduction Syntax Syntax rules Commands E - Enable D - Display L - LCD Template I - Info T - Test R - Receive Subcommands S - Enable/disable Stethoscope G - Enable/disable E.C.G. P - Enable/disable Pressure sphygmomanometer T - Enable/disable Temperature sensor H - Enable/disable Heart Beat sensor As mentioned elsewhere in the previous posts the Meditech control panel is under the control of the Chipkit PI micro co ...
Introduction This is the first part of a blog covering Weeks 6 & 7, as i did not have time to publish last week owing to having to complete a report for work.  Not much to report, except that i have managed to take on board some of Enrico's (Balearic Dynamics) comments on my first set of menus.   The PiFaceCAD is a bit cramped for what i am trying to produce, but i am getting there.  Multilevel menu code in Python is now available in a public repository on GitHub:   htt ...
Previous posts for this project: Sci Fi Your Pi: PiDesk - Project Description Sci Fi Your Pi: PiDesk - Project Update #1 Sci Fi Your Pi: PiDesk - Guide: Setting Up the Raspberry Pi 2 Sci Fi Your Pi: PiDesk - Project Update #2 Sci Fi Your Pi: PiDesk - Review: Bare Conductive Touch Board Sci Fi Your Pi: PiDesk - Project Update #3 Sci Fi Your Pi: PiDesk - Guide: Stepper Motors with Gertbot Sci Fi Your Pi: PiDesk - Project Update #4 Sci Fi Your Pi: PiDesk - Project Update #5 Sci Fi Your Pi ...
Today the parcel with the components I need for bulding the training sphere arrived   Now that I have the components, I can start making a detailed drawing of the frame. BTW, after long thinking which material was better (either aluminium or plywood), I made the decision to use plywood since it's easy to work with and there will be no soldering issues. Let's hope for the best! ...
Building APM Since I expect I will have to make some changes to the code, I will now try to build APM fro source code. Working repository for Navio APM port is on GitHub. I decided to build APM directly on your Raspberry Pi since it does not require to setup a cross-compiling environment and Raspberry Pi has enough computing power to make this step fast enough Download the APM’s port for Navio: git clone https://github.com/emlid/ardupilot.git Switch to the 'navio' b ...
I am using the PiFace CAD to display the contents of a configuration file used for the Serial Master program so the user can see and change the parameters that are being used. A snippet of a config file is shown below:   [RS-232] device = /dev/ttyUSB0 baudrate = 19200 [RS-422] Device = /dev/ttyUSB1 Baudrate = 9600     I will use ConfigParser to read the configuration file.   I believe that a State Machine is the best way to handle the coding for the navigation and display o ...
Introduction This update affects the ChipKit PI software for the control panel; the development lifecycle is part of the entire project but it is organised in a dedicated repository. A series of general updates has been done for better reachability of the sources and documentation described in the list below:   http://meditech.balearicdynamics.com application and user manual, project documentation and technical information. The pages are under construction and only the home page is show ...
Hello, everyone! Just wanted to let you all know that I won't be posting an update until next weekend. I'm on holiday for the Independence Day weekend (and a few weekdays after that). Looking forward to writing an update soon. ...
Previous posts for this project: Sci Fi Your Pi: PiDesk - Project Description Sci Fi Your Pi: PiDesk - Project Update #1 Sci Fi Your Pi: PiDesk - Guide: Setting Up the Raspberry Pi 2 Sci Fi Your Pi: PiDesk - Project Update #2 Sci Fi Your Pi: PiDesk - Review: Bare Conductive Touch Board Sci Fi Your Pi: PiDesk - Project Update #3 Sci Fi Your Pi: PiDesk - Guide: Stepper Motors with Gertbot Sci Fi Your Pi: PiDesk - Project Update #4 Sci Fi Your Pi: PiDesk - Project Update #5 Sci Fi Your Pi ...
Software sources The Meditech software has been divided into packages everyone related to a specific context. Every package will be included in a separate repository folder following its own lifetime and in the meantime it is accessible from a unique Git entry point on GitHub. that is the user alicemirror.   The first setup repository, also used here as example is the chipkit_serial_pi To access the software sources you can download the repo from GitHub at the following address: https://gi ...
It's time to start doing something serious!   So, according to the plan, I will install the realtime version of the Raspbian. I will use Raspberry Pi Model B. I will install this Raspbian version with real-time kernel for Raspberry Pi 2 Model B. It is based on 2015-02-16-raspbian-wheezy with default kernel replaced to 3.18.9-rt5-v7+ kernel and a few additional tunings. Default Raspbian kernel 3.18 is configured with PREEMPT option and provides worst case latency around hundreds of microse ...
Introduction After the two first phases, creating an initial beta version of the Meditech hardware including a first series of probes it is time to move the project to the software side consolidating the architecture. One of the difficulties defining the software architecture is to identify the correct development areas for the different parts: different programming languages and development environments, almost strong hardware interaction, human interface, data collection and management, Inter ...
The first thing of this project, is to select the proper configuration. I'm not an expert in multirotor drones and UAVs, but the selection criteria are quite clear. The configuration must meet, in order of relevance, the following requirements compact: I want to build a sphere can be safely used indoor, so size matter easy to control: the control system will be based on a Raspberry Pi board which runs a Linux that, despite any realtime patch, can not be considered a hard realtime operating ...
Hello all   Not posted anything for some time but the project did not stalled at all.   What I have done so far:   - RaspberryPi + RTC + Display&Control assembled, installed and configured (shown in previous posts, 1, 2, 3) - build the power board - build control board for power LED and RGB strip - assembled charging modules for Li-Ion batteries - connected together all the above   In the following video you'll see a demo of almost all hardware used for Cybernetic ...