Workshop given at the MakeZurich hackathon to get the people started with MicroPython and the LoPy board from pycom. Code: https://github.com/adnexo-GmbH/lopy_ws
Minha palestra no TDC-Porto Alegre sobre a utilização do Python como a linguagem de programação para o ESP8266, demonstrando desde o processo de gravação do firmware, conexão com o dispositivo e exemplos de programas.
Presentation on basics of computer programming and programming Raspberry Pi's using the Python Programming Language at the Raspberry Pi Demo Day at Toronto Reference Library on May 28, 2016.
Workshop given at the MakeZurich hackathon to get the people started with MicroPython and the LoPy board from pycom. Code: https://github.com/adnexo-GmbH/lopy_ws
Minha palestra no TDC-Porto Alegre sobre a utilização do Python como a linguagem de programação para o ESP8266, demonstrando desde o processo de gravação do firmware, conexão com o dispositivo e exemplos de programas.
Presentation on basics of computer programming and programming Raspberry Pi's using the Python Programming Language at the Raspberry Pi Demo Day at Toronto Reference Library on May 28, 2016.
Smart Wireless Surveillance Monitoring using RASPBERRY PIKrishna Kumar
This is a slide about the smart surveillance monitoring system using raspberry pi.
It includes the full details of the procedure , component description and the screenshots
Radio related project ideas using a Raspberry Pi. Covers use of RTL SDR USB, WSPR using WsprryPi, and Packet Radio using Direwolf, ax25 and PiLinBPQ (BPR32)
By AWS & Espressif
Learn about Amazon FreeRTOS and the Espressif Systems’ ESP32-DevKitC. Determine how this fits into an IoT solution and look at examples of using cloud services in IoT microcontroller-based devices.
My slide at the Milan Codemotion 2015, a session called "An Adventure with ESP8266 and IOT" about using the esp8266 with NodeMCU, mosquitto, nodejs and an accelerometer. All the sourcecode will be available at http://pestohacks.blogspot.com soon
Java Device I/O at Raspberry PI to Build a Candy Vending MachineJeff Prestes
Learn about DK 8 and Device I/O Library
Also, see the lab how to install from scratch Rasbian, JDK 8, Device I/O on a RaspberryPi.
See the code from github and build your own machine
"Costruiamo un Rover in 60 minuti" by Marco Dal Pino, Marco Minerva.
Si fa presto a dire IoT! In una sessione tutta codice, cacciavite e componenti vediamo come costruire un rover che possa muoversi in uno spazio sconosciuto evitando gli ostacoli e permettendo di rilevare parametri ambientali. Utilizzeremo tutte le principali tecnologie di prototipazione rapida ed interfacciamento dei sensori per costruire il nostro piccolo robot.
Presentation of the ESP8266 WiFi module created for the course Pervasive Systems 2016 of the Master Degree in Engineering in Computer Science (DIAG, University of Rome "La Sapienza")
Pervasive Systems 2016 Web Site: http://ichatz.me/index.php/Site/PervasiveSystems2016
LinkedIn Profile: https://www.linkedin.com/in/biagio-botticelli-444b87105?trk=hp-identity-name
GitHub Repository: https://github.com/biagiobotticelli/ESP8266
HPC DAY 2017 | Prometheus - energy efficient supercomputingHPC DAY
HPC DAY 2017 - http://www.hpcday.eu/
Prometheus - energy efficient supercomputing
Marek Magrys | Manager of Mass Storage Departament, ACC Cyfronet AGH-UST
Smart Wireless Surveillance Monitoring using RASPBERRY PIKrishna Kumar
This is a slide about the smart surveillance monitoring system using raspberry pi.
It includes the full details of the procedure , component description and the screenshots
Radio related project ideas using a Raspberry Pi. Covers use of RTL SDR USB, WSPR using WsprryPi, and Packet Radio using Direwolf, ax25 and PiLinBPQ (BPR32)
By AWS & Espressif
Learn about Amazon FreeRTOS and the Espressif Systems’ ESP32-DevKitC. Determine how this fits into an IoT solution and look at examples of using cloud services in IoT microcontroller-based devices.
My slide at the Milan Codemotion 2015, a session called "An Adventure with ESP8266 and IOT" about using the esp8266 with NodeMCU, mosquitto, nodejs and an accelerometer. All the sourcecode will be available at http://pestohacks.blogspot.com soon
Java Device I/O at Raspberry PI to Build a Candy Vending MachineJeff Prestes
Learn about DK 8 and Device I/O Library
Also, see the lab how to install from scratch Rasbian, JDK 8, Device I/O on a RaspberryPi.
See the code from github and build your own machine
"Costruiamo un Rover in 60 minuti" by Marco Dal Pino, Marco Minerva.
Si fa presto a dire IoT! In una sessione tutta codice, cacciavite e componenti vediamo come costruire un rover che possa muoversi in uno spazio sconosciuto evitando gli ostacoli e permettendo di rilevare parametri ambientali. Utilizzeremo tutte le principali tecnologie di prototipazione rapida ed interfacciamento dei sensori per costruire il nostro piccolo robot.
Presentation of the ESP8266 WiFi module created for the course Pervasive Systems 2016 of the Master Degree in Engineering in Computer Science (DIAG, University of Rome "La Sapienza")
Pervasive Systems 2016 Web Site: http://ichatz.me/index.php/Site/PervasiveSystems2016
LinkedIn Profile: https://www.linkedin.com/in/biagio-botticelli-444b87105?trk=hp-identity-name
GitHub Repository: https://github.com/biagiobotticelli/ESP8266
HPC DAY 2017 | Prometheus - energy efficient supercomputingHPC DAY
HPC DAY 2017 - http://www.hpcday.eu/
Prometheus - energy efficient supercomputing
Marek Magrys | Manager of Mass Storage Departament, ACC Cyfronet AGH-UST
LinuxKit, a toolkit for building custom minimal, immutable Linux distributions.
Secure defaults without compromising usability
Everything is replaceable and customisable
Immutable infrastructure applied to building Linux distributions
Completely stateless, but persistent storage can be attached
Easy tooling, with easy iteration
Built with containers, for running containers
Designed for building and running clustered applications, including but not limited to container orchestration such as Docker or Kubernetes
Designed from the experience of building Docker Editions, but redesigned as a general-purpose toolkit
Designed to be managed by external tooling, such as Infrakit or similar tools
Includes a set of longer-term collaborative projects in various stages of development to innovate on kernel and userspace changes, particularly around security
HPC DAY 2017 | Accelerating tomorrow's HPC and AI workflows with Intel Archit...HPC DAY
HPC DAY 2017 - http://www.hpcday.eu/
Accelerating tomorrow's HPC and AI workflows with Intel Architecture
Atanas Atanasov | HPC solution architect, EMEA region at Intel
Model Simulation, Graphical Animation, and Omniscient Debugging with EcoreToo...Benoit Combemale
You have your shiny new modeling language up and running thanks to the Eclipse Modeling Technologies and you built a powerful graphical editor with Sirius to support it. But how can you see what is going on when a model is executed? Don't you need to debug your design in some way? Wouldn't you want to see your editors being animated directly within your modeling environment based on execution traces or simulator results?
In this talk, we will present Sirius Animator, an add-on to Sirius that provides you a tool- supported approach to complement a modeling language with an execution semantics and a graphical description of an animation layer. The execution semantics is defined thanks to ALE, an Action Language for EMF integrated into Ecore Tools to modularly implement the bodies of your EOperations, and the graphical description of the animation layer is defined thanks to Sirius. From both inputs, Sirius Animator automatically provides an advanced and extensible environment for model simulation, animation and debugging, on top of the graphical editor of Sirius and the debug UI of Eclipse. To illustrate the overall approach, we will demonstrate the ability to seamlessly extend Arduino Designer, in order to provide an advanced debugging environment that includes graphical animation, forward/backward step-by-step, breakpoint definition, etc.
HPC DAY 2017 | Altair's PBS Pro: Your Gateway to HPC ComputingHPC DAY
HPC DAY 2017 - http://www.hpcday.eu/
Altair's PBS Pro: Your Gateway to HPC Computing
Dr. Jochen Krebs | Director Enterprise Sales Central & Eastern Europe at Altaire
«When systems are not just dozens of subsystems, but dozens of engineering teams, even our best and most experienced engineers routinely guess wrong about the root cause of poor end-to-end performance» — that’s what think in Google.
Latency tracing approach helps Google and many other companies to control stability and performance as well as helps to find root causes of performance degradation even in huge and complex distributed systems.
I’ll tell about what is latency tracing, how that helps you, and how you can implement it in your project. Finally I will show live demo using such tools as Dynatrace and Zipkin.
examples: https://github.com/kslisenko/java-performance
http://javaday.org.ua/kanstantsin-slisenka-profiling-distributed-java-applications/
GPU databases - How to use them and what the future holdsArnon Shimoni
GPU databases are the hottest new thing, with about 7 different companies producing their own variant. In this session, we will discuss why they were created, how they are already disrupting the database world, and what the future of computing holds for them.
This presentation demonstrates how the power of NVIDIA GPUs can be leveraged to both accelerate speed to insight and to scale the amount of hot and warm data analyzed to meet the increasing demands of data scientists and business intelligence professionals alike, as well as to find tactical and strategic insights with greater speed on exponentially growing datasets.
Organizations commonly believe that they are advancing in analytical capabilities due to the rise in the data science profession and the myriad of technologies available for analytics, business intelligence, artificial intelligence and machine learning. However, if you do the math, they are actually falling behind as the increases in the rates of data collection volume far outpace the rate of increases in hot and warm data used for analytics. This is causing organizations to rely on an ever-decreasing percentage of their information assets for decision making.
We talk about why GPU databases were created and share what sets SQream apart from other GPU databases, MPP solutions, in memory and Hadoop based analytic alternatives.
We will also outline how an organization can use GPU databases to thrive in the information revolution by using a significantly greater percentage of its data for analytical purposes, obtaining insights that are desired today, and will remain cost-effective into the next few years when data lakes are expected to balloon from petabytes to exabytes.
2018-11-06: Unfortunately, LinkedIn/Slideshare disabled the update functionality and, thus, I had to upload an updated version of this introduction to OMNeT++ as new presentation. It is available here: https://www.slideshare.net/christian.timmerer/an-introduction-to-omnet-54
Vert.x is a toolkit or platform for implementing reactive applications on the JVM.
Vert.x is an open-source project at the Eclipse Foundation. Vert.x was initiated in 2012 by Tim Fox.
General Purpose Application Framework, Polyglot (Java, Groovy, Scala, Kotlin, JavaScript, Ruby and Ceylon), Event Driven, non-blocking, Lightweight & fast, Reusable modules.
Scylla Summit 2017: Repair, Backup, Restore: Last Thing Before You Go to Prod...ScyllaDB
Benchmarks are fun to do but when going to production, all sorts of things can happen: anything from hardware outages to human error bringing your database down. Even in a healthy database, a lot of maintenance operations have to periodically run. Do you have the tools necessary to make sure you are good to go?
Raspberry Pi - Unlocking New Ideas for Your LibraryBrian Pichman
Join Brian Pichman as he uncovers the world of microcomputing; which are low cost, small computers (ranging from the size of a credit card to a stack of credit cards). Brian will cover Raspberry Pi's and how they can be used in your library; from attendance counters, event displays, library programming and more.
CPU Diversity is growing: POWER and RISC-V OpenISA are real option with FPGA, ASIC and Motherboard available next year
Which are Open Hardware Power Architecture real options? Microwatt and LibreSoc have samples of low power Open ISA Power chip. The Power Progress Community released the Prototypes of the Notebook Motherboard based on Power Architecture with Cern Open Hardware License. What happen around OpenPower Foundations with project like PowerPI and LibreBMC.
The Raspberry Pi is a series of small single-board computers developed Raspberry Pi
Foundation to promote the teaching of basic computer science in schools and in developing
countries. A Raspberry pi is a mini computer with IO pins so we can interface devices to
develop an embedded board
An-Najah National UniversityTelecommunications Engineering DepartmentPI-Phone Using Raspberry PI
Prepared by:
Raghad J Foqha
Supervisor:
Dr. Saed Tarapiah
Prepared by:
Raghad J Foqha
Supervisor:
Dr. Saed Tarapiah
Introduction.
Project Main Idea.
Project Main Components.
SWOT Analysis
Results
Conclusions and Recommendations
In this graduation project , a new hardware microcontroller called a Raspberry pi (RPI) will be used.
Making a call is possible by owning it.
The concept is making an interface between RPI features with another components allows sending standard AT commands for calling , hanging up.
Credit card size single board computer or a
Programmable PC.
Why?
Dynamic microcontroller, small PC.
Great tool for Learning Programming, Computers & Concepts of Embedded Linux, etc
Support for all Age Groups (School Children, College Undergraduates, Professional Developers, Programmers)
GSM\GPRS Module
Frequency-Band 850/ 900/ 1800/ 1900 MHz
Control via AT commands
Low power consumption
Python
Powerful modern computer programming language
Friendly and easy to learn
Open Source
Support many applications such as Web, Internet development
Ability to deal with the electronic control GPIO ports.
Using Voice Mode AT Commands
Using AT Calling Commands
Using AT Hanging Commands
RECOMMENDATIONS
Due to hard dealing with a raspberry pi , particularly in programming. We recommend using component which called Arduino Tre.
But it coming soon !
Why we recommend it ?
Arduino TRE Design builds upon the experience of both Arduino and raspberry pi. And combining the benefits of both community based boards. Arduino TRE final board will be available within a few months, pending results of Beta Testing Program.
Topic: Low cost computing using the Raspberry PI and other single board computing platforms. Overview of the growing low cost computing environment and demo of basic configuration of the Raspberry PI and Arduino for home and business projects.
Raspberry pi pico projects raspberry pi projectsIsmailkhan77481
This tutorial will show you how to use solar panels to power your Raspberry Pi. Using solar electricity to power your Pi will allow you to create solar-powered green Pi projects.
Rapid IoT Prototyping with Tizen on Raspberry PiLeon Anavi
In this presentation you will learn how to use Tizen on Raspberry Pi for quick and affordable prototyping of great ideas for Internet of Things. The presentation will cover the whole life cycle during the development of IoT from hardware to software. Guidelines how to build and customize Tizen for Raspberry Pi using the Yocto Project and OpenEmbedded will be provided. We will discuss how to connect various sensors and peripherals to Raspberry Pi using I2C, SPI, 1-Wire, USB and how to add analog-to-digital converter for retrieving data from analog sensors. Strategies for integration of communication protocols such as MQTT and CoAP as well as device-to-device frameworks such as IoTivity will be revealed. Furthermore the attendees will learn how to create custom hardware add-on boards following Raspberry Pi foundation specifications for HAT (Hardware Attached on Top) using KiCAD and other free an open source software tools. The presentation is appropriate for anyone interested in building entirely open source products based on Tizen that feature open source hardware and open source software. No previous experience with Tizen or hardware knowledge is required. The targeted audience includes platform developers, hardware engineers, hobbyists, makers, and students. Hopefully the presentation will encourage them to grab a soldering iron and start prototyping their own open source Tizen device.
Building your own RC Car with Raspberry PiJeff Prestes
In this presentation we talk about basic concepts of Internet of Things, Java for Embedded, Android, Raspberry Pi and a practical workshop how to create your own IoT RC Car - Brasilino - and rent it.
Briefly show my perspective on the Internet of Things, and present the Zolertia technology as a key to unlock the next generations of IoT connected devices.
Slides presented at the BCN IoT meetup, September 2016.
IPython is an interactive Python shell, it provides tools for interactive and parallel computing that are widely used in the scientific world. It can also benefit any other Python developer.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Getting Started with Embedded Python: MicroPython and CircuitPython
1. Getting Started with Embedded Python
(MicroPython and CircuitPython)
@iAyanPahwa/iayanpahwa
2. About Me
Embedded Software
Engineer at Mentor
Graphics - A Siemens
Business
Part time blogger
Full time maker
Mentor Graphics is world
leader in Electronics Design
Automation(Tools Business).
I work for Automotive
Embedded Software Division,
which deals in providing
custom solutions, OS and
BSP for IVI and ADAS
systems.
Contact: https://iayanpahwa.github.io
3. People who are really
serious about software
should make their own
hardware
- Alan Kay
Motivation
-
@iAyanPahwa/iayanpahwa
5. What is MicroPython
The MicroPython project is an open source
implementation of Python 3 that includes a small
subset of the Python standard libraries, and is
optimised to run on microcontrollers with constrained
environments like limited ROM, RAM and processing
power. It came about after a successful Kick-starter
campaign by Damien George.
@iAyanPahwa/iayanpahwa
9. ~20MHz System Clock
~32Kb RAM
~16MB ROM
Single Core
Register Level Access
Microcontrollers
@iAyanPahwa/iayanpahwa
10. MicroPython
- A small stripped down version on Python3 which runs as firmware on microcontrollers,
exposes all the low level modules, acting as an operating system.
- It is packed full of advanced features such as an interactive prompt, arbitrary precision
integers, closures, list comprehension, generators, exception handling and more.
- Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM.
- MicroPython aims to be as compatible with normal Python as possible to allow you to
transfer code with ease from the desktop to a microcontroller or embedded target.
- Python APIs for low level hardware modules- GPIOs, UART, PWM, ADC, i2c, SPI.
- Runs directly on bare-metal or under OS env or as emulator.
@iAyanPahwa/iayanpahwa
11. Python vs μPython vs Arduino
Refer: https://github.com/micropython/micropython/wiki
@iAyanPahwa/iayanpahwa
16. Interaction
Serial REPL (115200 BAUD RATE)
WEB REPL, works over LAN
File System mounts on host
Tools to transfer source code(ex: AMPY)
Emulation on linux host
Unicorn web based emulator
@iAyanPahwa/iayanpahwa
17. Interaction: Serial
Loading uP on ESP8266 board
Install esptool - pip install esptool
Download uP firmware.bin from GitHub release pages for
your board.
Erase flash - esptool.py --port /path/to/ESP8266
erase_flash
Flash uP firmware - esptool.py --port /path/to/ESP8266 --
baud 460800 write_flash --flash_size=detect 0 firmware.bin
Connect Serial console - screen /dev/tty… 115200
@iAyanPahwa/iayanpahwa
18. Interaction: WebREPL
Setting up WebREPL
> import webrepl_setup
> Enter ‘E’ to enable it
> Enter and confirm password(defaults
micropythoN)
> Enter ‘y’ to reboot and save changes
@iAyanPahwa/iayanpahwa
24. Interaction: Hello WORlD
// Classic way of Blinking LED
#include “Board_Defination_File.h”
int main(void)
{
while(1){
DDRB |= (1 << 7);
PORTB |= (1 << 7);
_delay_ms(1000);
PORTB &= ~(1 << 7);
_delay_ms(1000);
}
}
// Make Pin Output
// Send logic 1 to the pin
//Send logic 0 to the pin
@iAyanPahwa/iayanpahwa
25. Interaction: h3llO WORlD
> from machine import Pin
> from time import sleep
# Make Pin behave as output
> led = Pin(2, Pin.OUT)
> while True:
# Send digital logic 1 to the pin
> led.on()
> sleep(1)
# Send digital logic 0 to the pin
> led.off()
> sleep(1)
MicroPython Way
@iAyanPahwa/iayanpahwa
26. Interaction: Advance
File System on Flash to store:
WiFi credentials (SSID, PASSOWRD)
boot.py - POST operations
main.py - main executable
You can mount the fs over network, or
transfer files over webREPL or tools like
AMPY.
@iAyanPahwa/iayanpahwa
27. CircuitPython
https://github.com/adafruit/circuitpython
Adafruit fork of MicroPython maintained for
educational purpose around boards sell by
Adafruit industries.
Centred Around ATMEL SAMD21 and ESP8266 SoCs.
Various new modules added like capacitive touch
APIs, Sound outputs, USB HID etc.
Bluetooth Low energy support with newly
supported NRF SoC port.
28. DISCLAIMER: The stunts will be performed by experts
under expert supervision and no matter how many times
you test before, chances of live demo failures are
incalculable :P
SHOW TIME
@iAyanPahwa/iayanpahwa
30. Temperature and Humidity Measurement
> import dht, machine
> from time import sleep
# Make Pin behave as output
> d = dht.DHT11(machine.Pin(4))
> while True:
# Measure temp and humidity
> d.measure()
# Print Values
> d.temperature()
> d.humidity()
> sleep(2)
@iAyanPahwa/iayanpahwa
31. NeoPixel
* 1 wire to control multiple LEDs, color and
brightness.
* 8-bit format for Red, Green, Blue
* RRGGBB
* 0-ff or 0-255
32. NeoPixel
> import machine, neopixel
# Initialize GPIO and number of pixels
> np = neopixel.NeoPixel(machine.Pin(4), 8)
# Set a Pixel color in RGB format
> np[0] = (255, 0, 0)
>np.write()
@iAyanPahwa/iayanpahwa