AC64 (Arduino-C64 interface)

Ac64 is a way to use a good old C64 to learn Arduino (and Electronics in general). Why only to collect (or put it into basement) a c64 when it is possible to use it to learn (or simply to have fun) ?
Here there is a nice why to do that….

Ac64’s components:
1) Arduino Uno R3 (Link)
2) Commodore 64 User Port Connector (*) (Link)
3) Container Box (**) modified to accept user port connector
4) Commodore 64 program manual (Link)
5) Connecting wire
6) Soldering iron

Instructions to build:

To build AC64 you need an Arduino Uno R3 (Genuino Uno R3), an user port connector.
Connect the Arduino directly to the C64 user ports (Tx,Rx) connector using the table below.

Arduino C64 User Port
GND A & N
RX M
TX B & C

& meaning soldering with a wire, you can find user port description here

Instructions to load firmware:

There are some firmware (Serial control, webclient, lol) to load on AC64 to match right shield or right function. download it, and upload to Arduino following instructions on www.arduino.cc

Instructions to load and run c64 basic code

Download ac64.d64 and put it into sd card, loading it with hardware tool like sd2iec following user manual. After mount select program you need, according to right firmware loaded on AC64.

Arduino lol :Download

Arduino serial control (***) :Download

Arduino web client :Download

C64 imagedisk :Download

Container Box Open (**):Download

Licence:
(**) Modified (size and user port connector adapder) 3D Printed Case for Arduino by Zygmunt Wojcik
is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Link
(***) modified to match c64 character map, under open source (GPL2) Link

The software is over GNU GPL2 Open source license. Dexmac may not be held liable for any damages in any form resulting from the use of this software, others files or hardware. You may use them at your own risk. By downloading any files or use infos on this page, you are agreeing to this statement.

Anpr-Pi

Anpr-Pi, Anpr over Raspberry Pi B, is a my little project about a very cheap plate recognition hardware. Recognition is relative strong:
rotated/skewed plates can be recognize
in Anpr-PI i put my algorithm into a raspberry pi with camera compatible code with opencv support and modify it to give correct plate recognition.

Anpr-Pi Components:
1) Raspberry-Pi (Link)
2) Paspberry-Pi Camera (Link)
3) Adafruit display (Link)
4) Air Mouse-Keyboard

I used Linux raspberrypi 3.12.26+ #7 PREEMPT Wed Sep 17 14:25:24 EDT 2007-2017 armv6l GNU/Linux

Setup:
Follow instruction on these links:
1)Installing camera hardware Link
2)Installing OpenCv Link
3)Install GOCR with “sudo apt-get install gocr”
Now you have contest and you can rebuild my platecam project putting it into /opt/vc/userland-master creating /opt/vc/userland-master/platecam
cd into platecam, then make clean; make; and run “./platecam -l” . It has two options -r (activate rotation compensation,experimental) and
-l activate gocr learn mode).

Anpr-Pi code:Download

The software is over GNU GPL Open source license. Dexmac may not be held liable for any damages in any form resulting from the use of this software, others files or hardware. You may use them at your own risk. By downloading any files or use infos on this page, you are agreeing to this statement.

HttpDesk

HttpDesk is a open source software for pc screen capture and relay in real time (screencast) as mjpeg http streaming in various formats (from 320×240 to 1920×1200). It is possible to set capture frame rate and encoding bitrate. It is compliant with any web-browser (Firefox tested) and VideoLan clients. Put right address in your client (like http://xxx.xxx.xxx.xxx:8080) and you will see remote desktop (only see, not control). It is fully compliant with boundary http streaming, then a lot of clients (like dvr) can be used with this software for recording. Even VideoLan is perfect for recording HttpDesk mjpeg stream.

Features

  • Http mjpeg streaming (Firefox and VideoLan compliant)
  • Variable framerate/bitrate
  • Recording (With client)
  • Dvr compliant
  • Windows/Linux version
  • Simple

Downloads: Windows 32/64 , Ubuntu (64 Bit)Source Code

For compile source code:

  1. Create HttpDeskDevelop directory
  2. Put HttpDesk directory in HttpDeskDevelop
  3. Download ffmpeg-0.6.6, extract in HttpDeskDevelop
  4. Rename ffmpeg-0.6.6 to FFMpeg-0.6.6
  5. Follow my Linux and/or Windows ffmpeg compile How-To
  6. Download source code, put it into newly created HttpDesk directory and unpack it
  7. Open .pro for your Op.Sys. with QTCreator
  8. Rebuild and Run

The software is over GNU GPL Open source license. Dexmac may not be held liable for any damages in any form resulting from the use of this software or others files. You may use them at your own risk. By downloading any of the files contained on this page, you are agreeing to this statement.

Letture di codice

The world of programming is too often seen as a universe for a select few, made up of abstruse concepts that are difficult to understand. This book wants to be an anthology of codes, dedicated both to those who already know the subject, and to those who just want to understand what it is, without having to deal with complex books on programming. It is therefore not a manual, but a collection of working and commented programs in detail, which allows the reader to understand the algorithms illustrated even without a theoretical preparation, but only with learning by experience. The text contains codes that range from the simplest and most basic to the most advanced, such as image processing, and complex system simulators.

 

Theo

Theo, THErmal Observer, is a my little project about a very cheap thermal scanner with alarm remote capability. Sensor is very strong: an array of thermal pixel, like more expansive thermal camera ones. A servo rotate, continuously over 180 degrees, this thermal sensor and a wide area is covered. this motion can be switched on/off by a simple REST command. It can be useful as blaze recognition or human body temperature identifier (in a room, for example and to prevent illness). This project is based on Arduino Yun Platform!

Theo’s components:
1) Arduino Yun with firmware (Link)
2) Arduino proto shield (Link)
3) Hitec HS-422 (Link)
4) Thermo sensor array Tpa-81 (Link)

Schema and project:

Theo’s core is an Arduino Yun with an Arduino proto shield with some components
used to control servo motor and read data sensor. Connect i2c sensor to SCL on pin 4 SDA on pin 3 (with 4.7k resistors as pullup).
Servo signal is connected to pin 5, directly. Power are all +5v.
C++ Arduino script export REST protocol to remotely communicate with python script (using TK, PIL and OpenCV library).This can show thermo image and give some controls to sensor sweep. Opencv can also permit some elaboration on image (now there is a smart interpolation, only)

REST
“/arduino/temperature/0” get integer matrix with temperature obtained by sweep
“/arduino/servo/0” stop servo sweep
“/arduino/servo/1” activate servo sweep
“/arduino/speed/X” set X ms as delay time between a new sweep angle increment
“/arduino/pos/X” set sensor angle (X=0/180)
“/arduino/mt/X” set X temperature alarm
“/arduino/mail/X” set X mail address

Mail
Inside Arduino code there is a sending mail possibility using ssmpt/mutt (installed with “opkg install ssmtp” and “opkg install mutt”) and testing it with with:
echo ‘Alarm Temperature’| mutt -s ‘Temperature Alarm’ — yourmail@gmail.com using this ssmtp.conf configuration file with your gmail account

Config
config file is in /root/ as config.ini.
mail\n
alarm temperature threshold\n
sweep on/off\n
sweep period\n

example:
yourmail@gmail.com
50
1
100

Arduino code:Download

Python code:Download

The software is over GNU GPL Open source license. Dexmac may not be held liable for any damages in any form resulting from the use of this software, others files or hardware. You may use them at your own risk. By downloading any files or use infos on this page, you are agreeing to this statement.

Soses

Soses2e is a project for an embedded surveillance, developed in 2002, wireless system, with four video input for standard camera.Human machine interface is web based and video recording is possible with external storage unit. For alarm generation, a pixel precise Motion Detector is implemented and video recording/streaming is based over fast motion jpeg. Soses2e can send e-mail for alert an user , control up to 4 relais for local alarm switch for make a phone call, for example.Soses 2e is based over via embedded epia MII 6000 for low-power consumption target and input is 12volt dc.

Scalable Internet Phone (Siphone)

 

Siphone is a generic voice over ip tool, developed in 2002; it permits point-to-point connection between two standard pc with Microsoft windows 2000/XP (works fine with wine on linux). There is a lot of this tools on the network but this is flexible for low band connection because bitrate not is fixed but can change from 2.4kbit to 40kbit during runtime. Also transport protocol is modifiable during runtime to selecting from tcp to udp for best network use. If tcp is used, transmission result perfect with no packet loss, but connection have a bit of delay (some isp permit only tcp communication). Udp can loose some of audio information, but very little delay is achieve.This this utility is free of charge. Dexmac may not be held liable for any damages in any form resulting from the use of this software or others files. You may use them at your own risk. By downloading any of the files contained on this page, you are agreeing to this statement.

Download Demo

Download Manual

Robot Simulator

 

RobotSim is a OpenGl toy, developed in 2002. it permits to simulate multi-junction robot without gravity. Robot is able to catch the red sphere automatically using Auto command. User can move sphere with numeric pad arrows, and in Auto mode, robot follow the sphere with an algorithm that convert x,y,z  coordinates in junction inclinations. This permit to the hand to reach the sphere automatically, knowing where it is in x,y,z .Also the robot is controllable by the mouse selecting junction by  number on tool bar. This software is free of charge. Dexmac may not be held liable for any damages in any form resulting from the use of this software or others files. You may use them at your own risk. By downloading any of the files contained on this page, you are agreeing to this statement.

Download Demo